[Pkg-ime-devel] Bug#860201: sunpinyin: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 12 18:47:13 UTC 2017


Source: sunpinyin
Version: 3.0.0~git20160910-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build.diff	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build.diff	2017-04-12 19:41:58.175594665 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2017-04-12
+
+--- sunpinyin-3.0.0~git20160910.orig/SConstruct
++++ sunpinyin-3.0.0~git20160910/SConstruct
+@@ -429,7 +429,7 @@ env.Substfile('sunpinyin-2.0.pc.in', SUB
+     '@VERSION@': version,
+     '@CFLAGS@': reduce(lambda a, b: a + ' ' + b,
+                        map(lambda x: '-I$${includedir}' + x[3:],
+-                           allinc())),
++                           sorted(allinc()))),
+ })
+ 
+ libname_default = '%ssunpinyin%s' % (env.subst('${SHLIBPREFIX}'),
--- a/debian/patches/series	2017-04-12 19:35:48.310066731 +0100
--- b/debian/patches/series	2017-04-12 19:41:56.571588048 +0100
@@ -1 +1,2 @@
 fix-data-dir.diff
+reproducible-build.diff


More information about the Pkg-ime-devel mailing list