diff -Nru latexml-0.8.5/debian/changelog latexml-0.8.5/debian/changelog --- latexml-0.8.5/debian/changelog 2021-01-10 22:47:13.000000000 +0000 +++ latexml-0.8.5/debian/changelog 2021-02-09 20:09:17.000000000 +0000 @@ -1,3 +1,14 @@ +latexml (0.8.5-2) unstable; urgency=medium + + * Switch to dh sequencer, mark huge TL packages as only needed + for build profiles including checks. + * DEP 5 copyright. + * Create d/links instead of arguments in d/rules. + * Remove make-orig-tar target from d/rules. + * Install manual.pdf in /u/s/doc, symlink is in texmf-tree. + + -- Hilmar Preusse Tue, 09 Feb 2021 21:09:17 +0100 + latexml (0.8.5-1) unstable; urgency=medium * New upstream release (Closes: #979580). diff -Nru latexml-0.8.5/debian/control latexml-0.8.5/debian/control --- latexml-0.8.5/debian/control 2021-01-10 22:09:16.000000000 +0000 +++ latexml-0.8.5/debian/control 2021-02-09 19:55:47.000000000 +0000 @@ -5,27 +5,27 @@ Uploaders: Norbert Preining , Peter Ralph , Hilmar Preusse -Build-Depends: debhelper-compat (= 12), +Build-Depends: debhelper-compat (= 13), libparse-recdescent-perl, libimage-size-perl, libarchive-zip-perl, libfile-which-perl, libio-string-perl, libjson-xs-perl, - libpod-parser-perl, + libpod-parser-perl , libtext-unidecode-perl, liburi-perl, libwww-perl, libxml-libxml-perl, libxml-libxslt-perl, tex-common, - texlive-fonts-extra, + texlive-fonts-extra , texlive-latex-base, - texlive-latex-extra, - texlive-lang-cyrillic, - texlive-lang-french, - texlive-lang-german, - texlive-science + texlive-latex-extra , + texlive-lang-cyrillic , + texlive-lang-french , + texlive-lang-german , + texlive-science Standards-Version: 4.5.1 Rules-Requires-Root: no Homepage: https://dlmf.nist.gov/LaTeXML/ diff -Nru latexml-0.8.5/debian/copyright latexml-0.8.5/debian/copyright --- latexml-0.8.5/debian/copyright 2020-08-23 22:19:29.000000000 +0000 +++ latexml-0.8.5/debian/copyright 2021-02-09 19:50:08.000000000 +0000 @@ -1,45 +1,57 @@ -This work was packaged for Debian by: - - Peter Ralph on Wed, 25 Feb 2015 08:15:06 -0800 - -It was downloaded from http://dlmf.nist.gov/LaTeXML/ - -Upstream Author: Bruce Miller - -License: - - Public domain software, produced as part of work done by the - United States Government & not subject to copyright in the US. - -LaTeXML contains files with different copyright. - -* t/theorem/amstheorem.tex - -%%% author = "American Mathematical Society", -%%% copyright = "Copyright 1996, 2004 American Mathematical Society, -%%% all rights reserved. Copying of this file is -%%% authorized only if either: -%%% (1) you make absolutely no changes to your copy, -%%% including name; OR -%%% (2) if you do make changes, you first rename it -%%% to some other name.", - -License: - - This work may be distributed and/or modified under the - conditions of the LaTeX Project Public License, either version 1.3c - of this license or (at your option) any later version. - The latest version of this license is in - http://www.latex-project.org/lppl.txt - and version 1.3c or later is part of all distributions of LaTeX - version 2005/12/01 or later. - - -The Debian packaging is: - - Copyright (C) 2015 Peter Ralph - Copyright (C) 2018 Norbert Preining - -and is licensed under the GPL version 3, -see "/usr/share/common-licenses/GPL-3". - +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: Bruce Miller +Source: http://dlmf.nist.gov/LaTeXML/ + +Files: * +Copyright: 2004-2020 Bruce Miller + 2020 Deyan Ginev +License: PD + Public domain software, produced as part of work done by the + United States Government & not subject to copyright in the US. + . + To the extent that any copyright protections may be considered to be held by + the authors of this software in some jurisdiction outside the United States, + the authors hereby waive those copyright protections and dedicate the + software to the public domain. Thus, this license may be considered + equivalent to Creative Commons 0: ”No Rights Reserved”. + . + Note that, according to Gnu.org, public domain is compatible with GPL. + +Files: t/theorem/amstheorem.tex +Copyright: 1996-2004 American Mathematical Society +License: LPPL-1.3+ + +Files: debian/* +Copyright: + 2010-2014 Atsuhito Kohda + 2015 Peter Ralph + 2018-2020 Norbert Preining + 2020-2021 Hilmar Preusse +License: GPL-3+ + +License: GPL-3+ + This package 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 package 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 package. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in "/usr/share/common-licenses/GPL-3". + +License: LPPL-1.3+ + This program can redistributed and/or modified under the terms + of the LaTeX Project Public License Distributed from CTAN + archives in directory macros/latex/base/lppl.txt; either + version 1 of the License, or (at your option) any later version. + . + You should have received a copy of the LaTeX Project Public License + along with this package. If not, see + . diff -Nru latexml-0.8.5/debian/docs latexml-0.8.5/debian/docs --- latexml-0.8.5/debian/docs 1970-01-01 00:00:00.000000000 +0000 +++ latexml-0.8.5/debian/docs 2021-02-04 22:25:13.000000000 +0000 @@ -0,0 +1,2 @@ +README.pod +manual.pdf diff -Nru latexml-0.8.5/debian/links latexml-0.8.5/debian/links --- latexml-0.8.5/debian/links 1970-01-01 00:00:00.000000000 +0000 +++ latexml-0.8.5/debian/links 2021-02-04 22:59:04.000000000 +0000 @@ -0,0 +1 @@ +usr/share/doc/latexml/manual.pdf usr/share/texmf/doc/latexml/manual.pdf diff -Nru latexml-0.8.5/debian/patches/fix-perl-shebang latexml-0.8.5/debian/patches/fix-perl-shebang --- latexml-0.8.5/debian/patches/fix-perl-shebang 2021-01-10 20:08:20.000000000 +0000 +++ latexml-0.8.5/debian/patches/fix-perl-shebang 2021-02-09 13:24:54.000000000 +0000 @@ -1,6 +1,6 @@ Description: Replace "#!/usr/bin/env perl" by "#!/usr/bin/perl -w" Origin: Norbert Preining -Forwarded: no +Forwarded: Not needed. Author: Norbert Preining Last-Update: Mon, 13 Aug 2018 09:29:28 +0900 diff -Nru latexml-0.8.5/debian/patches/spelling_errors latexml-0.8.5/debian/patches/spelling_errors --- latexml-0.8.5/debian/patches/spelling_errors 2021-01-10 21:31:34.000000000 +0000 +++ latexml-0.8.5/debian/patches/spelling_errors 2021-01-12 21:51:34.000000000 +0000 @@ -1,6 +1,6 @@ Description: Fix spelling errors in source code. Origin: Hilmar Preusse -Forwarded: no +Forwarded: https://github.com/brucemiller/LaTeXML/issues/1438 Author: Hilmar Preusse Last-Update: 20210110 diff -Nru latexml-0.8.5/debian/rules latexml-0.8.5/debian/rules --- latexml-0.8.5/debian/rules 2021-01-10 22:09:33.000000000 +0000 +++ latexml-0.8.5/debian/rules 2021-02-08 23:11:09.000000000 +0000 @@ -6,65 +6,24 @@ main_package=latexml -build: build-arch build-indep -build-arch: build-stamp -build-indep: build-stamp -build-stamp: - dh_testdir +%: + dh $@ --with tex + +override_dh_auto_build: # Add here commands to compile the package. perl Makefile.PL INSTALLDIRS=vendor NOMKTEXLSR=1 $(MAKE) - make test touch build-stamp -clean: - dh_testdir - #dh_testroot - if [ -f Makefile ]; then $(MAKE) clean ;fi - dh_clean - -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - +override_dh_auto_install: $(MAKE) pure_install INSTALLDIRS=vendor DESTDIR=`pwd`/debian/$(main_package) \ INSTALLTEXMFDIR=/usr/share/texmf/tex/latex/latexml # install documentation file - mkdir -p debian/latexml/usr/share/texmf/doc/latexml - cp manual.pdf debian/latexml/usr/share/texmf/doc/latexml/ + # mkdir -p debian/latexml/usr/share/texmf/doc/latexml + # cp manual.pdf debian/latexml/usr/share/texmf/doc/latexml/ find debian/latexml -type f -name .packlist | xargs rm -f # Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs README.pod - dh_installexamples - dh_installman - dh_link usr/share/texmf/doc/latexml/manual.pdf \ - usr/share/doc/latexml/manual.pdf - dh_installtex - dh_compress - dh_fixperms - dh_perl - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -make-orig-tar: - v=`dpkg-parsechangelog --show-field version | sed -e s/-.*$$//` ;\ - d=latexml-$$v; rm -rf $$d ; mkdir $$d ; git checkout v$$v ; \ - git checkout-index -a -f --prefix=$$d/ ; git checkout master ; \ - tar -cvzf latexml_$$v.orig.tar.gz $$d ; rm -rf $$d - -# Build architecture-dependent files here. -binary-arch: build-stamp -# We have nothing to do by default. - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +override_dh_compress: + dh_compress -X.pdf