Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Samuli Suominen <ssuominen@g.o>
Subject: Re: ebuild laziness and binpkg overhead
Date: Sat, 16 Jun 2012 14:39:55 +0300
On 06/16/2012 01:05 PM, Gilles Dartiguelongue wrote:
> Le vendredi 15 juin 2012 à 21:04 +0200, Pacho Ramos a écrit :
>> 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:
>
> [...]
>
> This is most likely historic and reading the eclasses, I see no use of
> G2CONF that would forbid working from src_configure.
>
> I guess the pratice emerged from not wanting to write
> gnome2_src_configure all the timebut if there is a reason (like the one
> you exposed) to do it this way, then it'll become our new standard
> pratice :)

That is a quite bottleneck, at least for me.

I don't think this issue is solvable without creating an new function to 
pass the vars across functions (phases) that has no existing content 
that would require calling itself at the end, like for example, src_setup()


References:
ebuild laziness and binpkg overhead
-- Mike Frysinger
Re: ebuild laziness and binpkg overhead
-- Pacho Ramos
Re: ebuild laziness and binpkg overhead
-- Pacho Ramos
Re: ebuild laziness and binpkg overhead
-- Gilles Dartiguelongue
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: ebuild laziness and binpkg overhead
Next by thread:
Re: ebuild laziness and binpkg overhead
Previous by date:
Re: [RFC] Setting F(C)FLAGS=${CFLAGS} in profiles
Next by date:
Re: About what would be included in EAPI5


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.