Author: frank Date: 2006-04-21 14:29:15 +0000 (Fri, 21 Apr 2006) New Revision: 1234
Added: tetex-base/branches/new-splitting/debian/tpm/lm.tpm tetex-base/branches/new-splitting/debian/tpm/preview.tpm Removed: tetex-base/branches/new-splitting/debian/tpm2licenses-new.pl Modified: tetex-base/branches/new-splitting/debian/.tpm2license.cfg tetex-base/branches/new-splitting/debian/copyright.header Log: - remove tpm2licenses-new.pl from here - verify lm and preview - remark about uninstalled files in copyright.header Modified: tetex-base/branches/new-splitting/debian/.tpm2license.cfg =================================================================== --- tetex-base/branches/new-splitting/debian/.tpm2license.cfg 2006-04-21 12:47:36 UTC (rev 1233) +++ tetex-base/branches/new-splitting/debian/.tpm2license.cfg 2006-04-21 14:29:15 UTC (rev 1234) @@ -1,2 +1,2 @@ Catalogue = /home/frank/src/Upstream-source/texcatalogue -Master = /home/frank/src/Packages/texlive/texlive/LocalTPM + Modified: tetex-base/branches/new-splitting/debian/copyright.header =================================================================== --- tetex-base/branches/new-splitting/debian/copyright.header 2006-04-21 12:47:36 UTC (rev 1233) +++ tetex-base/branches/new-splitting/debian/copyright.header 2006-04-21 14:29:15 UTC (rev 1234) @@ -143,6 +143,10 @@ the licenses" below. For BSD-like licenses that just exchange the name of the copyright holder, we do not list the license text. +Note that the list of files in 3.4 contains some files that are only +in the source package, but not installed in the binary packages - +instead, they are in separate Debian packages. + 3.2 TODO: Packages with licensing problems 3.2.1 Serious problems @@ -213,24 +217,56 @@ 3.3 Text of the licenses A. GPL (GNU General Public License +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The full text of the GPL is given in /usr/share/common-licenses/GPL. B. LPPL (LaTeX Project Public License) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The full text of the LPPL is given in /usr/share/doc/tetex-base/lppl.txt.gz C. Artistic +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + D. PD (Public domain): +~~~~~~~~~~~~~~~~~~~~~~ The file or package contains a statement equivalent to "This file is in the public domain. You may freely use, modify and distribute it". -E. Non-standard licenses, by package name: +E. GUST Font Source License +~~~~~~~~~~~~~~~~~~~~~~~~~~~ +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3a +of this license or (at your option) any later version provided that +the following additional clauses will be observed: + +1) Due to the nature of fonts, clause 6a of the LaTeX Project + Public License, version 1.3a, does not apply. A later version of + the LaTeX Project Public License may number or word this clause + differently; it is the substance that is important. +2) It is requested, but not legally required, that derived works be + distributed only after changing the names of the fonts comprising + this work and given in the accompanying file MANIFEST.txt, and that + the files comprising the Work, as listed in MANIFEST.txt also be + given new names. Any exceptions to this request are also + given in MANIFEST.txt. + +The latest version of the LaTeX Project Public License is in + http://www.latex-project.org/lppl.txt +and version 1.3a or later is part of all distributions of LaTeX +version 2004/10/01 or later. + + + +F. Non-standard licenses, by package name: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + (1) eepic.sty, eepicemu.sty: The macros are in public domain. You may distribute or modify it in any ways you like. @@ -330,3 +366,4 @@ uktug-faq: PD 3.4 List of licenses of individual parts + Copied: tetex-base/branches/new-splitting/debian/tpm/lm.tpm (from rev 1233, texlive/trunk/LocalTPM/texmf-dist/tpm/lm.tpm) =================================================================== --- texlive/trunk/LocalTPM/texmf-dist/tpm/lm.tpm 2006-04-21 12:47:36 UTC (rev 1233) +++ tetex-base/branches/new-splitting/debian/tpm/lm.tpm 2006-04-21 14:29:15 UTC (rev 1234) @@ -0,0 +1,466 @@ +<!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/lm.zip"> + <TPM:Name>lm</TPM:Name> + <TPM:Type>Package</TPM:Type> + <TPM:Date>2005/10/28 07:39:00</TPM:Date> + <TPM:Version>0.99.3</TPM:Version> + <TPM:Creator>staw</TPM:Creator> + <TPM:Title>Latin modern fonts in type 1 format.</TPM:Title> + <TPM:Description> +Latin Modern family of fonts, based on the Computer Modern +fonts released into public domain by AMS (copyright (C) 1997 +AMS). The lm font set contains a lot of additional characters, +mainly accented ones, but not exclusively. There is one set of +fonts, available both in Adobe Type 1 format (*.pfb) and in +OpenType format (*.otf). There are five sets of TeX Font +Metric files, corresponding to: Cork encoding (cork-*.tfm); QX +encoding (qx-*.tfm); TeX'n'ANSI aka LY1 encoding +(texnansi-*.tfm); T5 (Vietnamese) encoding (t5-*.tfm); and Text +Companion for EC fonts aka TS1 (ts1-*.tfm). +It is presumed that a potential user +knows what to do with all these files. + </TPM:Description> + <TPM:Author>Boguslaw Jackowski</TPM:Author> + <TPM:Size>43447009</TPM:Size> + <TPM:License>lppl</TPM:License> + <TPM:Build/> + <TPM:RunFiles size="36337951"> +texmf-dist/fonts/afm/public/lm/lmb10.afm +texmf-dist/fonts/afm/public/lm/lmbo10.afm +texmf-dist/fonts/afm/public/lm/lmbx10.afm +texmf-dist/fonts/afm/public/lm/lmbx12.afm +texmf-dist/fonts/afm/public/lm/lmbx5.afm +texmf-dist/fonts/afm/public/lm/lmbx6.afm +texmf-dist/fonts/afm/public/lm/lmbx7.afm +texmf-dist/fonts/afm/public/lm/lmbx8.afm +texmf-dist/fonts/afm/public/lm/lmbx9.afm +texmf-dist/fonts/afm/public/lm/lmbxi10.afm +texmf-dist/fonts/afm/public/lm/lmbxo10.afm +texmf-dist/fonts/afm/public/lm/lmcsc10.afm +texmf-dist/fonts/afm/public/lm/lmcsco10.afm +texmf-dist/fonts/afm/public/lm/lmr10.afm +texmf-dist/fonts/afm/public/lm/lmr12.afm +texmf-dist/fonts/afm/public/lm/lmr17.afm +texmf-dist/fonts/afm/public/lm/lmr5.afm +texmf-dist/fonts/afm/public/lm/lmr6.afm +texmf-dist/fonts/afm/public/lm/lmr7.afm +texmf-dist/fonts/afm/public/lm/lmr8.afm +texmf-dist/fonts/afm/public/lm/lmr9.afm +texmf-dist/fonts/afm/public/lm/lmri10.afm +texmf-dist/fonts/afm/public/lm/lmri12.afm +texmf-dist/fonts/afm/public/lm/lmri7.afm +texmf-dist/fonts/afm/public/lm/lmri8.afm +texmf-dist/fonts/afm/public/lm/lmri9.afm +texmf-dist/fonts/afm/public/lm/lmro10.afm +texmf-dist/fonts/afm/public/lm/lmro12.afm +texmf-dist/fonts/afm/public/lm/lmro8.afm +texmf-dist/fonts/afm/public/lm/lmro9.afm +texmf-dist/fonts/afm/public/lm/lmss10.afm +texmf-dist/fonts/afm/public/lm/lmss12.afm +texmf-dist/fonts/afm/public/lm/lmss17.afm +texmf-dist/fonts/afm/public/lm/lmss8.afm +texmf-dist/fonts/afm/public/lm/lmss9.afm +texmf-dist/fonts/afm/public/lm/lmssbo10.afm +texmf-dist/fonts/afm/public/lm/lmssbx10.afm +texmf-dist/fonts/afm/public/lm/lmssdc10.afm +texmf-dist/fonts/afm/public/lm/lmssdo10.afm +texmf-dist/fonts/afm/public/lm/lmsso10.afm +texmf-dist/fonts/afm/public/lm/lmsso12.afm +texmf-dist/fonts/afm/public/lm/lmsso17.afm +texmf-dist/fonts/afm/public/lm/lmsso8.afm +texmf-dist/fonts/afm/public/lm/lmsso9.afm +texmf-dist/fonts/afm/public/lm/lmssq8.afm +texmf-dist/fonts/afm/public/lm/lmssqbo8.afm +texmf-dist/fonts/afm/public/lm/lmssqbx8.afm +texmf-dist/fonts/afm/public/lm/lmssqo8.afm +texmf-dist/fonts/afm/public/lm/lmtcsc10.afm +texmf-dist/fonts/afm/public/lm/lmtt10.afm +texmf-dist/fonts/afm/public/lm/lmtt12.afm +texmf-dist/fonts/afm/public/lm/lmtt8.afm +texmf-dist/fonts/afm/public/lm/lmtt9.afm +texmf-dist/fonts/afm/public/lm/lmtti10.afm +texmf-dist/fonts/afm/public/lm/lmtto10.afm +texmf-dist/fonts/afm/public/lm/lmvtt10.afm +texmf-dist/fonts/afm/public/lm/lmvtto10.afm +texmf-dist/fonts/map/dvips/lm/lm.map +texmf-dist/fonts/tfm/public/lm/cork-lmb10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbo10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbx10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbx12.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbx5.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbx6.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbx7.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbx8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbx9.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbxi10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmbxo10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmcsc10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmcsco10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr12.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr17.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr5.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr6.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr7.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmr9.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmri10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmri12.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmri7.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmri8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmri9.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmro10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmro12.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmro8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmro9.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmss10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmss12.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmss17.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmss8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmss9.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssbo10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssbx10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssdc10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssdo10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmsso10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmsso12.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmsso17.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmsso8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmsso9.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssq8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssqbo8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssqbx8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmssqo8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmtcsc10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmtt10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmtt12.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmtt8.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmtt9.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmtti10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmtto10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmvtt10.tfm +texmf-dist/fonts/tfm/public/lm/cork-lmvtto10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmb10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbo10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbx10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbx12.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbx5.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbx6.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbx7.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbx8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbx9.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbxi10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmbxo10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmcsc10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmcsco10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr12.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr17.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr5.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr6.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr7.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmr9.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmri10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmri12.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmri7.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmri8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmri9.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmro10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmro12.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmro8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmro9.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmss10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmss12.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmss17.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmss8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmss9.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssbo10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssbx10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssdc10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssdo10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmsso10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmsso12.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmsso17.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmsso8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmsso9.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssq8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssqbo8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssqbx8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmssqo8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmtcsc10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmtt10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmtt12.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmtt8.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmtt9.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmtti10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmtto10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmvtt10.tfm +texmf-dist/fonts/tfm/public/lm/qx-lmvtto10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmb10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbo10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbx10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbx12.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbx5.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbx6.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbx7.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbx8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbx9.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbxi10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmbxo10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmcsc10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmcsco10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr12.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr17.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr5.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr6.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr7.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmr9.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmri10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmri12.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmri7.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmri8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmri9.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmro10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmro12.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmro8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmro9.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmss10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmss12.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmss17.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmss8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmss9.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssbo10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssbx10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssdc10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssdo10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmsso10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmsso12.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmsso17.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmsso8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmsso9.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssq8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssqbo8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssqbx8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmssqo8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmtcsc10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmtt10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmtt12.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmtt8.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmtt9.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmtti10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmtto10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmvtt10.tfm +texmf-dist/fonts/tfm/public/lm/texnansi-lmvtto10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmb10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbo10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbx10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbx12.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbx5.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbx6.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbx7.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbx8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbx9.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbxi10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmbxo10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmcsc10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmcsco10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr12.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr17.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr5.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr6.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr7.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmr9.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmri10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmri12.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmri7.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmri8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmri9.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmro10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmro12.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmro8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmro9.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmss10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmss12.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmss17.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmss8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmss9.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssbo10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssbx10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssdc10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssdo10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmsso10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmsso12.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmsso17.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmsso8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmsso9.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssq8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssqbo8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssqbx8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmssqo8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmtcsc10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmtt10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmtt12.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmtt8.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmtt9.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmtti10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmtto10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmvtt10.tfm +texmf-dist/fonts/tfm/public/lm/ts1-lmvtto10.tfm +texmf-dist/fonts/type1/public/lm/lmb10.pfb +texmf-dist/fonts/type1/public/lm/lmb10.pfm +texmf-dist/fonts/type1/public/lm/lmbo10.pfb +texmf-dist/fonts/type1/public/lm/lmbo10.pfm +texmf-dist/fonts/type1/public/lm/lmbx10.pfb +texmf-dist/fonts/type1/public/lm/lmbx10.pfm +texmf-dist/fonts/type1/public/lm/lmbx12.pfb +texmf-dist/fonts/type1/public/lm/lmbx12.pfm +texmf-dist/fonts/type1/public/lm/lmbx5.pfb +texmf-dist/fonts/type1/public/lm/lmbx5.pfm +texmf-dist/fonts/type1/public/lm/lmbx6.pfb +texmf-dist/fonts/type1/public/lm/lmbx6.pfm +texmf-dist/fonts/type1/public/lm/lmbx7.pfb +texmf-dist/fonts/type1/public/lm/lmbx7.pfm +texmf-dist/fonts/type1/public/lm/lmbx8.pfb +texmf-dist/fonts/type1/public/lm/lmbx8.pfm +texmf-dist/fonts/type1/public/lm/lmbx9.pfb +texmf-dist/fonts/type1/public/lm/lmbx9.pfm +texmf-dist/fonts/type1/public/lm/lmbxi10.pfb +texmf-dist/fonts/type1/public/lm/lmbxi10.pfm +texmf-dist/fonts/type1/public/lm/lmbxo10.pfb +texmf-dist/fonts/type1/public/lm/lmbxo10.pfm +texmf-dist/fonts/type1/public/lm/lmcsc10.pfb +texmf-dist/fonts/type1/public/lm/lmcsc10.pfm +texmf-dist/fonts/type1/public/lm/lmcsco10.pfb +texmf-dist/fonts/type1/public/lm/lmcsco10.pfm +texmf-dist/fonts/type1/public/lm/lmr10.pfb +texmf-dist/fonts/type1/public/lm/lmr10.pfm +texmf-dist/fonts/type1/public/lm/lmr12.pfb +texmf-dist/fonts/type1/public/lm/lmr12.pfm +texmf-dist/fonts/type1/public/lm/lmr17.pfb +texmf-dist/fonts/type1/public/lm/lmr17.pfm +texmf-dist/fonts/type1/public/lm/lmr5.pfb +texmf-dist/fonts/type1/public/lm/lmr5.pfm +texmf-dist/fonts/type1/public/lm/lmr6.pfb +texmf-dist/fonts/type1/public/lm/lmr6.pfm +texmf-dist/fonts/type1/public/lm/lmr7.pfb +texmf-dist/fonts/type1/public/lm/lmr7.pfm +texmf-dist/fonts/type1/public/lm/lmr8.pfb +texmf-dist/fonts/type1/public/lm/lmr8.pfm +texmf-dist/fonts/type1/public/lm/lmr9.pfb +texmf-dist/fonts/type1/public/lm/lmr9.pfm +texmf-dist/fonts/type1/public/lm/lmri10.pfb +texmf-dist/fonts/type1/public/lm/lmri10.pfm +texmf-dist/fonts/type1/public/lm/lmri12.pfb +texmf-dist/fonts/type1/public/lm/lmri12.pfm +texmf-dist/fonts/type1/public/lm/lmri7.pfb +texmf-dist/fonts/type1/public/lm/lmri7.pfm +texmf-dist/fonts/type1/public/lm/lmri8.pfb +texmf-dist/fonts/type1/public/lm/lmri8.pfm +texmf-dist/fonts/type1/public/lm/lmri9.pfb +texmf-dist/fonts/type1/public/lm/lmri9.pfm +texmf-dist/fonts/type1/public/lm/lmro10.pfb +texmf-dist/fonts/type1/public/lm/lmro10.pfm +texmf-dist/fonts/type1/public/lm/lmro12.pfb +texmf-dist/fonts/type1/public/lm/lmro12.pfm +texmf-dist/fonts/type1/public/lm/lmro8.pfb +texmf-dist/fonts/type1/public/lm/lmro8.pfm +texmf-dist/fonts/type1/public/lm/lmro9.pfb +texmf-dist/fonts/type1/public/lm/lmro9.pfm +texmf-dist/fonts/type1/public/lm/lmss10.pfb +texmf-dist/fonts/type1/public/lm/lmss10.pfm +texmf-dist/fonts/type1/public/lm/lmss12.pfb +texmf-dist/fonts/type1/public/lm/lmss12.pfm +texmf-dist/fonts/type1/public/lm/lmss17.pfb +texmf-dist/fonts/type1/public/lm/lmss17.pfm +texmf-dist/fonts/type1/public/lm/lmss8.pfb +texmf-dist/fonts/type1/public/lm/lmss8.pfm +texmf-dist/fonts/type1/public/lm/lmss9.pfb +texmf-dist/fonts/type1/public/lm/lmss9.pfm +texmf-dist/fonts/type1/public/lm/lmssbo10.pfb +texmf-dist/fonts/type1/public/lm/lmssbo10.pfm +texmf-dist/fonts/type1/public/lm/lmssbx10.pfb +texmf-dist/fonts/type1/public/lm/lmssbx10.pfm +texmf-dist/fonts/type1/public/lm/lmssdc10.pfb +texmf-dist/fonts/type1/public/lm/lmssdc10.pfm +texmf-dist/fonts/type1/public/lm/lmssdo10.pfb +texmf-dist/fonts/type1/public/lm/lmssdo10.pfm +texmf-dist/fonts/type1/public/lm/lmsso10.pfb +texmf-dist/fonts/type1/public/lm/lmsso10.pfm +texmf-dist/fonts/type1/public/lm/lmsso12.pfb +texmf-dist/fonts/type1/public/lm/lmsso12.pfm +texmf-dist/fonts/type1/public/lm/lmsso17.pfb +texmf-dist/fonts/type1/public/lm/lmsso17.pfm +texmf-dist/fonts/type1/public/lm/lmsso8.pfb +texmf-dist/fonts/type1/public/lm/lmsso8.pfm +texmf-dist/fonts/type1/public/lm/lmsso9.pfb +texmf-dist/fonts/type1/public/lm/lmsso9.pfm +texmf-dist/fonts/type1/public/lm/lmssq8.pfb +texmf-dist/fonts/type1/public/lm/lmssq8.pfm +texmf-dist/fonts/type1/public/lm/lmssqbo8.pfb +texmf-dist/fonts/type1/public/lm/lmssqbo8.pfm +texmf-dist/fonts/type1/public/lm/lmssqbx8.pfb +texmf-dist/fonts/type1/public/lm/lmssqbx8.pfm +texmf-dist/fonts/type1/public/lm/lmssqo8.pfb +texmf-dist/fonts/type1/public/lm/lmssqo8.pfm +texmf-dist/fonts/type1/public/lm/lmtcsc10.pfb +texmf-dist/fonts/type1/public/lm/lmtcsc10.pfm +texmf-dist/fonts/type1/public/lm/lmtt10.pfb +texmf-dist/fonts/type1/public/lm/lmtt10.pfm +texmf-dist/fonts/type1/public/lm/lmtt12.pfb +texmf-dist/fonts/type1/public/lm/lmtt12.pfm +texmf-dist/fonts/type1/public/lm/lmtt8.pfb +texmf-dist/fonts/type1/public/lm/lmtt8.pfm +texmf-dist/fonts/type1/public/lm/lmtt9.pfb +texmf-dist/fonts/type1/public/lm/lmtt9.pfm +texmf-dist/fonts/type1/public/lm/lmtti10.pfb +texmf-dist/fonts/type1/public/lm/lmtti10.pfm +texmf-dist/fonts/type1/public/lm/lmtto10.pfb +texmf-dist/fonts/type1/public/lm/lmtto10.pfm +texmf-dist/fonts/type1/public/lm/lmvtt10.pfb +texmf-dist/fonts/type1/public/lm/lmvtt10.pfm +texmf-dist/fonts/type1/public/lm/lmvtto10.pfb +texmf-dist/fonts/type1/public/lm/lmvtto10.pfm +texmf-dist/tex/latex/lm/lmodern.sty +texmf-dist/tex/latex/lm/qxlmr.fd +texmf-dist/tex/latex/lm/qxlmss.fd +texmf-dist/tex/latex/lm/qxlmssq.fd +texmf-dist/tex/latex/lm/qxlmtt.fd +texmf-dist/tex/latex/lm/qxlmvtt.fd +texmf-dist/tex/latex/lm/t1lmr.fd +texmf-dist/tex/latex/lm/t1lmss.fd +texmf-dist/tex/latex/lm/t1lmssq.fd +texmf-dist/tex/latex/lm/t1lmtt.fd +texmf-dist/tex/latex/lm/t1lmvtt.fd +texmf-dist/tex/latex/lm/ts1lmr.fd +texmf-dist/tex/latex/lm/ts1lmss.fd +texmf-dist/tex/latex/lm/ts1lmssq.fd +texmf-dist/tex/latex/lm/ts1lmtt.fd +texmf-dist/tex/latex/lm/ts1lmvtt.fd +texmf-dist/tpm/lm.tpm + </TPM:RunFiles> + <TPM:DocFiles size="1218865"> +texmf-dist/doc/fonts/lm/0info092.txt +texmf-dist/doc/fonts/lm/tstlmqx.dvi +texmf-dist/doc/fonts/lm/tstlmqx.pdf +texmf-dist/doc/fonts/lm/tstlmqx.tex +texmf-dist/doc/fonts/lm/tstlmt1.dvi +texmf-dist/doc/fonts/lm/tstlmt1.pdf +texmf-dist/doc/fonts/lm/tstlmt1.tex +texmf-dist/doc/fonts/lm/tstlmts1.dvi +texmf-dist/doc/fonts/lm/tstlmts1.pdf +texmf-dist/doc/fonts/lm/tstlmts1.tex + </TPM:DocFiles> + <TPM:SourceFiles size="5890193">texmf-dist/source/fonts/lm/lm0.99.3mt1.zip</TPM:SourceFiles> + <TPM:Installation> + <TPM:Execute function="addMap" parameter="lm.map"/> + </TPM:Installation> + <TPM:Provides>Package/lm</TPM:Provides> + </rdf:Description> +</rdf:RDF> + Copied: tetex-base/branches/new-splitting/debian/tpm/preview.tpm (from rev 1233, texlive/trunk/LocalTPM/texmf-dist/tpm/preview.tpm) =================================================================== --- texlive/trunk/LocalTPM/texmf-dist/tpm/preview.tpm 2006-04-21 12:47:36 UTC (rev 1233) +++ tetex-base/branches/new-splitting/debian/tpm/preview.tpm 2006-04-21 14:29:15 UTC (rev 1234) @@ -0,0 +1,46 @@ +<!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/preview.zip"> + <TPM:Name>preview</TPM:Name> + <TPM:Type>Package</TPM:Type> + <TPM:Date>2005/09/26 23:47:23</TPM:Date> + <TPM:Version>1.0</TPM:Version> + <TPM:Creator>rahtz</TPM:Creator> + <TPM:Title>Extract bits of a LaTeX source for output.</TPM:Title> + <TPM:Description> +The package is a free-standing part of thepreview-latex +bundle. The +package provides the support preview-latex needs, when it chooses +the matter it will preview. The output may reasonably be expected +to have other uses, as in html translators, etc. + </TPM:Description> + <TPM:Author>unknown</TPM:Author> + <TPM:Size>235479</TPM:Size> + <TPM:License>gpl</TPM:License> + <TPM:Build/> + <TPM:RunFiles size="38699"> +texmf-dist/tex/latex/preview/prauctex.cfg +texmf-dist/tex/latex/preview/prauctex.def +texmf-dist/tex/latex/preview/prcounters.def +texmf-dist/tex/latex/preview/preview.sty +texmf-dist/tex/latex/preview/prfootnotes.def +texmf-dist/tex/latex/preview/prlyx.def +texmf-dist/tex/latex/preview/prshowbox.def +texmf-dist/tex/latex/preview/prshowlabels.def +texmf-dist/tex/latex/preview/prtightpage.def +texmf-dist/tex/latex/preview/prtracingall.def +texmf-dist/tpm/preview.tpm + </TPM:RunFiles> + <TPM:DocFiles size="115841"> +texmf-dist/doc/latex/preview/README +texmf-dist/doc/latex/preview/preview.dvi + </TPM:DocFiles> + <TPM:SourceFiles size="80939"> +texmf-dist/source/latex/preview/README +texmf-dist/source/latex/preview/preview.dtx +texmf-dist/source/latex/preview/bootstrap.ins + </TPM:SourceFiles> + <TPM:Provides>Package/preview</TPM:Provides> + </rdf:Description> +</rdf:RDF> + Deleted: tetex-base/branches/new-splitting/debian/tpm2licenses-new.pl =================================================================== --- tetex-base/branches/new-splitting/debian/tpm2licenses-new.pl 2006-04-21 12:47:36 UTC (rev 1233) +++ tetex-base/branches/new-splitting/debian/tpm2licenses-new.pl 2006-04-21 14:29:15 UTC (rev 1234) @@ -1,420 +0,0 @@ -#!/usr/bin/perl -w -# -# tpm2licenses.pl -# (c) 2005 Norbert Preining -# -# Lists for every filename.tpm the license as specified in the catalogue -# -# usage: -# perl tpm2licenses.pl <options> [tpm file] -# where <options> = -# --catalogue -# --nocheckcatalogue -# --tpmdir -# --package -# --master=Path path to the Master -# optional tpm file: check only that one -# - -BEGIN { # get our other local perl modules. - ($mydir = $0) =~ s,/[^/]*$,,; - if ($mydir eq $0) { $mydir = `pwd` ; chomp($mydir); } - if (!($mydir =~ m,/.*,,)) { $mmydir = `pwd`; chomp($mmydir); $mydir = "$mmydir/$mydir" ; } - unshift (@INC, $mydir); -# unshift (@INC, "$mydir/.."); -} - -use strict; -use Data::Dumper; -#use Getopt::Long; -use File::Basename; -use File::Copy; -use File::Path; -use File::Temp qw/ tempfile tempdir /; -use AppConfig; -#use XML::DOM; -use Cwd; -#use FileUtils qw(canon_dir cleandir make_link newpath member -# normalize substitute_var_val dirname diff_list remove_list -# rec_rmdir sync_dir walk_dir start_redirection stop_redirection); -#use Tpm; - - -# initialize AppConfig -my $config = AppConfig->new("master=s", "catalogue=s", "nocheckcatalogue", "tpmdir=s", "package=s", "what=s"); - -# parse configurationfile, if present -my @cfgDirs = (".","./debian","..","~"); -my $cfgName = ".tpm2license.cfg"; - -for my $cfgDir (@cfgDirs) { - if ( -r "$cfgDir/$cfgName" ) { - print STDERR "Using configuration file $cfgDir/$cfgName\n"; - $config->file("$cfgDir/$cfgName"); - }; - }; -# now parse commandline -$config->getopt(); - -# assign conffile, commandline or default values: -my $Master = $config->master() ? $config->master() : "." ; -my $Catalogue = $config->catalogue() ? $config->catalogue() : "/src/TeX/texcatalogue/" ; -my $what = $config->what() ? $config->what() : "files"; -my $debian_package = $config->package() ? $config->package() : "tetex-base"; -my $tpmdir = $config->tpmdir() ? $config->tpmdir() : "./debian/tpm"; -my $nocatalogue = $config->nocheckcatalogue() ? $config->nocheckcatalogue() : ''; - -# if (!($opt_master =~ m,/.*$,,)) { -# $Master = `pwd`; -# chomp($Master); -# $Master .= "/$opt_master"; -# } else { -# $Master = $opt_master; -# } -# $what = $opt_what; - -if ($debian_package) { - die "Unknown Debian package: $debian_package." unless - ( $debian_package =~ /^tetex-base$/ || - $debian_package =~ /^tetex-src$/ || - $debian_package =~ /^texlive-base$/ || - $debian_package =~ /^texlive-extra$/ || - $debian_package =~ /^texlive-lang$/ || - $debian_package =~ /^texlive-doc$/ || - $debian_package =~ /^texlive-bin$/ ); -}; - -# my $TpmGlobalPath = $Master; -# my $DataGlobalPath = $Master; - -# texlive -# my $TpmDirGlob = $Master . "./texmf-dist/tpm/*.tpm"; -# teTeX -my $TpmDirGlob = "$tpmdir/*.tpm"; - -# only needed if we're in the sourcedir, so no need to bother -my $sourceDir; -chomp( $sourceDir = `pwd`); -$sourceDir .= "/"; - -# -# put Master/Tools/ into the include path to find TeX live perl modules -# -# unshift (@INC, "$Master/Tools"); -# -# these we can only load now that we have correctly set the path to Master -# -# require Strict; -require XML::DOM; -require FileUtils; -import FileUtils qw(canon_dir cleandir make_link newpath member - normalize substitute_var_val diff_list remove_list - rec_rmdir sync_dir walk_dir start_redirection stop_redirection); -require Tpm; -# -# what the hell, how do I import this array from Tpm.pm ??? -# -my %Tpm2Catalogue = ( - "ctib" => "ctib4tex", - "CJK" => "cjk", - "bayer" => "universa", - "bigfoot" => "suffix", - "cb" => "cbgreek", - "cd-cover" => "cdcover", - "cmex" => "cmextra", - "cs" => "csfonts", - "cyrplain" => "t2", - "devanagr" => "devanagari", - "eCards" => "ecards", - "ESIEEcv" => "esieecv", - "euclide" => "pst-eucl", - "GuIT" => "guit", - "HA-prosper" => "prosper", - "ibycus" => "ibycus4", - "ibygrk" => "ibycus4", - "IEEEconf" => "ieeeconf", - "IEEEtran" => "ieeetran", - "iso" => "isostds", - "iso10303" => "isostds", - "jknapltx" => "jknappen", - "kastrup" => "binhex", - "le" => "frenchle", - "mathtime" => "mathtime-ltx", - "omega-devanagari" => "devanagari-omega", - "pdftexdef" => "pdftex-def", - "procIAGssymp" => "prociagssymp", - "resume" => "res", - "SIstyle" => "sistyle", - "SIunits" => "siunits", - "syntax" => "syntax2", - "Tabbing" => "tabbing" ); - -my $parser = new XML::DOM::Parser; -my $startdir=getcwd(); -chdir($startdir); -File::Basename::fileparse_set_fstype('unix'); - -my @TpmList; - -if (@ARGV) { - # we have a (list of) packages on the command line - @TpmList = @ARGV; -} -else { - create_tpmlist(); -}; - -list_licenses(); - -1; - -my $LocalTPM; -my $licline; -my $bn; -my $pkgcat; -my $node; -my $printfiles = ''; - -sub create_tpmlist { - - if ( $debian_package =~ /^tetex-/ ) { - foreach (<$TpmDirGlob >) {push(@TpmList,$_)}; - }; - - if ( $debian_package =~ /^texlive-/ ) { - my $cfgfile = "../../" . $debian_package . ".tpm4licenses.cfg"; - my @cfgLines; - open CFGFILE, $cfgfile or die "could not open $cfgfile"; - while (<CFGFILE>) { - # this could go into one line (next if...) if only Emacs would grok it... - if (m/^#/) { - next ; - } - chomp; - push(@cfgLines,$_); - }; - for (@cfgLines) { - my $tpmFullname; - if ( -f "texmf/tpm/" . $_ ) { - $tpmFullname = "texmf/tpm/" . $_ - } - elsif ( -f "texmf-dist/tpm/" . $_ ) { - $tpmFullname = "texmf-dist/tpm/" . $_ - } - elsif ( -f "texmf-doc/tpm/" . $_ ) { - $tpmFullname = "texmf-doc/tpm/" . $_ - } - else { - print STDERR "Could not find $_\n"; - exit 1; - }; - push(@TpmList,$tpmFullname); - }; - }; #end texlive -}; - -sub list_licenses { - foreach $LocalTPM (@TpmList) { - $licline = ""; - $bn = &basename($LocalTPM,".tpm"); - if (defined($Tpm2Catalogue{$bn})) { - $pkgcat = $Tpm2Catalogue{$bn}; - } else { - $pkgcat = $bn; - } - $licline .= "$bn: "; - my $fletter = substr($pkgcat, 0, 1); - my $catname = "${Catalogue}/entries/$fletter/${pkgcat}.xml"; - if (! -r $catname) { - $catname = "$tpmdir/${pkgcat}.xml"; - if (! -r $catname) { - $licline .= "not-in-catalogue"; - unless ($nocatalogue || $pkgcat =~ m/^individual.*/) { - print "$licline\n"; - next; - }; -# } else { -# print STDERR "found ${pkgcat}.xml in $tpmdir\n"; - }; - } - my $ltype; - unless ($nocatalogue || $pkgcat =~ m/^individual.*/) { - #don't try to parse the xml file if we don't have a catalogue - my $cat = $parser->parsefile($catname); - my ($version, $lversion, $lchecked, $luser, $lfile); - $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"); - $lfile = $node->getAttribute("file"); - } - 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 { - $version ||= ''; # make sure we have no uninitialized string values - $lversion ||= ''; - $licline .= "$ltype (verification data:$version:$lversion:$lchecked:$luser:$lfile)"; - $printfiles = '1'; - } - } - if ( $pkgcat =~ m/^individual.*/ ) { - $ltype = $pkgcat; - $ltype =~ s/individual_(.*)/$1/; - $licline = "$pkgcat $ltype (verification data:::::header)"; - $printfiles = '1'; - }; - $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"); - - foreach ($RunFiles{"text"}, $DocFiles{"text"}, $SourceFiles{"text"}) { - # this is already done in Tpm.pm, why isn't that sufficient? - $_ =~ s/^\n*// ; - # remove the texmf-dist/ we don't need - $_ =~ [EMAIL PROTECTED]/@@g; - # make sure there's exactly one newline at the end - chomp; - $_ =~ s/$/\n/ ; - }; - - # we don't want the tpm file which isn't installed - $RunFiles{"text"} =~ s/\n.*\.tpm$//m; - - my @SourceFiles = split(/\n/m,$SourceFiles{"text"}); - my @RunFiles = split(/\n/m,$RunFiles{"text"}); - my @DocFiles = split(/\n/m,$DocFiles{"text"}); - foreach (@SourceFiles) { - s/^\s//; - [EMAIL PROTECTED](.*)[EMAIL PROTECTED]@so; - [EMAIL PROTECTED]@[EMAIL PROTECTED]; - }; - foreach (@RunFiles) { - s/\s//; - [EMAIL PROTECTED](.*)[EMAIL PROTECTED]@so; - [EMAIL PROTECTED]@[EMAIL PROTECTED]; - }; - foreach (@DocFiles) { - s/\s//; - [EMAIL PROTECTED](.*)[EMAIL PROTECTED]@so; - [EMAIL PROTECTED]@[EMAIL PROTECTED]; - }; - @DocFiles = grep(!/^$/,@DocFiles); - @RunFiles = grep(!/^$/,@RunFiles); - @SourceFiles = grep(!/^$/,@SourceFiles); - - for ($debian_package) { - my @texmfPath; - if ( /^texlive/ ) { - @texmfPath = ("texmf","texmf-dist","texmf-doc"); - foreach (@RunFiles) {CheckFileExistence($_,[EMAIL PROTECTED])}; - foreach (@DocFiles) {CheckFileExistence($_,[EMAIL PROTECTED])}; - foreach (@SourceFiles) {CheckFileExistence($_,[EMAIL PROTECTED])}; - MergeDirectories([EMAIL PROTECTED],[EMAIL PROTECTED]); - MergeDirectories([EMAIL PROTECTED],[EMAIL PROTECTED]) if (@DocFiles); - MergeDirectories([EMAIL PROTECTED],[EMAIL PROTECTED]) if (@SourceFiles); - print "\n" . $pkg_header . "\n"; - print @RunFiles; - print @DocFiles; - print @SourceFiles; - }; - if ( /^tetex-base$/ ) { - @texmfPath = ("."); - foreach (@RunFiles) {CheckFileExistence($_,[EMAIL PROTECTED])}; - foreach (@DocFiles) {CheckFileExistence($_,[EMAIL PROTECTED])}; - - MergeDirectories([EMAIL PROTECTED],[EMAIL PROTECTED]); - MergeDirectories([EMAIL PROTECTED],[EMAIL PROTECTED]) if (@DocFiles); - print "\n" . $pkg_header . "\n"; - print @RunFiles; - print @DocFiles; - }; - if ( /^tetex-src$/ ) { - foreach (@SourceFiles) {CheckFileExistence($_,[EMAIL PROTECTED])}; - MergeDirectories([EMAIL PROTECTED],[EMAIL PROTECTED]); - unless (! @SourceFiles) { - print "\n" . $pkg_header . "\n"; - print @SourceFiles; - } - }; - }; - } - - sub CheckFileExistence { - my ($file,@texmfPath) = ($_[0],@{$_[1]}); - my $found = 0; - foreach my $texmfDir (@texmfPath) { - -f $texmfDir . "/" . $file && ($found =1); - }; - print STDERR "$file: Does not exist!\n" if ! $found; - } - - sub MergeDirectories { - my ($filelist,@texmfPath) = ($_[0],@{$_[1]}); # $filelist is actually a pointer - # create a list of dirnames, and remove duplicates - my @dirnames = map {dirname($_) } @{$filelist}; - my %UniqueHash = map { $_ , 1 } @dirnames; - @dirnames = keys %UniqueHash; - - # For searching, we create a hash that contains the filenames as keys: - my %SearchHash; - %SearchHash = map { $_, 1 } @{$filelist} ; - - my %DirComplete = map { $_, 1 } @dirnames; - for (@dirnames) { - my $dirname = $_; - my $fullDir; - my $rootDir; - for (@texmfPath) { - if ( -d ( $_ . "/" . $dirname )) { - $rootDir = $_; - $fullDir = ( $_ . "/" . $dirname ); - }; - }; - $fullDir or die "This should not happen: no directory $dirname, nowhere."; - my @InstalledFiles = `find $fullDir -maxdepth 1 -type f 2>/dev/null | grep -v tetex` - or die "Calling find for $dirname, expanded to $fullDir, failed."; - for (@InstalledFiles) { - chomp; - [EMAIL PROTECTED]/@@; - $DirComplete{$dirname} = 0 unless $SearchHash{$_}; - }; - if ( $DirComplete{$dirname} ) { - for (@{$filelist} ) { - # replace the file by its directory name - [EMAIL PROTECTED]/[EMAIL PROTECTED]/*@; - }; - }; -# print STDERR "Directory $_ is $DirComplete{$dirname}\n"; - }; - - # now the complete directories occur multiple times, remove duplicates again - %UniqueHash = map { ("$_\n" , 1) } @{$filelist} ; - @{$filelist} = keys %UniqueHash; - } - -} - _______________________________________________ Pkg-tetex-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-tetex-commits

