Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756772 - net-misc/nextcloud-client should depend on dev-libs/qtkeychain[gnome-keyring]
Summary: net-misc/nextcloud-client should depend on dev-libs/qtkeychain[gnome-keyring]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-25 22:30 UTC by Eduard Bachmakov
Modified: 2021-01-13 15:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduard Bachmakov 2020-11-25 22:30:10 UTC
With gnome-base/libgnome-keyring masked for removal the only way for nextcloud-client to use a keyring is via qtkeychain (already a dependency) but only when the latter is built with USE=gnome-keyring .

IIUC that's the only way for the client to store/retrieve secrets rather than prompting the user on every startup.
Comment 1 Alexander Petermann 2021-01-07 08:34:19 UTC
I hit this bug, too. 
Thank you Eduard for reporting this issue and providing a working solution!
Comment 2 Bernard Cafarelli gentoo-dev 2021-01-07 13:25:35 UTC
Sigh, this keyring dependency continues to generate a lot of head scratching (bug 618032 and its duplicates/PR for example)

I guess it is for historical reasons, but the gnome-keyring flag in qtkeychain is now misleading: it actually controls libsecret (freedesktop.org Secret Service API), not gnome-keyring anymore.

With dependencies brought in being DE-agnostic libecret and glib, I guess depending on dev-libs/qtkeychain[gnome-keyring] is fine. It also avoids a potential libsecret USE-flag on nextcloud-client that would need to set another flag name on qtkeychain (or use incorrect gnome-keyring USE flag in nextcloud-client)
Comment 3 Larry the Git Cow gentoo-dev 2021-01-07 13:30:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b920210417aadb353f7c5556d53372ddf055eb

commit 05b920210417aadb353f7c5556d53372ddf055eb
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2021-01-07 13:29:23 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2021-01-07 13:30:18 +0000

    net-misc/nextcloud-client: depend on qtkeychain with USE=gnome-keyring
    
    Closes: https://bugs.gentoo.org/756772
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../nextcloud-client-3.1.1-r1.ebuild               | 90 ++++++++++++++++++++++
 1 file changed, 90 insertions(+)