Ralf Treinen <treinen@lsv.ens-cachan.fr> schrieb: > Hi, > > my package "mathpartir" (LaTeX macros) has a RC bug. I have sent a > patch to the BTS but cannot upload myself since I am travelling > until the end of the week, and don't have my gpg key availalable. > > Could please someone NMU bug#285144? If you intend to do so please > send a mail to the bug, in order to coordinate. I would be willing to do the NMU, but I think the patch is suboptimal. While it fixes the RC bug, it opens a new one: "Dokumentation for mathpartir.sty not found by texdoc" To fix this, I think the user documentation should be installed in /usr/share/doc/texmf/latex/mathpartir. I suggest the following patch - I also removed the manuall gzip'ing of the dvi file, this is done automatically by dh_compress, and added a symlink for the html file:
diff -Nur mathpartir-1.1.1.orig/debian/changelog mathpartir-1.1.1/debian/changelog --- mathpartir-1.1.1.orig/debian/changelog 2004-12-14 11:32:15.000000000 +0000 +++ mathpartir-1.1.1/debian/changelog 2004-12-14 11:15:50.000000000 +0000 @@ -1,3 +1,11 @@ +mathpartir (1.1.1-1.1) unstable; urgency=low + + * Install documentation (.dvi,.tex) in /usr/share/doc/texmf instead of + /usr/share/texmf/doc (closes: Bug#285144) + * NMU on request of the maintainer + + -- Frank Küster <frank@debian.org> Tue, 14 Dec 2004 11:55:54 +0100 + mathpartir (1.1.1-1) unstable; urgency=low * Initial Release (closes: Bug#241359). diff -Nur mathpartir-1.1.1.orig/debian/dirs mathpartir-1.1.1/debian/dirs --- mathpartir-1.1.1.orig/debian/dirs 2004-12-14 11:32:15.000000000 +0000 +++ mathpartir-1.1.1/debian/dirs 2004-12-14 11:12:03.000000000 +0000 @@ -1,3 +1,4 @@ usr/share/texmf/tex/latex/mathpartir -usr/share/texmf/doc/latex/mathpartir +usr/share/doc/texmf/latex/mathpartir usr/share/hevea + diff -Nur mathpartir-1.1.1.orig/debian/mathpartir.doc-base mathpartir-1.1.1/debian/mathpartir.doc-base --- mathpartir-1.1.1.orig/debian/mathpartir.doc-base 2004-12-14 11:32:15.000000000 +0000 +++ mathpartir-1.1.1/debian/mathpartir.doc-base 2004-12-14 11:08:28.000000000 +0000 @@ -7,8 +7,8 @@ Section: tex Format: HTML -Index: /usr/share/doc/mathpartir/mathpartir.html -Files: /usr/share/doc/mathpartir/mathpartir.html +Index: /usr/share/doc/texmf/latex/mathpartir/mathpartir.html +Files: /usr/share/doc/texmf/latex/mathpartir/mathpartir.html Format: DVI Files: /usr/share/doc/texmf/latex/mathpartir/mathpartir.dvi.gz diff -Nur mathpartir-1.1.1.orig/debian/mathpartir.links mathpartir-1.1.1/debian/mathpartir.links --- mathpartir-1.1.1.orig/debian/mathpartir.links 2004-12-14 11:32:15.000000000 +0000 +++ mathpartir-1.1.1/debian/mathpartir.links 2004-12-14 11:29:42.000000000 +0000 @@ -1 +1,2 @@ /usr/share/doc/texmf/latex/mathpartir/mathpartir.dvi.gz /usr/share/doc/mathpartir/mathpartir.dvi.gz +/usr/share/doc/texmf/latex/mathpartir/mathpartir.html /usr/share/doc/mathpartir/mathpartir.html diff -Nur mathpartir-1.1.1.orig/debian/rules mathpartir-1.1.1/debian/rules --- mathpartir-1.1.1.orig/debian/rules 2004-12-14 11:32:15.000000000 +0000 +++ mathpartir-1.1.1/debian/rules 2004-12-14 11:22:59.000000000 +0000 @@ -21,10 +21,10 @@ dh_clean -k dh_installdirs cp mathpartir.sty $(INST)/usr/share/texmf/tex/latex/mathpartir - cp mathpartir.tex $(INST)/usr/share/texmf/doc/latex/mathpartir + cp mathpartir.tex $(INST)/usr/share/doc/texmf/latex/mathpartir cp mathpartir.hva $(INST)/usr/share/hevea - gzip mathpartir.dvi --stdout > \ - $(INST)/usr/share/texmf/doc/latex/mathpartir/mathpartir.dvi.gz + cp mathpartir.dvi $(INST)/usr/share/doc/texmf/latex/mathpartir/ + cp mathpartir.html $(INST)/usr/share/doc/texmf/latex/mathpartir/ binary-arch: build install @@ -32,7 +32,7 @@ dh_testdir dh_testroot dh_installchangelogs - dh_installdocs mathpartir.html + dh_installdocs dh_compress dh_fixperms dh_link
Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Attachment:
pgplKxv_ubj5E.pgp
Description: PGP signature