[pluma] 05/07: debian/patches: Add 1001_no-timestamped-gzip-files.patch. No timestamps in gzip compressed package files.

Mike Gabriel sunweaver at debian.org
Sat Jun 6 22:58:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository pluma.

commit 4729ec8d177c0dcdc454854d3d26f56f81ec2aba
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Jun 7 00:32:28 2015 +0200

    debian/patches: Add 1001_no-timestamped-gzip-files.patch. No timestamps in gzip compressed package files.
---
 .../patches/1001_no-timestamped-gzip-files.patch   | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/1001_no-timestamped-gzip-files.patch b/debian/patches/1001_no-timestamped-gzip-files.patch
new file mode 100644
index 0000000..16c7ff3
--- /dev/null
+++ b/debian/patches/1001_no-timestamped-gzip-files.patch
@@ -0,0 +1,22 @@
+Description: No timestampes in GZIP files
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Abstract:
+ The package contains a gzip-compressed file that has timestamps. Such
+ files make the packages unreproducible, because their contents depend on
+ the time when the package was built.
+ .
+ To avoid this, we pass the "-n" flag to gzip.
+ .
+ Refer to https://wiki.debian.org/ReproducibleBuilds for details.
+
+--- a/plugins/taglist/Makefile.am
++++ b/plugins/taglist/Makefile.am
+@@ -39,7 +39,7 @@
+ 
+ %.tags.gz: %.tags.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
+ 	LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@:.gz=) -x -u -c $(top_builddir)/po/.intltool-merge-cache
+-	GZIP=$(GZIP_ENV) gzip -f $(@:.gz=)
++	GZIP=$(GZIP_ENV) gzip -n -f $(@:.gz=)
+ 
+ plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index df40fd1..d586654 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,6 @@
 0002_use-zenity-instead-of-mate-dialogs.patch
 0003_glib243-compat.patch
+1001_no-timestamped-gzip-files.patch
 2001_fix-man-page-errors.patch
 2002_omit-gfdl-licensed-help-files.patch
 2003_omit-non-linux-build-files.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/pluma.git



More information about the pkg-mate-commits mailing list