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"
Created attachment 14360 [details] gtk-engines-2.2.0 updated ebuild added RDEPEND=">=media-libs/imlib-1.8" to fix imlib-config dependency issue.
Created attachment 14361 [details] gtk-engines-2.2.0 updated ebuild added RDEPEND=">=media-libs/imlib-1.8" to fix imlib-config dependency issue.
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"
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?
it should because the deps are sourced from the eclass and ebuilds. i've added this dep to the ebuild.