[med-svn] r22670 - in trunk/packages/pixelmed-codec/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Fri Aug 12 13:24:09 UTC 2016


Author: tille
Date: 2016-08-12 13:24:08 +0000 (Fri, 12 Aug 2016)
New Revision: 22670

Added:
   trunk/packages/pixelmed-codec/trunk/debian/patches/reproducible_build.patch
Modified:
   trunk/packages/pixelmed-codec/trunk/debian/changelog
   trunk/packages/pixelmed-codec/trunk/debian/patches/series
Log:
Enable reproducile builds


Modified: trunk/packages/pixelmed-codec/trunk/debian/changelog
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/changelog	2016-08-12 13:20:01 UTC (rev 22669)
+++ trunk/packages/pixelmed-codec/trunk/debian/changelog	2016-08-12 13:24:08 UTC (rev 22670)
@@ -1,3 +1,10 @@
+pixelmed-codec (20141206-2) UNRELEASED; urgency=medium
+
+  * Make build reproducible (thanks for the patch to Chris Lamb)
+    Closes: #834052
+
+ -- Andreas Tille <tille at debian.org>  Fri, 12 Aug 2016 15:21:44 +0200
+
 pixelmed-codec (20141206-1) unstable; urgency=low
 
   * Initial release. (Closes: #808152)

Added: trunk/packages/pixelmed-codec/trunk/debian/patches/reproducible_build.patch
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/patches/reproducible_build.patch	                        (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/patches/reproducible_build.patch	2016-08-12 13:24:08 UTC (rev 22670)
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-11
+Bug-Debian: https://bugs.debian.org/834052
+
+--- pixelmed-codec-20141206.orig/Makefile
++++ pixelmed-codec-20141206/Makefile
+@@ -58,7 +58,11 @@ include ${PATHTOROOT}/Makefile.common.mk
+ 
+ pixelmed_codec.jar:
+ 	(cd com/pixelmed/codec/jpeg; make all)
++ifdef SOURCE_DATE_EPOCH
++	LC_ALL=C date --utc --date="@$$SOURCE_DATE_EPOCH" >BUILDDATE
++else
+ 	date >BUILDDATE
++endif
+ 	jar -cvf $@ BUILDDATE COPYRIGHT \
+ 		com/pixelmed/codec/jpeg/*.class
+ changelog:

Modified: trunk/packages/pixelmed-codec/trunk/debian/patches/series
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/patches/series	2016-08-12 13:20:01 UTC (rev 22669)
+++ trunk/packages/pixelmed-codec/trunk/debian/patches/series	2016-08-12 13:24:08 UTC (rev 22670)
@@ -1,2 +1,3 @@
 set_java_home.patch
 # debian_jars.patch
+reproducible_build.patch




More information about the debian-med-commit mailing list