Disable generating manual.pdf ourselves.
For the time being, we'll just package the upstream-generated manual.pdf, since we can't build the PDF reproducibly ourselves. The reason we can't is most probably due to the fact that the LaTeX document embeds other PDF documents and PNG images. Although we are able to reproduce the PDF's creation and mod dates, as well as its PDF IDs, the stream elements representing the embedded images are always what seem to differ each time we try to generate the PDF.
This commit is contained in:
6
debian/control
vendored
6
debian/control
vendored
@@ -12,9 +12,9 @@ Build-Depends: debhelper (>= 10),
|
||||
libgtk2.0-dev,
|
||||
libpng-dev,
|
||||
pkg-config
|
||||
Build-Depends-Indep: texlive-fonts-recommended,
|
||||
texlive-latex-base,
|
||||
texlive-latex-extra
|
||||
# Build-Depends-Indep: texlive-fonts-recommended,
|
||||
# texlive-latex-base,
|
||||
# texlive-latex-extra
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Browser: https://anonscm.debian.org/git/pkg-opt-media/dvdisaster.git
|
||||
Vcs-Git: https://anonscm.debian.org/git/pkg-opt-media/dvdisaster.git
|
||||
|
||||
11
debian/rules
vendored
11
debian/rules
vendored
@@ -35,8 +35,17 @@ override_dh_clean:
|
||||
override_dh_auto_build-arch:
|
||||
make all
|
||||
|
||||
# For the time being, we'll just package the upstream-generated
|
||||
# manual.pdf, since we can't build the PDF reproducibly ourselves.
|
||||
# The reason we can't is most probably due to the fact that the
|
||||
# LaTeX document embeds other PDF documents and PNG images.
|
||||
# Although we are able to reproduce the PDF's creation and mod
|
||||
# dates, as well as its PDF IDs, the stream elements representing
|
||||
# the embedded images are always what seem to differ each time we
|
||||
# try to generate the PDF.
|
||||
override_dh_auto_build-indep:
|
||||
make manual
|
||||
# make manual
|
||||
true
|
||||
|
||||
override_dh_auto_install-arch:
|
||||
dh_auto_install -a -- BUILDROOT=$(CURDIR)/debian/tmp
|
||||
|
||||
Reference in New Issue
Block a user