From f7ee50b64a17f09e761d54e8468f24f50fb42c27 Mon Sep 17 00:00:00 2001 From: Stephane Fillod Date: Thu, 17 Sep 2026 11:04:58 +0200 Subject: [PATCH 1/3] Reinstate NLS Allow gettext support to be compiled in. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 228902dd..0d9d1b2b 100644 --- a/configure.ac +++ b/configure.ac @@ -72,10 +72,13 @@ AC_SUBST(PACKAGE_LIBS) # Note that other progs only have ALL_LINGUAS and AM_GLIB_GNU_GETTEXT ALL_LINGUAS="cs da de el en_GB en_US es fi fr id it lt ru th uk" GETTEXT_PACKAGE=gpredict +AM_GNU_GETTEXT([external]) AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", "definition of GETTEXT_PACKAGE") +AM_GNU_GETTEXT_REQUIRE_VERSION([0.21]) +AM_XGETTEXT_OPTION([--from-code=UTF-8]) # compiler flags to enable generating coverage report From 2ca98ecd0bf7cff5abfe9c3eebf43832f951026a Mon Sep 17 00:00:00 2001 From: Stephane Fillod Date: Fri, 9 Oct 2026 11:11:49 +0200 Subject: [PATCH 2/3] NLS file required by configure --- ABOUT-NLS | 1 + 1 file changed, 1 insertion(+) create mode 100644 ABOUT-NLS diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 00000000..0a9d56d9 --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1 @@ + From e75fdc6c6615a030a7483ad56e5e2608d24c1328 Mon Sep 17 00:00:00 2001 From: Stephane Fillod Date: Fri, 9 Oct 2026 11:44:29 +0200 Subject: [PATCH 3/3] Bring in auxiliary NLS files --- .github/workflows/ci.yml | 2 +- README | 2 +- autogen.sh | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8c23a63..e2f6d709 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential libtool intltool autoconf automake libcurl4-openssl-dev \ - pkg-config libglib2.0-dev libgtk-3-dev + pkg-config libglib2.0-dev libgtk-3-dev autopoint - name: Run autoconf run: ./autogen.sh diff --git a/README b/README index 561b80ba..3608b6fe 100644 --- a/README +++ b/README @@ -39,7 +39,7 @@ often with -dev or -devel in the package name, e.g. libgtk-3-dev. On Debian and Ubuntu systems you can install the build dependencies using: sudo apt install libtool intltool autoconf automake libcurl4-openssl-dev - sudo apt install pkg-config libglib2.0-dev libgtk-3-dev + sudo apt install pkg-config libglib2.0-dev libgtk-3-dev autopoint To build and install gpredict from source, first unpack the source package: diff --git a/autogen.sh b/autogen.sh index ff4da99c..6123b8c0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -39,6 +39,8 @@ rm -f config.cache # (containing a local copy of libintl code), and therefore has a slightly different Makefile. echo "- glib-gettextize." && \ glib-gettextize --copy --force && \ +echo "- autopoint." && \ + autopoint --force && \ echo "- libtoolize." && \ libtoolize --force && \ echo "- intltoolize." && \