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

Bug#225004: tetex-extra: Type1 fonts should be in a separate package



Hilmar Preusse <hille42@web.de> wrote:

> Latest version attached.

--- debian.orig/control	Wed Feb 11 10:22:38 2004
+++ debian/control	Wed Feb 11 11:31:52 2004
@@ -9,9 +9,9 @@
 Package: tetex-base
 Architecture: all
 Depends: texinfo (>= 4.0b-1), debconf
-Replaces: texidoc, bibtex, texpsfnt, mfbasfnt, xdvik, dvipsk, mfnfss,[...]
+Replaces: texidoc, bibtex, texpsfnt, mfbasfnt, mfnfss, [...]
 Pre-Depends: dpkg (>=1.6.8)
-Conflicts: texidoc, bibtex, texpsfnt, mfbasfnt, xdvik, mfnfss, [...]
+Conflicts: texidoc, bibtex, texpsfnt, mfbasfnt, mfnfss, [...]

Why did you change Conflicts and Replaces of tetex-base and -extra?

+Package: tetex-extra-fonts
+Architecture: all

+Conflicts: textfm, texpsfnt, mfbasfnt, mfnfss, amsfonts, amstex,
+amslatex, ltxmisc, ltxtool, psnfss, mfdcfnt, mflib, pandora, hyperref,
+tetex-french, cspsfonts, tetex-nonfree, pb-diagram, revtex4 (<= 4.0-2),
                          ^^^^^^^^^^^^^
+tetex-eurosym, texdoctk, tetex-extra (<= 2.0.2-x.x)

This makes it conflict with its brother tetex-extra. The only one of
these that exist in woody are

- revtex: no fonts at all - so there's no relationship needed

- tetex-eurosym. 

  Here we have a problem. Currently tetex-extra replaces tetex-eurosym,
  and Conflicts with it. From a packaging point of view, it is o.k. for
  tetex-extra-fonts to not declare any relationship to
  tetex-eurosym. However, the files previously in tetex-eurosym are now
  in two packages, tetex-extra and tetex-extra-fonts. 

  Hm. Ugly. One option would be to have a pseudo-package tetex-eurosym
  that depends on both tetex-extra and tetex-extra-fonts. The other
  would be to simply ignore this and only document in README.Debian that
  the type1 fonts for eurosym are now in tetex-extra-fonts.

- texdoctk: no fonts at all, no relationship needed

- tetex-extra: This is of course needed.

+Replaces: textfm, latex, texidoc, texpsfnt, mfbasfnt, mfnfss, amsfonts, amstex, amslatex, ltxmisc, ltxtool, psnfss, mfdcfnt, mflib, pandora, hyperref, cspsfonts, tetex-bin (<< 1.0.7+20021025-3), tetex-french, tetex-nonfree, pb-diagram, tetex-base (<< 2.0-2), tetex-eurosym

This is for sure incorrect. I think it just cannot replace anything,
because it will never contain all files of one of these packages. And it
doesn't need to, as long as we get the conflicts and depends correct.

diff -urN debian.orig/copyr.type1 debian/copyr.type1
--- debian.orig/copyr.type1	Thu Jan  1 01:00:00 1970
+++ debian/copyr.type1	Wed Feb 11 10:54:49 2004

This file should be named tetex-extra-fonts.copyright and be installed
as /usr/share/doc/tetex-extra-fonts/copyright.

+	ln -s `cat debian/tetex-extra-fonts.files|sed s#^u#\/u#g` debian/tetex-base/usr/X11R6/lib/X11/fonts/Type1/
 
This doesn't do what it should. I don't know why - in the shell it
does. But on my system, no links are created at all.

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: