head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.22 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.20 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.18 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.16 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.14 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.12 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.10 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.8 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.6 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.8.0.4 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.2 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.6.0.84 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.82 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.80 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.78 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.76 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.74 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.72 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.70 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.68 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.66 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.64 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.62 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.58 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.38 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.60 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.56 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.54 pkgsrc-2019Q2-base:1.6 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.12 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.10 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.8 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.6 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.4 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.2 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.3.0.46 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.44 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.42 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.40 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.38 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.36 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.34 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.32 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.30 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.28 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.26 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.24 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.22 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.20 pkgsrc-2008Q1:1.3.0.18 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.16 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.14 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.12 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.10 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1 netbsd-1-5-PATCH001:1.1 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.8 date 2023.06.29.18.27.42; author tnn; state Exp; branches; next 1.7; commitid ucgBwMjT2TjL7SuE; 1.7 date 2023.06.28.21.14.10; author wiz; state Exp; branches; next 1.6; commitid OrIG99HsFjWI5LuE; 1.6 date 2013.01.31.21.45.04; author adam; state Exp; branches; next 1.5; 1.5 date 2011.08.05.00.36.10; author adam; state Exp; branches; next 1.4; 1.4 date 2011.04.12.17.41.28; author adam; state Exp; branches; next 1.3; 1.3 date 2006.02.05.22.45.53; author joerg; state Exp; branches; next 1.2; 1.2 date 2002.11.27.17.41.06; author drochner; state dead; branches; next 1.1; 1.1 date 2000.06.30.17.07.36; author danw; state Exp; branches; next ; desc @@ 1.8 log @gettext: adjust patches for bash compatibility bash does not like if statements with empty compound-list. @ text @$NetBSD: patch-ae,v 1.7 2023/06/28 21:14:10 wiz Exp $ --- gettext-tools/configure.orig 2023-06-17 11:54:38.000000000 +0000 +++ gettext-tools/configure @@@@ -26145,13 +26145,6 @@@@ printf "%s\n" "$ac_res" >&6; } fi fi - if test "$nls_cv_use_gnu_gettext" = "yes"; then - USE_INCLUDED_LIBINTL=yes - LIBINTL="\${top_builddir}/../gettext-runtime/intl/libintl.la $LIBICONV $LIBTHREAD" - LTLIBINTL="\${top_builddir}/../gettext-runtime/intl/libintl.la $LTLIBICONV $LTLIBTHREAD" - LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` - fi - CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then @ 1.7 log @gettext*: update to 0.22 Version 0.22 - June 2023 * PO file format: - When a #: line contains references to file names that contain spaces, these file names are surrounded by Unicode characters U+2068 and U+2069. This makes it possible to parse such references correctly. * Improvements for maintainers: - The AM_GNU_GETTEXT macro now defines two variables localedir_c and localedir_c_make, that can be used in C code or in Makefiles, respectively, for representing the value of the --localedir configure option. * Programming languages support: - C, C++: o xgettext now supports gettext-like functions that take wide strings (of type 'const wchar_t *', 'const char16_t *', or 'const char32_t *') as arguments. o xgettext now recognizes numbers with digit separators, as defined by ISO C 23, as tokens. o xgettext and msgfmt now recognize the format string directive %b (for binary integer output, as defined by ISO C 23) in format strings. o xgettext and msgfmt now recognize the argument size specifiers w8, w16, w32, w64, wf8, wf16, wf32, wf64 (as defined by ISO C 23) in format strings. o xgettext and msgfmt now recognize C++ format strings, as defined by ISO C++ 20. They are marked as 'c++-format' in POT and PO files. A new example has been added, 'hello-c++20', that illustrates how to use these format strings with gettext. - Java: o The build system and tools now also support Java versions newer than Java 11. This is known to work up to Java 20, at least. On the other hand, support for old versions of Java (Java 1.5 and GCJ) has been dropped. - Tcl: xgettext now supports the \x, \u, and \U escapes as defined in Tcl 8.6. * Portability: - On systems with musl libc, the *gettext() functions in libc now work with MO files generated from PO files with an encoding other than UTF-8. To this effect, the msgfmt program now converts the messages to UTF-8 encoding before storing them in a MO file. You can prevent this by using the msgfmt --no-convert option. - On systems with musl libc, the *gettext() functions in libc now work with MO files generated from PO files with ISO C 99 format string directive macros. To this effect, the msgfmt program pre-expands strings with such macros. You can prevent this by using the msgfmt --no-redundancy option. * xgettext: - The xgettext option '--sorted-output' is now deprecated. - xgettext input files of type PO that are not all ASCII and not UTF-8 encoded are now handled correctly. * The base Unicode standard is now updated to 15.0.0. * Emacs PO mode: Fix an incompatibility with Emacs version 29 or newer. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.6 2013/01/31 21:45:04 adam Exp $ d5 2 a6 1 @@@@ -26146,10 +26146,6 @@@@ printf "%s\n" "$ac_res" >&6; } d9 1 a9 1 if test "$nls_cv_use_gnu_gettext" = "yes"; then d14 2 a15 2 fi d17 2 @ 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$ d3 1 a3 1 --- gettext-tools/configure.orig 2012-12-25 05:33:28.000000000 +0000 d5 2 a6 1 @@@@ -21811,10 +21811,6 @@@@ $as_echo "$ac_res" >&6; } d9 3 a11 4 BUILD_INCLUDED_LIBINTL=yes - USE_INCLUDED_LIBINTL=yes - LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV $LIBTHREAD" - LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV $LTLIBTHREAD" @ 1.5 log @Fix buidling on Mac OS X 10.7 @ text @d3 1 a3 1 --- gettext-tools/configure.orig 2010-06-06 20:12:20.000000000 +0000 d5 1 a5 1 @@@@ -20035,10 +20035,6 @@@@ $as_echo "$ac_res" >&6; } a15 10 @@@@ -40606,7 +40602,9 @@@@ else #include #include /* for strcpy */ /* The stpncpy prototype is missing in on AIX 4. */ +#ifndef __APPLE__ extern char *stpncpy (char *dest, const char *src, size_t n); +#endif int main () { const char *src = "Hello"; char dest[10]; @ 1.4 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 @d16 10 @ 1.3 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/configure.orig 2006-02-03 17:13:33.000000000 +0000 d5 1 a5 1 @@@@ -39057,10 +39057,6 @@@@ echo "${ECHO_T}$gt_cv_func_gnugettext2_l d10 2 a11 2 - LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV" - LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV" @ 1.2 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 @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2000/06/30 17:07:36 danw Exp $ d3 3 a5 3 --- intl/explodename.c.orig Fri Jun 23 03:21:26 2000 +++ intl/explodename.c Fri Jun 23 03:50:55 2000 @@@@ -43,6 +43,17 @@@@ d7 7 a13 1 /* @@@@ end of prolog @@@@ */ d15 1 a15 43 +char * +_nl_find_language (const char *name) +{ + while (name[0] != '\0' && name[0] != '_' && name[0] != '@@' + && name[0] != '+' && name[0] != ',') + ++name; + + return (char *) name; +} + + int _nl_explode_name (name, language, modifier, territory, codeset, normalized_codeset, special, sponsor, revision) @@@@ -51,7 +62,7 @@@@ const char **modifier; const char **territory; const char **codeset; - const char **normalized_codeset; + char **normalized_codeset; const char **special; const char **sponsor; const char **revision; @@@@ -74,9 +85,7 @@@@ mask = 0; syntax = undecided; *language = cp = name; - while (cp[0] != '\0' && cp[0] != '_' && cp[0] != '@@' - && cp[0] != '+' && cp[0] != ',') - ++cp; + cp = _nl_find_language (*language); if (*language == cp) /* This does not make sense: language has to be specified. Use @@@@ -111,7 +120,7 @@@@ *normalized_codeset = _nl_normalize_codeset (*codeset, cp - *codeset); if (strcmp (*codeset, *normalized_codeset) == 0) - free ((char *) *normalized_codeset); + free (*normalized_codeset); else mask |= XPG_NORM_CODESET; } @ 1.1 log @Add bugfixes from glibc and build a shared library version of libintl. Bump version to 0.10.35nb1. @ text @d1 1 a1 1 $NetBSD$ @