debian/0000755000000000000000000000000011675515355007203 5ustar debian/lacheck.dirs0000644000000000000000000000003511436763726011460 0ustar /usr/bin /usr/share/man/man1 debian/lacheck.docs0000644000000000000000000000001411436763726011444 0ustar lacheck.hlp debian/control0000644000000000000000000000150111675515322010575 0ustar Source: lacheck Priority: optional Section: tex Build-Depends: debhelper (>= 8), eperl Maintainer: Davide G. M. Salvetti Standards-Version: 3.9.2 Homepage: http://www.ctan.org/tex-archive/support/lacheck/ Package: lacheck Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: texlive-latex-base Suggests: auctex Replaces: auctex (<< 9.7l-1) Breaks: auctex (<< 9.7l-1) Description: Simple syntax checker for LaTeX LaCheck is a simple syntax checker for LaTex that is based on a single-pass lexical scanner. This makes clear that there are a lot of LaTeX problems this program cannot find, although it will find most simple mistakes. Complex macro packages may, however, make it completely unusable. . This program was bundled with AUCTeX once upon a time and is best known from there. debian/patches/0000755000000000000000000000000011675515322010624 5ustar debian/patches/0002-Fix-check-target-in-Makefile.patch0000644000000000000000000000160111675515322017426 0ustar From: Davide G. M. Salvetti Date: Mon, 30 Aug 2010 18:46:51 +0200 Subject: [PATCH] Fix check target in Makefile. - The check target should fail if the program test fail. - The check target creates test.new, which should be cleaned while performing the clean target. --- Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 71a2619..7fafa79 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ test.old: test.tex $(LACHECK) $(srcdir)/$(LACHECK) $(srcdir)/test.tex > $@ check: test.new - -diff $(srcdir)/test.old $(srcdir)/test.new + diff $(srcdir)/test.old $(srcdir)/test.new install: $(LACHECK) lacheck.1 cp $(srcdir)/$(LACHECK) $(DESTDIR)$(bindir) @@ -76,6 +76,7 @@ uninstall: clean: -rm -f $(srcdir)/$(LACHECK) $(srcdir)/*.o $(srcdir)/*.1 $(srcdir)/*~ + rm -f test.new distclean: clean -- debian/patches/0001-Add-DESTDIR-support-to-Makefile.patch0000644000000000000000000000126711675515322017662 0ustar From: Davide G. M. Salvetti Date: Mon, 30 Aug 2010 18:24:40 +0200 Subject: [PATCH] Add DESTDIR support to Makefile. --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7e2b5a..71a2619 100644 --- a/Makefile +++ b/Makefile @@ -68,8 +68,8 @@ check: test.new -diff $(srcdir)/test.old $(srcdir)/test.new install: $(LACHECK) lacheck.1 - cp $(srcdir)/$(LACHECK) $(bindir) - cp $(srcdir)/lacheck.1 $(mandir)/lacheck$(manext) + cp $(srcdir)/$(LACHECK) $(DESTDIR)$(bindir) + cp $(srcdir)/lacheck.1 $(DESTDIR)$(mandir)/lacheck$(manext) uninstall: -rm -f $(bindir)/$(LACHECK) $(mandir)/lacheck$(manext) -- debian/patches/series0000644000000000000000000000012311675515322012035 0ustar 0001-Add-DESTDIR-support-to-Makefile.patch 0002-Fix-check-target-in-Makefile.patch debian/copyright.eperl0000644000000000000000000000254111675515322012240 0ustar This is the Debian package lacheck, maintained by Davide G. M. Salvetti using sources obtained from . Since sunsite.auc.dk is no longer available, sources can be obtained from . COPYRIGHT ========= lacheck.lex - A consistency checker checker for LaTeX documents Copyright (C) 1991, 1992 Kresten Krab Thorup. Copyright (C) 1993, 1994 Per Abrahamsen. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . DEBIAN SPECIFIC CHANGES ======================= The Debian specific changes are free software. #include COPYRIGHT <: # local variables: # mode: text # fill-column: 78 # ispell-local-dictionary: "american" # end: # # LocalWords: lacheck Kresten Krab Thorup Abrahamsen lex LaTeX :>// debian/rules.eperl0000644000000000000000000000273311675515322011365 0ustar <::>// #!/usr/bin/make -f # # rules for Debian lacheck package # <: open (my $copyright, "< COPYRIGHT"); while (<$copyright>) {print '#'.(/^$/?"\n":" $_")}; close $copyright; :>// EPERL_SRC := $(wildcard debian/*.eperl) EPERL_OBJ := $(EPERL_SRC:%.eperl=%) .PHONY: eperl eperl: $(EPERL_OBJ) echo $(filter-out debian/copyright debian/rules, $(EPERL_OBJ)) \ debian/clean > debian/clean <:# Eperl is simply great: thanks, Ralf! :>// %:: %.eperl eperl -d DEBIAN_DIR="$(shell pwd)/debian/" \ -I "$(shell pwd)/debian/" -P -o $@ $< .PHONY: build build: eperl dh $@ %: dh $@ .PHONY: override_dh_auto_build override_dh_auto_build: $(MAKE) CC=gcc CFLAGS="-O2 -Wall" prefix=/usr \ lacheck lacheck.1 .PHONY: override_dh_auto_install override_dh_auto_install: dh_auto_install -- prefix=/usr mandir=/usr/share/man/man1 .PHONY: snapshot snapshot: gbp-pq rebase git-dch --debian-branch=patch-queue/master --snapshot --auto git-buildpackage --git-ignore-new -rfakeroot -tc -i -us -uc .PHONY: release release: gbp-pq rebase gbp-pq export git-dch --release git add debian/changelog git commit gbp-pq rebase git-buildpackage --git-debian-branch=patch-queue/master \ -rfakeroot -tc -i git checkout master V=$$(dpkg-parsechangelog|egrep '^Version: '|cut -d ' ' -f 2); \ git tag -s -m "Debian release $${V}" debian/$${V} <: # local variables: # mode: makefile # ispell-local-dictionary: "american" # ispell-check-comments: exclusive # end: # # LocalWords: Eperl Ralf lacheck :>// debian/lacheck.bug-presubj.eperl0000644000000000000000000000216111436763726014054 0ustar Remember to cover the basics, that is, what you expected to happen and what in fact did happen. If the bug (or problem) is triggered by a particular file, you should try to produce a minimal (the shortest the better) sample file which triggers the problem and include it in your report. Your bug report will NOT be automatically sent to the LaCheck upstream developers. It will be sent to the Debian Bug Tracking System instead, where the Debian lacheck package maintainer will receive it. He will eventually forward your report upstream if he thinks it related to the LaCheck upstream sources rather than specific to the lacheck package for Debian. If you think that your bug report is not specifically related to the Debian package and would like to send it directly to the LaCheck upstream developers, abort this bug reporting procedure now and follow the usual bug reporting upstream conventions of LaCheck (look in the Debian lacheck package documentation directory "/usr/share/doc/lacheck/"). <: # local variables: # mode: text # fill-column: 72 # ispell-local-dictionary: "american" # end: :>// debian/changelog0000644000000000000000000001651411675515354011063 0ustar lacheck (1.26-14) unstable; urgency=low * [cf5b199] debian/control: Use Breaks and Replaces instead of Conflicts. * [e2e74de] Track new upstream versions. -- Davide G. M. Salvetti Sun, 25 Dec 2011 04:38:59 +0100 lacheck (1.26-13) unstable; urgency=low * [83e0664] Update Standards-Version to 3.9.2. * [636feda] Add debian/copyright to the source package. * [b9a913a] debian/control(Description): Omit initial article. -- Davide G. M. Salvetti Sun, 18 Dec 2011 23:28:49 +0100 lacheck (1.26-12) unstable; urgency=low * [492d3a1] Switch to 3.0 (quilt) source format. * [35c4d44] Update copyright year. * [33f548c] Recommend texlive-latex-base instead of texlive-base. * [d7db698] Do not ignore errors in "make clean". * [56a5c2a] Move the extended description "Homepage:" pseudo-header to a regular field. * [7f27b63] Change doc-base section from "Apps/Editors" to "Editors". * [25929f6] Do not call install-docs anymore in postinst.in and prerm.in. * [566c234] Remove no more needed debian/postinst.in and debian/prerm.in. * [0ebb8e5] Change EPerl sources suffix and rename binary package specific files. * [b8e10fb] Switch to debhelper. * [7a79cac] Add patch: Add DESTDIR support to Makefile. * [bbbc2ad] Add patch: Fix check target in Makefile. * [ae4fe30] Update Standards-Version to 3.9.1. -- Davide G. M. Salvetti Mon, 30 Aug 2010 19:22:21 +0200 lacheck (1.26-11.1) unstable; urgency=low * Non-maintainer upload. * Recommend texlive-base instead of texlive-base-recommended, which is no longer available (Closes: #448911). -- Amaya Rodrigo Sastre Mon, 31 Mar 2008 00:19:52 +0200 lacheck (1.26-11) unstable; urgency=low * rules.in (build-package): Added dependency on the "clean" target. * copyright.in, COPYRIGHT, variables: Update copyright. * postinst.in, prerm.in: Linting. * postinst.in, prerm.in: Check script arguments before calling actions. * variables (DINSTALL, DREMOVE): Check for "install-docs" in "${PATH}" rather than by absolute location. * control (Recommends): Dropped "tetex-base". (Closes: #424735) -- Davide G. M. Salvetti Wed, 08 Aug 2007 11:56:01 +0200 lacheck (1.26-10) unstable; urgency=low * postinst.in, prerm.in: Fixed typo; exit 1 if called with unknown argument; thanks to Justin Pryzby. * control (Recommends): Added texlive alternative dependencies according to : "tetex-base | texlive-base-recommended". -- Davide G. M. Salvetti Tue, 27 Jun 2006 20:22:58 +0200 lacheck (1.26-9) unstable; urgency=low * COPYRIGHT, copyright.in: Updated. * control (Standards-Version): Updated to 3.7.2. * control (Description): Added upstream URL. * rules.in (%): Declare ${DEBIAN_DIR}. * variables: Use it, to include "COPYRIGHT" in ePerl auto-generated files located in a "debian/" subdirectory. * rules.in (fixperms): New variable. The command used to canonicalize the whole tree permissions. (clean): Use "$(fixperms)" to canonicalize permissions after cleaning. * rules.in (%): Cater for ePerl "*.in" sources in subdirectories of "debian". * rules.in (checkdir, checkroot): Should not be implemented by means of phony targets, otherwise targets which depend on them will never be up-to-date. (build, clean, binary-indep, binary-arch): Change accordingly. * General overhaul of the debian directory. * bug.presubj, docbase: New files. * preinst, postrm: Deleted. -- Davide G. M. Salvetti Tue, 6 Jun 2006 19:19:04 +0200 lacheck (1.26-8) unstable; urgency=low * COPYRIGHT: Updated. * README.in, copyright.in, postinst.in, postrm.in, preinst.in, prerm.in, rules.in, variables: Linting. * control (Standards-Version): Updated to 3.6.1. (Description): Reflect the time passed; new AUCTeX name. -- Davide G. M. Salvetti Mon, 25 Apr 2005 11:54:37 +0200 lacheck (1.26-7) unstable; urgency=low * control (Priority): Set to optional. (Standards-Version): Updated to 3.5.10. * postinst(do_link): Removed. * prerm(undo_link): Removed. * rules(STRIP): New variable. (binary-arch): Use it. -- Davide G. M. Salvetti Sat, 28 Jun 2003 18:12:01 +0200 lacheck (1.26-6) unstable; urgency=high * control (Build-Depends): added eperl. * rules (debian/rules): added. -- Davide G. M. Salvetti Wed, 16 May 2001 14:50:11 +0200 lacheck (1.26-5) unstable; urgency=low * COPYRIGHT: Updated. * rules: Added -isp to dpkg-gencontrol. -- Davide G. M. Salvetti Fri, 12 Jan 2001 11:59:46 +0100 lacheck (1.26-4) unstable; urgency=low * copyright: Fixed typo. (Closes: #64259) * control: Standards-Version: 3.2.1. * rules: Rule to update system.variables added. -- Davide G. M. Salvetti Fri, 20 Oct 2000 02:49:31 +0200 lacheck (1.26-3) unstable; urgency=low * Added compatibility doc link. * EPerl handling of Debian files. * COPYRIGHT: New file. * postinst: New file. * postrm: New file. * preinst: New file. * prerm: New file. * system.variables: New file. * variables: New file. -- Davide G. M. Salvetti Thu, 14 Oct 1999 17:55:03 +0200 lacheck (1.26-2) unstable; urgency=low * control: Standards-Version: 3.0.0. * rules: Updated accordingly. -- Davide G. M. Salvetti Wed, 6 Oct 1999 00:42:24 +0200 lacheck (1.26-1) unstable; urgency=low * New upstream version. * rules: Install README.Debian. -- Davide G. M. Salvetti Tue, 25 Aug 1998 15:45:33 +0200 lacheck (1.25-2) unstable; urgency=low * README: New file. * control: Updated Standards-Version: 2.4.0.0. * copyright: GPL reference updated again. * rules: Commented DEBIAN/du generating rule. -- Davide G. M. Salvetti Fri, 6 Mar 1998 15:54:45 +0100 lacheck (1.25-1) unstable; urgency=low * New upstream version. * rules: Build architecture specific stuff under binary-arch. (#17200) * copyright: Updated GPL reference. -- Davide G. M. Salvetti Fri, 16 Jan 1998 22:46:46 +0100 lacheck (1.24-1) unstable; urgency=low * New maintainer. * New upstream version. * control: lacheck matches standards version 2.3.0.1. * rules: Heavily rewritten. -- Davide G. M. Salvetti Mon, 12 Jan 1998 21:20:44 +0100 lacheck (1.23-1.1) unstable; urgency=low * non-maintainer upload for libc6 * fixed bug (#14416) by not compressing copyright file -- Michael Meskes Mon, 8 Dec 1997 15:11:22 +0100 lacheck (1.23-1) unstable; urgency=low * new package (separated lacheck from auctex) * new maintainer Helmut Geyer -- Helmut Geyer Sat, 15 Mar 1997 20:05:19 +0100 comment (0) UNRELEASED; urgency=low * This is not a changelog entry. * local variables: * mode: debian-changelog * ispell-local-dictionary: "american" * end: * LocalWords: lacheck presubj README postinst postrm preinst prerm Meskes * LocalWords: auctex eperl debian isp dpkg gencontrol GPL du libc Geyer ePerl * LocalWords: linting docbase AUCTeX Helmut fixperms canonicalize checkdir * LocalWords: checkroot indep -- Davide G. M. Salvetti Thu, 01 Jan 1970 00:00:01 +0000 debian/compat0000644000000000000000000000000211436763726010403 0ustar 8 debian/lacheck.doc-base.eperl0000644000000000000000000000132511436763726013305 0ustar Document: lacheck Title: LaCheck: A consistency checker for LaTeX documents Author: Kresten Krab Thorup, Per Abrahamsen Abstract: LaCheck is a general purpose consistency checker for LaTeX documents. It reads a LaTeX document and displays warning messages, if it finds bad sequences. It should be noted, that the badness is very subjective. LaCheck is designed to help find common mistakes in LaTeX documents, especially those made by beginners. Section: Editors Format: text Files: /usr/share/doc/lacheck/lacheck.hlp <: # local variables: # mode: text # fill-column: 78 # ispell-local-dictionary: "american" # end: # # LocalWords: texinfo HTML lacheck LaTeX Kresten Krab Thorup Abrahamsen # LocalWords: LaCheck :>// debian/lacheck.README.Debian.eperl0000644000000000000000000000054311436763726013747 0ustar The Debian package lacheck -------------------------- Online documentation ==================== Online documentation may be found in the lacheck(1) manual page. -- Davide G. M. Salvetti , <:=$_=gmtime:>. <: # local variables: # mode: text # fill-column: 78 # ispell-local-dictionary: "american" # end: # # LocalWords: lacheck :>// debian/copyright0000644000000000000000000000373411675515322011137 0ustar This is the Debian package lacheck, maintained by Davide G. M. Salvetti using sources obtained from . Since sunsite.auc.dk is no longer available, sources can be obtained from . COPYRIGHT ========= lacheck.lex - A consistency checker checker for LaTeX documents Copyright (C) 1991, 1992 Kresten Krab Thorup. Copyright (C) 1993, 1994 Per Abrahamsen. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . DEBIAN SPECIFIC CHANGES ======================= The Debian specific changes are free software. Copyright (C) 1997, 98, 99, 2000, 01, 02, 03, 04, 05, 06, 07, 10 by Davide G. M. Salvetti. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian GNU/Linux System you can find a copy of the GNU General Public License in "/usr/share/common-licenses/GPL". debian/rules0000755000000000000000000000374411675515322010265 0ustar #!/usr/bin/make -f # # rules for Debian lacheck package # # Copyright (C) 1997, 98, 99, 2000, 01, 02, 03, 04, 05, 06, 07, 10 by Davide # G. M. Salvetti. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 3 of the License, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # On Debian GNU/Linux System you can find a copy of the GNU General Public # License in "/usr/share/common-licenses/GPL". EPERL_SRC := $(wildcard debian/*.eperl) EPERL_OBJ := $(EPERL_SRC:%.eperl=%) .PHONY: eperl eperl: $(EPERL_OBJ) echo $(filter-out debian/copyright debian/rules, $(EPERL_OBJ)) \ debian/clean > debian/clean %:: %.eperl eperl -d DEBIAN_DIR="$(shell pwd)/debian/" \ -I "$(shell pwd)/debian/" -P -o $@ $< .PHONY: build build: eperl dh $@ %: dh $@ .PHONY: override_dh_auto_build override_dh_auto_build: $(MAKE) CC=gcc CFLAGS="-O2 -Wall" prefix=/usr \ lacheck lacheck.1 .PHONY: override_dh_auto_install override_dh_auto_install: dh_auto_install -- prefix=/usr mandir=/usr/share/man/man1 .PHONY: snapshot snapshot: gbp-pq rebase git-dch --debian-branch=patch-queue/master --snapshot --auto git-buildpackage --git-ignore-new -rfakeroot -tc -i -us -uc .PHONY: release release: gbp-pq rebase gbp-pq export git-dch --release git add debian/changelog git commit gbp-pq rebase git-buildpackage --git-debian-branch=patch-queue/master \ -rfakeroot -tc -i git checkout master V=$$(dpkg-parsechangelog|egrep '^Version: '|cut -d ' ' -f 2); \ git tag -s -m "Debian release $${V}" debian/$${V} debian/source/0000755000000000000000000000000011436566340010476 5ustar debian/source/format0000644000000000000000000000001411436566340011704 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000011011675515322010216 0ustar version=3 http://mirrors.ctan.org/support/lacheck/lacheck-(.+)\.tar\.gz debian/COPYRIGHT0000644000000000000000000000146711436763726010510 0ustar Copyright (C) 1997, 98, 99, 2000, 01, 02, 03, 04, 05, 06, 07, 10 by Davide G. M. Salvetti. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian GNU/Linux System you can find a copy of the GNU General Public License in "/usr/share/common-licenses/GPL".