[packages/atk] - force UTF-8 locale for gtk-doc
qboosh
qboosh at pld-linux.org
Mon Nov 27 16:24:38 CET 2017
commit da12a7ccf131150808cdf4fc8cdad336feb680c4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Nov 27 16:25:42 2017 +0100
- force UTF-8 locale for gtk-doc
atk.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/atk.spec b/atk.spec
index c40e139..03cf332 100644
--- a/atk.spec
+++ b/atk.spec
@@ -20,6 +20,9 @@ BuildRequires: automake >= 1:1.10
BuildRequires: docbook-dtd412-xml
BuildRequires: gettext-tools >= 0.19.2
BuildRequires: glib2-devel >= 1:2.32.0
+%if %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
+BuildRequires: glibc-localedb-all
+%endif
BuildRequires: gobject-introspection-devel >= 0.10.0
%if %{with apidocs}
BuildRequires: gtk-doc >= 1.13
@@ -126,6 +129,8 @@ Dokumentacja API ATK.
%{__enable_disable static_libs static} \
--enable-shared
+# gtk-doc require UTF-8 locale
+LC_ALL=C.UTF-8 \
%{__make}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/atk.git/commitdiff/da12a7ccf131150808cdf4fc8cdad336feb680c4
More information about the pld-cvs-commit
mailing list