Author: thl
Update of /cvs/nonfree/comps
In directory se02.es.rpmfusion.net:/tmp/cvs-serv5854
Added Files:
Makefile comps-f10.xml.in comps-f8.xml.in comps-f9.xml.in
comps.dtd update-comps
Log Message:
inital comps file
--- NEW FILE Makefile ---
XMLINFILES=$(wildcard *.xml.in)
XMLFILES = $(patsubst %.xml.in,%.xml,$(XMLINFILES))
all: po $(XMLFILES)
po: $(XMLINFILES)
make -C po -f Makefile || exit 1
clean:
@rm -fv *~ *.xml
%.xml: %.xml.in
@python -c 'import libxml2; libxml2.parseFile("$<")'
@if test ".$(CLEANUP)" == .yes; then xsltproc --novalid -o $<
comps-cleanup.xsl $<; fi
./update-comps $@
@if [ "$@" == "$(RAWHIDECOMPS)" ] ; then \
cat $(RAWHIDECOMPS) | sed 's/redhat-release/rawhide-release/g' >
comps-rawhide.xml ; \
fi
# Add an easy alias to generate a rawhide comps file
comps-rawhide: comps-f10.xml
@mv comps-f10.xml comps-rawhide.xml
--- NEW FILE comps-f10.xml.in ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN"
"comps.dtd">
<comps>
<group>
<id>rpmfusion_nonfree-base</id>
<_name>Base (RPM Fusion Nonfree)</_name>
<_description>Repo files for RPM Fusion nonfree repo. </_description>
<default>true</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq
type="default">rpmfusion-nonfree-release</packagereq>
</packagelist>
</group>
<group>
<id>rpmfusion_nonfree-games</id>
<_name>Games and Entertainment (RPM Fusion Nonfree)</_name>
<_description>Various ways to relax and spend your free
time.</_description>
<default>false</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq type="optional">d1x-full</packagereq>
<packagereq type="optional">d1x-shareware</packagereq>
<packagereq type="optional">doom-shareware</packagereq>
<packagereq type="optional">xrick</packagereq>
</packagelist>
</group>
<group>
<id>rpmfusion_nonfree-hardware-support</id>
<_name>Hardware Support (RPM Fusion Nonfree)</_name>
<_description>This group is a collection of tools for various hardware specific
utilities.</_description>
<default>false</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq type="optional">Cg</packagereq>
</packagelist>
</group>
<category>
<id>rpmfusion_nonfree</id>
<_name>RPM Fusion – Nonfree</_name>
<_description>RPM Fusion package add-on repository with nonfree
software.</_description>
<grouplist>
<groupid>rpmfusion_nonfree-base</groupid>
<groupid>rpmfusion_nonfree-hardware-support</groupid>
<groupid>rpmfusion_nonfree-games</groupid>
</grouplist>
</category>
</comps>
--- NEW FILE comps-f8.xml.in ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN"
"comps.dtd">
<comps>
<group>
<id>rpmfusion_nonfree-base</id>
<_name>Base (RPM Fusion Nonfree)</_name>
<_description>Repo files for RPM Fusion nonfree repo. </_description>
<default>true</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq
type="default">rpmfusion-nonfree-release</packagereq>
</packagelist>
</group>
<group>
<id>rpmfusion_nonfree-games</id>
<_name>Games and Entertainment (RPM Fusion Nonfree)</_name>
<_description>Various ways to relax and spend your free
time.</_description>
<default>false</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq type="optional">d1x-full</packagereq>
<packagereq type="optional">d1x-shareware</packagereq>
<packagereq type="optional">doom-shareware</packagereq>
<packagereq type="optional">xrick</packagereq>
</packagelist>
</group>
<group>
<id>rpmfusion_nonfree-hardware-support</id>
<_name>Hardware Support (RPM Fusion Nonfree)</_name>
<_description>This group is a collection of tools for various hardware specific
utilities.</_description>
<default>false</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq type="optional">Cg</packagereq>
</packagelist>
</group>
<category>
<id>rpmfusion_nonfree</id>
<_name>RPM Fusion – Nonfree</_name>
<_description>RPM Fusion package add-on repository with nonfree
software.</_description>
<grouplist>
<groupid>rpmfusion_nonfree-base</groupid>
<groupid>rpmfusion_nonfree-hardware-support</groupid>
<groupid>rpmfusion_nonfree-games</groupid>
</grouplist>
</category>
</comps>
--- NEW FILE comps-f9.xml.in ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN"
"comps.dtd">
<comps>
<group>
<id>rpmfusion_nonfree-base</id>
<_name>Base (RPM Fusion Nonfree)</_name>
<_description>Repo files for RPM Fusion nonfree repo. </_description>
<default>true</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq
type="default">rpmfusion-nonfree-release</packagereq>
</packagelist>
</group>
<group>
<id>rpmfusion_nonfree-games</id>
<_name>Games and Entertainment (RPM Fusion Nonfree)</_name>
<_description>Various ways to relax and spend your free
time.</_description>
<default>false</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq type="optional">d1x-full</packagereq>
<packagereq type="optional">d1x-shareware</packagereq>
<packagereq type="optional">doom-shareware</packagereq>
<packagereq type="optional">xrick</packagereq>
</packagelist>
</group>
<group>
<id>rpmfusion_nonfree-hardware-support</id>
<_name>Hardware Support (RPM Fusion Nonfree)</_name>
<_description>This group is a collection of tools for various hardware specific
utilities.</_description>
<default>false</default>
<uservisible>true</uservisible>
<packagelist>
<packagereq type="optional">Cg</packagereq>
</packagelist>
</group>
<category>
<id>rpmfusion_nonfree</id>
<_name>RPM Fusion – Nonfree</_name>
<_description>RPM Fusion package add-on repository with nonfree
software.</_description>
<grouplist>
<groupid>rpmfusion_nonfree-base</groupid>
<groupid>rpmfusion_nonfree-hardware-support</groupid>
<groupid>rpmfusion_nonfree-games</groupid>
</grouplist>
</category>
</comps>
--- NEW FILE comps.dtd ---
<?xml encoding="UTF-8"?>
<!ELEMENT comps (group+,category+)>
<!ATTLIST comps xmlns CDATA #FIXED ''>
<!ELEMENT group (id,name,description,default,uservisible,langonly?, packagelist)>
<!ATTLIST group xmlns CDATA #FIXED ''>
<!ELEMENT category (id,name,description,display_order?,grouplist)>
<!ATTLIST category xmlns CDATA #FIXED ''>
<!ELEMENT default (#PCDATA)>
<!ATTLIST default xmlns CDATA #FIXED ''>
<!ELEMENT uservisible (#PCDATA)>
<!ATTLIST uservisible xmlns CDATA #FIXED ''>
<!ELEMENT langonly (#PCDATA)>
<!ATTLIST langonly xmlns CDATA #FIXED ''>
<!ELEMENT packagelist (packagereq)+>
<!ATTLIST packagelist xmlns CDATA #FIXED ''>
<!ELEMENT display_order (#PCDATA)>
<!ATTLIST display_order xmlns CDATA #FIXED ''>
<!ELEMENT grouplist (groupid)+>
<!ATTLIST grouplist xmlns CDATA #FIXED ''>
<!ELEMENT packagereq (#PCDATA)>
<!ATTLIST packagereq xmlns CDATA #FIXED '' requires NMTOKEN #IMPLIED type
NMTOKEN #REQUIRED>
<!ELEMENT groupid (#PCDATA)>
<!ATTLIST groupid xmlns CDATA #FIXED ''>
<!ELEMENT id (#PCDATA)>
<!ATTLIST id xmlns CDATA #FIXED ''>
<!ELEMENT name (#PCDATA)>
<!ATTLIST name xmlns CDATA #FIXED ''>
<!ELEMENT description (#PCDATA)>
<!ATTLIST description xmlns CDATA #FIXED ''>
--- NEW FILE update-comps ---
#!/bin/sh
COMPSFILE=$1
if [ -z "$COMPSFILE" ]; then
echo "Usage: $0 <compsfile>"
exit 1
fi
LANG=C intltool-merge -x -u po/ $COMPSFILE.in $COMPSFILE