Bug#335990: patch for making tipa conforming to current TeX policy
Dear Rafael! We already have got one approval, but after this we made a slight change and asked you for a new approval of an NMU. Unfortunately we didn't get any response, so I ask again. Please see the following email: On Mon, 12 Dez 2005, preining wrote: Dear Rafael! On Don, 08 Dez 2005, Rafael Laboissiere wrote: Thanks for your bug report on tipa. Unfortunately, I am currently unable to invest time on checking your patch or doing any change to the package. Please, feel free to NMU. I have remade a new package tipa_1.2-2.1 with only a slight change: The map file is moved directly from /etc/texmf/map to /usr/share/texmf/fonts/map. This is possible since tetex has already made the move. Otherwise no changes. The package can be obtained from the same source deb http://www.tug.org/texlive/Debian/ updpkg/ deb-src http://www.tug.org/texlive/Debian/ updpkg/ and it builds in pbuilder, upgrades from previous 1.2-2 version (and remove/purges). I attach the interdiff from 1.2-2.diff to 1.2-2.1.diff. Please can you approve this new version so that we can NMU it?! Best wishes and thanks a lot Norbert --- Dr. Norbert Preining preining AT logic DOT at Università di Siena gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- CONG (n.) Strange-shaped metal utensil found at the back of the saucepan cupboard. Many authorities believe that congs provide conclusive proof of the existence of a now extinct form of yellow vegetable which the Victorians used to boil mercilessly. --- Douglas Adams, The Meaning of Liff diff -u tipa-1.2/debian/changelog tipa-1.2/debian/changelog --- tipa-1.2/debian/changelog +++ tipa-1.2/debian/changelog @@ -1,3 +1,13 @@ +tipa (2:1.2-2.1) unstable; urgency=low + + * NMU with maintainer approval to work with new tetex3 (updmap-sys) and +texlive. It has been prepared by Norbert Preining [EMAIL PROTECTED], +upload sponsored by Frank KÃŒster + * use dh_installtexfonts, move map file to TEXMFMAIN/fonts/map/dvips +(closes: #335990) + + -- Norbert Preining [EMAIL PROTECTED] Mon, 12 Dec 2005 16:23:46 +0100 + tipa (2:1.2-2) unstable; urgency=low * debian/control: tipa depends on tetex-bin. This will avoid the problem reverted: --- tipa-1.2/debian/postinst +++ tipa-1.2.orig/debian/postinst @@ -1,27 +0,0 @@ -#!/bin/sh - -# postinst of package tipa -# Rafael Laboissiere [EMAIL PROTECTED] - -set -e - -case $1 in -configure) - if [ -x /usr/bin/texhash ] ; then \ - /usr/bin/texhash ; \ - fi - if [ -x /usr/sbin/update-updmap ] ; then \ - /usr/sbin/update-updmap ; \ - fi - if [ -x /usr/bin/updmap ] ; then \ - /usr/bin/updmap ; \ - fi -;; -abort-upgrade | abort-deconfigure | abort-remove) - ;; -*) - echo $0: incorrect arguments: $* 2 - exit 1 - ;; -esac - -#DEBHELPER# reverted: --- tipa-1.2/debian/postrm +++ tipa-1.2.orig/debian/postrm @@ -1,36 +0,0 @@ -#!/bin/sh - -# postrm of package tipa -# Rafael Laboissiere [EMAIL PROTECTED] - -set -e - -case $1 in -purge | remove) - if [ -x /usr/bin/texhash ] ; then \ - /usr/bin/texhash ; \ - fi - case $1 in - remove) -mv /etc/texmf/updmap.d/10tipa.cfg /etc/texmf/updmap.d/10tipa.bak - ;; - purge) -rm -f /etc/texmf/updmap.d/10tipa.* - ;; - esac - if [ -x /usr/sbin/update-updmap ] ; then \ - /usr/sbin/update-updmap ; \ - fi - if [ -x /usr/bin/updmap ] ; then \ - /usr/bin/updmap ; \ - fi -;; -upgrade | failed-upgrade | abort-upgrade | abort-install) -;; -*) - echo $0: incorrect arguments: $* 2 - exit 1 -;; -esac - -#DEBHELPER# - diff -u tipa-1.2/debian/control tipa-1.2/debian/control --- tipa-1.2/debian/control +++ tipa-1.2/debian/control @@ -3,11 +3,11 @@ Priority: optional Maintainer: Rafael Laboissiere [EMAIL PROTECTED] Standards-Version: 3.5.7 -Build-Depends-Indep: debhelper (= 3.4.1), tetex-bin, tetex-extra, gs-common, perl, sharutils +Build-Depends-Indep: tex-common (= 0.11), debhelper (= 3.4.1), tetex-bin (= 3) | texlive-latex-recommended, tetex-extra | texlive-fonts-recommended, gs-common, perl, sharutils Package: tipa Architecture: all -Depends: tetex-base, tetex-bin +Depends: tetex-base (= 3) | texlive-latex-base, tetex-bin | texlive-base-bin Conflicts: tipa-type1 Replaces: tipa-type1 Description: System for processing phonetic symbols in LaTeX diff -u tipa-1.2/debian/rules tipa-1.2/debian/rules --- tipa-1.2/debian/rules +++ tipa-1.2/debian/rules @@ -52,7 +52,7 @@ dh_clean -k dh_installdirs
Bug#335990: patch for making tipa conforming to current TeX policy
* Norbert Preining [EMAIL PROTECTED] [2006-01-08 23:44]: We already have got one approval, but after this we made a slight change and asked you for a new approval of an NMU. Unfortunately we didn't get any response, so I ask again. Please see the following email: On Mon, 12 Dez 2005, preining wrote: Dear Rafael! [...] During that time I was too busy and I should have overseen your message. I am still short of time to check your changes, so go ahead and NMU, please. Thanks, -- Rafael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335990: patch for making tipa conforming to current TeX policy
Dear Rafael! On Don, 08 Dez 2005, Rafael Laboissiere wrote: Thanks for your bug report on tipa. Unfortunately, I am currently unable to invest time on checking your patch or doing any change to the package. Please, feel free to NMU. I have remade a new package tipa_1.2-2.1 with only a slight change: The map file is moved directly from /etc/texmf/map to /usr/share/texmf/fonts/map. This is possible since tetex has already made the move. Otherwise no changes. The package can be obtained from the same source deb http://www.tug.org/texlive/Debian/ updpkg/ deb-src http://www.tug.org/texlive/Debian/ updpkg/ and it builds in pbuilder, upgrades from previous 1.2-2 version (and remove/purges). I attach the interdiff from 1.2-2.diff to 1.2-2.1.diff. Please can you approve this new version so that we can NMU it?! Best wishes and thanks a lot Norbert --- Dr. Norbert Preining preining AT logic DOT at Università di Siena gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- CONG (n.) Strange-shaped metal utensil found at the back of the saucepan cupboard. Many authorities believe that congs provide conclusive proof of the existence of a now extinct form of yellow vegetable which the Victorians used to boil mercilessly. --- Douglas Adams, The Meaning of Liff diff -u tipa-1.2/debian/changelog tipa-1.2/debian/changelog --- tipa-1.2/debian/changelog +++ tipa-1.2/debian/changelog @@ -1,3 +1,13 @@ +tipa (2:1.2-2.1) unstable; urgency=low + + * NMU with maintainer approval to work with new tetex3 (updmap-sys) and +texlive. It has been prepared by Norbert Preining [EMAIL PROTECTED], +upload sponsored by Frank KÃŒster + * use dh_installtexfonts, move map file to TEXMFMAIN/fonts/map/dvips +(closes: #335990) + + -- Norbert Preining [EMAIL PROTECTED] Mon, 12 Dec 2005 16:23:46 +0100 + tipa (2:1.2-2) unstable; urgency=low * debian/control: tipa depends on tetex-bin. This will avoid the problem reverted: --- tipa-1.2/debian/postinst +++ tipa-1.2.orig/debian/postinst @@ -1,27 +0,0 @@ -#!/bin/sh - -# postinst of package tipa -# Rafael Laboissiere [EMAIL PROTECTED] - -set -e - -case $1 in -configure) - if [ -x /usr/bin/texhash ] ; then \ - /usr/bin/texhash ; \ - fi - if [ -x /usr/sbin/update-updmap ] ; then \ - /usr/sbin/update-updmap ; \ - fi - if [ -x /usr/bin/updmap ] ; then \ - /usr/bin/updmap ; \ - fi -;; -abort-upgrade | abort-deconfigure | abort-remove) - ;; -*) - echo $0: incorrect arguments: $* 2 - exit 1 - ;; -esac - -#DEBHELPER# reverted: --- tipa-1.2/debian/postrm +++ tipa-1.2.orig/debian/postrm @@ -1,36 +0,0 @@ -#!/bin/sh - -# postrm of package tipa -# Rafael Laboissiere [EMAIL PROTECTED] - -set -e - -case $1 in -purge | remove) - if [ -x /usr/bin/texhash ] ; then \ - /usr/bin/texhash ; \ - fi - case $1 in - remove) -mv /etc/texmf/updmap.d/10tipa.cfg /etc/texmf/updmap.d/10tipa.bak - ;; - purge) -rm -f /etc/texmf/updmap.d/10tipa.* - ;; - esac - if [ -x /usr/sbin/update-updmap ] ; then \ - /usr/sbin/update-updmap ; \ - fi - if [ -x /usr/bin/updmap ] ; then \ - /usr/bin/updmap ; \ - fi -;; -upgrade | failed-upgrade | abort-upgrade | abort-install) -;; -*) - echo $0: incorrect arguments: $* 2 - exit 1 -;; -esac - -#DEBHELPER# - diff -u tipa-1.2/debian/control tipa-1.2/debian/control --- tipa-1.2/debian/control +++ tipa-1.2/debian/control @@ -3,11 +3,11 @@ Priority: optional Maintainer: Rafael Laboissiere [EMAIL PROTECTED] Standards-Version: 3.5.7 -Build-Depends-Indep: debhelper (= 3.4.1), tetex-bin, tetex-extra, gs-common, perl, sharutils +Build-Depends-Indep: tex-common (= 0.11), debhelper (= 3.4.1), tetex-bin (= 3) | texlive-latex-recommended, tetex-extra | texlive-fonts-recommended, gs-common, perl, sharutils Package: tipa Architecture: all -Depends: tetex-base, tetex-bin +Depends: tetex-base (= 3) | texlive-latex-base, tetex-bin | texlive-base-bin Conflicts: tipa-type1 Replaces: tipa-type1 Description: System for processing phonetic symbols in LaTeX diff -u tipa-1.2/debian/rules tipa-1.2/debian/rules --- tipa-1.2/debian/rules +++ tipa-1.2/debian/rules @@ -52,7 +52,7 @@ dh_clean -k dh_installdirs - $(MAKE) install PREFIX=$(debtexmf) MAPDIR=$(debetc)/texmf/dvips + $(MAKE) install PREFIX=$(debtexmf) MAPDIR=$(debtexmf)/fonts/map/dvips # Fixes bug reported by lintian chmod +x $(debtexmf)/fonts/source/fkr/tipa/*.sh cp 00README changelog @@ -67,7 +67,8 @@ debian/xfonts-tipa.defoma-hints install --mode=644 debian/silipa.enc
Bug#335990: patch for making tipa conforming to current TeX policy
Hi Frank, hi Rafael! On Don, 08 Dez 2005, Frank Küster wrote: Maybe Frank you can upload it for me to debian? I have looked at it, and I have some remarks and a general question. The general question is missing. A new version of the packages are on the tug server incorporating all your suggestions. Upgrade/remove/install/purge/install tested Two things: I built the binary deb in a pbuilder env, and now in the .changes file there is Maintainer: [EMAIL PROTECTED] which is probably not the right thing. Furthermore (and this is something I don't understand), the binary deb is named tipa_1.2-2.1_all.deb with the epoch missing. THe version -2 comes as tipa_2%3a1.2-2_all.deb Best wishes Norbert --- Dr. Norbert Preining preining AT logic DOT at Università di Siena gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- LOWER PEOVER (n.) Common solution to the problems of a humby (q.v.) --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335990: patch for making tipa conforming to current TeX policy
Norbert Preining [EMAIL PROTECTED] wrote: Hi Frank, hi Rafael! On Don, 08 Dez 2005, Frank Küster wrote: Maybe Frank you can upload it for me to debian? I have looked at it, and I have some remarks and a general question. The general question is missing. It was in a separate mail. Two things: I built the binary deb in a pbuilder env, and now in the .changes file there is Maintainer: [EMAIL PROTECTED] which is probably not the right thing. No, it should be Maintainer: Original maintainer [EMAIL PROTECTED] Changed-by: NMUers name [EMAIL PROTECTED] and it is like this in my NMUs. Do you have any options set to change this? Furthermore (and this is something I don't understand), the binary deb is named tipa_1.2-2.1_all.deb with the epoch missing. THe version -2 comes as tipa_2%3a1.2-2_all.deb I get the same, on my sarge system and on pbuilder, and I don't understand it. Hm, I changed the encoding of the changelog to utf-8 or iso8859-1 or whatever because of the umlaut in my name - could this be the reason? Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#335990: patch for making tipa conforming to current TeX policy
Hi Frank! On Fre, 09 Dez 2005, Frank Küster wrote: Two things: I built the binary deb in a pbuilder env, and now in the .changes file there is Maintainer: [EMAIL PROTECTED] which is probably not the right thing. No, it should be Maintainer: Original maintainer [EMAIL PROTECTED] Changed-by: NMUers name [EMAIL PROTECTED] and it is like this in my NMUs. Do you have any options set to change this? Ok, fixed. There was a setting [EMAIL PROTECTED] in my pbuilderrc. Now (already in tug) the.changes file read: Maintainer: Rafael Laboissiere [EMAIL PROTECTED] Changed-By: Norbert Preining [EMAIL PROTECTED] New package (bin and source) are on tug. Furthermore (and this is something I don't understand), the binary deb is named tipa_1.2-2.1_all.deb with the epoch missing. THe version -2 comes as tipa_2%3a1.2-2_all.deb I get the same, on my sarge system and on pbuilder, and I don't understand it. Hm, I changed the encoding of the changelog to utf-8 or iso8859-1 or whatever because of the umlaut in my name - could this be the reason? I changed it to UTF8 as I entered your name into it. But this shouldn't be the problem. It seems that is a dpkg-buildpackage problem: I got the original package (apt-get source tipa) an built it in pbuilder, and I also got tipa_1.2-2_all.deb. So it seems to be, as I said, a dpkg-buildpackage problem. But note that the generated Packages file you still get the right Package: Package: tipa Version: 2:1.2-2.1 ... Filename: updpkg/tipa_1.2-2.1_all.deb Best wishes Norbert --- Dr. Norbert Preining preining AT logic DOT at Università di Siena gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- SHIFNAL (n.,vb.) An awkward shuffling walk caused by two or more people in a hurry accidentally getting into the same segment of revolving door. A similar effect is achieved by people entering three-legged races unwisely joined at the neck instead of the ankles. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335990: patch for making tipa conforming to current TeX policy
Norbert Preining [EMAIL PROTECTED] wrote: I changed it to UTF8 as I entered your name into it. But this shouldn't be the problem. It seems that is a dpkg-buildpackage problem: I got the original package (apt-get source tipa) an built it in pbuilder, and I also got tipa_1.2-2_all.deb. So it seems to be, as I said, a dpkg-buildpackage problem. But note that the generated Packages file you still get the right Package: Package: tipa Version: 2:1.2-2.1 Will you ask on -mentors? Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#335990: patch for making tipa conforming to current TeX policy
Hi Frank, hi Rafael! On Don, 08 Dez 2005, Rafael Laboissiere wrote: Thanks for your bug report on tipa. Unfortunately, I am currently unable to invest time on checking your patch or doing any change to the package. Please, feel free to NMU. I have prepared a NMU package 1.2-2.1 with correct tetex3 dependency. It builds in pbuilder, it upgrades from 1.2-2 and remove/install/purge/install works. Maybe Frank you can upload it for me to debian? deb http://www.tug.org/texlive/Debian/ updpkg/ deb-src http://www.tug.org/texlive/Debian/ updpkg/ (attention, there are other packages there, too) Best wishes Norbert --- Dr. Norbert Preining preining AT logic DOT at Università di Siena gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- BARSTIBLEY A humorous device such as a china horse or small naked porcelain infant which jocular hosts use of piss water into your Scotch with. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335990: patch for making tipa conforming to current TeX policy
Norbert Preining [EMAIL PROTECTED] wrote: Hi Frank, hi Rafael! On Don, 08 Dez 2005, Rafael Laboissiere wrote: Thanks for your bug report on tipa. Unfortunately, I am currently unable to invest time on checking your patch or doing any change to the package. Please, feel free to NMU. I have prepared a NMU package 1.2-2.1 with correct tetex3 dependency. It builds in pbuilder, it upgrades from 1.2-2 and remove/install/purge/install works. Maybe Frank you can upload it for me to debian? I have looked at it, and I have some remarks and a general question. First the remarks, in form of an interdiff of the diff.gz files: diff -u tipa-1.2/debian/preinst tipa-1.2/debian/preinst --- tipa-1.2/debian/preinst +++ tipa-1.2/debian/preinst @@ -4,11 +4,15 @@ # we have to move the map and dvips config file into /u/s/texmf # but want to preserve changes done by the user! # +dpkg_md5sum(){ + grep $1[[:space:]] /var/lib/dpkg/status | cut -f 3 -d ' ' +} + config_move () { oldfile=$1 -oldmd5sum=$2 -newloc=$3 +newloc=$2 +oldmd5sum=`dpkg_md5sum $oldfile` [...] - config_move /etc/texmf/dvips/tipa.map 26588041bd830288c5d8258cbf09bcf1 /etc/texmf/fonts/map/dvips + config_move /etc/texmf/dvips/tipa.map /etc/texmf/fonts/map/dvips It's unsafe to assume that only the md5sum of the file in the latest package version is unchanged. Especially when you do an NMU - do you know about the md5sum in woody or sarge, or some intermediate versions? - * NMU to work with new tetex3 (updmap-sys) and texlive + * NMU with maintainer approval to work with new tetex3 (updmap-sys) and +texlive. It has been prepared by Norbert Preining +[EMAIL PROTECTED], upload sponsored by Frank Küster * use dh_installtexfonts, move map file to /etc/texmf/fonts/map/dvips +(closes: #335990) You forgot to close the bug --- tipa-1.2/debian/control +++ tipa-1.2/debian/control @@ -3,11 +3,11 @@ Priority: optional Maintainer: Rafael Laboissiere [EMAIL PROTECTED] Standards-Version: 3.5.7 -Build-Depends-Indep: tex-common (= 0.11), debhelper (= 3.4.1), tetex-bin (= 3) | texlive-latex-recommended, tetex-extra (= 3) | texlive-fonts-recommended, gs-common, perl, sharutils +Build-Depends-Indep: tex-common (= 0.11), debhelper (= 3.4.1), tetex-bin (= 3) | texlive-latex-recommended, tetex-extra | texlive-fonts-recommended, gs-common, perl, sharutils I didn't check whether the build-dep needs to be versioned at all; but you can rely on tetex-extra providing a proper versioned dependency on tetex-bin. Package: tipa Architecture: all -Depends: tetex-base (= 3) | texlive-latex-base, tetex-bin (= 3) | texlive-base-bin +Depends: tetex-base (= 3) | texlive-latex-base, tetex-bin | texlive-base-bin Same here, except that here we really know we need the version for -base. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#335990: configuration files in TeX add-on packages (was: Bug#335990: patch for making tipa conforming to current TeX policy)
Norbert Preining [EMAIL PROTECTED] wrote: Maybe Frank you can upload it for me to debian? deb http://www.tug.org/texlive/Debian/ updpkg/ deb-src http://www.tug.org/texlive/Debian/ updpkg/ And now the general question: We have now moved all our TeX-input-configuration files to TEXMFDIST, local admins can put copies into TEXMFSYSCONFIG. Shouldn't we request the same from all TeX packages, write this in the Policy draft and honor it when we provide patches or do NMUs with maintainer approval, anyway? Raffael, would you accept such a larger change for an approved NMU? Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#335990: patch for making tipa conforming to current TeX policy
Norbert and Frank, Thanks for your bug report on tipa. Unfortunately, I am currently unable to invest time on checking your patch or doing any change to the package. Please, feel free to NMU. Thanks, -- Rafael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335990: patch for making tipa conforming to current TeX policy
Hi Rafael and Frank! On Mon, 05 Dez 2005, Frank Küster wrote: . new location of map file this is a two step process to move the map file from /etc/texmf/map/.. FIRST to /etc/texmf/fonts/map/dvips, and after tetex has moved all the maps to /usr/share/texmf/fonts/map (and thus /u/s/t/fonts/map is not a link to /etc/texmf/map anymore), a SECOND move to /u/s/t/f/m Please check wether the code in preinst is actually what you want!!! This will have the effect that the package does no longer work together with tetex-2.0.2 which is still in testing, and requires the dependency on tetex-* to be versioned accordingly. Therefore this part should not be done until tetex-3.0 is in testing - there is a backward compatibitity hack that makes tetex-3.0 mostly working with such packages, and will only be dropped after it has been in testing long enough that everybody has had time to upload fixed packages. Completely right. texlive does not have such a hack, therefore you can depend on ..|texlive-* only after the second part. True. I forgot on this. No problem with me. I have the texlive packages currently only recommending the respective tipa package, but I will remove this recommend as these packages do *not* work with texlive (texlive does *not* search for /etc/texmf/maps/... - maybe I add a hack ...). Sorry Frank again that I forgot about the testing transition. Best wishes Norbert --- Dr. Norbert Preining preining AT logic DOT at Università di Siena gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- CANNOCK CHASE (n.) In any box of After Eight Mints, there is always a large number of empty envelopes and no more that four or five actual mints. The cannock chase is the process by which, no matter which part of the box often, you will always extract most of the empty sachets before pinning down an actual minot, or 'cannock'. The cannock chase also occurs with people who put their dead matches back in the matchbox, and then embarrass themselves at parties trying to light cigarettes with tree quarters of an inch of charcoal. The term is also used to describe futile attempts to pursue unscrupulous advertising agencies who nick your ideas to sell chocolates with. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335990: patch for making tipa conforming to current TeX policy
Norbert Preining [EMAIL PROTECTED] wrote: texlive does not have such a hack, therefore you can depend on ..|texlive-* only after the second part. True. I forgot on this. No problem with me. I have the texlive packages currently only recommending the respective tipa package, but I will remove this recommend as these packages do *not* work with texlive (texlive does *not* search for /etc/texmf/maps/... - maybe I add a hack ...). Sorry Frank again that I forgot about the testing transition. Well, and I have to apologize that I didn't take the time to look more closely at the bugs you reported. While in principle I stand to what I said, tipa has no dependency except on tex packages, and we need not fear to be tied to some other transition. Therefore I suggest that tipa can apply the complete patch you submitted, with a proper versioned Depends on tetex. Then it will automatically stay in unstable until tetex (or texlive) also migrates to testing. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#335990: patch for making tipa conforming to current TeX policy
Hi Rafael, hi Norbert, Norbert Preining [EMAIL PROTECTED] wrote: Attached is an interdiff between an updated version and the current version Debian, but I include it here with some comments. This bug should be fixed in two steps: Only two things have changed: . use dh_installtexfonts for the installation of tipa.map this allows the removal of postrm and postinst for tipa as they are automatically generated from dh_installtexfonts/debhelper thus also the calls to updmap-sys etc are correct This can and should be done at once, and only needs a dependency on tex-common. . new location of map file this is a two step process to move the map file from /etc/texmf/map/.. FIRST to /etc/texmf/fonts/map/dvips, and after tetex has moved all the maps to /usr/share/texmf/fonts/map (and thus /u/s/t/fonts/map is not a link to /etc/texmf/map anymore), a SECOND move to /u/s/t/f/m Please check wether the code in preinst is actually what you want!!! This will have the effect that the package does no longer work together with tetex-2.0.2 which is still in testing, and requires the dependency on tetex-* to be versioned accordingly. Therefore this part should not be done until tetex-3.0 is in testing - there is a backward compatibitity hack that makes tetex-3.0 mostly working with such packages, and will only be dropped after it has been in testing long enough that everybody has had time to upload fixed packages. texlive does not have such a hack, therefore you can depend on ..|texlive-* only after the second part. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#335990: patch for making tipa conforming to current TeX policy
Package: tipa Version: 1.2-2 Followup-For: Bug #335990 Hi Rafael! In the course of checking how to get all TeX packages to work nicely with tetex3 and texlive, I took the tipa package and fixed some things. Attached is an interdiff between an updated version and the current version Debian, but I include it here with some comments. Only two things have changed: . use dh_installtexfonts for the installation of tipa.map this allows the removal of postrm and postinst for tipa as they are automatically generated from dh_installtexfonts/debhelper thus also the calls to updmap-sys etc are correct . new location of map file this is a two step process to move the map file from /etc/texmf/map/.. FIRST to /etc/texmf/fonts/map/dvips, and after tetex has moved all the maps to /usr/share/texmf/fonts/map (and thus /u/s/t/fonts/map is not a link to /etc/texmf/map anymore), a SECOND move to /u/s/t/f/m Please check wether the code in preinst is actually what you want!!! I have put packages (source and bin) build from this on the tug server (where also texlive resided): deb http://www.tug.org/texlive/Debian/ updpkg/ deb-src http://www.tug.org/texlive/Debian/ updpkg/ Best wishes Norbert the annotated interdiff: changelog entry diff -u tipa-1.2/debian/changelog tipa-1.2/debian/changelog --- tipa-1.2/debian/changelog +++ tipa-1.2/debian/changelog @@ -1,3 +1,10 @@ +tipa (2:1.2-2.1) unstable; urgency=low + + * NMU to work with new tetex3 (updmap-sys) and texlive + * use dh_installtexfonts, move map file to /etc/texmf/fonts/map/dvips + + -- Norbert Preining [EMAIL PROTECTED] Sat, 3 Dec 2005 12:37:52 +0100 + tipa (2:1.2-2) unstable; urgency=low * debian/control: tipa depends on tetex-bin. This will avoid the problem postinst and postrm scripts are removed as they are automatically generated by debhelper and dh_installtexfonts reverted: --- tipa-1.2/debian/postinst +++ tipa-1.2.orig/debian/postinst @@ -1,27 +0,0 @@ -#!/bin/sh - -# postinst of package tipa -# Rafael Laboissiere [EMAIL PROTECTED] - -set -e - -case $1 in -configure) - if [ -x /usr/bin/texhash ] ; then \ - /usr/bin/texhash ; \ - fi - if [ -x /usr/sbin/update-updmap ] ; then \ - /usr/sbin/update-updmap ; \ - fi - if [ -x /usr/bin/updmap ] ; then \ - /usr/bin/updmap ; \ - fi -;; -abort-upgrade | abort-deconfigure | abort-remove) - ;; -*) - echo $0: incorrect arguments: $* 2 - exit 1 - ;; -esac - -#DEBHELPER# reverted: --- tipa-1.2/debian/postrm +++ tipa-1.2.orig/debian/postrm @@ -1,36 +0,0 @@ -#!/bin/sh - -# postrm of package tipa -# Rafael Laboissiere [EMAIL PROTECTED] - -set -e - -case $1 in -purge | remove) - if [ -x /usr/bin/texhash ] ; then \ - /usr/bin/texhash ; \ - fi - case $1 in - remove) -mv /etc/texmf/updmap.d/10tipa.cfg /etc/texmf/updmap.d/10tipa.bak - ;; - purge) -rm -f /etc/texmf/updmap.d/10tipa.* - ;; - esac - if [ -x /usr/sbin/update-updmap ] ; then \ - /usr/sbin/update-updmap ; \ - fi - if [ -x /usr/bin/updmap ] ; then \ - /usr/bin/updmap ; \ - fi -;; -upgrade | failed-upgrade | abort-upgrade | abort-install) -;; -*) - echo $0: incorrect arguments: $* 2 - exit 1 -;; -esac - -#DEBHELPER# - control file fixes. You can leave the Build-Depends-Indep as it is, I only changed it so that I can build the package on my system. The Depends line adds alternatives on texlive diff -u tipa-1.2/debian/control tipa-1.2/debian/control --- tipa-1.2/debian/control +++ tipa-1.2/debian/control @@ -3,11 +3,11 @@ Priority: optional Maintainer: Rafael Laboissiere [EMAIL PROTECTED] Standards-Version: 3.5.7 -Build-Depends-Indep: debhelper (= 3.4.1), tetex-bin, tetex-extra, gs-common, perl, sharutils +Build-Depends-Indep: tex-common (= 0.11), debhelper (= 3.4.1), tetex-bin | texlive-latex-recommended, tetex-extra | texlive-fonts-recommended, gs-common, perl, sharutils Package: tipa Architecture: all -Depends: tetex-base, tetex-bin +Depends: tetex-base | texlive-latex-base, tetex-bin | texlive-base-bin Conflicts: tipa-type1 Replaces: tipa-type1 Description: System for processing phonetic symbols in LaTeX The rule files has been slightly modified in two ways: . install the map file into /etc/texmf/fonts/map/dvips . use dh_installtexfonts to generate the updmap.d and related list file diff -u tipa-1.2/debian/rules tipa-1.2/debian/rules --- tipa-1.2/debian/rules +++ tipa-1.2/debian/rules @@ -52,7 +52,7 @@ dh_clean -k dh_installdirs - $(MAKE) install PREFIX=$(debtexmf) MAPDIR=$(debetc)/texmf/dvips + $(MAKE) install PREFIX=$(debtexmf) MAPDIR=$(debetc)/texmf/fonts/map/dvips # Fixes bug reported by lintian chmod +x $(debtexmf)/fonts/source/fkr/tipa/*.sh cp 00README changelog @@ -67,7 +67,8 @@