head 1.5; access; symbols pkgsrc-2026Q2:1.4.0.108 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.4.0.106 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.104 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.102 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.100 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.98 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.96 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.94 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.92 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.90 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.88 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.86 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.84 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.82 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.80 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.78 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.76 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.74 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.72 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.70 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.68 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.66 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.64 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.62 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.58 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.38 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.60 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.56 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.54 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.52 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.50 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.48 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.46 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.44 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.42 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.40 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.36 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.34 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.32 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.30 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.28 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.26 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.24 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.22 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.20 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.18 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.16 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.14 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.12 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.10 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.8 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.6 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.2 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.3.0.14 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.12 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.10 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.8 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.4 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.2.0.46 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.44 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.42 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.40 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.38 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.36 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.34 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.32 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.30 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.28 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.26 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.24 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.22 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.20 pkgsrc-2008Q1:1.2.0.18 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.16 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.14 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.12 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.10 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.18 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.16 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.14 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.12 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.10 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.8 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2026.07.21.12.55.53; author adam; state dead; branches; next 1.4; commitid e0enyOZJLIyCmwOG; 1.4 date 2013.01.31.21.45.04; author adam; state Exp; branches; next 1.3; 1.3 date 2011.04.12.17.41.28; author adam; state Exp; branches; next 1.2; 1.2 date 2006.02.05.22.45.54; author joerg; state Exp; branches; next 1.1; 1.1 date 2003.04.27.19.18.21; author jmmv; state Exp; branches; next ; desc @@ 1.5 log @gettext: updated to 1.0 Version 1.0 - January 2026 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. @ text @$NetBSD: patch-al,v 1.4 2013/01/31 21:45:04 adam Exp $ --- gettext-tools/po/Makefile.in.in.orig 2010-06-06 12:49:57.000000000 +0000 +++ gettext-tools/po/Makefile.in.in @@@@ -216,7 +216,7 @@@@ $(POFILES): $(srcdir)/$(DOMAIN).pot fi -install: install-exec install-data +install: install-exec install-data-@@USE_NLS@@ install-exec: install-data: install-data-@@USE_NLS@@ if test "$(PACKAGE)" = "gettext-tools"; then \ @ 1.4 log @Changes 0.18.2: * xgettext now understands the block comment syntax of Guile 2.0. * libgettextpo library: - The initial msgstr of a new message is now "", not NULL. - Bug fixes in the functions po_message_is_range, po_file_check_all, po_message_check_all. * Installation options: The configure options --with-xz and --with-bzip2 can be used to specify alternate compression methods for the archive used by the 'autopoint' program. These options, together with --with-git, allow to trade dependencies against installed package size. --with-xz has the highest compression rate, followed by --with-git, followed by --with-bzip2. * Autoconf macros: - The autoconf macros installed by 'gettextize' now work with the forthcoming Automake 1.14 and require Autoconf version 2.60 or newer. * Portability: - Building on MacOS X 10.7, Cygwin 1.7.10, and newer 64-bit mingw is now supported. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.3 2011/04/12 17:41:28 adam Exp $ @ 1.3 log @Changes 0.18.1: * msggrep: A '$' anchor in a regular expression now also matches the end of the string, even if it does not end in a newline. * Dependencies: The libraries and programs are now linked with libunistring if this library is already installed. * Installation options: The configure option --with-cvs is deprecated. The 'autopoint' program will now use the 'git' program by default to compress its archive. If the configure option --without-git is specified, 'autopoint' will not rely on 'git', but will instead rely on a locally installed a 3 MB large archive. Changes 0.18: * Runtime behaviour: - On MacOS X and Windows systems, now extends setlocale() and newlocale() so that their determination of the default locale considers the choice the user has made in the system control panels. - On MacOS X systems, the gettext()/dgettext()/... functions now respect the locale of the current thread, if a thread-specific locale has been set. * PO file format: There is a new field 'Language' in the header entry. It denotes the language code (plus optional country code) for the PO file. This field can be used by automated tools, such as spell checkers. It is expected to be more reliable than looking at the file name or at the 'Language-Team' field in the header entry. msgmerge, msgcat, msgen have a new option --lang that allows to specify this field. Additionally, msgmerge fills in this new field by looking at the 'Language-Team' field (if the --lang option is not given). * xgettext and PO file format: For messages with plural forms, programmers can inform the translators about the range of possible values of the numeric argument, like this: /* xgettext: range: 0..15 */ This information 'range: 0..15' is stored in the PO file as a flag attached to the message. Translators can produce better translations when they know that the numeric argument is small. * Colorized PO files: msgattrib, msgcomm, msgconv, msgen, msgfilter, msggrep, msginit, msgmerge, msgunfmt, msguniq, xgettext now have options --color and --style, like msgcat has since version 0.17. * msgmerge is up to 10 times faster when the PO and POT files are large. This speedup was contributed by Ralf Wildenhues. * msgcmp has a new option -N/--no-fuzzy-matching, like msgmerge has since version 0.12. * msgfilter now sets environment variables during the invocation of the filter, indicating the msgid and location of the messge being processed. * xgettext now can extract plural forms from Qt 4 programs. The recommended xgettext command-line options for this case are: --qt --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t * xgettext --language=GCC-source now recognizes also the format strings used in the Fortran front-end of the GCC compiler, and marks them as 'gfc-internal-format'. * autopoint can now be used to update several PO directories all together. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -207,7 +207,7 @@@@ $(POFILES): $(srcdir)/$(DOMAIN).pot @ 1.2 log @Update gettext to 0.14.5. Many bugfixes and improvements, including support for relocable programs, Qt support, separation of the PO processing functions into a separate library and more. Reorganise the gettext infrastructure by splitting of the tools into devel/gettext-tools, which will be used by the tools framework. The remaining devel/gettext package contains gettextize and autopoint aka the infrastructure to embbed gettext into a package. Due to the ABI and API changes, a recursive revision bump will follow. Take blaim by receiving the maintainer hat. With input from jlam@@, reed@@ and wiz@@. @ text @d3 1 a3 1 --- gettext-tools/po/Makefile.in.in.orig 2006-02-04 20:52:36.000000000 +0000 d5 2 a6 1 @@@@ -156,7 +156,7 @@@@ $(POFILES): $(srcdir)/$(DOMAIN).pot d8 3 a10 1 install: install-exec install-data d12 1 a12 11 -install-data: install-data-@@USE_NLS@@ +install-data: if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ @@@@ -215,7 +215,7 @@@@ install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: -installdirs-data: installdirs-data-@@USE_NLS@@ +installdirs-data: a13 2 $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ else \ @ 1.1 log @Move documentation to share/doc/gettext. Bump PKGREVISION to 2. @ text @d3 3 a5 4 --- man/Makefile.in.orig 2002-08-06 16:00:40.000000000 +0200 +++ man/Makefile.in @@@@ -147,7 +147,7 @@@@ mandir = @@mandir@@ PERL = @@PERL@@ d7 8 a14 4 VERSION = @@VERSION@@ -docdir = $(prefix)/doc/@@PACKAGE@@ +docdir = $(datadir)/doc/@@PACKAGE@@ htmldir = $(docdir) d16 7 a22 1 localedir = $(datadir)/locale @