[RFC] BLFS Profile: Dependencies not included in the BLFS Book

Joachim Beckers jbeckers at linuxfromscratch.org
Sat Mar 5 12:14:44 PST 2005


Hi all,

while we're talking about dependencies, I would like to make a 
suggestion for (another) DTD-change. currently when a package has lots 
of dependencies, you get a profile that looks like this:
{packageinfo}
   {requires}
     {name}{/name}
   {/requires}
   {requires}
     {name}{/name}
   {/requires}
   {requires}
     {name}{/name}
   {/requires}
   {requires}
     {name}{/name}
   {/requires}
   {utilizes}
     {name}{/name}
   {/utilizes}
   {utilizes}
     {name}{/name}
   {/utilizes}
   {utilizes}
     {name}{/name}
   {/utilizes}
   {utilizes}
     {name}{/name}
   {/utilizes}
{/packageinfo}
that's a lot of unnecessary tags, and a PITA to maintain (just look at 
mplayer.xml in the blfs profile, and you'll be convinced :-)).

a more elegant and compact solution would be this:
{packageinfo}
   {requires}
     {name}{/name}
     {name}{/name}
     {name}{/name}
     {name}{/name}
   {/requires}
   {utilizes}
     {name}{/name}
     {name}{/name}
     {name}{/name}
   {/utilizes}
{/packageinfo}

joachim



More information about the alfs-discuss mailing list