On Σαβ, Ιαν 13, at 03:40 Bruce Dubbs wrote:
> Randy McMurchy wrote:
> > Randy McMurchy wrote these words on 01/13/07 15:20 CST:
> > 
> >> Is there anything I can do to help determine what all packages
> >> still need to be updated?
> > 
> > Justin,
> > 
> > As I think about this I'm wondering if you can't maintain a list
> > of the BLFS svn packages on the master server, and then compare
> > that to the general.ent file in the XML. Unless I'm mistaken, the
> > general.ent file contains all the current versions of all the
> > packages.
> 
> In the make file, we already have a way to extract patches:
> 
> blfs-patch-list:
>     @echo "Generating blfs-patch-list..."
>     xsltproc --xinclude --nonet \
>       --output blfs-patch-list stylesheets/patcheslist.xsl index.xml
>     sed -e "s|^.*/||" blfs-patch-list > blfs-patches
>     sort blfs-patches > blfs-patch-list
>     rm blfs-patches
> 
> With a little work, we could probably do the same thing for packages.
> I'm a bit too busy for that, but maybe you can talk Manuel into doing it.
> 

Here is a quick ugly hack.
You need the parser by Jeremy Huntwork [1].
Compile/copy it at the root of the XML-sources.

Code:
===============================================================
[ -d temp ] || mkdir temp
echo "<!ENTITY % general-entities SYSTEM \"../general.ent\">" >temp/list.xml
echo "%general-entities;" >>temp/list.xml
echo "<screen><userinput>" >>temp/list.xml
for i in $(find . -type f -name "*.xml");do \
        sed '/ENTITY .*-download/!d;/" ">/d' $i |sed '1q' |\
        sed 's/^.* "\(.*\)">$/\1/' >>temp/list.xml;done
cd temp
echo "</userinput></screen>" >>list.xml
../parser list.xml
==============================================================
Check the packages at temp/commands/01-list.xml.sh.

Probably there has to be some mistakes,in a quick search in vim I can see
the followings.

gst-plugins
avifile
openquicktime
gcc
libungif
imagemagick
fam
ispell
slrn
ncpfs
nspr

I don't have time to look more carefully right now,probably undefined Entities
or with different names.

1.http://linuxfromscratch.org/pipermail/alfs-discuss/2006-December/009072.html
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to