--- a/debian/patches/08_reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/08_reproducible_build.patch 2020-04-13 11:49:16.474797776 +0100 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2020-04-13 + +--- gpick-0.2.6~rc1.orig/SConscript ++++ gpick-0.2.6~rc1/SConscript +@@ -10,7 +10,7 @@ env = GpickEnvironment(ENV=os.environ, B + + vars = Variables(os.path.join(env.GetLaunchDir(), 'user-config.py')) + vars.Add('DESTDIR', 'Directory to install under', '/usr/local') +-vars.Add('LOCALEDIR', 'Path to locale directory', '') ++vars.Add('LOCALEDIR', 'Path to locale directory', os.environ.get('LOCALEDIR', '')) + vars.Add('DEBARCH', 'Debian package architecture', 'i386') + vars.Add(BoolVariable('ENABLE_NLS', 'Compile with gettext support', True)) + vars.Add(BoolVariable('DEBUG', 'Compile with debug information', False)) --- a/debian/patches/series 2020-04-13 10:37:49.183261253 +0100 --- b/debian/patches/series 2020-04-13 11:49:15.734785870 +0100 @@ -4,3 +4,4 @@ 05_scons_python3.patch 06_fix_python_indentation.patch 07_environment_variable_version.patch +08_reproducible_build.patch --- a/debian/rules 2020-04-13 10:37:49.183261253 +0100 --- b/debian/rules 2020-04-13 11:48:11.581744647 +0100 @@ -7,6 +7,8 @@ CXXFLAGS+=$(CPPFLAGS) LDFLAGS += -Wl,--as-needed +export LOCALEDIR = /usr/share/locale + debian_destdir :=$(CURDIR)/debian/gpick/usr %: @@ -15,7 +17,7 @@ override_dh_clean: dh_testdir dh_testroot - scons -c -C src + scons -c -C src LOCALE_DIR=loldongs find -name "*.pyc" -delete rm -f build-stamp configure-stamp rm -rf .sconsign.dblite config.log .sconf_temp/ build/ --- a/debian/source/include-binaries 1970-01-01 01:00:00.000000000 +0100 --- b/debian/source/include-binaries 2020-04-13 11:48:40.018208428 +0100 @@ -0,0 +1,10 @@ +.sconf_temp/conftest_5 +.sconf_temp/conftest_5.o +tools/__pycache__/__init__.cpython-38.pyc +tools/__pycache__/flex.cpython-38.pyc +tools/__pycache__/gettext.cpython-38.pyc +tools/__pycache__/gpick.cpython-38.pyc +tools/__pycache__/lemon.cpython-38.pyc +tools/__pycache__/ragel.cpython-38.pyc +tools/__pycache__/resource_template.cpython-38.pyc +tools/__pycache__/template.cpython-38.pyc