head 1.8; access; symbols pkgsrc-2026Q2:1.7.0.58 pkgsrc-2026Q2-base:1.7 pkgsrc-2026Q1:1.7.0.56 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.54 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.52 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.50 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.48 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.46 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.44 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.42 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.40 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.38 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.36 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.34 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.32 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.30 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.28 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.26 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.24 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.22 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.20 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.18 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.16 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.14 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.12 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.10 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.6 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.8 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.4 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.2 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.6.0.52 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.50 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.48 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.46 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.44 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.42 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.40 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.36 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.34 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.32 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.30 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.28 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.26 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.24 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.22 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.20 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.18 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.16 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.14 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.12 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.10 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.8 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.6 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.4 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.2 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.5.0.14 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.12 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.10 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.8 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.6 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.4 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.2 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.4.0.46 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.44 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.42 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.40 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.38 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.34 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.32 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.30 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.28 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.26 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.24 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.22 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.20 pkgsrc-2008Q1:1.4.0.18 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.20 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.18 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.16 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.14 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.12 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.10 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.8 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.6 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.8 date 2026.07.21.12.55.53; author adam; state dead; branches; next 1.7; commitid e0enyOZJLIyCmwOG; 1.7 date 2019.05.27.13.21.41; author ryoon; state Exp; branches; next 1.6; commitid pETUmIS3A5Q6tQoB; 1.6 date 2013.01.31.21.45.04; author adam; state Exp; branches; next 1.5; 1.5 date 2011.04.12.17.41.28; author adam; state Exp; branches; next 1.4; 1.4 date 2006.02.05.22.45.54; author joerg; state Exp; branches; next 1.3; 1.3 date 2002.11.27.17.41.07; author drochner; state Exp; branches; next 1.2; 1.2 date 2001.06.16.03.34.39; author jlam; state Exp; branches; next 1.1; 1.1 date 2000.10.31.17.06.18; author itojun; state Exp; branches; next ; desc @@ 1.8 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-aj,v 1.7 2019/05/27 13:21:41 ryoon Exp $ --- gettext-runtime/Makefile.in.orig 2012-12-25 05:30:40.000000000 +0000 +++ gettext-runtime/Makefile.in @@@@ -1159,7 +1159,7 @@@@ ACLOCAL_AMFLAGS = -I m4 -I ../m4 -I gnul # The list of subdirectories depends on whether --disable-libasprintf was # specified. @@ENABLE_LIBASPRINTF_TRUE@@SUBDIR_libasprintf = libasprintf -SUBDIRS = doc intl intl-java intl-csharp gnulib-lib $(SUBDIR_libasprintf) src po man m4 tests +SUBDIRS = doc intl gnulib-lib src po man m4 tests # Allow users to use "gnulib-tool --update". @@@@ -1637,7 +1637,7 @@@@ info: info-recursive info-am: -install-data-am: install-gettextsrcDATA +install-data-am: install-dvi: install-dvi-recursive @ 1.7 log @Update to 0.20.1 Changelog: Version 0.20.1 - May 2019 * Important bug fix: - Fixed a wrong shared library versioning of libintl.so. Version 0.20 - May 2019 * Support for reproducible builds: - msgfmt now eliminates the POT-Creation-Date header field from .mo files. * Improvements for translators: - update-po target in Makefile.in.in now uses msgmerge --previous. * Improvements for maintainers: - msgmerge now has an option --for-msgfmt, that produces a PO file meant for use by msgfmt only. This option saves processing time, in particular by omitting fuzzy matching that is not useful in this situation. - The .pot file in a 'po' directory is now erased by "make maintainer-clean". - It is now possible to override xgettext options from the po/Makefile.in.in through options in XGETTEXT_OPTIONS (declared in po/Makevars). - The --intl option of the gettextize program (deprecated since 2010) is no longer available. Instead of including the intl sources in your package, we suggest making the libintl library an optional prerequisite of your package. This will simplify the build system of your package. - Accordingly, the Autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR is gone as well. * Programming languages support: - C, C++: xgettext now supports strings in u8"..." syntax, as specified in C11 and C++11. - C, C++: xgettext now supports 'p'/'P' exponent markers in number tokens, as specified in C99 and C++17. - C++: xgettext now supports underscores in number tokens. - C++: xgettext now supports single-quotes in number tokens, as specified in C++14. - Shell: o The programs 'gettext', 'ngettext' now support a --context argument. o gettext.sh contains new function eval_pgettext and eval_npgettext for producing translations of messages with context. - Java: o xgettext now supports UTF-8 encoded .properties files (a new feature of Java 9). o The build system and tools now support Java 9, 10, and 11. On the other hand, support for old versions of Java (Java 5 and older, GCJ 4.2.x and older) has been dropped. - Perl: o Native support for context functions (pgettext, dpgettext, dcpgettext, npgettext, dnpgettext, dcnpgettext). o better detection of question mark and slash as operators (as opposed to regular expression delimiters). - Scheme: xgettext now parses the syntax for specialized byte vectors (#u8(...), #vu8(...), etc.) correctly. - Pascal: xgettext can now extract strings from .rsj files, produced by the Free Pascal compiler version 3.0.0 or newer. - Vala: xgettext now parses escape sequences in strings more accurately. - JavaScript: xgettext now parses template literals correctly. * Runtime behaviour: - The interpretation of the language preferences on macOS has been fixed. - Per-thread locales are now also supported on Solaris 11.4. - The replacements for the printf()/fprintf()/... functions that are provided through on native Windows and NetBSD are now POSIX compliant. There is no conflict any more between these replacements and other possible replacements provided by gnulib or mingw. * Libtextstyle: - This package installs a new library 'libtextstyle', together with a new header file . It is a library for styling text output sent to a console or terminal emulator. Packagers: please see the suggested packaging hints in the file PACKAGING. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.6 2013/01/31 21:45:04 adam Exp $ @ 1.6 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$ d10 1 a10 1 +SUBDIRS = doc gnulib-lib src po man m4 tests @ 1.5 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 @d3 1 a3 1 --- gettext-runtime/Makefile.in.orig 2010-06-06 20:11:38.000000000 +0000 d5 1 a5 1 @@@@ -943,7 +943,7 @@@@ ACLOCAL_AMFLAGS = -I m4 -I ../m4 -I gnul d14 1 a14 1 @@@@ -1410,7 +1410,7 @@@@ info: info-recursive @ 1.4 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-runtime/Makefile.in.orig 2006-02-03 14:42:03.000000000 +0000 d5 10 a14 10 @@@@ -300,7 +300,7 @@@@ sysconfdir = @@sysconfdir@@ target_alias = @@target_alias@@ AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies ACLOCAL_AMFLAGS = -I m4 -I ../gettext-tools/m4 -I ../autoconf-lib-link/m4 -I ../m4 -SUBDIRS = doc intl intl-java intl-csharp lib @@SUBDIR_libasprintf@@ src po man m4 +SUBDIRS = doc lib src po man m4 DIST_SUBDIRS = doc intl intl-java intl-csharp lib libasprintf src po man m4 EXTRA_DIST = BUGS Makefile.vms config.h_vms README.woe32 Makefile.msvc \ config.h.msvc windows/dllexport.h windows/intl.rc @@@@ -719,7 +719,7 @@@@ info: info-recursive d21 1 a21 1 install-exec-am: @ 1.3 log @bite the bullet and upgrade to 0.11.5 There are too many changes to list in a sensible way. The most visible change for me is that libintl requires libiconv now. Also untangled the 3 sub-pkgs -- a common patch dir makes it too complex. This pkg used to expose buildlink2 problems - the pkg libintl was pulled in in cases where USE_GNU_GETTEXT was not set. There were some improvements to libtool filtering, and x11/gtk builds now, so I hope this is settled. @ text @d3 4 a6 3 --- Makefile.in.orig Tue Aug 6 15:57:07 2002 +++ Makefile.in Sun Sep 1 16:51:37 2002 @@@@ -149,13 +149,13 @@@@ d8 7 a14 1 ACLOCAL_AMFLAGS = -I m4 d16 1 a16 2 -MAKEINFO = env LANG= LANGUAGE= @@MAKEINFO@@ +MAKEINFO = env LANG= LANGUAGE= /usr/bin/makeinfo d18 2 a19 3 gettextsrcdir = $(datadir)/gettext gettextsrc_DATA = ABOUT-NLS gettextsrc_SCRIPTS = config.rpath mkinstalldirs d21 1 a21 2 -SUBDIRS = doc intl intl-java lib libuniname src po projects misc man m4 tests +SUBDIRS = doc lib libuniname src po misc man a22 2 EXTRA_DIST = config.rpath BUGS DISCLAIM PACKAGING README.gemtext \ djgpp/COPYING.DJ djgpp/Makefile.maint djgpp/README.DJ \ @ 1.2 log @Update gettext to 0.10.35nb2. The only change is to factor out the m4 files into a separate package, gettext-m4, and add a dependency on it. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.1 2000/10/31 17:06:18 itojun Exp $ d3 10 a12 3 --- Makefile.in- Wed Nov 1 01:32:40 2000 +++ Makefile.in Wed Nov 1 01:32:49 2000 @@@@ -103,7 +103,7 @@@@ d14 1 d16 2 a17 3 EXTRA_DIST = BUGS DISCLAIM README.gemtext -SUBDIRS = doc lib intl src po m4 misc tests +SUBDIRS = doc lib src po misc tests d19 2 a20 2 DISTCLEANFILES = intl/libintl.h ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @ 1.1 log @split devel/gettext into devel/gettext and devel/gettext-lib. TODO: gettext-lib can be omitted if we have /usr/lib/libintl.a. @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +SUBDIRS = doc lib src po m4 misc tests @