On Sun, Jun 26, 2011 at 8:50 PM, Maciej Mrozowski <reave...@gmail.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

Reply via email to