[Reproducible-builds] Bug#832178: feh: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Jul 23 10:22:41 UTC 2016


Source: feh
Version: 2.16.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that feh could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible_build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible_build.patch	2016-07-23 11:19:11.294356158 +0100
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-07-23
+
+--- feh-2.16.1.orig/src/Makefile
++++ feh-2.16.1/src/Makefile
+@@ -1,9 +1,9 @@
+ include ../config.mk
+ 
+-TARGETS = ${shell echo *.c}
++TARGETS = $(sort ${shell echo *.c})
+ OBJECTS = ${TARGETS:.c=.o}
+ 
+-I_SRCS = ${shell echo *.raw}
++I_SRCS = $(sort ${shell echo *.raw})
+ I_DSTS = ${I_SRCS:.raw=.inc}
+ 
+ feh: ${OBJECTS} ${I_DSTS}
--- a/debian/patches/series	2016-07-23 11:07:10.513120707 +0100
--- b/debian/patches/series	2016-07-23 11:19:08.550321285 +0100
@@ -1 +1,2 @@
 do_not_touch_deps_mk.patch
+reproducible_build.patch


More information about the Reproducible-builds mailing list