diff -Nru abinit-7.8.2/debian/changelog abinit-7.8.2/debian/changelog --- abinit-7.8.2/debian/changelog 2014-09-09 07:09:10.000000000 +0000 +++ abinit-7.8.2/debian/changelog 2015-11-22 15:43:05.000000000 +0000 @@ -1,3 +1,21 @@ +abinit (7.8.2-3) unstable; urgency=medium + + [ Michael Banck ] + * debian/control (Vcs-Browser, Vcs-Svn): Fixed URLs. + * debian/rules (override_dh_auto_build): New target, builds documentation + and additional PDFs besides the regular build. + * debian/patches/enable_pstricks_with_pdflatex.patch: Updated to include + auto-pst-pdf package, which is required but does not get included + automatically anymore (Closes: #800736). + * debian/rules (override_dh_install): Renamed to ... + * debian/rules (override_dh_auto_install): ... this. Run dh_auto_install + once for the regular build and the documentation. + + [ Daniel Leidert ] + * debian/watch: Fixed. + + -- Michael Banck Sun, 22 Nov 2015 16:42:58 +0100 + abinit (7.8.2-2) unstable; urgency=medium * Fix copyright of doc/versioning/leaflet.cls diff -Nru abinit-7.8.2/debian/control abinit-7.8.2/debian/control --- abinit-7.8.2/debian/control 2014-08-24 18:00:44.000000000 +0000 +++ abinit-7.8.2/debian/control 2015-08-25 15:36:53.000000000 +0000 @@ -17,8 +17,8 @@ texlive-pstricks, texlive-publishers Standards-Version: 3.9.5 -Vcs-Browser: http://anonscm.debian.org/viewvc/debichem/unstable/openbabel/ -Vcs-Svn: svn://anonscm.debian.org/debichem/unstable/openbabel/ +Vcs-Browser: http://anonscm.debian.org/viewvc/debichem/unstable/abinit/ +Vcs-Svn: svn://anonscm.debian.org/debichem/unstable/abinit/ Homepage: http://www.abinit.org/ Package: abinit diff -Nru abinit-7.8.2/debian/patches/enable_pstricks_with_pdflatex.patch abinit-7.8.2/debian/patches/enable_pstricks_with_pdflatex.patch --- abinit-7.8.2/debian/patches/enable_pstricks_with_pdflatex.patch 2014-08-27 12:20:14.000000000 +0000 +++ abinit-7.8.2/debian/patches/enable_pstricks_with_pdflatex.patch 2015-11-22 15:33:10.000000000 +0000 @@ -5,12 +5,13 @@ --- a/doc/presentation/presentation.tex +++ b/doc/presentation/presentation.tex -@@ -5,7 +5,7 @@ +@@ -5,7 +5,8 @@ \usepackage{epsfig} \usepackage{pifont} \usepackage{amsmath} -\usepackage{pstricks} +\usepackage[pdf]{pstricks} ++\usepackage{auto-pst-pdf} \usepackage{pst-node} \usepackage{vmargin} \usepackage{rotate} diff -Nru abinit-7.8.2/debian/rules abinit-7.8.2/debian/rules --- abinit-7.8.2/debian/rules 2014-08-27 12:52:20.000000000 +0000 +++ abinit-7.8.2/debian/rules 2015-11-22 15:41:52.000000000 +0000 @@ -27,16 +27,19 @@ dh_auto_configure -- --with-linalg-ldflags="-lblas -llapack" dh_auto_configure --sourcedirectory=doc -- --prefix=/usr -override_dh_install: - make --directory=doc install prefix=$(CURDIR)/debian/tmp/usr/ +override_dh_auto_build: + dh_auto_build + dh_auto_build --sourcedirectory=doc cd doc/theory/ELF && pdflatex -interaction=nonstopmode --shell-escape wf_elecden_kinden_elf.tex cd doc/theory/ELF/test_report && pdflatex -interaction=nonstopmode --shell-escape test_report_elf.tex cd doc/theory/KDEN && pdflatex -interaction=nonstopmode --shell-escape test_report_kden.tex cd doc/theory/MGGA && pdflatex -interaction=nonstopmode --shell-escape report_MGGA.tex - dh_install - # It might be considered to build the PDF documentation in the - # package build process. However, installing the LaTeX source - # inside the abinit-doc package does not make any sense + +override_dh_auto_install: + dh_auto_install + dh_auto_install --sourcedirectory=doc + # Installing the LaTeX source inside the abinit-doc package does not + # make any sense find debian -type f -name "*.tex" -delete # remove documentation for building the software from user docs rm -rf debian/$(DOCPKGNAME)/usr/share/doc/$(DEBPKGNAME)/help_make diff -Nru abinit-7.8.2/debian/watch abinit-7.8.2/debian/watch --- abinit-7.8.2/debian/watch 2014-08-21 09:56:57.000000000 +0000 +++ abinit-7.8.2/debian/watch 2015-08-25 15:36:53.000000000 +0000 @@ -1,2 +1,3 @@ version=3 -http://www.abinit.org/downloads/source-packages/abinit-1 .*/abinit-([\d.]+)\.tar\.gz +opts=downloadurlmangle=s#.*/(\d+)-(\d+)\.(\d+)$#http://ftp.abinit.org/abinit-$1.$2.$3.tar.gz#g,filenamemangle=s#.*/(\d+)-(\d+)\.(\d+)$#abinit-$1.$2.$3.tar.gz#g \ + http://www.abinit.org/downloads/packages/(\d+)-(\d+)\.(\d+)