public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
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 1.0
Date: Thu,  5 Feb 2026 23:00:57 +0100	[thread overview]
Message-ID: <20260205220059.3721136-8-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20260205220059.3721136-1-adolf.belka@ipfire.org>

- Update from  version 0.26 to 1.0
- Update of rootfile
- Changelog
    1.0
Improvements for maintainers and distributors:
  * In a po/ directory, the PO files are now exactly those that the
    translators submitted or committed in version control, or a
    translation project's daemon committed on behalf of the translators.
    They are no longer regularly updated with respect to the POT file
    in the same directory.
    The advantage for maintainers is that the maintainer may commit the
    PO files in version control, without getting
      - lots of modified files shown by "git status",
      - frequent merge conflicts when merging between branches,
      - a voluminous version control history.
    The advantage for distributors is that the role of files in a
    release tarball are clearer: The PO files are source code, whereas
    the POT file and the *.gmo files are generated files.
    ATTENTION translators!
    Translators who work directly on a package's source code (without
    going through a translation project) now need to run "msginit"
    before starting work on a PO file.
  * A new program 'po-fetch' is provided, that fetches the translated
    PO files from a translation project's site on the internet, and
    updates the LINGUAS file accordingly.
  * In a po/ directory, a new script 'fetch-po' is now added by 'gettextize'.
    It provides the standard interface for fetching the translated PO files.
    It typically either invokes the 'po-fetch' program or does nothing.
Improvements for translators:
  * msginit:
    - When the PO file already exists, 'msginit' now updates it w.r.t. the
      POT file, like 'msgmerge' would do. Previously, 'msginit' failed with
      an error message in this situation.
  * Pretranslation:
    - Two new programs, 'msgpre' and 'spit', are provided, that implement
      machine translation through a locally installed Large Language Model
      (LLM).  'msgpre' applies to an entire PO file, 'spit' to a single
      message.
    - The documentation has a new chapter "Pretranslation".
Improvements for maintainers:
  * xgettext:
    - The refactoring suggestion when a translatable string contains an URL
      or email address can now be inhibited through a command-line option
      '--no-check=url' or '--no-check=email', or through a comment in the
      source code of the form
          /* xgettext: no-url-check */
      or
          /* xgettext: no-email-check */
Programming languages support:
  * OCaml:
    - xgettext now supports OCaml.
    - 'msgfmt -c' now verifies the syntax of translations of OCaml format
      strings.
    - A new example 'hello-ocaml' has been added.
  * Rust:
    - xgettext now recognizes 'gettextrs::gettext' invocations, like 'gettext'
      invocations.
libgettextpo library:
  * The function 'po_message_get_format' now supports distinguishing whether
    a negative format string mark, such as 'no-c-format', is set or not.
  * The new functions
      po_message_has_workflow_flag
      po_message_set_workflow_flag
      po_message_workflow_flags_iterator, po_flag_next, po_flag_iterator_free
    can be used to manipulate or inspect the workflow flags of a message.
  * The new functions
      po_message_has_sticky_flag
      po_message_set_sticky_flag
      po_message_sticky_flags_iterator, po_flag_next, po_flag_iterator_free
    can be used to manipulate or inspect the sticky flags of a messsage.
Emacs PO mode:
  Restore syntax highlighting in Emacs version 30 or newer.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/gettext | 104 ++++++++++++++++++++++++++------
 lfs/gettext                     |   6 +-
 2 files changed, 89 insertions(+), 21 deletions(-)

diff --git a/config/rootfiles/common/gettext b/config/rootfiles/common/gettext
index 6e9a05841..28451c089 100644
--- a/config/rootfiles/common/gettext
+++ b/config/rootfiles/common/gettext
@@ -15,18 +15,20 @@ usr/bin/gettext.sh
 #usr/bin/msggrep
 #usr/bin/msginit
 #usr/bin/msgmerge
+#usr/bin/msgpre
 #usr/bin/msgunfmt
 #usr/bin/msguniq
 #usr/bin/ngettext
+#usr/bin/po-fetch
 #usr/bin/printf_gettext
 #usr/bin/printf_ngettext
 #usr/bin/recode-sr-latin
+#usr/bin/spit
 #usr/bin/xgettext
 #usr/include/autosprintf.h
 #usr/include/gettext-po.h
 #usr/include/textstyle
 #usr/include/textstyle.h
-#usr/include/textstyle/stdbool.h
 #usr/include/textstyle/version.h
 #usr/include/textstyle/woe32dll.h
 #usr/lib/gettext
@@ -34,20 +36,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.26.so
+usr/lib/libgettextlib-1.0.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.15
-usr/lib/libgettextsrc-0.26.so
+usr/lib/libgettextpo.so.0.6.0
+usr/lib/libgettextsrc-1.0.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.6
+usr/lib/libtextstyle.so.0.2.7
 usr/lib/preloadable_libintl.so
 #usr/libexec/gettext
 #usr/libexec/gettext/cldr-plurals
@@ -1749,6 +1751,64 @@ usr/lib/preloadable_libintl.so
 #usr/share/doc/gettext/examples/hello-objc/po/zh_CN.po
 #usr/share/doc/gettext/examples/hello-objc/po/zh_HK.po
 #usr/share/doc/gettext/examples/hello-objc/po/zh_TW.po
+#usr/share/doc/gettext/examples/hello-ocaml
+#usr/share/doc/gettext/examples/hello-ocaml/INSTALL
+#usr/share/doc/gettext/examples/hello-ocaml/Makefile.am
+#usr/share/doc/gettext/examples/hello-ocaml/autoclean.sh
+#usr/share/doc/gettext/examples/hello-ocaml/autogen.sh
+#usr/share/doc/gettext/examples/hello-ocaml/configure.ac
+#usr/share/doc/gettext/examples/hello-ocaml/dune-project.in
+#usr/share/doc/gettext/examples/hello-ocaml/dune.in
+#usr/share/doc/gettext/examples/hello-ocaml/hello.ml.in
+#usr/share/doc/gettext/examples/hello-ocaml/m4
+#usr/share/doc/gettext/examples/hello-ocaml/m4/Makefile.am
+#usr/share/doc/gettext/examples/hello-ocaml/po
+#usr/share/doc/gettext/examples/hello-ocaml/po/LINGUAS
+#usr/share/doc/gettext/examples/hello-ocaml/po/Makefile.am
+#usr/share/doc/gettext/examples/hello-ocaml/po/af.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ast.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/bg.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ca.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/cs.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/da.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/de.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/el.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/eo.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/es.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/fi.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/fr.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ga.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/gl.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/hr.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/hu.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/id.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/it.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ja.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ka.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ky.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/lv.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ms.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/mt.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/nb.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/nl.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/nn.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/pl.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/pt.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/pt_BR.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ro.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ru.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/sk.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/sl.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/sq.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/sr.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/sv.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/ta.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/tr.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/uk.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/vi.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/zh_CN.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/zh_HK.po
+#usr/share/doc/gettext/examples/hello-ocaml/po/zh_TW.po
 #usr/share/doc/gettext/examples/hello-pascal
 #usr/share/doc/gettext/examples/hello-pascal/INSTALL
 #usr/share/doc/gettext/examples/hello-pascal/Makefile.am
@@ -2399,6 +2459,7 @@ usr/lib/preloadable_libintl.so
 #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_32.html
 #usr/share/doc/gettext/gettext_4.html
 #usr/share/doc/gettext/gettext_5.html
 #usr/share/doc/gettext/gettext_6.html
@@ -2438,13 +2499,16 @@ usr/lib/preloadable_libintl.so
 #usr/share/doc/gettext/msggrep.1.html
 #usr/share/doc/gettext/msginit.1.html
 #usr/share/doc/gettext/msgmerge.1.html
+#usr/share/doc/gettext/msgpre.1.html
 #usr/share/doc/gettext/msgunfmt.1.html
 #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/po-fetch.1.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/spit.1.html
 #usr/share/doc/gettext/textdomain.3.html
 #usr/share/doc/gettext/tutorial.html
 #usr/share/doc/gettext/xgettext.1.html
@@ -2461,19 +2525,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.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-1.0
+#usr/share/gettext-1.0/its
+#usr/share/gettext-1.0/its/docbook.loc
+#usr/share/gettext-1.0/its/docbook4.its
+#usr/share/gettext-1.0/its/docbook5.its
+#usr/share/gettext-1.0/its/glade.loc
+#usr/share/gettext-1.0/its/glade1.its
+#usr/share/gettext-1.0/its/glade2.its
+#usr/share/gettext-1.0/its/gsettings.its
+#usr/share/gettext-1.0/its/gsettings.loc
+#usr/share/gettext-1.0/its/gtkbuilder.its
+#usr/share/gettext-1.0/its/metainfo.its
+#usr/share/gettext-1.0/its/metainfo.loc
 #usr/share/gettext/ABOUT-NLS
 #usr/share/gettext/archive.dir.tar.xz
 #usr/share/gettext/config.rpath
@@ -2500,6 +2564,7 @@ usr/lib/preloadable_libintl.so
 #usr/share/gettext/po/boldquot.sed
 #usr/share/gettext/po/en@boldquot.header
 #usr/share/gettext/po/en@quot.header
+#usr/share/gettext/po/fetch-po
 #usr/share/gettext/po/insert-header.sed
 #usr/share/gettext/po/quot.sed
 #usr/share/gettext/po/remove-potcdate.sed
@@ -2553,12 +2618,15 @@ usr/lib/preloadable_libintl.so
 #usr/share/man/man1/msggrep.1
 #usr/share/man/man1/msginit.1
 #usr/share/man/man1/msgmerge.1
+#usr/share/man/man1/msgpre.1
 #usr/share/man/man1/msgunfmt.1
 #usr/share/man/man1/msguniq.1
 #usr/share/man/man1/ngettext.1
+#usr/share/man/man1/po-fetch.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/spit.1
 #usr/share/man/man1/xgettext.1
 #usr/share/man/man3/bind_textdomain_codeset.3
 #usr/share/man/man3/bindtextdomain.3
diff --git a/lfs/gettext b/lfs/gettext
index 71c1183f0..fe19951c9 100644
--- a/lfs/gettext
+++ b/lfs/gettext
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 0.26
+VER        = 1.0
 
 THISAPP    = gettext-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -56,7 +56,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = b182e5fdb9fc46868dc39b512ef300c54c8e77a766f2d2de69289f84966d4205f494b3ecedfb30c6df581947172411ae7eb4ccc0bb1f180b67dd8a83803832a8
+$(DL_FILE)_BLAKE2 = 052bd847c8cdb963437613583256e430b52e27e5ebe29a04df6ac549552ab0f85a1e637b991ebb57e82805fb6d2d23f37c4b70d7f711dc086f57a3a32ba3f00e
 
 install : $(TARGET)
 
-- 
2.52.0



  parent reply	other threads:[~2026-02-05 22:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-05 22:00 [PATCH] conntrack-tools: Update to version 1.4.9 Adolf Belka
2026-02-05 22:00 ` [PATCH] core201: Ship conntrack-tools Adolf Belka
2026-02-05 22:00 ` [PATCH] core201: Ship fuse Adolf Belka
2026-02-05 22:00 ` [PATCH] core201: Ship gettext Adolf Belka
2026-02-05 22:00 ` [PATCH] core201: Ship libetfilter_conntrack Adolf Belka
2026-02-05 22:00 ` [PATCH] core201: Ship procps Adolf Belka
2026-02-05 22:00 ` [PATCH] fuse: Update to version 3.18.1 Adolf Belka
2026-02-05 22:00 ` Adolf Belka [this message]
2026-02-05 22:00 ` [PATCH] libnetfilter_conntrack: Update to version 1.1.1 Adolf Belka
2026-02-05 22:00 ` [PATCH] procps: Update to version 4.0.6 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=20260205220059.3721136-8-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