Summary: | app-office/gnucash should optionally depend on app-crypt/libsecret | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benny P. <ben> |
Component: | Current packages | Assignee: | GNOME Office (OBSOLETE) <gnome-office+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | karl.j.linden |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=743609 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gnucash-2.6.4.ebuild
Patch to configure.ac to allow for disabling of password storage |
Description
Benny P.
2015-01-27 02:55:55 UTC
Created attachment 394976 [details, diff]
Patch to configure.ac to allow for disabling of password storage
Comment on attachment 394974 [details] gnucash-2.6.4.ebuild --- gnucash-2.6.4.ebuild +++ gnucash-2.6.4.ebuild @@ -15,12 +15,12 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="chipcard debug +doc hbci mysql ofx postgres python quotes sqlite" +IUSE="chipcard debug +doc hbci mysql ofx postgres python quotes sqlite +passwd" # FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac) # libdbi version requirement for sqlite taken from bug #455134 RDEPEND=" - >=app-crypt/libsecret-0.18 + passwd? ( >=app-crypt/libsecret-0.18 ) >=dev-libs/glib-2.32.0:2 >=dev-libs/popt-1.5 >=dev-libs/libxml2-2.5.10:2 @@ -64,6 +64,7 @@ src_prepare() { # Fix build with guile-1 (from 'master') epatch "${FILESDIR}"/${PN}-2.6.4-guile1.patch + epatch "${FILESDIR}"/${PN}-2.6.4-nopasswd.patch # Skip test that needs some locales to be present sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die @@ -99,6 +100,7 @@ $(use_enable ofx) \ $(use_enable hbci aqbanking) \ $(use_enable python) \ + $(use passwd || echo --disable-passwdstore) \ --disable-doxygen \ --disable-gtkmm \ --enable-locale-specific-tax \ Please report this to upstream too -> bugzilla.gnome.org (I guess they will prefer to have the confugure flag named as "--enable-libsecret" or similar) Thanks (In reply to Pacho Ramos from comment #3) > Please report this to upstream too -> bugzilla.gnome.org Done. https://bugzilla.gnome.org/show_bug.cgi?id=743609 The upstream bug (at ${URL}) has been fixed and the fix is in 2.6.4 according to the homepage. Maybe the flag should be renamed to libsecret instead of passwd. There are more packages with the libsecret USE flag than with the passwd USE flag. $ equery hasuse -p libsecret * Searching for USE flag libsecret ... [-P-] [ ] app-text/evince-3.12.2:0/evd3.4-evv3.3 [-P-] [ ] app-text/evince-3.12.2-r1:0/evd3.4-evv3.3 [-P-] [ ] app-text/evince-3.14.1-r1:0/evd3.4-evv3.3 [-P-] [ ] app-text/evince-3.14.2:0/evd3.4-evv3.3 [-P-] [ ] app-text/evince-3.14.2-r1:0/evd3.4-evv3.3 [-P-] [ ] gnome-base/gvfs-1.20.3:0 [-P-] [ ] gnome-base/gvfs-1.22.3:0 [IP-] [ ] gnome-base/gvfs-1.22.4:0 [-P-] [ ] gnome-extra/libgda-5.2.2:5/4 [-P-] [ ] mail-mta/msmtp-1.6.0:0 [-P-] [ ] mail-mta/msmtp-1.6.1:0 [-P-] [ ] media-gfx/darktable-1.6.1:0 [-P-] [ ] media-gfx/darktable-1.6.2:0 [-P-] [ -] media-gfx/darktable-9999:0 [-P-] [ ] media-gfx/gthumb-3.2.7:0 [-P-] [ ] media-gfx/gthumb-3.2.8:0 [-P-] [ ] media-sound/rhythmbox-3.0.3:0 [-P-] [ ] media-sound/rhythmbox-3.1:0 [-P-] [ ] net-libs/webkit-gtk-2.4.8:3/25 [IP-] [ ] net-libs/webkit-gtk-2.4.8-r200:2 [-P-] [ ] net-libs/webkit-gtk-2.6.4:4/37 [-P-] [ ] net-libs/webkit-gtk-2.6.5:4/37 [-P-] [ ] net-mail/mpop-1.2.0:0 [-P-] [ ] net-mail/mpop-1.2.2:0 [-P-] [ ] net-misc/vino-3.14.2:0 [-P-] [ -] www-client/dwb-9999:0 $ equery hasuse -p passwd * Searching for USE flag passwd ... [-P-] [ ] net-mail/tpop3d-1.5.5:0 [-P-] [ ] net-misc/scponly-4.8-r5:0 done in 2.6.6 |