Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24262 - x11-themes/gtk-engines-2.2.0 emerge fails
Summary: x11-themes/gtk-engines-2.2.0 emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://home.twmi.rr.com/arganad/gtk-e...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-10 21:46 UTC by Stephen Argo
Modified: 2011-10-30 22:20 UTC (History)
0 users

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


Attachments
gtk-engines-2.2.0 updated ebuild (gtk-engines-2.2.0.ebuild,1003 bytes, text/plain)
2003-07-10 22:13 UTC, Stephen Argo
Details
gtk-engines-2.2.0 updated ebuild (gtk-engines-2.2.0.ebuild,1003 bytes, text/plain)
2003-07-10 22:14 UTC, Stephen Argo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Argo 2003-07-10 21:46:55 UTC
gtk-engines-2.2.0.ebuild depends on >=media-libs/imlib-1.8, which is not listed
in RDEPEND.  I've fixed the ebuild to include RDEPEND=">=media-libs/imlib-1.8".
 gtk-engines-2.2.0.ebuild emerged successfully.

Reproducible: Always
Steps to Reproduce:
1.emerge x11-themes/gtk-engines
2.
3.

Actual Results:  
build fails on imlib-config dependency

Expected Results:  
gtk-engines should emerge successfully, satisfying all dependencies.

ACCEPT_KEYWORDS="~x86"
USE="aalib acpi acpi4linux alsa bonobo cdr directfb dvd esd fbcon gtk2 gtkhtml
mozilla nptl pic samba sse tiff usb xvid -arts -kde -qt"
CFLAGS="-march=athlon-xp -mfpmath=sse,387 -Os -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
FEATURES="sandbox ccache"
Comment 1 Stephen Argo 2003-07-10 22:13:53 UTC
Created attachment 14360 [details]
gtk-engines-2.2.0 updated ebuild

added RDEPEND=">=media-libs/imlib-1.8" to fix imlib-config dependency issue.
Comment 2 Stephen Argo 2003-07-10 22:14:32 UTC
Created attachment 14361 [details]
gtk-engines-2.2.0 updated ebuild

added RDEPEND=">=media-libs/imlib-1.8" to fix imlib-config dependency issue.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-07-12 01:11:04 UTC
hmm . this is a sticky issue since the new gtk-engines2.eclass uses the HAS_GTK1 and HAS_GTK2 to check if GTK1/GTK2 is installed. 

The imlib depenedency should only be there is GTK+-1 is installed, if we add it as  a normal DEPEND/RDEPEND, then it will force the user to instal GTK+-1

I guess the obvious solution would be to put the RDEPEND inside bash conditionals like :

[ -n "${HAS_GTK1}" ] && DEPEND=">=media-libs/imlib-1.9"
Comment 4 Spider (RETIRED) gentoo-dev 2003-07-12 03:02:41 UTC
Hmm, A question that might be a bit offtopic but worth asking.. 

how would such a check work with a binary version of the package? 
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-07-12 18:56:03 UTC
it should because the deps are sourced from the eclass and ebuilds. i've added this dep to the ebuild.