Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Cc: gnome <gnome@g.o>
Subject: Re: [gentoo-dev] ebuild laziness and binpkg overhead
Date: Fri, 15 Jun 2012 19:05:52
Message-Id: 1339787080.8254.3.camel@belkin4
In Reply to: Re: [gentoo-dev] ebuild laziness and binpkg overhead by Pacho Ramos
El vie, 15-06-2012 a las 09:03 +0200, Pacho Ramos escribió:
> El mar, 12-06-2012 a las 23:02 -0400, Mike Frysinger escribió: > > i've noticed a growing trend where people put setup of variables into > > pkg_setup that only matter to src_* funcs presumably so they don't have to > > call the respective src_* func from an inherited eclass. unfortunately this > > adds pointless overhead to binpkgs. can we please move away from this > > practice ? > > > > i've seen this with a good number of the GNOME packages like: > > pkg_setup() { > > G2CONF="${G2CONF} > > --disable-bash-completion > > --disable-hal > > --disable-schemas-compile > > --with-dbus-service-dir=/usr/share/dbus-1/services > > $(use_enable afp) > > $(use_enable archive) > > $(use_enable avahi) > > $(use_enable bluetooth obexftp) > > $(use_enable bluray) > > $(use_enable cdda) > > $(use_enable fuse) > > $(use_enable gdu) > > $(use_enable gphoto2) > > $(use_enable ios afc) > > $(use_enable udev) > > $(use_enable udev gudev) > > $(use_enable http) > > $(use_enable gnome-keyring keyring) > > $(use_enable samba)" > > } > > > > ugh > > -mike > > Will CC the rest of gnome team because I thought this way of passing > configure options were intentional for some reason (or, at least, I > remember being using it for a looong time)
I forgot to CC :S

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] ebuild laziness and binpkg overhead Gilles Dartiguelongue <eva@g.o>