[SCM] pd-flite/master: Fixed reproducible build
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Thu Nov 10 09:51:26 UTC 2016
The following commit has been merged in the master branch:
commit 27ee74f1d65a7afb35b36b582dc068ea2585ab53
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Thu Nov 10 10:29:24 2016 +0100
Fixed reproducible build
Thanks: Chris Lamb <lamby at debian.org>
Closes: #834302
diff --git a/debian/control b/debian/control
index c77f05e..e3339f9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Priority: optional
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
Uploaders: Roman Haefeli <reduzent at gmail.com>
Build-Depends: debhelper (>= 7.0.50~),
+ dh-autoreconf,
puredata-dev | puredata (<< 0.43),
flite1-dev
Standards-Version: 3.9.4
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..a603532
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-04
+
+--- pd-pdstring-0.10.2.orig/common/m4/ax_pd_external.m4
++++ pd-pdstring-0.10.2/common/m4/ax_pd_external.m4
+@@ -242,7 +242,11 @@ AC_DEFUN([AX_PD_EXTERNAL],
+
+ ##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
+ ## compiled
+- AC_DEFINE_UNQUOTED(PACKAGE_BUILD_DATE, "`date`", [Date this package was configured])
++ if test -n "$SOURCE_DATE_EPOCH"; then
++ AC_DEFINE_UNQUOTED(PACKAGE_BUILD_DATE, "`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`", [Date this package was configured])
++ else
++ AC_DEFINE_UNQUOTED(PACKAGE_BUILD_DATE, "`date`", [Date this package was configured])
++ fi
+ AC_DEFINE_UNQUOTED(PACKAGE_BUILD_USER, "$USER", [User who configured this package])
+ ## /compiled
+ ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/debian/patches/series b/debian/patches/series
index 21011bc..93247f5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-help-files-install-dir.patch
+reproducible-build.patch
diff --git a/debian/rules b/debian/rules
index 6239ef4..0e92308 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh $@ --with=autoreconf
override_dh_auto_configure:
dh_auto_configure -- --with-pd-dir=/usr/lib/pd \
--
pd-flite packaging
More information about the pkg-multimedia-commits
mailing list