Hi,

this is a lazy solution to this bug: we remove tgif dependency
altogether by not disabling tgif in latex-mk. tgif does not seem to be
available anyway so it is a compromise that has to be made.  The user
will see an error message if tgif functionality will be used.

You may notice that some unit tests fail during the build - it is
ok-ish since they were failing before anyway.

Tomasz
diff -Nru latex-mk-2.1/debian/changelog latex-mk-2.1/debian/changelog
--- latex-mk-2.1/debian/changelog	2014-04-25 16:45:24.000000000 +0200
+++ latex-mk-2.1/debian/changelog	2014-11-22 18:15:40.000000000 +0100
@@ -1,3 +1,10 @@
+latex-mk (2.1-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Disable support and dependency on tgif (Closes: #768690)
+
+ -- Tomasz Buchert <tomasz.buch...@inria.fr>  Sat, 22 Nov 2014 18:14:45 +0100
+
 latex-mk (2.1-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru latex-mk-2.1/debian/control latex-mk-2.1/debian/control
--- latex-mk-2.1/debian/control	2014-04-25 16:44:02.000000000 +0200
+++ latex-mk-2.1/debian/control	2014-11-22 18:14:34.000000000 +0100
@@ -6,7 +6,7 @@
 Build-Depends-Indep: texlive-base, texlive-latex-base, texlive-latex-extra,
  texlive-latex-recommended, texlive-fonts-recommended, texinfo, xsltproc,
  docbook-xsl, graphicsmagick-imagemagick-compat, gv, hevea, latex2rtf, cups-bsd,
- ghostscript, tgif, transfig, csh, autoconf
+ ghostscript, transfig, csh, autoconf
 Standards-Version: 3.9.2
 Homepage: http://latex-mk.sourceforge.net/
 
@@ -15,7 +15,7 @@
 Depends: ${misc:Depends}
 Recommends: make, texlive-latex-recommended, texlive-base
 Suggests: graphicsmagick-imagemagick-compat, gv, hevea, latex2rtf, cups-bsd,
- ghostscript, tgif, transfig
+ ghostscript, transfig
 Description: tool for managing LaTeX projects
  LaTeX-Mk is a collection of Makefile fragments and shell scripts for
  managing small to large sized LaTeX projects. The typical LaTeX-Mk
diff -Nru latex-mk-2.1/debian/patches/disable-tgif.patch latex-mk-2.1/debian/patches/disable-tgif.patch
--- latex-mk-2.1/debian/patches/disable-tgif.patch	1970-01-01 01:00:00.000000000 +0100
+++ latex-mk-2.1/debian/patches/disable-tgif.patch	2014-11-22 18:57:09.000000000 +0100
@@ -0,0 +1,28 @@
+Description: Disables build dependency on tgif
+ tgif was removed from testing for various reasons.
+ First, its dependencies are not in testing (see https://bugs.debian.org/699301)
+ and then its own status is ambiguous (see https://bugs.debian.org/668249).
+ This patch disables tgif-related functionality by showing error
+ message if the user wants to use it.
+ .
+ latex-mk (2.1-1.3) unstable; urgency=medium
+ .
+   * Non-maintainer upload.
+   * Disable support and dependency on tgif (Closes: #768690)
+Author: Tomasz Buchert <tomasz.buch...@inria.fr>
+Bug-Debian: https://bugs.debian.org/768690
+
+--- a/latex.mk.in.in
++++ b/latex.mk.in.in
+@@ -432,9 +432,11 @@
+ # pull in tgif.[g]mk if needed
+ 
+ BMK:.if defined(_USE_TGIF_MK)
++BMK:.error Support for tgif files is not available, see https://bugs.debian.org/768690
+ BMK:.include "${LATEX_MK_DIR}/tgif.mk"
+ BMK:.endif
+ GMK:ifdef _USE_TGIF_MK
++GMK:$(error Support for tgif files is not available, see https://bugs.debian.org/768690)
+ GMK:include ${LATEX_MK_DIR}/tgif.gmk
+ GMK:endif
+ 
diff -Nru latex-mk-2.1/debian/patches/series latex-mk-2.1/debian/patches/series
--- latex-mk-2.1/debian/patches/series	2011-06-22 04:36:52.000000000 +0200
+++ latex-mk-2.1/debian/patches/series	2014-11-22 18:17:49.000000000 +0100
@@ -2,3 +2,4 @@
 use-fancyhdr.patch
 new-nomencl.patch
 use-gunzip-instead-of-gzcat.patch
+disable-tgif.patch

Reply via email to