[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(post-Etch) Turning tetex-* packages into dummy dependency metapackages



Dear TeX maintainers,

I guess at some point after the release of Etch, since teTeX no longer
has an upstream, one might want to replace the tetex-* packages with
dummy metapackages that are empty, but depend upon the relevent
texlive-* packages.  This would permit a smooth upgrade Etch -> Lenny
for the people who stuck with teTeX through Etch.

I spent some time to come up with lists of which TeXLive Debian packages
may substitute for the tetex-base and tetex-bin Debian packages.  (I did
not have the stamina to go through tetex-src, tetex-doc or tetex-extra.)
 I hope you find this more or less useful.  Mainly I used the file
listing services at packages.debian.org to come up with these lists,
e.g.,
http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=tetex-bin&version=unstable&arch=i386&page=1&number=all


TETEX-BASE
----------

Files from tetex-base would be (nearly) completely replaced, except as
noted below, by installation of the following packages:

texlive-base, texlive-base-bin, texlive-pdfetex, texlive-latex-base,
texlive-latex-recommended, texlive-latex-extra, texlive-bibtex-extra,
texlive-math-extra, texlive-publishers, texlive-context, texlive-omega,
texlive-metapost, texlive-font-utils, texlive-extra-utils,
texlive-fonts-recommended, texlive-fonts-extra, texlive-formats-extra,
texlive-plain-extra, texlive-generic-recommended, texlive-generic-extra,

[language packs:]

texlive-lang-polish, texlive-lang-vietnamese, texlive-lang-african,
texlive-lang-tibetan, texlive-lang-cyrillic, texlive-lang-greek,
texlive-lang-czechslovak, texlive-lang-german

(Most of the texlive-lang-* dependencies above result from the fonts
shipped in tetex-base.  I skipped mentioning a number of additional
texlive-lang-* packages that only would have shown up due to a file in
/usr/share/texmf-tetex/tex/generic/hyphen/.)

These can be condensed to the following dependency list after taking
their interdependencies into account:

texlive-latex-recommended, texlive-latex-extra, texlive-bibtex-extra,
texlive-math-extra, texlive-publishers, texlive-context, texlive-omega,
texlive-font-utils, texlive-extra-utils, texlive-fonts-extra,
texlive-formats-extra, texlive-plain-extra, texlive-generic-recommended,
texlive-generic-extra, texlive-lang-polish, texlive-lang-vietnamese,
texlive-lang-african, texlive-lang-tibetan, texlive-lang-cyrillic,
texlive-lang-greek, texlive-lang-czechslovak, texlive-lang-german


* Notes on tetex-base files:

I can't find an equivalent to the following tetex-base files in any of
the TeXLive packages.  Maybe they have gone missing or been renamed?

/usr/share/texmf-tetex/aliases
/usr/share/texmf-tetex/dvips/antt/config.antt
/usr/share/texmf-tetex/fonts/afm/yandy/*
/usr/share/texmf-tetex/fonts/enc/dvips/context/cork-var-lm.enc
/usr/share/texmf-tetex/fonts/enc/dvips/psnfss/8r.enc
/usr/share/texmf-tetex/fonts/map/dvips/antt/cork-antt.map
/usr/share/texmf-tetex/fonts/map/dvips/misc/cs.map
/usr/share/texmf-tetex/fonts/map/dvips/misc/dstroke.map
/usr/share/texmf-tetex/fonts/map/dvips/pl/pl.map
/usr/share/texmf-tetex/fonts/map/dvips/tetex/contnav.map
/usr/share/texmf-tetex/fonts/map/dvips/tetex/hoekwater.map
/usr/share/texmf-tetex/fonts/map/dvips/tetex/lucidabr-o.map
/usr/share/texmf-tetex/fonts/map/dvips/tetex/lumath-o.map
/usr/share/texmf-tetex/fonts/map/dvips/vntex/vnr.map
/usr/share/texmf-tetex/fonts/map/pdftex/cmttf/cmttf.map
/usr/share/texmf-tetex/fonts/source/yandy/mathtime/mtcmmi.mf
/usr/share/texmf-tetex/fonts/source/yandy/mathtime/mtcmsy.mf
/usr/share/texmf-tetex/fonts/tfm/cg/wingding/hwir.tfm
/usr/share/texmf-tetex/fonts/tfm/public/antt/cork-*.tfm
/usr/share/texmf-tetex/fonts/tfm/public/marvosym/fmvri8x.tfm
/usr/share/texmf-tetex/fonts/tfm/yandy/mathpi/*
/usr/share/texmf-tetex/fonts/tfm/yandy/mathplus/*
/usr/share/texmf-tetex/fonts/tfm/yandy/times/*
/usr/share/texmf-tetex/fonts/vf/yandy/*
/usr/share/texmf-tetex/metafont/config/cmmf.mf
/usr/share/texmf-tetex/scripts/uniqleaf/uniqleaf.pl
/usr/share/texmf-tetex/context/config/texexec.ini
/usr/share/texmf-tetex/tex/context/maths/*
/usr/share/texmf-tetex/tex/eplain/ebplain.ini
/usr/share/texmf-tetex/tex/eplain/etex.tex
/usr/share/texmf-tetex/tex/eplain/xeplain.tex
[missing hyphenization files skipped]
/usr/share/texmf-tetex/tex/generic/spanishb/*
/usr/share/texmf-tetex/tex/latex/config/pdfelatex.ini
/usr/share/texmf-tetex/tex/latex/config/pdfxlatex.ini
/usr/share/texmf-tetex/tex/plain/base/cwebmac.tex
/usr/share/texmf-tetex/tex/plain/base/logmac.tex
/usr/share/texmf-tetex/tex/plain/base/ordwebmac.tex
/usr/share/texmf-tetex/tex/plain/config/pdfbplain.ini
/usr/share/texmf-tetex/tex/plain/config/pdfxtex.ini
/usr/share/texmf-tetex/tex/plain/dvips/rotsample.tex
/usr/share/texmf-tetex/web2c/macce-cs.tcx


This isn't an exhaustive or accurate list - some of these may have been
renamed, some files with the same names in teTeX and TeXLive packages
may not be identical, and at some points I was just doing "spot checks".


TETEX-BIN
---------

Files from tetex-bin would be (nearly) completely replaced, except as
noted below, by installation of the following packages:

texlive-base-bin, texlive-omega, texlive-math-extra,
texlive-extra-utils, texlive-metapost, texlive-pdfetex, texlive-context,
texlive-latex-base, texlive-font-utils, texlive-lang-cyrillic

A tetex-bin dummy package should preserve the dependency on tetex-base
(also to become a dummy).  Since the dependencies of the tetex-base
dummy package listed above completely overlap those of the tetex-bin
dummy package, the dummy tetex-bin package would only need to do
Depends: tetex-base.  (It would, however, ideally inherit all the
Recommends and Suggests of the current tetex-bin.)

* Notes on files in the existing tetex-bin package:

/etc/cron.daily/tetex-bin - has no texlive equivalent?
/usr/bin/uniqleaf - doesn't exist in any TeXLive package
/usr/share/doc/tetex-bin/* - should be checked to see if contents can be
                             put in some texlive-* package

* Following file (in tetex-bin and texlive-omega) has a conflict with a
third-party package "aleph":
/usr/bin/aleph

tetex-bin has a Conflicts against aleph (<< 1:0); texlive-omega does
not.  This is actually in violation of Policy 10.1, which says "Two
different packages must not install programs with different
functionality but with the same filenames."  According to this section
of Policy, either the aleph package should change the name of the
/usr/bin/aleph binary, or both tetex-bin and texlive-omega should do so.

* Following files (in tetex-bin and texlive-base-bin) are 3rd-party
conflicts with dvipsk-ja package:
/usr/bin/dvips
/usr/share/man/man1/dvips.1.gz

The preinst/postrm of dvipsk-ja has dpkg-divert calls, so that this
should be OK.

* Following files (in tetex-bin and texlive-font-utils) are 3rd-party
conflicts with ptex-bin package:
/usr/bin/pltotf
/usr/bin/tftopl
/usr/share/man/man1/pltotf.1.gz
/usr/share/man/man1/tftopl.1.gz

The ptex-bin package also uses dpkg-divert to ensure that this is OK.


Note that tetex-bin Provides the following virtual packages:
- cweb (already also provided by texlive-extra-utils)
- ctie (already also provided by texlive-extra-utils)
- texdoctk (already also provided by texlive-base-bin)
- dvipdfm (nothing else provides this, and alml depends upon it; it
           should be provided [I guess] by texlive-base-bin, which
           includes /usr/bin/dvipdfm)

best regards,

-- 
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: