Source: gtk-sharp3
Severity: minor
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Various .dll files such as ./usr/lib/cli/pango-sharp-3.0/pango-sharp.dll
produce different binaries depending on the locale used in
reprotest.

The attached patch sets the LC_ALL and LANG environment variables from
debian/rules to ensure the C.UTF-8 locale is used.

Thanks for maintaining gtk-sharp3!

live well,
  vagrant
From 5522089eb51dae3c1c0d4e809e0033b8501043df Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Wed, 16 Jun 2021 21:20:41 +0000
Subject: [PATCH 2/2] Build with C.UTF-8 locale to ensure reproducible builds
 of .dll files.

---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index bedbbda..b2d623e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
 
 DEB_API_VERSION = 2.99.3
 
+# Set locale to ensure .dll files are built reproducibly.
+export LC_ALL=C.UTF-8
+export LANG=C.UTF-8
+
 # override libdir to workaround multi-arched pkg-config paths
 override_dh_auto_configure:
 	dh_auto_configure -- \
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to