From: Friedrich Beckmann Date: Sun, 6 Sep 2020 10:43:59 +0000 (+0200) Subject: metainfo.its: changed this from a build requirement to a warning X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b866953dff313187f9407af09eb016eafb33e5f5;p=pspp metainfo.its: changed this from a build requirement to a warning When the build system is not capable to extract the strings from org.fsf.pspp.metainfo.xml.in file, then this will not be translated. --- diff --git a/INSTALL b/INSTALL index 6f970f4706..d565ed4c02 100644 --- a/INSTALL +++ b/INSTALL @@ -77,9 +77,9 @@ The following packages are required to install PSPP: * libxml2 (http://xmlsoft.org/). * metainfo.its, provided by the appstream package. This is required - by xgettext to extract the translation strings from the - org.fsf.pspp.metainfo.xml.in file. This is only required for - building. It is not a runtime requirement. + by xgettext version lower then 0.20 to extract the translation + strings from the org.fsf.pspp.metainfo.xml.in file. This is only + required for building. It is not a runtime requirement. The following packages are required to enable PSPP's graphing features. If you cannot arrange to install them, you must run diff --git a/configure.ac b/configure.ac index 9acc451d10..5df5bc7686 100644 --- a/configure.ac +++ b/configure.ac @@ -75,7 +75,7 @@ $as_echo 'Hallo' >> test.metainfo.xml.in $as_echo '' >> test.metainfo.xml.in xgettext -o mifc.po test.metainfo.xml.in if ! test -f ./mifc.po ; then - PSPP_REQUIRED_PREREQ([appstream 0.12 or later for metainfo.its]) + AC_MSG_WARN([org.fsf.metainfo.xml will not be translated. Install gettext >=0.20 or appstream.]) fi rm -f mifc.po test.metainfo.xml.in