From da4e1e68ffb2b8600925bd1c6db34843aeaa33c8 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Thu, 13 Nov 2025 20:18:48 +0100 Subject: Some cleanup, add gettext to build packages, and lower required gettext version --- .builds/alpine.yml | 1 + .builds/debian.yml | 1 + .builds/fedora.yml | 1 + .builds/freebsd.yml | 1 + .builds/netbsd.yml | 1 + .builds/openbsd.yml | 1 + .gitignore | 13 ++++++++++++- bootstrap.sh | 2 +- configure.ac | 2 +- 9 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.builds/alpine.yml b/.builds/alpine.yml index c9a0a71..9084135 100644 --- a/.builds/alpine.yml +++ b/.builds/alpine.yml @@ -3,6 +3,7 @@ packages: - autoconf - automake - libtool +- gettext sources: - https://git.sr.ht/~pmikkelsen/aplwc tasks: diff --git a/.builds/debian.yml b/.builds/debian.yml index e877fb6..a78f3c9 100644 --- a/.builds/debian.yml +++ b/.builds/debian.yml @@ -3,6 +3,7 @@ packages: - autoconf - automake - libtool +- gettext sources: - https://git.sr.ht/~pmikkelsen/aplwc tasks: diff --git a/.builds/fedora.yml b/.builds/fedora.yml index 4bc9e58..22a4c40 100644 --- a/.builds/fedora.yml +++ b/.builds/fedora.yml @@ -4,6 +4,7 @@ packages: - automake - libtool - awk +- gettext sources: - https://git.sr.ht/~pmikkelsen/aplwc tasks: diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 4ec737d..f530816 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -3,6 +3,7 @@ packages: - autoconf - automake - libtool +- gettext sources: - https://git.sr.ht/~pmikkelsen/aplwc tasks: diff --git a/.builds/netbsd.yml b/.builds/netbsd.yml index 309196f..5787b98 100644 --- a/.builds/netbsd.yml +++ b/.builds/netbsd.yml @@ -3,6 +3,7 @@ packages: - autoconf - automake - libtool +- gettext sources: - https://git.sr.ht/~pmikkelsen/aplwc tasks: diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml index f753e29..5985aa8 100644 --- a/.builds/openbsd.yml +++ b/.builds/openbsd.yml @@ -3,6 +3,7 @@ packages: - autoconf-2.72p0 - automake-1.17 - libtool +- gettext sources: - https://git.sr.ht/~pmikkelsen/aplwc environment: diff --git a/.gitignore b/.gitignore index c6b898e..339d312 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,16 @@ libtool ltmain.sh m4 missing +po/Makefile.in.in +po/Makevars.template +po/POTFILES +po/Rules-quot +po/stamp-po +po/*.pot +po/*.sed +po/*.gmo +po/*.header +po/*.sin src/bin/aplwc src/tests/test-suite.log src/tests/test1 @@ -23,4 +33,5 @@ test-driver **/.libs **/*.o **/*.lo -**/*.la \ No newline at end of file +**/*.la +**/*~ \ No newline at end of file diff --git a/bootstrap.sh b/bootstrap.sh index 8848066..15bd662 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,4 +1,4 @@ #!/bin/sh mkdir -p m4 libtoolize -autoreconf -i +autoreconf -ifv diff --git a/configure.ac b/configure.ac index 5490adb..a95dd19 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([-Wall -Werror check-news std-options]) AM_SILENT_RULES([yes]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION(0.23) +AM_GNU_GETTEXT_VERSION(0.20) AC_PROG_CC AM_PROG_AR AC_CONFIG_FILES([ -- cgit v1.2.3