Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20590 - imlib ebuild should respect "-gtk" in the USE variable
Summary: imlib ebuild should respect "-gtk" in the USE variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 13:37 UTC by Tomas Styblo
Modified: 2004-08-16 20:54 UTC (History)
0 users

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


Attachments
makes GTK dependency in the imlib ebuild optional (imlib.patch,381 bytes, patch)
2003-05-07 13:38 UTC, Tomas Styblo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Styblo 2003-05-07 13:37:37 UTC
Imlib should not depend on GTK when "gtk" is not in the USE variable.

Imlib is usable even when compiled without GDK support. 

For example it will be possible to compile icewm with imlib on systems without
GTK if this dependency is optional.

A patch to the current ebuild is attached.
Comment 1 Tomas Styblo 2003-05-07 13:38:38 UTC
Created attachment 11648 [details, diff]
makes GTK dependency in the imlib ebuild optional
Comment 2 foser (RETIRED) gentoo-dev 2003-05-07 18:39:57 UTC
it's one of those cases where apps depending on imlib expect it to be built with gdk_imlib support and since we can't force use flags on dependencies in portage we prefer to be on the safe side and always have imlib build with gtk support.
Comment 3 Jason B 2004-08-16 20:54:10 UTC
Imlib, with this patch in place, does not compile for me unless I USE the 'gtk' flag. It ends with pages of compile errors, thou these select lines from the configure step should tell you what you need to know:

checking for gtk-config... /dev/null/bin/gtk-config
checking for GTK - version >= 1.2.1... ./configure: line 1: /dev/null/bin/gtk-config: Not a directory
./configure: line 1: /dev/null/bin/gtk-config: Not a directory
./configure: line 1: /dev/null/bin/gtk-config: Not a directory
./configure: line 1: /dev/null/bin/gtk-config: Not a directory
./configure: line 1: /dev/null/bin/gtk-config: Not a directory
yes

Once I did the following:
USE="gtk" emerge -v kde 
imlib compiled without any problems.

 - Jason B.