Wednesday, 2020-10-21

*** zbenjamin_ is now known as zbenjamin01:45
*** nyov is now known as Guest669203:04
*** frinring_ is now known as frinring03:18
gmcHowdy, not sure if this is the right place to ask, but i was looking at sailfish-secrets, https://github.com/sailfishos/sailfish-secrets. It mentions a qml interface, but I don't think that's available in the stock SDK, is it?15:00
Nico[m]You need to install secrets in any case, but I have never seen the qml interface15:03
*** Ischwitch is now known as Ingvix15:48
gmcNico[m]: it seems it is already present in the SDK, at least the c++ part.. or do you mean, install secrets on the device?15:55
Nico[m]Huh, I needed to always add the secrets to my rpm deps, otherwise it would be missing libs15:55
gmcOk, could be, i'm going to find out i guess.. :)15:56
gmcoh looks like the SDK only has the .h files.. i'm pretty new to all this tbh15:58
gmcit does link with -lsailfishsecrets though, and doesn't complain15:59
Nico[m]Well, adding it to your spec file is probably recommended anyway16:00
gmcsounds reasonable, would that be a BuildRequires line?16:05
Nico[m]Yep16:06
gmcwould you happen to have an example somewhere?16:06
gmcthe documentation in the sdk only mentions i should add PKGCONFIG += sailfishsecrets16:08
Nico[m]Just add to your rpm/<project>.yaml in the PkgConfigBR: section a line with sailfishsecrets16:10
gmcthanks :)16:12
gmcNico[m]: I think i see what you mean with needing to install it.. looks like there is no sailfishsecrets service in the emulator18:15
gmc[W] unknown:0 - Unable to connect to secrets daemon: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/100000/sailfishsecretsd-p2pSocket: No such file or directory") 1 "org.freedesktop.DBus.Error.FileNotFound"18:15
gmcadded it to Requires as well, still no luck, i guess it needs to be started too18:22
Nico[m]Hm, usually the lib should also install the daemon, at least if you deploy as a RPM, I think18:24
gmcnot in my case.. i installed the daemon manually now, and things seem to be working.. when I added the daemon as a Requires, the package installation actually failed18:35
gmcI am deploying as RPM (at least, that's what qtcreater is telling me)18:35
*** SpeedEvil is now known as Guest3894223:34

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!