[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#807838: marked as done (graphite2: please make the build reproducible)



Your message dated Tue, 05 Jan 2016 17:51:19 +0000
with message-id <E1aGVlP-0003Jf-JA@franck.debian.org>
and subject line Bug#807838: fixed in graphite2 1.3.4-2
has caused the Debian Bug report #807838,
regarding graphite2: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
807838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807838
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: graphite2
Version: 1.3.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that graphite2 could not be built reproducibly.
It is generating pdf documentation by calling asciidoc, which uses
dblatex to generate the file.
By default, dblatex builds the documentation in a random path (which
will then be used to generate the PDF ID).

The attached patch fixes this by telling dblatex to use a static path.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.diff b/debian/patches/reproducible-build.diff
new file mode 100644
index 0000000..3b83c70
--- /dev/null
+++ b/debian/patches/reproducible-build.diff
@@ -0,0 +1,11 @@
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -12,7 +12,7 @@
+     if(DBLATEX)
+         add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/manual.pdf
+                            DEPENDS ${PROJECT_SOURCE_DIR}/[a-z]*.txt
+-                           COMMAND ${A2X} -D ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}/manual.txt)
++                           COMMAND ${A2X} -D ${PROJECT_BINARY_DIR} --dblatex-opts="--tmpdir=docbuild" ${PROJECT_SOURCE_DIR}/manual.txt)
+         add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/GTF.pdf
+                            DEPENDS ${PROJECT_SOURCE_DIR}/GTF.txt
+                            COMMAND ${A2X} -D ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}/GTF.txt)
diff --git a/debian/patches/series b/debian/patches/series
index d39cfd6..ba9444d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 non-linux.diff
 no-icons.diff
 test-timeout.diff
+reproducible-build.diff

--- End Message ---
--- Begin Message ---
Source: graphite2
Source-Version: 1.3.4-2

We believe that the bug you reported is fixed in the latest version of
graphite2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 807838@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated graphite2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 05 Jan 2016 17:12:01 +0000
Source: graphite2
Binary: libgraphite2-3 libgraphite2-dev libgraphite2-doc
Architecture: source
Version: 1.3.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Description:
 libgraphite2-3 - Font rendering engine for Complex Scripts -- library
 libgraphite2-dev - Development files for libgraphite2
 libgraphite2-doc - Documentation for libgraphite2
Closes: 805323 807838
Changes:
 graphite2 (1.3.4-2) unstable; urgency=medium
 .
   * debian/patches/revert-collision-info-refactoring-to-fix-alignment.diff:
     add from upstream git, thanks Tim Eves (closes: #805323)
   * debian/patches/reproducible-build.diff: tell dblatex to use a static
     path to make build reproduceable, thanks Reiner Herrmann
     (closes: #807838)
   * use -DGRAPHITE2_NTRACING:BOOL=ON (instead of :bool=1)
   * fix Maintainer:
   * migrate from manual -dbg to ddeb
Checksums-Sha1:
 f3dda96567104f6bc46437a73dd177516b56b08e 2092 graphite2_1.3.4-2.dsc
 bfeadb03196e357be95aecb7e02396ca294afc7d 11196 graphite2_1.3.4-2.debian.tar.xz
Checksums-Sha256:
 c4c16f538d34614ada270f3d1f65384326e03277a5070b53d71787c2c79e7ba4 2092 graphite2_1.3.4-2.dsc
 d5add145ab75b6cdedfb7a4ae8a20ac9d4c67e6e3bc311310ec6f349d6da9394 11196 graphite2_1.3.4-2.debian.tar.xz
Files:
 7886b6af906c02decf2c425ab8fab37b 2092 libs optional graphite2_1.3.4-2.dsc
 ec4038e21a3e552354709d548966d563 11196 libs optional graphite2_1.3.4-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWi/pOAAoJEAqgRXHQPj5wBHAP/RApc9+f4mDgCqnd+iF9XYU8
oHVkQtQ0Fn74W7WS1Sd6d9FKQ5BDM+WC0k3ZNoc7bUtCB4/NSGAASrDcUfWmvxZI
Deq1SooxjT+vOuGbNEUF2xHlyBNctp7Po01VB6FX9gmLzl7pSmpsI0wPfr0kcZMr
hKDDAgYeghoG7XvqOWegm0C1TpwK3lbaqX2nWJWMqcMk1FDYIJZBgUFypxff5ddU
FYF9LNlAUqpV2QhfnKMA67sN8lYqum6xTjxziQy3P6NkcZNhUQSCDMuOsqyaDdQX
NkO1AZMx+z7x46EaoHT8xbjkwhvYNBPN0yWXvUIdPgh3Ju6Ys5Nwwzll1/FDd5s4
UHhUMpx8sL/ddlbGTZI8Y2cY6lFTqNCylnWk90euVEkBj8ftz9+P5+peICNlFije
FxDjTSnwhFxiP4xMEHLZzTeGAugX0D96h6Ju6IxBGSYNGJJ/nXYk+iziSG68nO/M
fqyhOmI+VUaZCukGvkbWjeQwjc1U5TdcttuWJRKBQ/aNdCfn6Ia+cIMbv0om2F+2
hbWyAA7Ddifgjh8MiuZjai2jPhYsT6gKh42L2ib27YrmX6EfFW2O9WSVzuNs5yUq
lTUPMMHddEIp9YE/vTtw5eQLOAdUGmMRpLA4/23LMrCZO3tKwKaWnrrU2Ge2yo+U
oAWrTRx5Z8h8WyRYKz1r
=zv8E
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: