Whe i try to emerge avant-window-navigator with this: USE="xfce -gnome -gconf" emerge =gnome-extra/avant-window-navigator-9999 I get the follows: >>> Source unpacked. You should add the contents of '/usr/share/aclocal/intltool.m4' to 'aclocal.m4'. * Running eautoreconf in '/var/tmp/portage/gnome-extra/avant-window-navigator-9999/work/avant-window-navigator-9999' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ ok ] * Running elibtoolize in: avant-window-navigator-9999 * Applying portage-1.5.10.patch ... * Applying sed-1.5.6.patch ... >>> Configuring source in /var/tmp/portage/gnome-extra/avant-window-navigator-9999/work/avant-window-navigator-9999 ... * econf: updating avant-window-navigator-9999/config.guess with /usr/share/gnuconfig/config.guess * econf: updating avant-window-navigator-9999/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c ... checking for config backend support... checking for gconftool-2... /usr/bin/gconftool-2 GConf checking for AWN... configure: error: Package requirements (glib-2.0 >= 2.8.0 gthread-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 >= 2.10 dbus-glib-1 gnome-desktop-2.0 libgnome-2.0 gnome-vfs-module-2.0 gconf-2.0) were not met: No package 'gnome-desktop-2.0' found Reproducible: Always Steps to Reproduce: 1. layman -a desktop-effects 2. USE="xfce -gnome -gconf" emerge =gnome-extra/avant-window-navigator-9999 3. Actual Results: No package 'gnome-desktop-2.0' found Expected Results: Successful installation I decided to fix this through: --- avant-window-navigator-9999.ebuild~ 2009-03-07 04:41:05.000000000 +0300 +++ avant-window-navigator-9999.ebuild 2009-03-08 02:43:51.000000000 +0300 @@ -47,7 +47,7 @@ eautoreconf || die "eautoreconf failed" } -src_compile() { +src_configure() { local myconf # These are alternatives so it won't work with use_with @@ -64,6 +64,9 @@ $(use_with gconf) \ $(use_with vala) \ || die "econf failed" +} + +src_compile() { emake || die "emake failed" }
please assign this bug to people responsible of it in the proper overlay, thanks.
(In reply to comment #1) > please assign this bug to people responsible of it in the proper overlay, > thanks. That should be desktop-effects herd in this case, right? Reassigning to them...
This one is from desktop-effects, yes. This bug means the -gconf and -gnome use flags are not working. I'll have to look at it.
Created attachment 186958 [details] updated ebuild with fix EAPI 2, which adds the src_configure() phase function. The awn-9999 ebuild fails to override this function, so the default is called which runs econf with no flags. The default flags for configure have gnome dependencies enabled. Fixed by moving econf code from src_compile() to src_configure(). Tested with success.
(In reply to comment #4) > Created an attachment (id=186958) [edit] > updated ebuild with fix > > EAPI 2, which adds the src_configure() phase function. > > The awn-9999 ebuild fails to override this function, so the default is called > which runs econf with no flags. The default flags for configure have gnome > dependencies enabled. > > Fixed by moving econf code from src_compile() to src_configure(). > > Tested with success. Justin, thanks for your patch. I see I forgot to update the ebuild after the gnome2 eclass was updated to EAPI-2. Should be fixed now. Please reopen the bug if not.