Source: gtkspell
Version: 2.0.16-1.1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

While working on the “reproducible builds” effort [1], we have noticed
that 'gtkspell' could not be built reproducibly.

The attached patch fixes the SHELL used in the examples/Makefile to
/bin/sh instead of current one. Once applied, gtkspell can be built
reproducibly in our current experimental framework.

Regards,
Alexis Bienvenüe.

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




diff -Nru gtkspell-2.0.16/debian/changelog gtkspell-2.0.16/debian/changelog
--- gtkspell-2.0.16/debian/changelog	2014-08-30 12:09:50.000000000 +0200
+++ gtkspell-2.0.16/debian/changelog	2016-04-09 14:05:56.000000000 +0200
@@ -1,3 +1,9 @@
+gtkspell (2.0.16-1.1.0~reproducible1) unstable; urgency=medium
+
+  * Set the examples SHELL to sh, to get a reproducible build.
+
+ -- Alexis Bienvenüe <p...@passoire.fr>  Sat, 09 Apr 2016 14:05:56 +0200
+
 gtkspell (2.0.16-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru gtkspell-2.0.16/debian/patches/series gtkspell-2.0.16/debian/patches/series
--- gtkspell-2.0.16/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ gtkspell-2.0.16/debian/patches/series	2016-04-09 14:04:04.000000000 +0200
@@ -0,0 +1 @@
+set_examples_shell_to_sh.patch
diff -Nru gtkspell-2.0.16/debian/patches/set_examples_shell_to_sh.patch gtkspell-2.0.16/debian/patches/set_examples_shell_to_sh.patch
--- gtkspell-2.0.16/debian/patches/set_examples_shell_to_sh.patch	1970-01-01 01:00:00.000000000 +0100
+++ gtkspell-2.0.16/debian/patches/set_examples_shell_to_sh.patch	2016-04-09 14:05:09.000000000 +0200
@@ -0,0 +1,12 @@
+Description: Set examples SHELL to sh
+ Set the examples/Makefile's SHELL to /bin/sh whatever the current SHELL is
+ to get the build reproducible.
+Author: Alexis Bienvenüe <p...@passoire.fr>
+
+--- gtkspell-2.0.16.orig/examples/Makefile.am
++++ gtkspell-2.0.16/examples/Makefile.am
+@@ -4,3 +4,4 @@ INCLUDES = -I$(top_srcdir)
+ LDADD = @GTKSPELL_LIBS@ $(top_builddir)/gtkspell/libgtkspell.la
+ simple_SOURCES = simple.c
+ advanced_SOURCES = advanced.c
++SHELL=/bin/sh
_______________________________________________
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