From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] gettext: Update to version 0.26
Date: Mon, 21 Jul 2025 23:25:57 +0200 [thread overview]
Message-ID: <20250721212601.3400729-9-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20250721212601.3400729-1-adolf.belka@ipfire.org>
- Update from version 0.25 to 0.26
- Update of rootfile
- Changelog
0.26
Programming languages support:
* JavaScript:
- xgettext now parses regular expressions with character classes
correctly.
* C, C++, Python, JavaScript, EmacsLisp, librep, Go, Ruby, awk, D, Tcl,
Perl, PHP:
- xgettext's heuristic recognition of format strings has been improved:
strings like "100% complete" (with a space flag in a format directive)
are no longer flagged as format strings by default, unless they occur
in a context that requires a format string. You can override this
heuristic by using a comment of the form /* xgettext: c-format */.
* Shell:
- The documentation now mentions two other approaches for
internationalizing messages with parameters in shell scripts.
- xgettext now recognizes format strings in the 'printf' command syntax.
They are marked as 'sh-printf-format' in POT and PO files.
- Two new programs 'printf_gettext' and 'printf_ngettext' are provided,
that do formatted output with a localized format string in a more
efficient way (without spawning a subshell).
- xgettext now recognizes the \c, \u, and \U escape sequences in dollar-
single-quoted strings $'...'.
Improvements for maintainers:
* xgettext:
- When extracting a message with plural that is some format string,
xgettext now verifies that the msgid and msgid_plural are compatible
as format strings. For most format string types, this still allows
omitting from msgid a placeholder that is used in msgid_plural. But
when a placeholder is used in both msgid and msgid_plural, its type
must be the same in both.
- xgettext now suggests a refactoring when a translatable string
contains an URL or email address.
Improvements for translators:
* msggrep:
- msggrep accepts two new options -W/--workflow-flags and -S/--sticky-flags
that allow to select only messages that have a specified flag.
Bug fixes:
- The AM_GNU_GETTEXT macro now rejects the dysfunctional gettext() function
in libc of Solaris 11.[0-3], Solaris OpenIndiana, and Solaris OmniOS.
- The AM_GNU_GETTEXT macro now recognizes, on MSVC, the GNU libintl built
as a shared library.
0.25.1
Bug fixes:
- autopoint no longer fails if configure.ac contains no
AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION invocation.
- nls.m4 is installed again under $PREFIX/share/aclocal/.
Portability:
- Building on native Windows with MSVC and --enable-shared is now supported.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/gettext | 46 ++++++++++++++++++++-------------
lfs/gettext | 4 +--
2 files changed, 30 insertions(+), 20 deletions(-)
diff --git a/config/rootfiles/common/gettext b/config/rootfiles/common/gettext
index 21a74295e..6e9a05841 100644
--- a/config/rootfiles/common/gettext
+++ b/config/rootfiles/common/gettext
@@ -18,6 +18,8 @@ usr/bin/gettext.sh
#usr/bin/msgunfmt
#usr/bin/msguniq
#usr/bin/ngettext
+#usr/bin/printf_gettext
+#usr/bin/printf_ngettext
#usr/bin/recode-sr-latin
#usr/bin/xgettext
#usr/include/autosprintf.h
@@ -32,20 +34,20 @@ usr/bin/gettext.sh
#usr/lib/libasprintf.so
usr/lib/libasprintf.so.0
usr/lib/libasprintf.so.0.0.0
-usr/lib/libgettextlib-0.25.so
+usr/lib/libgettextlib-0.26.so
#usr/lib/libgettextlib.la
#usr/lib/libgettextlib.so
#usr/lib/libgettextpo.la
#usr/lib/libgettextpo.so
usr/lib/libgettextpo.so.0
-usr/lib/libgettextpo.so.0.5.14
-usr/lib/libgettextsrc-0.25.so
+usr/lib/libgettextpo.so.0.5.15
+usr/lib/libgettextsrc-0.26.so
#usr/lib/libgettextsrc.la
usr/lib/libgettextsrc.so
#usr/lib/libtextstyle.la
#usr/lib/libtextstyle.so
usr/lib/libtextstyle.so.0
-usr/lib/libtextstyle.so.0.2.5
+usr/lib/libtextstyle.so.0.2.6
usr/lib/preloadable_libintl.so
#usr/libexec/gettext
#usr/libexec/gettext/cldr-plurals
@@ -53,6 +55,7 @@ usr/lib/preloadable_libintl.so
#usr/libexec/gettext/project-id
#usr/libexec/gettext/urlget
#usr/libexec/gettext/user-email
+#usr/share/aclocal/nls.m4
#usr/share/doc/gettext
#usr/share/doc/gettext/FAQ.html
#usr/share/doc/gettext/autopoint.1.html
@@ -2092,7 +2095,9 @@ usr/lib/preloadable_libintl.so
#usr/share/doc/gettext/examples/hello-sh/autoclean.sh
#usr/share/doc/gettext/examples/hello-sh/autogen.sh
#usr/share/doc/gettext/examples/hello-sh/configure.ac
-#usr/share/doc/gettext/examples/hello-sh/hello.sh
+#usr/share/doc/gettext/examples/hello-sh/hello-1.sh
+#usr/share/doc/gettext/examples/hello-sh/hello-2.sh
+#usr/share/doc/gettext/examples/hello-sh/hello-3.sh
#usr/share/doc/gettext/examples/hello-sh/m4
#usr/share/doc/gettext/examples/hello-sh/m4/Makefile.am
#usr/share/doc/gettext/examples/hello-sh/po
@@ -2393,6 +2398,7 @@ usr/lib/preloadable_libintl.so
#usr/share/doc/gettext/gettext_29.html
#usr/share/doc/gettext/gettext_3.html
#usr/share/doc/gettext/gettext_30.html
+#usr/share/doc/gettext/gettext_31.html
#usr/share/doc/gettext/gettext_4.html
#usr/share/doc/gettext/gettext_5.html
#usr/share/doc/gettext/gettext_6.html
@@ -2436,6 +2442,8 @@ usr/lib/preloadable_libintl.so
#usr/share/doc/gettext/msguniq.1.html
#usr/share/doc/gettext/ngettext.1.html
#usr/share/doc/gettext/ngettext.3.html
+#usr/share/doc/gettext/printf_gettext.1.html
+#usr/share/doc/gettext/printf_ngettext.1.html
#usr/share/doc/gettext/recode-sr-latin.1.html
#usr/share/doc/gettext/textdomain.3.html
#usr/share/doc/gettext/tutorial.html
@@ -2453,19 +2461,19 @@ usr/lib/preloadable_libintl.so
#usr/share/doc/libtextstyle/libtextstyle_abt.html
#usr/share/doc/libtextstyle/libtextstyle_toc.html
#usr/share/gettext
-#usr/share/gettext-0.25
-#usr/share/gettext-0.25/its
-#usr/share/gettext-0.25/its/docbook.loc
-#usr/share/gettext-0.25/its/docbook4.its
-#usr/share/gettext-0.25/its/docbook5.its
-#usr/share/gettext-0.25/its/glade.loc
-#usr/share/gettext-0.25/its/glade1.its
-#usr/share/gettext-0.25/its/glade2.its
-#usr/share/gettext-0.25/its/gsettings.its
-#usr/share/gettext-0.25/its/gsettings.loc
-#usr/share/gettext-0.25/its/gtkbuilder.its
-#usr/share/gettext-0.25/its/metainfo.its
-#usr/share/gettext-0.25/its/metainfo.loc
+#usr/share/gettext-0.26
+#usr/share/gettext-0.26/its
+#usr/share/gettext-0.26/its/docbook.loc
+#usr/share/gettext-0.26/its/docbook4.its
+#usr/share/gettext-0.26/its/docbook5.its
+#usr/share/gettext-0.26/its/glade.loc
+#usr/share/gettext-0.26/its/glade1.its
+#usr/share/gettext-0.26/its/glade2.its
+#usr/share/gettext-0.26/its/gsettings.its
+#usr/share/gettext-0.26/its/gsettings.loc
+#usr/share/gettext-0.26/its/gtkbuilder.its
+#usr/share/gettext-0.26/its/metainfo.its
+#usr/share/gettext-0.26/its/metainfo.loc
#usr/share/gettext/ABOUT-NLS
#usr/share/gettext/archive.dir.tar.xz
#usr/share/gettext/config.rpath
@@ -2548,6 +2556,8 @@ usr/lib/preloadable_libintl.so
#usr/share/man/man1/msgunfmt.1
#usr/share/man/man1/msguniq.1
#usr/share/man/man1/ngettext.1
+#usr/share/man/man1/printf_gettext.1
+#usr/share/man/man1/printf_ngettext.1
#usr/share/man/man1/recode-sr-latin.1
#usr/share/man/man1/xgettext.1
#usr/share/man/man3/bind_textdomain_codeset.3
diff --git a/lfs/gettext b/lfs/gettext
index fcca1901b..7260af9a0 100644
--- a/lfs/gettext
+++ b/lfs/gettext
@@ -24,7 +24,7 @@
include Config
-VER = 0.25
+VER = 0.26
THISAPP = gettext-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -56,7 +56,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = cec5dd43f64ea676b112d53374452852ad25b2d31833a805bb2f92cd0b172536b47f916ad630fd4acd11208d408ff302eac2a5cd6a78ec653b7d5a3b447f5584
+$(DL_FILE)_BLAKE2 = b182e5fdb9fc46868dc39b512ef300c54c8e77a766f2d2de69289f84966d4205f494b3ecedfb30c6df581947172411ae7eb4ccc0bb1f180b67dd8a83803832a8
install : $(TARGET)
--
2.50.1
next prev parent reply other threads:[~2025-07-21 21:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-21 21:25 [PATCH] automake: Update to version 1.18.1 Adolf Belka
2025-07-21 21:25 ` [PATCH] core 197: Ship automake Adolf Belka
2025-07-21 21:25 ` [PATCH] core 197: Ship curl Adolf Belka
2025-07-21 21:25 ` [PATCH] core 197: Ship e2fsprogs Adolf Belka
2025-07-21 21:25 ` [PATCH] core 197: Ship gettext Adolf Belka
2025-07-21 21:25 ` [PATCH] core 197: Ship strongswan Adolf Belka
2025-07-21 21:25 ` [PATCH] curl: Update to version 8.15.0 Adolf Belka
2025-07-21 21:25 ` [PATCH] e2fsprogs: Update to version 1.47.3 Adolf Belka
2025-07-21 21:25 ` Adolf Belka [this message]
2025-07-21 21:25 ` [PATCH] git: Update to version 2.50.1 Adolf Belka
2025-07-21 21:25 ` [PATCH] gnutls: Update to version 3.8.10 Adolf Belka
2025-07-21 21:26 ` [PATCH] strongswan: Update to version 6.0.2 Adolf Belka
2025-07-21 21:26 ` [PATCH] tshark: Update to version 4.4.8 Adolf Belka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250721212601.3400729-9-adolf.belka@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox