Source: garcon Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: environment locale X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
When built with the C locale, some files differ from when built with a UTF-8 locale, such as xfce-screensavers.directory: Icon=preferences-desktop-screensaver Name=Screensavers Name[am]=መመልከቻ·ማዳኛ Name[ar]=حافظات·الشاشة Name[ast]=Curiapantalles Name[be]=Ахоўнікі·экра The encoding of the file also varies. The attached patch works around this by exporting LC_ALL=C.UTF-8 in debian/rules, ensuring all builds use a UTF-8 locale. Thanks for maintaining garcon. live well, vagrant
From 0e8418abdfdd062ec372f73bb3a45e5bb1bc6ed9 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sat, 1 Feb 2020 08:32:08 -0800 Subject: [PATCH] debian/rules: export LC_ALL=C.UTF-8 to ensure reproducible builds regardless of locale. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index c0a9c6a..931e87d 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,9 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed -Wl,-O1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all +# Use C.UTF-8 locale to ensure reproducible builds +export LC_ALL=C.UTF-8 + %: dh $@ -- 2.20.1
signature.asc
Description: PGP signature