From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bmD3X02p1z37F5 for ; Mon, 21 Jul 2025 21:26:16 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bmD3Q4vMBz34Rh for ; Mon, 21 Jul 2025 21:26:10 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4bmD3N4W04z4kB; Mon, 21 Jul 2025 21:26:08 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1753133168; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3bJgSHgIVkSey/NxYOJ8yzH6+BQ5waWwL3fCgPKWcNs=; b=0w/kRGURIy/z96+WTr5CE4kccWbObrkpY6OmBS+q1PsB37AciQywWl6Hky7CI+mSSdSBmw Hk55dhuuckK60FBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1753133168; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3bJgSHgIVkSey/NxYOJ8yzH6+BQ5waWwL3fCgPKWcNs=; b=Ek6d4zV0sXP8qRv+zqVy/9l3tEjk6E5WYgYhM4aqPv7d//TywfSNlO45/+ZUnsii5bNHFC UvjjJE3FFU2j5NTJl34nRAIdysDQvVPOEFOCZflDqM+5gF6c3y07cWP5hz+LjNn8yOpsTZ F8oMkmxmn6hJJ6iE94wRdPSquLbJ53vgE2s0/vQMxFJyliLRbeuNlEgWfHYtdufVCW3Ab1 br5cKVK1z6FzJYyxWQjXqah5PaM3LVLqEMWk9r6PmDAzPBFW8aNhqPdwfN02r89BuJ27Md Ij+DsUZ7d+ktdXGz9GzUHzS6PcaPgLqzZ/YWL5rqW6lU66OQxCyM1hQp9i+Y3Q== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] gettext: Update to version 0.26 Date: Mon, 21 Jul 2025 23:25:57 +0200 Message-ID: <20250721212601.3400729-9-adolf.belka@ipfire.org> In-Reply-To: <20250721212601.3400729-1-adolf.belka@ipfire.org> References: <20250721212601.3400729-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - 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 --- 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