[Debian-hebrew-package] r1040 - in /pkg/hocr/trunk/debian: changelog patches/reproducible-build.patch patches/series
tzafrir at users.alioth.debian.org
tzafrir at users.alioth.debian.org
Mon Jan 23 19:19:01 UTC 2017
Author: tzafrir
Date: Mon Jan 23 19:19:01 2017
New Revision: 1040
URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=1040
Log:
reproducible-build.patch (Closes: #831647)
Added:
pkg/hocr/trunk/debian/patches/reproducible-build.patch
Modified:
pkg/hocr/trunk/debian/changelog
pkg/hocr/trunk/debian/patches/series
Modified: pkg/hocr/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/changelog?rev=1040&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/changelog (original)
+++ pkg/hocr/trunk/debian/changelog Mon Jan 23 19:19:01 2017
@@ -3,6 +3,7 @@
* Remove Baruch Even from Uploaders (Closes: #760010, #760017)
* format_string.patch: fix format-string-related warnings.
* Compat level 10 (Closes: #805943)
+ * reproducible-build.patch (Closes: #831647)
-- Tzafrir Cohen <tzafrir at debian.org> Mon, 23 Jan 2017 19:44:16 +0200
Added: pkg/hocr/trunk/debian/patches/reproducible-build.patch
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/patches/reproducible-build.patch?rev=1040&op=file
==============================================================================
--- pkg/hocr/trunk/debian/patches/reproducible-build.patch (added)
+++ pkg/hocr/trunk/debian/patches/reproducible-build.patch Mon Jan 23 19:19:01 2017
@@ -0,0 +1,19 @@
+From: Chris Lamb <lamby at debian.org>
+Subject: Reproducible build - build date
+Last-Update: 2016-07-18
+
+--- hocr-0.10.17.orig/configure.ac
++++ hocr-0.10.17/configure.ac
+@@ -266,7 +266,11 @@ AM_CONDITIONAL(WITH_HOCR_GTK, test "$bui
+ dnl ============================================================================
+ dnl create a build string
+
+-BUILD_DATE=`date +%d%m%Y`
++if test -n "$SOURCE_DATE_EPOCH"; then
++ BUILD_DATE=`date --utc --date="@$SOURCE_DATE_EPOCH" +%d%m%Y`
++else
++ BUILD_DATE=`date +%d%m%Y`
++fi
+ BUILD_STR="$PACKAGE-$VERSION-$build-$BUILD_DATE"
+ if test "$build_tiff" = "yes"; then
+ BUILD_STR+="-tiff"
Modified: pkg/hocr/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hocr/trunk/debian/patches/series?rev=1040&op=diff
==============================================================================
--- pkg/hocr/trunk/debian/patches/series (original)
+++ pkg/hocr/trunk/debian/patches/series Mon Jan 23 19:19:01 2017
@@ -3,3 +3,4 @@
manpage-whatis.patch
sane-pygtk-desktop-icon.patch
format_string.patch
+reproducible-build.patch
More information about the Debian-hebrew-package
mailing list