Source: libsm Version: 2:1.2.2-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: locale Hi! While working on the “reproducible builds” effort [1], we have noticed that libsm could not be built reproducibly. The attached patch makes sure the text documentation is always generated using a UTF-8 locale. Once applied, libsm can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- Lunar .''`. lunar@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
From f23f58eb98288fc3178d582dc03a77a332dc82fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar@debian.org> Date: Wed, 27 Jan 2016 18:32:31 +0100 Subject: [PATCH] Make sure text documentation is generated as UTF-8 Otherwise, if the package is built on a system with a locale using another character encoding, the resulting text documentation might not be readable on other systems. --- docbook.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docbook.am b/docbook.am index bba4d54..0c1a086 100644 --- a/docbook.am +++ b/docbook.am @@ -43,7 +43,7 @@ if HAVE_XMLTO_TEXT shelf_DATA += $(docbook:.xml=.txt) %.txt: %.xml $(chapters) - $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< + LC_ALL=C.UTF-8 $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $< endif HAVE_XMLTO_TEXT if HAVE_FOP -- 2.7.0
Attachment:
signature.asc
Description: Digital signature