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

New texlive 2007 packages 2007-1~2 on tug server



Hi all!

The subject tells everything, please
	deb http://www.tug.org/texlive/Debian/ tl2007/
	deb-src http://www.tug.org/texlive/Debian/ tl2007/

I made several tests in a chroot/cowbuilder, but in any case the
following is necessary:
	If you install *ALL* texlive-lang-* packages you need to
	edit /etc/texmf/texmf.d/95NonPath.cnf and set
		trie_size = 300000
	(or use the next tex-common)

There is another problem which always occurs: lacheck recommends
tetex-base, so installing it always tries to install tetex-base ...
which we do NOT build from texlive sources, so one has to ignore this
recommends.

All tests made used the aptitude UI, NOT commandline!
I sometimes had to select something off, but generally the auto
selection mechanism worked out right:

- fresh install of texlive-full 2007
- install texlive-full 2005, then texlive-full 2007
- install tetex, then texlive 2007 (not full)
- install tetex, install texlive 2005, install texlive 2007

In all cases the config files were decently transfered, but I didn't
check for change config files etc etc. I did already spent too much time
today.

Open things:
- config files unroll treatment:
	Idea: preinst moves the files to dpkg.remove
		Postinst actually removes
		error-unwind reinstantiates this
- texlinks problem
	see my other email
- lintian warning, perl magic headers in some scripts, missing man pages


ATTENTION:
I am leaving for one week in the mountains on sunday, and currently the
Debian SVN server seems to be down, I cannot check in the latest
changes.

I attach tln.diff here which contains the changes, so in case that I
cannot check them in myself, please someone else in the next days.

Any comments welcome, as usual.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SILESIA (n. medical)
The inability to remember, at the critical moment, which is the better
side of a boat to be seasick off.
			--- Douglas Adams, The Meaning of Liff
Index: all/debian/tpm2deb.cfg
===================================================================
--- all/debian/tpm2deb.cfg	(revision 2478)
+++ all/debian/tpm2deb.cfg	(working copy)
@@ -62,16 +62,16 @@
 move;bin-ttfutils;texlive-font-utils
 blacklist;file;texmf/fonts/enc/ttf2pk/base/T1-WGL4.enc
 blacklist;file;texmf/fonts/map/ttf2pk/config/ttfonts.map
-blacklist;file;texmf/fonts/sfd/*
-blacklist;file;texmf/ttf2pk/*
+blacklist;file;texmf/fonts/sfd/.*
+blacklist;file;texmf/ttf2pk/.*
 blacklist;file;texmf/doc/man/man1/ttf2pk.1
 blacklist;file;texmf/doc/man/man1/ttf2tfm.1
 blacklist;file;texmf/doc/man/man1/ttfdump.1
 blacklist;file;texmf/doc/ttf2pk/ttf2pk.doc
 blacklist;file;texmf/doc/ttf2pk/ttf2pk.txt
 blacklist;file;texmf/doc/ttf2pk/ttf2tfm.txt
-blacklist;file;bin/*/ttf2pk
-blacklist;file;bin/*/ttf2tfm
+blacklist;file;bin/[^/]*/ttf2pk
+blacklist;file;bin/[^/]*/ttf2tfm
 #name;collection-graphicstools;texlive-graphics-tools;texlive-bin
 name;collection-music;texlive-music;texlive-bin
 name;collection-langindic;texlive-lang-indic;texlive-bin
@@ -211,7 +211,11 @@
 name;collection-pstricks;texlive-pstricks;texlive-extra
 name;collection-publishers;texlive-publishers;texlive-extra
 name;collection-humanities;texlive-humanities;texlive-extra
+# missing dependency
+depends;texlive-humanities;texlive-latex-base
 name;collection-science;texlive-science;texlive-extra
+# missing dependency
+depends;texlive-science;texlive-latex-base
 # collection-chemistry is replaced by texlive-science in TL2007
 #name;collection-chemistry;texlive-chemistry;texlive-extra
 replaces;texlive-science;texlive-chemistry
@@ -312,8 +316,8 @@
 # For now I am going for a *GENERAL* conflict against tetex <= 2007
 # but this should be discussed!
 conflicts;texlive-common;tetex-bin (<< 2007), tetex-base (<< 2007), tetex-extra (<< 2007), tetex-doc (<< 2007)
-# texlive-pdfetex is gone
-conflicts;texlive-common;texlive-pdfetex
+# texlive-pdfetex and -chemistry is gone
+conflicts;texlive-common;texlive-pdfetex, texlive-chemistry
 replaces;texlive-extra-utils;texlive-pdfetex
 replaces;texlive-latex-recommended;texlive-pdfetex
 replaces;texlive-base;texlive-pdfetex
@@ -424,8 +428,12 @@
 #move;charter;texlive-fonts-recommended
 #move;rsfs;texlive-fonts-recommended
 replaces;texlive-fonts-recommended;texlive-fonts-extra (<= 2005-2)
-#move;mathpazo;texlive-latex-recommended
-replaces;texlive-latex-recommended;texlive-math-extra (<= 2005-2)
+# mathpazo
+# <= 2005-2 math-extra
+# << 2007   latex-recommended
+# >= 2007   fonts-recommended
+replaces;texlive-fonts-recommended;texlive-math-extra (<= 2005-2)
+replaces;texlive-fonts-recommended;texlive-latex-recommended (<< 2007)
 #move;powerdot;texlive-latex-recommended
 replaces;texlive-latex-recommended;texlive-latex-extra (<= 2005-2)
 #move;jurabib;texlive-bibtex-extra
@@ -731,6 +739,8 @@
 replaces;texlive-music;texlive-latex-extra (<< 2007)
 replaces;texlive-publishers;texlive-latex-extra (<< 2007)
 replaces;texlive-pictures;texlive-latex-extra (<< 2007)
+# HA-prosper moved from latex-recommended to latex-extra
+replaces;texlive-latex-extra;texlive-latex-recommended (<< 2007)
 #
 #
 # vim:set termencoding=iso8859-15 encoding=utf-8 fileencoding=utf-8: #
Index: all/debian/CHANGES.packaging
===================================================================
--- all/debian/CHANGES.packaging	(revision 2478)
+++ all/debian/CHANGES.packaging	(working copy)
@@ -4,6 +4,26 @@
 # $Id: CHANGES.packaging 2080 2006-12-15 12:03:49Z preining $
 #
 
+2007-02-16
+  * fixes from the first test round
+    - really blacklist ttf2pk, this is a perl regexp, not a shell wildcard,
+      so we have to use .* instead of * (should be done in texlive-old!, too)
+    - missing (upstream) dependency
+      texlive-humanities -> texlive-latex-base
+      texlive-science -> texlive-latex-base
+    - add conflict texlive-common <-> texlive-chemistry as this is gone
+    - mathpazo hack
+      mathpazo was in math-extra <= 2005-2, in latex-recommended << 2007,
+      and now in fonts-recommended, thus:
+      texlive-fonts-recommended replaces texlive-math-extra (<= 2005-2)
+      texlive-fonts-recommended replaces texlive-latex-recommended (<< 2007)
+    - HA-prosper was moved from latex-extra to latex-recommended, thus
+      add a versioned replace
+    - all/debian/preinst.pre code: upgrading to tetex-bin 2007 does not 
+      work as the "upgrade from experimental versions" breakage kicks in.
+      check for upgrade from version 2005 <= version <= 2005-2
+      so that tetex-bin 3.0-something is not hit
+
 2007-02-15
   * update dvipdfm patch [NP]
 
Index: all/debian/preinst.pre
===================================================================
--- all/debian/preinst.pre	(revision 2478)
+++ all/debian/preinst.pre	(working copy)
@@ -1,10 +1,12 @@
 
 # we want to be sure that experimental versions are purged before
 # the first unstable is installed
+# furthermore check that we are at least at version 2005 for the 
+# temporary tetex packages upgrades
 case "$1" in
   upgrade|install)
     old_version=$2
-    if [ -n "$old_version" ] && dpkg --compare-versions "$old_version" lt 2005-2 ; then
+    if [ -n "$old_version" ] && dpkg --compare-versions "$old_version" lt 2005-2 && dpkg --compare-versions "$old_version" gt 2005 ; then
       echo "Upgrade from experimental versions are not supported!" >&2
       echo "Please purge all texlive packages before installation." >&2
       exit 1

Reply to: