Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403189 - sys-auth/libfprint-0.4.0 does not really need gtk
Summary: sys-auth/libfprint-0.4.0 does not really need gtk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-11 17:07 UTC by Andrei Slavoiu
Modified: 2015-06-04 14:21 UTC (History)
0 users

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 Andrei Slavoiu 2012-02-11 17:07:10 UTC
The libfprint ebuild contains a dependency on x11-libs/gtk+:2 but it actually builds fine without it installed.

Reproducible: Always




Looking at the configure script it looks like it could use gdk-pixbuff instead of imagemagick, maybe that's where the confusion came from?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-13 12:27:49 UTC
Also, 

DEPEND="${DEPEND}  <-- fail
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-02-13 23:29:06 UTC
+  13 Feb 2012; Michael Weber <xmw@gentoo.org> libfprint-0.4.0.ebuild:
+  Drop x11-libs/gtk+:2 dependency. Thanks Andrei Slavoiu (bug 403189) for
+  clarification.
+
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-02-13 23:42:13 UTC
Thanks for pointing that out!

@@ -16,12 +16,10 @@
 KEYWORDS="~amd64 ~x86"
 IUSE="debug static-libs"
 
-RDEPEND="dev-libs/glib:2
-       dev-libs/libusb:1
+RDEPEND="dev-libs/libusb:1
        dev-libs/nss
-       x11-libs/gtk+:2
-       || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
-DEPEND="${DEPEND}
+       || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] x11-libs/gdk-pixbuf )"
+DEPEND="${RDEPEND}
        dev-util/pkgconfig"
 
 S=${WORKDIR}/${MY_PV}