Source: dicom3tools
Version: 1.00~20160610072711-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that dicom3tools could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible_build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible_build.patch   2016-08-19 00:41:28.316823596 
+0100
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-08-19
+
+--- dicom3tools-1.00~20160610072711.orig/support/setversion
++++ dicom3tools-1.00~20160610072711/support/setversion
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ 
+-VERSION="1.00.snapshot."`date +%Y%m%d%H%M%S`
++VERSION="1.00.snapshot."$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date 
+%s)}" +%Y%m%d%H%M%S)
+ 
+ rm -f libsrc/src/generic/version.cc
+ 
--- a/debian/patches/series     2016-08-19 00:10:33.505238164 +0100
--- b/debian/patches/series     2016-08-19 00:41:27.328815210 +0100
@@ -4,3 +4,4 @@
 bmpdump.man.patch
 pvrg_naming.patch
 codeblockstylefix.patch
+reproducible_build.patch
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to