[subversion-commit] SVN tetex-base commit + diffs: r1034 - in tetex-base/trunk/debian: . tpm

Frank Küster frank at costa.debian.org
Mon Mar 13 22:00:00 UTC 2006


Author: frank
Date: 2006-03-13 21:59:56 +0000 (Mon, 13 Mar 2006)
New Revision: 1034

Added:
   tetex-base/trunk/debian/tpm/acronym.tpm
   tetex-base/trunk/debian/tpm/adrconv.tpm
   tetex-base/trunk/debian/tpm/ae.tpm
   tetex-base/trunk/debian/tpm/antp.tpm
   tetex-base/trunk/debian/tpm/individual_gpl.tpm
   tetex-base/trunk/debian/tpm/individual_lppl.tpm
Modified:
   tetex-base/trunk/debian/copyright
   tetex-base/trunk/debian/tpm2licenses-new.pl
Log:
refined tpm2licenses-new, started to create working tpm files

Modified: tetex-base/trunk/debian/copyright
===================================================================
--- tetex-base/trunk/debian/copyright	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/copyright	2006-03-13 21:59:56 UTC (rev 1034)
@@ -123,12 +123,12 @@
 
 B. Individual files, not belonging to any package: 
 
-  cahyph.tex: LPPL 1+
+%  cahyph.tex: LPPL 1+
   gahyph.tex: GPL 2+
-  icehyph.tex: LPPL 1.2+
-  ruhyphas.tex: LPPL 1.2+
-  ruhyphzn.tex: LPPL 1.2+
-  sehyph.tex: LPPL 1.2+
+%  icehyph.tex: LPPL 1.2+
+%  ruhyphas.tex: LPPL 1.2+
+%  ruhyphzn.tex: LPPL 1.2+
+%  sehyph.tex: LPPL 1.2+
 
    *****
 
@@ -136,10 +136,10 @@
 
 - LaTeX/TeX/... packages
 
-  acronym: LPPL 1.3+
-  adrconv: LPPL 1.2+
-  ae: GPL
-  antp: PD
+%  acronym: LPPL 1.3+
+%  adrconv: LPPL 1.2+
+%  ae: GPL
+%  antp: PD
   antt: PD
   base: See LaTeX
   bbm: LPPL 1+

Added: tetex-base/trunk/debian/tpm/acronym.tpm
===================================================================
--- tetex-base/trunk/debian/tpm/acronym.tpm	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/tpm/acronym.tpm	2006-03-13 21:59:56 UTC (rev 1034)
@@ -0,0 +1,36 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../Tools/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+  <rdf:Description about="http://texlive.dante.de/texlive/Package/acronym.zip">
+    <TPM:Name>acronym</TPM:Name>
+    <TPM:Type>Package</TPM:Type>
+    <TPM:Date>2005/10/30 23:40:50</TPM:Date>
+    <TPM:Version>1.6</TPM:Version>
+    <TPM:Creator>rahtz</TPM:Creator>
+    <TPM:Title>Expand acronyms at least once.</TPM:Title>
+    <TPM:Description>
+This package ensures that all acronyms used in the text
+are spelled out in full at least once. It also provides an
+environment to build a list of acronyms used. The package is
+compatible with pdf bookmarks.
+    </TPM:Description>
+    <TPM:Author>Tobias Oetiker and Heiko Oberdiek</TPM:Author>
+    <TPM:Size>217846</TPM:Size>
+    <TPM:License>lppl</TPM:License>
+    <TPM:Build/>
+    <TPM:RunFiles size="11670">
+texmf-dist/tex/latex/acronym/acronym.sty
+texmf-dist/tpm/acronym.tpm
+    </TPM:RunFiles>
+    <TPM:DocFiles size="161598">
+texmf-dist/doc/latex/acronym/readme
+texmf-dist/doc/latex/acronym/acronym.dvi
+texmf-dist/doc/latex/acronym/acrotest.tex
+    </TPM:DocFiles>
+    <TPM:SourceFiles size="44578">
+texmf-dist/source/latex/acronym/acronym.dtx
+texmf-dist/source/latex/acronym/acronym.ins
+    </TPM:SourceFiles>
+    <TPM:Provides>Package/acronym</TPM:Provides>
+  </rdf:Description>
+</rdf:RDF>
+

Added: tetex-base/trunk/debian/tpm/adrconv.tpm
===================================================================
--- tetex-base/trunk/debian/tpm/adrconv.tpm	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/tpm/adrconv.tpm	2006-03-13 21:59:56 UTC (rev 1034)
@@ -0,0 +1,51 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../Tools/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+  <rdf:Description about="http://texlive.dante.de/texlive/Package/adrconv.zip">
+    <TPM:Name>adrconv</TPM:Name>
+    <TPM:Type>Package</TPM:Type>
+    <TPM:Date>2003/06/03 22:19:36</TPM:Date>
+    <TPM:Version>1.2b</TPM:Version>
+    <TPM:Creator>rahtz</TPM:Creator>
+    <TPM:Title>
+BibTeX styles to implement an address database.
+    </TPM:Title>
+    <TPM:Description>
+Adrconv is a collection of BibTeX style files to turn an address
+database stored in the .bib format into files suitable for
+printing as address books or included into letter classes likeakletter 
+or scrletter2.  Adrconv
+will sort the data either by name or birthday and create output
+files in various formats for address books or time planers.
+    </TPM:Description>
+    <TPM:Author>Axel Kielhorn</TPM:Author>
+    <TPM:Size>189310</TPM:Size>
+    <TPM:License>lppl</TPM:License>
+    <TPM:Build/>
+    <TPM:RunFiles size="36180">
+texmf-dist/bibtex/bst/adrconv/adrconv.bst
+texmf-dist/bibtex/bst/adrconv/adrfax.bst
+texmf-dist/bibtex/bst/adrconv/birthday.bst
+texmf-dist/bibtex/bst/adrconv/email.bst
+texmf-dist/tex/latex/adrconv/adrconv.tex
+texmf-dist/tex/latex/adrconv/adrdir.cfg
+texmf-dist/tex/latex/adrconv/adrdir.tex
+texmf-dist/tex/latex/adrconv/adrfax.tex
+texmf-dist/tex/latex/adrconv/adrplaner.cfg
+texmf-dist/tex/latex/adrconv/adrsmall.cfg
+texmf-dist/tex/latex/adrconv/birthday.tex
+texmf-dist/tex/latex/adrconv/email.tex
+texmf-dist/tpm/adrconv.tpm
+    </TPM:RunFiles>
+    <TPM:DocFiles size="126625">
+texmf-dist/doc/latex/adrconv/adrguide.dvi
+    </TPM:DocFiles>
+    <TPM:SourceFiles size="26505">
+texmf-dist/source/latex/adrconv/XtraStuf.mac/adrconv.xml
+texmf-dist/source/latex/adrconv/XtraStuf.mac/adrguide.tex
+texmf-dist/source/latex/adrconv/adrconv.dtx
+texmf-dist/source/latex/adrconv/adrconv.ins
+    </TPM:SourceFiles>
+    <TPM:Provides>Package/adrconv</TPM:Provides>
+  </rdf:Description>
+</rdf:RDF>
+

Added: tetex-base/trunk/debian/tpm/ae.tpm
===================================================================
--- tetex-base/trunk/debian/tpm/ae.tpm	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/tpm/ae.tpm	2006-03-13 21:59:56 UTC (rev 1034)
@@ -0,0 +1,144 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../Tools/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+  <rdf:Description about="http://texlive.dante.de/texlive/Package/ae.zip">
+    <TPM:Name>ae</TPM:Name>
+    <TPM:Type>Package</TPM:Type>
+    <TPM:Date>2001/02/19 12:18:28</TPM:Date>
+    <TPM:Version>1.2</TPM:Version>
+    <TPM:Creator>rahtz</TPM:Creator>
+    <TPM:Title>Virtual fonts for T1 encoded CMR-fonts.</TPM:Title>
+    <TPM:Description>
+A set of virtual fonts which emulates T1 coded fonts using
+the standard CM fonts. The package is called AE fonts (for
+Almost European). The main use of the package is to produce
+PDF files using  Adobe Type 1 versions of the CM fonts instead of
+bitmapped EC fonts.
+    </TPM:Description>
+    <TPM:Author>Lars Engebretsen</TPM:Author>
+    <TPM:Size>619980</TPM:Size>
+    <TPM:License>gpl</TPM:License>
+    <TPM:Build/>
+    <TPM:RunFiles size="452158">
+texmf-dist/fonts/tfm/public/ae/aeb10.tfm
+texmf-dist/fonts/tfm/public/ae/aebx10.tfm
+texmf-dist/fonts/tfm/public/ae/aebx12.tfm
+texmf-dist/fonts/tfm/public/ae/aebx5.tfm
+texmf-dist/fonts/tfm/public/ae/aebx6.tfm
+texmf-dist/fonts/tfm/public/ae/aebx7.tfm
+texmf-dist/fonts/tfm/public/ae/aebx8.tfm
+texmf-dist/fonts/tfm/public/ae/aebx9.tfm
+texmf-dist/fonts/tfm/public/ae/aebxsl10.tfm
+texmf-dist/fonts/tfm/public/ae/aebxti10.tfm
+texmf-dist/fonts/tfm/public/ae/aecsc10.tfm
+texmf-dist/fonts/tfm/public/ae/aeitt10.tfm
+texmf-dist/fonts/tfm/public/ae/aer10.tfm
+texmf-dist/fonts/tfm/public/ae/aer12.tfm
+texmf-dist/fonts/tfm/public/ae/aer17.tfm
+texmf-dist/fonts/tfm/public/ae/aer5.tfm
+texmf-dist/fonts/tfm/public/ae/aer6.tfm
+texmf-dist/fonts/tfm/public/ae/aer7.tfm
+texmf-dist/fonts/tfm/public/ae/aer8.tfm
+texmf-dist/fonts/tfm/public/ae/aer9.tfm
+texmf-dist/fonts/tfm/public/ae/aesl10.tfm
+texmf-dist/fonts/tfm/public/ae/aesl12.tfm
+texmf-dist/fonts/tfm/public/ae/aesl8.tfm
+texmf-dist/fonts/tfm/public/ae/aesl9.tfm
+texmf-dist/fonts/tfm/public/ae/aesltt10.tfm
+texmf-dist/fonts/tfm/public/ae/aess10.tfm
+texmf-dist/fonts/tfm/public/ae/aess12.tfm
+texmf-dist/fonts/tfm/public/ae/aess17.tfm
+texmf-dist/fonts/tfm/public/ae/aess8.tfm
+texmf-dist/fonts/tfm/public/ae/aess9.tfm
+texmf-dist/fonts/tfm/public/ae/aessbx10.tfm
+texmf-dist/fonts/tfm/public/ae/aessdc10.tfm
+texmf-dist/fonts/tfm/public/ae/aessi10.tfm
+texmf-dist/fonts/tfm/public/ae/aessi12.tfm
+texmf-dist/fonts/tfm/public/ae/aessi17.tfm
+texmf-dist/fonts/tfm/public/ae/aessi8.tfm
+texmf-dist/fonts/tfm/public/ae/aessi9.tfm
+texmf-dist/fonts/tfm/public/ae/aetcsc10.tfm
+texmf-dist/fonts/tfm/public/ae/aeti10.tfm
+texmf-dist/fonts/tfm/public/ae/aeti12.tfm
+texmf-dist/fonts/tfm/public/ae/aeti7.tfm
+texmf-dist/fonts/tfm/public/ae/aeti8.tfm
+texmf-dist/fonts/tfm/public/ae/aeti9.tfm
+texmf-dist/fonts/tfm/public/ae/aett10.tfm
+texmf-dist/fonts/tfm/public/ae/aett12.tfm
+texmf-dist/fonts/tfm/public/ae/aett8.tfm
+texmf-dist/fonts/tfm/public/ae/aett9.tfm
+texmf-dist/fonts/tfm/public/ae/laess8.tfm
+texmf-dist/fonts/tfm/public/ae/laessb8.tfm
+texmf-dist/fonts/tfm/public/ae/laessi8.tfm
+texmf-dist/fonts/vf/public/ae/aeb10.vf
+texmf-dist/fonts/vf/public/ae/aebx10.vf
+texmf-dist/fonts/vf/public/ae/aebx12.vf
+texmf-dist/fonts/vf/public/ae/aebx5.vf
+texmf-dist/fonts/vf/public/ae/aebx6.vf
+texmf-dist/fonts/vf/public/ae/aebx7.vf
+texmf-dist/fonts/vf/public/ae/aebx8.vf
+texmf-dist/fonts/vf/public/ae/aebx9.vf
+texmf-dist/fonts/vf/public/ae/aebxsl10.vf
+texmf-dist/fonts/vf/public/ae/aebxti10.vf
+texmf-dist/fonts/vf/public/ae/aecsc10.vf
+texmf-dist/fonts/vf/public/ae/aeitt10.vf
+texmf-dist/fonts/vf/public/ae/aer10.vf
+texmf-dist/fonts/vf/public/ae/aer12.vf
+texmf-dist/fonts/vf/public/ae/aer17.vf
+texmf-dist/fonts/vf/public/ae/aer5.vf
+texmf-dist/fonts/vf/public/ae/aer6.vf
+texmf-dist/fonts/vf/public/ae/aer7.vf
+texmf-dist/fonts/vf/public/ae/aer8.vf
+texmf-dist/fonts/vf/public/ae/aer9.vf
+texmf-dist/fonts/vf/public/ae/aesl10.vf
+texmf-dist/fonts/vf/public/ae/aesl12.vf
+texmf-dist/fonts/vf/public/ae/aesl8.vf
+texmf-dist/fonts/vf/public/ae/aesl9.vf
+texmf-dist/fonts/vf/public/ae/aesltt10.vf
+texmf-dist/fonts/vf/public/ae/aess10.vf
+texmf-dist/fonts/vf/public/ae/aess12.vf
+texmf-dist/fonts/vf/public/ae/aess17.vf
+texmf-dist/fonts/vf/public/ae/aess8.vf
+texmf-dist/fonts/vf/public/ae/aess9.vf
+texmf-dist/fonts/vf/public/ae/aessbx10.vf
+texmf-dist/fonts/vf/public/ae/aessdc10.vf
+texmf-dist/fonts/vf/public/ae/aessi10.vf
+texmf-dist/fonts/vf/public/ae/aessi12.vf
+texmf-dist/fonts/vf/public/ae/aessi17.vf
+texmf-dist/fonts/vf/public/ae/aessi8.vf
+texmf-dist/fonts/vf/public/ae/aessi9.vf
+texmf-dist/fonts/vf/public/ae/aetcsc10.vf
+texmf-dist/fonts/vf/public/ae/aeti10.vf
+texmf-dist/fonts/vf/public/ae/aeti12.vf
+texmf-dist/fonts/vf/public/ae/aeti7.vf
+texmf-dist/fonts/vf/public/ae/aeti8.vf
+texmf-dist/fonts/vf/public/ae/aeti9.vf
+texmf-dist/fonts/vf/public/ae/aett10.vf
+texmf-dist/fonts/vf/public/ae/aett12.vf
+texmf-dist/fonts/vf/public/ae/aett8.vf
+texmf-dist/fonts/vf/public/ae/aett9.vf
+texmf-dist/fonts/vf/public/ae/laess8.vf
+texmf-dist/fonts/vf/public/ae/laessb8.vf
+texmf-dist/fonts/vf/public/ae/laessi8.vf
+texmf-dist/tex/latex/ae/ae.sty
+texmf-dist/tex/latex/ae/aecompl.sty
+texmf-dist/tex/latex/ae/omlaer.fd
+texmf-dist/tex/latex/ae/omsaer.fd
+texmf-dist/tex/latex/ae/ot1aer.fd
+texmf-dist/tex/latex/ae/ot1aess.fd
+texmf-dist/tex/latex/ae/ot1aett.fd
+texmf-dist/tex/latex/ae/ot1laess.fd
+texmf-dist/tex/latex/ae/ot1laett.fd
+texmf-dist/tex/latex/ae/t1aer.fd
+texmf-dist/tex/latex/ae/t1aess.fd
+texmf-dist/tex/latex/ae/t1aett.fd
+texmf-dist/tex/latex/ae/t1laess.fd
+texmf-dist/tex/latex/ae/t1laett.fd
+texmf-dist/tpm/ae.tpm
+    </TPM:RunFiles>
+    <TPM:DocFiles size="1880">texmf-dist/doc/fonts/ae/README</TPM:DocFiles>
+    <TPM:SourceFiles size="165942">
+    </TPM:SourceFiles>
+    <TPM:Provides>Package/ae</TPM:Provides>
+  </rdf:Description>
+</rdf:RDF>
+

Added: tetex-base/trunk/debian/tpm/antp.tpm
===================================================================
--- tetex-base/trunk/debian/tpm/antp.tpm	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/tpm/antp.tpm	2006-03-13 21:59:56 UTC (rev 1034)
@@ -0,0 +1,60 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../Tools/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+  <rdf:Description about="http://texlive.dante.de/texlive/Package/antp.zip">
+    <TPM:Name>antp</TPM:Name>
+    <TPM:Type>Package</TPM:Type>
+    <TPM:Date>2004/02/15 23:41:15</TPM:Date>
+    <TPM:Version>0.50</TPM:Version>
+    <TPM:Creator>rahtz</TPM:Creator>
+    <TPM:Title>
+Antykwa Pó�tawskiego: a Type 1 family of Polish traditional type.
+    </TPM:Title>
+    <TPM:Description>
+A replica of Antykwa Pó�tawskiego font in PostScript Type 1
+format &amp;mdash; preliminary version.  This font was designed in the
+'twenties and the 'thirties of XX century by a Polish graphic
+artist and a typographer Adam Pó�tawski. It was widely used
+by Polish printing houses as long as metal types were in use
+(until ca. the 'sixties).  Perhaps the first complete font family
+programmed and parametrized in MetaPost.
+    </TPM:Description>
+    <TPM:Author>Janusz M. Nowacki</TPM:Author>
+    <TPM:Size>331821</TPM:Size>
+    <TPM:License>pd</TPM:License>
+    <TPM:Build/>
+    <TPM:RunFiles size="248878">
+texmf-dist/dvips/antp/config.antp
+texmf-dist/fonts/afm/public/antp/antpb.afm
+texmf-dist/fonts/afm/public/antp/antpbi.afm
+texmf-dist/fonts/afm/public/antp/antpr.afm
+texmf-dist/fonts/afm/public/antp/antpri.afm
+texmf-dist/fonts/enc/dvips/antp/antp.enc
+texmf-dist/fonts/map/dvips/antp/antp.map
+texmf-dist/fonts/tfm/public/antp/antpb.tfm
+texmf-dist/fonts/tfm/public/antp/antpbi.tfm
+texmf-dist/fonts/tfm/public/antp/antpr.tfm
+texmf-dist/fonts/tfm/public/antp/antpri.tfm
+texmf-dist/fonts/type1/public/antp/antpb.pfb
+texmf-dist/fonts/type1/public/antp/antpbi.pfb
+texmf-dist/fonts/type1/public/antp/antpr.pfb
+texmf-dist/fonts/type1/public/antp/antpri.pfb
+texmf-dist/tex/latex/antp/antpolt.sty
+texmf-dist/tex/latex/antp/ot4antp.fd
+texmf-dist/tex/latex/antp/qxantp.fd
+texmf-dist/tpm/antp.tpm
+    </TPM:RunFiles>
+    <TPM:DocFiles size="82943">
+texmf-dist/doc/fonts/polish/antp/README.ENG
+texmf-dist/doc/fonts/polish/antp/README.POL
+texmf-dist/doc/fonts/polish/antp/testot4.tex
+texmf-dist/doc/fonts/polish/antp/testqx.tex
+    </TPM:DocFiles>
+    <TPM:SourceFiles size="82943">
+    </TPM:SourceFiles>
+    <TPM:Installation>
+      <TPM:Execute function="addMap" parameter="antp.map"/>
+    </TPM:Installation>
+    <TPM:Provides>Package/antp</TPM:Provides>
+  </rdf:Description>
+</rdf:RDF>
+

Added: tetex-base/trunk/debian/tpm/individual_gpl.tpm
===================================================================
--- tetex-base/trunk/debian/tpm/individual_gpl.tpm	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/tpm/individual_gpl.tpm	2006-03-13 21:59:56 UTC (rev 1034)
@@ -0,0 +1,28 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../Tools/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+  <rdf:Description about="http://texlive.dante.de/texlive/Package/wasysym.zip">
+    <TPM:Name>individual gpl files</TPM:Name>
+    <TPM:Type>Package</TPM:Type>
+    <TPM:Date>2006/03/07 23:12:38</TPM:Date>
+    <TPM:Version>1.0</TPM:Version>
+    <TPM:Creator>frank</TPM:Creator>
+    <TPM:Title>individual files under GPL</TPM:Title>
+    <TPM:Description> 
+Files that do not belong to any package and are
+covered by GPL version anything or later.
+    </TPM:Description>
+    <TPM:Author>Frank Küster</TPM:Author>
+    <TPM:Size></TPM:Size>
+    <TPM:License>lppl</TPM:License>
+    <TPM:Build/>
+    <TPM:RunFiles size="16338">
+texmf-dist/tex/generic/hyphen/gahyph.tex
+    </TPM:RunFiles>
+    <TPM:DocFiles size="102785">
+    </TPM:DocFiles>
+    <TPM:SourceFiles size="28446">
+    </TPM:SourceFiles>
+    <TPM:Provides>Package/wasysym</TPM:Provides>
+  </rdf:Description>
+</rdf:RDF>
+

Added: tetex-base/trunk/debian/tpm/individual_lppl.tpm
===================================================================
--- tetex-base/trunk/debian/tpm/individual_lppl.tpm	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/tpm/individual_lppl.tpm	2006-03-13 21:59:56 UTC (rev 1034)
@@ -0,0 +1,32 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../Tools/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+  <rdf:Description about="http://texlive.dante.de/texlive/Package/wasysym.zip">
+    <TPM:Name>individual lppl files</TPM:Name>
+    <TPM:Type>Package</TPM:Type>
+    <TPM:Date>2006/03/07 23:12:38</TPM:Date>
+    <TPM:Version>1.0</TPM:Version>
+    <TPM:Creator>frank</TPM:Creator>
+    <TPM:Title>individual files under LPPL</TPM:Title>
+    <TPM:Description> 
+Files that do not belong to any package and are
+covered by LPPL version anything or later.
+    </TPM:Description>
+    <TPM:Author>Frank Küster</TPM:Author>
+    <TPM:Size></TPM:Size>
+    <TPM:License>lppl</TPM:License>
+    <TPM:Build/>
+    <TPM:RunFiles size="16338">
+texmf-dist/tex/generic/hyphen/cahyph.tex
+texmf-dist/tex/generic/hyphen/icehyph.tex
+texmf-dist/tex/generic/ruhyphen/ruhyphas.tex
+texmf-dist/tex/generic/ruhyphen/ruhyphzn.tex
+texmf-dist/tex/generic/hyphen/sehyph.tex
+    </TPM:RunFiles>
+    <TPM:DocFiles size="102785">
+    </TPM:DocFiles>
+    <TPM:SourceFiles size="28446">
+    </TPM:SourceFiles>
+    <TPM:Provides>Package/wasysym</TPM:Provides>
+  </rdf:Description>
+</rdf:RDF>
+

Modified: tetex-base/trunk/debian/tpm2licenses-new.pl
===================================================================
--- tetex-base/trunk/debian/tpm2licenses-new.pl	2006-03-13 18:20:03 UTC (rev 1033)
+++ tetex-base/trunk/debian/tpm2licenses-new.pl	2006-03-13 21:59:56 UTC (rev 1034)
@@ -27,6 +27,7 @@
 use File::Copy;
 use File::Path;
 use File::Temp qw/ tempfile tempdir /;
+use ConfigFile;
 #use XML::DOM;
 use Cwd;
 #use FileUtils qw(canon_dir cleandir make_link newpath member
@@ -42,14 +43,23 @@
 my $Master;
 my $what;
 my $debian_package = "";
+my $tpmdir = "./debian/tpm";
+my $nocatalogue = '';
 
+# parse configurationfile, if present
+# my $cfg = 
+
 GetOptions ("debug!", 	# debug mode
 	"master=s" => \$opt_master,	# location of Master
 	"catalogue=s" => \$opt_catalogue,	# location of the catalogue
 	"what=s" => \$opt_what,      # print licenses or files in a tpm?
-	"debian=s" => \$debian_package
+	"debian=s" => \$debian_package, # tetex-base: print RunFiles, DocFiles; -src: SourceFiles, texlive: To be implemented.
+        "tpmdir=s" => \$tpmdir, # directory with tpm's (for teTeX)
+	"nocatalogue" => \$nocatalogue # list files even if no catalogue entry is found
 	);
  
+# print "Catalogue: $nocatalogue\n";
+
 if (!($opt_master =~ m,/.*$,,)) {
     $Master = `pwd`;
     chomp($Master);
@@ -72,7 +82,7 @@
 # texlive
 # my $TpmDirGlob = $Master . "./texmf-dist/tpm/*.tpm";
 # teTeX
-my $TpmDirGlob = "./debian/tpm/*.tpm";
+my $TpmDirGlob = "$tpmdir/*.tpm";
 my $sourceDir = "/home/frank/src/Packages/tetex-src/tetex-src-3.0/";
 
 #
@@ -132,7 +142,7 @@
 chdir($startdir);
 File::Basename::fileparse_set_fstype('unix');
 
-&list_licenses();
+list_licenses();
 
 1;
 
@@ -141,7 +151,9 @@
 my $bn;
 my $pkgcat;
 my $node;
+my $printfiles = '';
 
+
 sub list_licenses {
    foreach $LocalTPM (<$TpmDirGlob >) {
 #     foreach $LocalTPM (</home/frank/src/Packages/texlive/texlive/LocalTPM/texmf-dist/tpm/*.tpm>) {
@@ -156,50 +168,59 @@
       my $fletter = substr($pkgcat, 0, 1);
       my $catname = "${opt_catalogue}/entries/$fletter/${pkgcat}.xml";
       if (! -r $catname) {
-        $licline .= "not-in-catalogue";
-	print "$licline\n";
-	next;
-      } else {
-        my $cat = $parser->parsefile($catname);
-	my ($version, $ltype, $lversion, $lchecked, $luser);
-	$node = $cat->getElementsByTagName("version")->item(0);
-	if ($node) {
-	  $version = $node->getAttribute("number");
-	}
-	$node = $cat->getElementsByTagName("license")->item(0);
-	if ($node) {
-	  # ok we have a license entry in the
-	  $ltype = $node->getAttribute("type");
-	  $lversion = $node->getAttribute("version");
-	  $lchecked = $node->getAttribute("checked");
-	  $luser = $node->getAttribute("username");
-	}
-	if ("$lversion$lchecked$luser" eq "") {
-	  if ("$ltype" eq "") {
-	    $licline .= "unknown";
+	  $catname = "$tpmdir/${pkgcat}.xml";
+	  if (! -r $catname) {
+	      $licline .= "not-in-catalogue";
+	      unless ($nocatalogue) {
+		  print "$licline\n";
+		  next;
+	      };
+# 	  } else {
+# 	      print STDERR "found ${pkgcat}.xml in $tpmdir\n";
+	  };
+      }
+      unless ($nocatalogue) { #don't try to parse the xml file if we don't have a catalogue
+	  my $cat = $parser->parsefile($catname);
+	  my ($version, $ltype, $lversion, $lchecked, $luser);
+	  $node = $cat->getElementsByTagName("version")->item(0);
+	  if ($node) {
+	      $version = $node->getAttribute("number");
+	  }
+	  $node = $cat->getElementsByTagName("license")->item(0);
+	  if ($node) {
+	      # ok we have a license entry in there
+	      $ltype = $node->getAttribute("type");
+	      $lversion = $node->getAttribute("version");
+	      $lchecked = $node->getAttribute("checked");
+	      $luser = $node->getAttribute("username");
+	  }
+	  if ("$lversion$lchecked$luser" eq "") {
+	      if ("$ltype" eq "") {
+		  $licline .= "unknown";
+	      } else {
+		  $licline .= "$ltype (unverified)";
+		  # we know the license, it makes sense to output the files
+		  $printfiles = '1';
+	      }
 	  } else {
-	    $licline .= "$ltype (unverified)";
-	    # we know the license, it makes sense to output the files
-	    $what eq "files" && &printFiles($LocalTPM,$licline)
+	      $licline .= "$ltype (verification data:$version:$lversion:$lchecked:$luser)";
+	      $printfiles = '1';
 	  }
-	  $what eq "license" && print "$licline\n";
-	  next;
-	}
-	$licline .= "$ltype (verification data:$version:$lversion:$lchecked:$luser)";
-	$what eq "license" && print "$licline\n";
-	# we know the license, it makes sense to output the files
-	$what eq "files" && &printFiles($LocalTPM,$licline)
       }
-   }
+      $what eq "license" && print "$licline\n";
+      # we know the license, it makes sense to output the files
+      $what eq "files" && ($printfiles || $nocatalogue) && printFiles($LocalTPM,$licline)
+    }
 
+
 sub printFiles {
     my ($LocalTPM,$licline)= @_;
     my $pkg_header = "% " . $licline;
     my $dom_parser = new XML::DOM::Parser;
     my $doc = $dom_parser->parsefile($LocalTPM);
-    my %SourceFiles = &Tpm::getListField($doc, "SourceFiles");
-    my %RunFiles = &Tpm::getListField($doc, "RunFiles");
-    my %DocFiles = &Tpm::getListField($doc, "DocFiles");
+    my %SourceFiles = Tpm::getListField($doc, "SourceFiles");
+    my %RunFiles = Tpm::getListField($doc, "RunFiles");
+    my %DocFiles = Tpm::getListField($doc, "DocFiles");
 
     foreach ($RunFiles{"text"}, $DocFiles{"text"}, $SourceFiles{"text"}) { 
         # this is already done in Tpm.pm, why isn't that sufficient?
@@ -214,11 +235,6 @@
     # we don't want the tpm file which isn't installed
     $RunFiles{"text"} =~ s/\n.*\.tpm$//m;
 
-    foreach (\$RunFiles{"text"}, \$DocFiles{"text"}, \$SourceFiles{"text"}) {
-	my @filelist = split(/\n/m,${$_});
-	foreach (@filelist) {&CheckFileExistence($_)};
-	};
-
     my @SourceFiles = split(/\n/m,$SourceFiles{"text"});
     my @RunFiles = split(/\n/m,$RunFiles{"text"});
     my @DocFiles = split(/\n/m,$DocFiles{"text"});
@@ -226,13 +242,23 @@
     for ($debian_package) {
 	if ( /^texlive$/ ) { 1 };
 	if ( /^tetex-base$/ ) {
-	    &MergeDirectories(\@RunFiles);
-	    &MergeDirectories(\@DocFiles);
+	    foreach (\$RunFiles{"text"}, \$DocFiles{"text"}) {
+		my @filelist = split(/\n/m,${$_});
+		foreach (@filelist) {CheckFileExistence($_)};
+	    };
+
+	    MergeDirectories(\@RunFiles);
+	    MergeDirectories(\@DocFiles);
 	    print $pkg_header . "\n @RunFiles @DocFiles";
 	};
 	if ( /^tetex-src$/ ) {
-	    &MergeDirectories(\@SourceFiles);
-	    print $pkg_header . "\n @SourceFiles \n";
+	    foreach (\$SourceFiles{"text"}) {
+		my @filelist = split(/\n/m,${$_});
+		foreach (@filelist) {CheckFileExistence($_)};
+	    };
+
+	    MergeDirectories(\@SourceFiles);
+	    print $pkg_header . "\n @SourceFiles \n" unless (! @SourceFiles);
 	};
     };
 }




More information about the Pkg-tetex-commits mailing list