Your message dated Fri, 16 Sep 2016 10:08:47 +0000
with message-id <e1bkq4d-0004lu...@franck.debian.org>
and subject line Bug#783022: fixed in gtranslator 2.91.7-3
has caused the Debian Bug report #783022,
regarding gtranslator: 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 ow...@bugs.debian.org
immediately.)


-- 
783022: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783022
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gtranslator
Version: 2.91.6-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that gtranslator doesn't build reproducibly.
During build the current date is embedded into the manpage.

The attached patch replaces the undeterministic timestamp with
the date from the latest changelog entry.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds




diff --git a/debian/patches/reproducible_manpage.patch b/debian/patches/reproducible_manpage.patch
new file mode 100644
index 0000000..16812b0
--- /dev/null
+++ b/debian/patches/reproducible_manpage.patch
@@ -0,0 +1,18 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Use date from latest changelog entry in manpage.
+ This makes the build reproducible, as each time the same
+ timestamp will be embedded.
+
+Index: gtranslator-2.91.6/configure.ac
+===================================================================
+--- gtranslator-2.91.6.orig/configure.ac
++++ gtranslator-2.91.6/configure.ac
+@@ -250,7 +250,7 @@ AC_MSG_RESULT($enable_debug)
+ dnl -------------------------------------------------------------------
+ dnl Get the date for the man-page and substitute it there and anywhere.
+ dnl -------------------------------------------------------------------
+-MY_DATE=`date +%Y-%m-%d`
++MY_DATE=`dpkg-parsechangelog -S Date | date -u +%Y-%m-%d -f -`
+ 
+ AC_SUBST(MY_DATE)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index ac1b759..b263808 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 port_to_gtkspell3.patch
 fix-help-links.patch
+reproducible_manpage.patch

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: gtranslator
Source-Version: 2.91.7-3

We believe that the bug you reported is fixed in the latest version of
gtranslator, 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 783...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Henriksson <andr...@fatal.se> (supplier of updated gtranslator 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 16 Sep 2016 09:59:20 +0200
Source: gtranslator
Binary: gtranslator
Architecture: source amd64
Version: 2.91.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<pkg-gnome-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Henriksson <andr...@fatal.se>
Description:
 gtranslator - PO-file editor for the GNOME Desktop
Closes: 783022 837850
Changes:
 gtranslator (2.91.7-3) unstable; urgency=medium
 .
   [ Jordi Mallach ]
   * Point Vcs-Svn to the correct URL.
   * Set Maintainer to Debian GNOME Maintainers.
 .
   [ Andreas Henriksson ]
   * Convert from cdbs to dh.
   * Add explicit gnome-common build-dependency (Closes: #837850)
   * Bump dh compat to 10 (automatic dh-autoreconf)
   * Add debian/patches/reproducible_manpage.patch (Closes: #783022)
     - patch by and thanks to Reiner Herrmann
Checksums-Sha1:
 92f25a988e481c8967666ff28778fdc4934dd174 2594 gtranslator_2.91.7-3.dsc
 7557b761cb5d027ac09ba6c456189c60d61de00a 10804 
gtranslator_2.91.7-3.debian.tar.xz
 8577e39c0556200d7115b1a9e0d072b3b2b648ef 1412384 
gtranslator-dbgsym_2.91.7-3_amd64.deb
 70734c9f26850dd07c0dfccbeb4fd686bde8fad3 2405530 gtranslator_2.91.7-3_amd64.deb
Checksums-Sha256:
 f37f44b77511c7ee8da9a92c2c454e0efec9ad7825a44bfbabb9ec7e43f0107d 2594 
gtranslator_2.91.7-3.dsc
 e73789ba3b16e54440dd9d4645ec51f9aa6252ed7d0c4fa1ca42a3c295ba8a1d 10804 
gtranslator_2.91.7-3.debian.tar.xz
 d5ad8cc4a2f173bcf829d74ed1fd3519e151ba247d762714733d65f9960b4915 1412384 
gtranslator-dbgsym_2.91.7-3_amd64.deb
 75f6e81195165d222e6b831d9152e0453635011ca30ce91340fe0d5b84acacc8 2405530 
gtranslator_2.91.7-3_amd64.deb
Files:
 49524e76fa19b2778f0b7c716effa4f6 2594 gnome optional gtranslator_2.91.7-3.dsc
 284204fbda59346c8cb32cbb8da62756 10804 gnome optional 
gtranslator_2.91.7-3.debian.tar.xz
 7e895594d7eb4668e2cee97b1c48c5ac 1412384 debug extra 
gtranslator-dbgsym_2.91.7-3_amd64.deb
 b034f785b1700994e4b7cba4f0233178 2405530 gnome optional 
gtranslator_2.91.7-3_amd64.deb

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

iQIcBAEBCgAGBQJX26wjAAoJEAvEfcZNE1MGW0YP/1XwfRfKFINP6wpElhz2NCBW
KAwMB6Fwep5xCgPeh1OFtoT+qpNZ5x/9KTU/3nTYg8+0SqixDkKgpjQKAXTFLtlE
lwhFd1Lvvho/qtVNWIEIzoRBgxcsm93YkF6sQr82kpkuqxvvYSWspF4KIXXt96YH
0SCps/kZGWBu3hr6Dg8XUhRBEtg3ZJ6zxVGvTd31GMKTdXPqyoNa22D4K8oONVNh
2BrtZU3gtq4uFmfFIMPdUCPcUWVDW7gq4LGaj0i9Xp9hM0cdrvMwP/lx2r5zilkt
mGiIteaHZ9mAwUz6rHL6QEn3qm2/wPjx99r/kw43WLXZa9FKLz8L9DMIDWZY0zs6
CDxCoB3sRnnEGjQ1F+31CdN0jP+E0dl8qxhV38+jtWLoxIIJEoDFUCIASD7FzYXO
/hoaPo9eF063bSG0YkklG5tWo6icb511zEF5vqbKYUeJ1MwfHsNYT720rzhXkFjH
REEhYxZSIPcPkvaXtwQOklZHISA2aaR/nQ5f+HkOhJSUdI5TvMdR240FmtuoY4Di
Y4X0HpNJ2LlgtEVZD1cbCGtL6fx21X04weOgyrVaap0umscwhZKsvte8MBq1IuEa
89+j+nG3N7nxBl3JPNIyrw3TOQBk9ivYhC9hTztkQvE1NoBznqSu+c1TQk+mZ9fR
B6gJZKBSo/BGyTR9vn2G
=+Y7n
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to