--- latex-mk-1.8.orig/debian/patches/10-gmake-subst-run-tests.patch +++ latex-mk-1.8/debian/patches/10-gmake-subst-run-tests.patch @@ -0,0 +1,13 @@ +diff -Nur latex-mk-1.8/testsuite/run_tests.sh latex-mk-1.8.new/testsuite/run_tests.sh +--- latex-mk-1.8/testsuite/run_tests.sh 2006-06-20 13:26:07.000000000 +0200 ++++ latex-mk-1.8.new/testsuite/run_tests.sh 2006-06-23 08:42:51.742003744 +0200 +@@ -452,7 +452,8 @@ + # + # Also, we have to watch out for the gmake entering/leaving directory messages. + # those will have the full system path so we have to normalize it here +- cd ${rundir} && ${GMAKE} $args | sed -e "s;${GMAKE_NAME};gmake;g" \ ++ cd ${rundir} && ${GMAKE} $args | sed -e "s;makeindex;@@@;g" \ ++ -e "s;${GMAKE_NAME};gmake;g" -e "s;@@@;makeindex;g" \ + -e "s;directory .*/testsuite/run/;directory \`testsuite/run/;g" \ + > ${here}/${GMAKE_REF}/${t}.${sufx} + if [ "X$regen" != "Xyes" ]; then --- latex-mk-1.8.orig/debian/patches/50-do-not-use-csh.patch +++ latex-mk-1.8/debian/patches/50-do-not-use-csh.patch @@ -0,0 +1,12 @@ +diff -Nur latex-mk-1.8/latex-mk.in latex-mk-1.8.new/latex-mk.in +--- latex-mk-1.8/latex-mk.in 2006-06-11 13:58:40.000000000 +0200 ++++ latex-mk-1.8.new/latex-mk.in 2006-08-15 17:17:07.713899808 +0200 +@@ -58,7 +58,7 @@ + # like BibTeX. Because of this, we will test right away if we can write + # to the current directory. + +-here=`echo 'echo $cwd' | csh -s` ++here=$PWD + t=latex-mk.test.$$$$ + if touch ${t} 2>/dev/null ; then + rm -f ${t} --- latex-mk-1.8.orig/debian/patches/20-diff-white-space.patch +++ latex-mk-1.8/debian/patches/20-diff-white-space.patch @@ -0,0 +1,12 @@ +diff -Nur latex-mk-1.8/testsuite/run_tests.sh latex-mk-1.8.new/testsuite/run_tests.sh +--- latex-mk-1.8/testsuite/run_tests.sh 2006-06-23 11:38:15.146488152 +0200 ++++ latex-mk-1.8.new/testsuite/run_tests.sh 2006-06-23 11:39:01.700410880 +0200 +@@ -458,7 +458,7 @@ + > ${here}/${GMAKE_REF}/${t}.${sufx} + if [ "X$regen" != "Xyes" ]; then + if [ -f ${srcdir}/${GMAKE_REF}/${t}.ref ]; then +- if diff ${srcdir}/${GMAKE_REF}/${t}.ref ${here}/${GMAKE_REF}/${t}.log >/dev/null ; then ++ if diff --ignore-all-space ${srcdir}/${GMAKE_REF}/${t}.ref ${here}/${GMAKE_REF}/${t}.log >/dev/null ; then + echo "PASS" + gpass=`expr $gpass + 1` + else --- latex-mk-1.8.orig/debian/patches/50-prefix-in-doc.patch +++ latex-mk-1.8/debian/patches/50-prefix-in-doc.patch @@ -0,0 +1,67 @@ +diff -Nur latex-mk-1.8/configure.ac latex-mk-1.8.new/configure.ac +--- latex-mk-1.8/configure.ac 2006-06-22 20:46:47.000000000 +0200 ++++ latex-mk-1.8.new/configure.ac 2006-11-13 21:57:28.000000000 +0100 +@@ -194,6 +194,7 @@ + AC_OUTPUT( + Makefile + doc/Makefile ++ doc/prefix.texi + example/Makefile + example/tgif/Makefile + ieee-copyout +diff -Nur latex-mk-1.8/doc/latex-mk.texi latex-mk-1.8.new/doc/latex-mk.texi +--- latex-mk-1.8/doc/latex-mk.texi 2006-06-22 17:22:52.000000000 +0200 ++++ latex-mk-1.8.new/doc/latex-mk.texi 2006-11-13 21:58:19.000000000 +0100 +@@ -7,6 +7,7 @@ + @c %**end of header + + @include version.texi ++@include prefix.texi + + @dircategory LaTeX Project Tools + @direntry +@@ -164,17 +165,17 @@ + @example + NAME=mydoc + +-include /usr/local/share/latex-mk/latex.gmk ++include @value{PREFIX}/share/latex-mk/latex.gmk + @end example + @cindex make, differences between GNU and BSD + @cindex GNU make, versus BSD make + @cindex BSD make, versus GNU make + @cindex include, Makefile syntax for +-Note that the @code{include /usr/local/share/latex-mk/latex.gmk} is the ++Note that the @code{include @value{PREFIX}/share/latex-mk/latex.gmk} is the + syntax for GNU @samp{make}. If you are using BSD @samp{make} you would + replace the include line with +-@code{.include "/usr/local/share/latex-mk/latex.mk"}. In both examples, +-you would replace @code{/usr/local} with the installation prefix ++@code{.include "@value{PREFIX}/share/latex-mk/latex.mk"}. In both examples, ++you would replace @code{@value{PREFIX}} with the installation prefix + on your system. For the remainder of this document we will use the BSD + style of include in the examples. + Now to create a @file{.pdf} file you simply run +@@ -196,7 +197,7 @@ + BIBTEXSRCS= mybib.bib + TGIFDIRS= tgif_figs + +-.include "/usr/local/share/latex-mk/latex.mk" ++.include "@value{PREFIX}/share/latex-mk/latex.mk" + @end example + In this example is it assumed that all of the Tgif figures reside in a + subdirectory called @file{tgif_figs}. When the user issues a +@@ -1089,7 +1090,7 @@ + SUBDIR+= project2 + SUBDIR+= project3 + +-.include "/usr/local/share/latex-mk/latex.subdir.mk" ++.include "@value{PREFIX}/share/latex-mk/latex.subdir.mk" + + @end example + Now create your usual LaTeX-Mk Makefiles in the @file{project1}, +diff -Nur latex-mk-1.8/doc/prefix.texi.in latex-mk-1.8.new/doc/prefix.texi.in +--- latex-mk-1.8/doc/prefix.texi.in 1970-01-01 01:00:00.000000000 +0100 ++++ latex-mk-1.8.new/doc/prefix.texi.in 2006-11-13 21:58:01.000000000 +0100 +@@ -0,0 +1 @@ ++@set PREFIX @prefix@ --- latex-mk-1.8.orig/debian/control +++ latex-mk-1.8/debian/control @@ -0,0 +1,27 @@ +Source: latex-mk +Section: tex +Priority: optional +Maintainer: Rafael Laboissiere +Build-Depends: debhelper (>= 4), cdbs +Build-Depends-Indep: tetex-bin | texlive-base, texinfo, xsltproc, + docbook-xsl, imagemagick, gv, hevea, latex2rtf, cupsys-bsd, gs-common, + tgif, transfig, csh, tetex-extra, autoconf +Standards-Version: 3.7.2 + +Package: latex-mk +Architecture: all +Recommends: make, tetex-base | texlive-latex-recommended, + tetex-bin | texlive-base +Suggests: imagemagick, gv, hevea, latex2rtf, cupsys-bsd, gs-common, + tgif, 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 + input file is simply a series of variable definitions in a Makefile + for the project. After creating a simple Makefile the user can easily + perform all required steps to do such tasks as: preview the document, + print the document, or produce a PDF file. LaTeX-Mk will keep track + of files that have changed and how to run the various programs that + are needed to produce the output. + . + Homepage: http://latex-mk.sourceforge.net/ --- latex-mk-1.8.orig/debian/latex-mk.dbk +++ latex-mk-1.8/debian/latex-mk.dbk @@ -0,0 +1,149 @@ + +Rafael"> + Laboissiere"> + + January 28, 2006"> + + 1"> + rafael@debian.org"> + + LATEX-MK"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + automate compilation of LaTeX files. + + + + &dhpackage; + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; commands. This manual page was written + for the Debian distribution because the original program does not have + a manual page. Instead, it has documentation in the &gnu; + Info format; see below. + + &dhpackage; is a wrapper script used by the + LaTeX-Mk makefile system for LaTeX documents. Its purpose is to run + LaTeX the appropriate number of times to resolve all references and + page changes associated with resolving references. + + + + OPTIONS + + A summary of options is included below. For a complete + description, see the Info files. + + + + + + + + Show description of the script. + + + + + + + Show version of program. + + + + + + + + Force call to BibTeX. + + + + + + + Delete log file. + + + + + + + Enable debug mode. + + + + + + + Ignore errors. + + + + + + + Use pdflatex instead of latex. + + + + + + + Use tex2page instead of latex. + + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for the + Debian system (but may be used by others). Permission is granted to + copy, distribute and/or modify this document under the terms of the + &gnu; General Public License, Version 2 any later version published by + the Free Software Foundation. + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- latex-mk-1.8.orig/debian/compat +++ latex-mk-1.8/debian/compat @@ -0,0 +1 @@ +4 --- latex-mk-1.8.orig/debian/ieee-copyout.dbk +++ latex-mk-1.8/debian/ieee-copyout.dbk @@ -0,0 +1,108 @@ + +Rafael"> + Laboissiere"> + + January 28, 2006"> + + 1"> + rafael@debian.org"> + + IEEE-COPYOUT"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + creates archive in IEEE publication format. + + + + &dhpackage; + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; commands. This manual page was written + for the Debian distribution because the original program does not have + a manual page. + + &dhpackage; is used for creating an + archive of the format that the IEEE wants for paper submissions. This + script is part of LaTeX-Mk. + + + + OPTIONS + + + + + + + Delete *.log files. + + + + + + + Show version of program. + + + + + + SEE ALSO + + latex-mk (1) + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for the + Debian system (but may be used by others). Permission is granted to + copy, distribute and/or modify this document under the terms of the + &gnu; General Public License, Version 2 any later version published by + the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ + --- latex-mk-1.8.orig/debian/watch +++ latex-mk-1.8/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://prdownloads.sourceforge.net/latex-mk \ + /latex-mk/latex-mk-([\d.]*).tar.gz --- latex-mk-1.8.orig/debian/changelog +++ latex-mk-1.8/debian/changelog @@ -0,0 +1,111 @@ +latex-mk (1.8-5) unstable; urgency=low + + * debian/patches/50-prefix-in-doc.patch: Added patch for having the + right inlcude path in the examples given in the documentation. + * debian/rules: Activate call to autoconf + * debian/control: + - Build-Depends on autoconf + - Build-Depends on tetex-extra, because fancyheadings.sty is needed + for make check. + * debian/latex-mk.lintian: Added override file for Lintian + + -- Rafael Laboissiere Mon, 13 Nov 2006 23:09:03 +0100 + +latex-mk (1.8-4) unstable; urgency=low + + * debian/watch: Fixed URL and file pattern + + -- Rafael Laboissiere Sun, 10 Sep 2006 17:18:12 +0200 + +latex-mk (1.8-3) unstable; urgency=low + + * debian/patches/50-do-not-use-csh.patch: Use $PWD instead of calling + csh for getting the current working directory (closes: #383192) + + -- Rafael Laboissiere Tue, 15 Aug 2006 17:19:33 +0200 + +latex-mk (1.8-2) unstable; urgency=low + + * New upload to fix the debian/changelog text in 1.8-1 + + -- Rafael Laboissiere Fri, 23 Jun 2006 23:28:12 +0200 + +latex-mk (1.8-1) unstable; urgency=low + + * New upstream release + * debian/patches/syntax-error.patch: Removed patch, which has been + applied upstream + * debian/rules: Activate check rule + * debian.control: Build-Depends on csh, needed by testsuite/script_tests.sh + * debian/patches/10-gmake-subst-run-tests.patch, + debian/patches/20-diff-white-space.patch: + Patches for making "make check" work + + -- Rafael Laboissiere Fri, 23 Jun 2006 08:20:23 +0200 + +latex-mk (1.7-2) unstable; urgency=low + + * debian/control: Removed cdbs and debhelper from Build-Depends-Indep. + This was overseen in the last upload and the package now really + complies with section 7.6 of the Debian Policy. + + -- Rafael Laboissiere Mon, 19 Jun 2006 19:14:48 +0200 + +latex-mk (1.7-1) unstable; urgency=low + + * New upstream release (closes: #373804) + * debian/control: + - Bumped Standards-Version to 3.7.2 (no changes needed) + - Moved cdbs and debhelper from Build-Depends-Indep to + Build-Depends, complying with section 7.6 of the Debian Policy. + * debian/patches/syntax-error.patch: Fix a if/else syntax error in the + latex-mk script + + -- Rafael Laboissiere Thu, 15 Jun 2006 21:43:52 +0200 + +latex-mk (1.6-1) unstable; urgency=low + + * New upstream release + * debian/patches/ieee-copyout-syntax.patch: Removed patch, which has + been integrated upstream + + -- Rafael Laboissiere Tue, 25 Apr 2006 14:07:23 +0200 + +latex-mk (1.5-2) unstable; urgency=low + + * Dropped build-dependency and suggestion on non-free package lgrind + (still closes: #350336, once it will be approved by the ftp-admins). + + -- Rafael Laboissiere Sun, 19 Feb 2006 18:13:38 +0100 + +latex-mk (1.5-1) unstable; urgency=low + + * First official release (closes: #350336) + + -- Rafael Laboissiere Mon, 30 Jan 2006 22:05:43 +0100 + +latex-mk (1.5-0.3) unstable; urgency=low + + * debian/rules: Move away the doc/texinfo.tex file, such that texi2dvi + uses the texinfo.tex provided by the texinfo package + * debian/patches/recent-texinfo.tex.patch: Removed patch + + -- Rafael Laboissiere Mon, 30 Jan 2006 12:33:25 +0100 + +latex-mk (1.5-0.2) unstable; urgency=low + + * debian/rules: Proper installation of example files + * debian/control: Build-depends on debhelper + * debian/patches/recent-texinfo.tex.patch: Patch for replacing the + texinfo.tex file shipped in the tarball by a more recent one + distributed with the texinfo package. With the upstream file, + texi2dvi generates PDF format instead of DVI format at output. + + -- Rafael Laboissiere Mon, 30 Jan 2006 01:15:06 +0100 + +latex-mk (1.5-0.1) unstable; urgency=low + + * Initial release + + -- Rafael Laboissiere Sat, 28 Jan 2006 15:48:25 +0100 + --- latex-mk-1.8.orig/debian/copyright +++ latex-mk-1.8/debian/copyright @@ -0,0 +1,47 @@ +This package was debianized by Rafael Laboissiere on +Sat, 28 Jan 2006 15:48:25 +0100. + +It was downloaded from http://latex-mk.sourceforge.net/ + +Copyright Holder: Dan McMahill + +License: + +A few of the files related to the build system ('missing' for example) are +covered by the GPL. On Debian systems, the complete text of the GNU General +Public License can be found in the file '/usr/share/common-licenses/GPL'. + +All of the actual .mk code, postscript files, scripts, etc, unless +otherwise noted, are covered by the following copyright: + + Copyright (c) 2001, 2002, 2003, 2004, 2005 Dan McMahill + All rights reserved. + + This code is derived from software written by Dan McMahill + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed Dan McMahill + 4. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + --- latex-mk-1.8.orig/debian/latex-mk.docs +++ latex-mk-1.8/debian/latex-mk.docs @@ -0,0 +1,5 @@ +README +TODO +doc/latex-mk.html +doc/latex-mk.pdf +doc/latex-mk.ps --- latex-mk-1.8.orig/debian/rules +++ latex-mk-1.8/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules for latex-mk +# Copyright (C) 2006 Rafael Laboissiere +# Released under the terms of the GNU General Public License + +# CDBS stuff + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# Update configure script + +DEB_AUTO_UPDATE_AUTOCONF = 1 + +# Activate check rule + +DEB_MAKE_CHECK_TARGET := -i check + +# Istallation directory + +debdir = $(CURDIR)/debian +debshr = $(debdir)/latex-mk/usr/share +deblnt = $(debshr)/lintian/overrides + +# Get around obsolete upstream texinfo.tex file + +configure/latex-mk:: + -mv doc/texinfo.tex texinfo.tex-save + +clean:: + -test -f texinfo.tex-save && mv texinfo.tex-save doc/texinfo.tex + + +# Man pages + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet + +%.1: debian/%.dbk + $(XP) $(DB2MAN) $< + +build/latex-mk:: latex-mk.1 ieee-copyout.1 + +clean:: + rm -f *.1 doc/prefix.texi configure doc/latex-mk.info + + +install/latex-mk:: + ## Remove documentation and example files installed at wrong place + ( cd $(debshr)/latex-mk/ ; \ + rm -rf latex-mk.dvi latex-mk.html latex-mk.pdf latex-mk.ps ) + dh_installexamples $(CURDIR)/example/* + ## Install Lintian override + mkdir -p $(deblnt) + install -p -m 0644 $(debdir)/latex-mk.lintian $(deblnt)/latex-mk --- latex-mk-1.8.orig/debian/latex-mk.info +++ latex-mk-1.8/debian/latex-mk.info @@ -0,0 +1 @@ +doc/latex-mk.info --- latex-mk-1.8.orig/debian/latex-mk.manpages +++ latex-mk-1.8/debian/latex-mk.manpages @@ -0,0 +1,2 @@ +latex-mk.1 +ieee-copyout.1 --- latex-mk-1.8.orig/debian/latex-mk.lintian +++ latex-mk-1.8/debian/latex-mk.lintian @@ -0,0 +1 @@ +latex-mk: install-info-not-called-with-section-option