Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] SHA256 and indention in metadata.xml
Date: Sun, 26 Jun 2011 16:15:46
Message-Id: BANLkTi=Mc9y0_oPmzMP0qHhFzu8ouc1dRA@mail.gmail.com
In Reply to: Re: [gentoo-dev] SHA256 and indention in metadata.xml by Maciej Mrozowski
On Sun, Jun 26, 2011 at 8:50 PM, Maciej Mrozowski <reavertm@×××××.com> wrote:
> On Saturday 25 of June 2011 22:32:43 Jorge Manuel B. S. Vicetto wrote: >> *DEPEND=" >>       !<X-2.0 >>       !Y >>       <A> >>       <B> >>       ... >>       <Z> >>       a? ( <X> ) >>       b? ( <Y> ) >>       c? ( >>               <J> >>               <K> >>       ) >> " > > ^^ is actually the main point of my "ebuild formatting nazi" agenda (usually > followed by "oh why did you break formatting in my shiny ebuild!11, revert!" > chants by various developers in case I happened to touch packages of theirs). > > I never understood the reason after keeping deps not sorted alphabetically > where order doesn't matter - it's like someone purposely made ebuild harder to > read - it's counter productive. >
Well, the GNOME team likes to order it by "type" and "library heirarchy". So, libraries in one paragraph, then applications. Plain-C libraries first, followed by glib, and then glib-using libraries, and then gtk+, and gtk+-using libraries, then Python modules, etc. We also separate out lines with and without versions/blocks/use-conditionals in them to make them easier to read. -- ~Nirbheek Chauhan Gentoo GNOME+Mozilla Team