head 1.9; access; symbols pkgsrc-2020Q2:1.8.0.58 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.38 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.60 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.56 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.54 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.52 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.50 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.48 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.46 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.44 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.42 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.40 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.36 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.34 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.32 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.30 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.28 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.26 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.24 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.22 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.20 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.18 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.16 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.14 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.12 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.10 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.8 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.6 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.4 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.2 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.7.0.14 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.12 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.10 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.8 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.6 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.4 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.6.0.10 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.8 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.6 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.4 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.2 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.5.0.32 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.30 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.28 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.26 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.24 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.22 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.20 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.18 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.16 pkgsrc-2008Q1:1.5.0.14 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.12 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.10 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.8 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.6 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.4 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.2 pkgsrc-2006Q3-base:1.5 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.20 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.18 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.16 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.14 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.12 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.10 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.8 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.6 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.4 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.9 date 2020.07.29.07.00.15; author wiz; state dead; branches; next 1.8; commitid R7Nrje6u0EF8zWhC; 1.8 date 2013.01.31.21.45.04; author adam; state Exp; branches; next 1.7; 1.7 date 2011.04.12.17.41.28; author adam; state Exp; branches; next 1.6; 1.6 date 2010.02.05.08.44.04; author obache; state Exp; branches; next 1.5; 1.5 date 2006.07.09.18.13.29; author tonio; state Exp; branches; next 1.4; 1.4 date 2006.07.06.14.49.55; author minskim; state Exp; branches; next 1.3; 1.3 date 2006.07.03.19.06.13; author minskim; state Exp; branches; next 1.2; 1.2 date 2006.02.05.22.45.54; author joerg; state dead; branches 1.2.4.1; next 1.1; 1.1 date 2002.12.12.08.59.11; author schmonz; state Exp; branches; next ; 1.2.4.1 date 2006.07.09.12.04.09; author salo; state Exp; branches; next 1.2.4.2; 1.2.4.2 date 2006.07.09.20.39.28; author salo; state Exp; branches; next ; desc @@ 1.9 log @gettext*: update to 0.21. Version 0.21 - July 2020 * Programming languages support: - Shell: o xgettext now recognizes and ignores 'env' invocations and environment variable assignments in front of commands. - Java: o xgettext now recognizes format strings in the Formatter syntax. They are marked as 'java-printf-format' in POT and PO files. o xgettext now recognizes text blocks as string literals. - JavaScript: xgettext parses JSX expressions more reliably. - Ruby: o xgettext now supports Ruby. o 'msgfmt -c' now verifies the syntax of translations of Ruby format strings. * Runtime behaviour: - On native Windows platforms, the directory that contains the message catalogs may now contain arbitrary Unicode characters. To make use of this feature, use the new function 'wbindtextdomain' instead of 'bindtextdomain'. It allows to pass a directory name in wchar_t[] encoding. Note: 'wbindtextdomain' exists only on native Windows platforms. * Improvements for translators: - When msgfmt writes a MO file, it now does so in such a way that processes that are currently using an older copy of the MO file will not crash. * Libtextstyle: - Added support for emitting hyperlinks. - New API for doing formatted output. - The example programs support the NO_COLOR environment variable. @ text @$NetBSD: patch-aa,v 1.8 2013/01/31 21:45:04 adam Exp $ --- gettext-runtime/intl/localcharset.c.orig 2012-12-24 00:33:38.000000000 +0000 +++ gettext-runtime/intl/localcharset.c @@@@ -19,6 +19,10 @@@@ #include +#if !defined(HAVE_GNU_ICONV) + +/* Provide our variant only if we don't use the GNU iconv library. */ + /* Specification. */ #include "localcharset.h" @@@@ -556,3 +560,4 @@@@ locale_charset (void) return codeset; } +#endif @ 1.8 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$ @ 1.7 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/intl/localcharset.c.orig 2010-06-06 12:49:57.000000000 +0000 d5 1 a5 1 @@@@ -21,6 +21,10 @@@@ d16 1 a16 1 @@@@ -547,3 +551,4 @@@@ locale_charset (void) @ 1.6 log @Reset WRKSRC settings, use CONFIGURE_DIRS instead. This package are using some files outside of the directory specified by WRKSRC, (ex. ../build-aux/config.*). But some pkgsrc checks/replacements/modifications are only effect to below ${WRKSRC}. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2006/07/09 18:13:29 tonio Exp $ d3 1 a3 1 --- gettext-runtime/intl/localcharset.c.orig 2005-05-20 13:07:51.000000000 -0700 d5 3 a7 3 @@@@ -23,6 +23,10 @@@@ # include #endif d16 1 a16 1 @@@@ -407,3 +411,4 @@@@ locale_charset () @ 1.5 log @Use "defined": this fixes build problems under darwin. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2006/07/06 14:49:55 minskim Exp $ d3 2 a4 2 --- intl/localcharset.c.orig 2005-05-20 13:07:51.000000000 -0700 +++ intl/localcharset.c @ 1.4 log @Define locale_charset only when GNU iconv is used. This fixes the package on Solaris where native iconv doesn't have locale_charset. Noted by Gilles Dauphin in PR pkg/32945. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 +#if !HAVE_GNU_ICONV @ 1.3 log @Make sure that locale_charset is defined only once. Otherwise, it may cause a link error on Darwin. The patch was adapted from the one submitted in PR pkg/32723. It also fixes PR pkg/32945. Bump PKGREVISION. @ text @d5 1 a5 1 @@@@ -23,6 +23,13 @@@@ d9 1 a9 1 +#if !HAVE_ICONV d11 1 a11 4 +/* Provide our variant only if we don't use the systems iconv library. This is + * consistant with the usage in loadmsgcat.c and prevents us from relying on + * link-time symbol resolution. + */ d16 1 a16 1 @@@@ -407,3 +414,4 @@@@ locale_charset () @ 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 @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2002/12/12 08:59:11 schmonz Exp $ d3 21 a23 11 --- intl/libgnuintl.h.orig Tue Jul 23 08:27:52 2002 +++ intl/libgnuintl.h @@@@ -93,7 +93,7 @@@@ extern "C" { If he doesn't, we choose the method. A third possible method is _INTL_REDIRECT_ASM, supported only by GCC. */ #if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS) -# if __GNUC__ >= 2 && (defined __STDC__ || defined __cplusplus) +# if __GNUC__ >= 2 && !defined __APPLE_CC__ && (defined __STDC__ || defined __cplusplus) # define _INTL_REDIRECT_ASM # else # ifdef __cplusplus @ 1.2.4.1 log @Pullup ticket 1723 - requested by minskim portability fixes for gettext-lib Revisions pulled up: - pkgsrc/devel/gettext-lib/Makefile 1.43, 1.44 - pkgsrc/devel/gettext-lib/distinfo 1.11, 1.12 - pkgsrc/devel/gettext-lib/patches/patch-aa 1.3, 1.4 Module Name: pkgsrc Committed By: minskim Date: Mon Jul 3 19:06:13 UTC 2006 Modified Files: pkgsrc/devel/gettext-lib: Makefile distinfo Added Files: pkgsrc/devel/gettext-lib/patches: patch-aa Log Message: Make sure that locale_charset is defined only once. Otherwise, it may cause a link error on Darwin. The patch was adapted from the one submitted in PR pkg/32723. It also fixes PR pkg/32945. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: minskim Date: Thu Jul 6 14:49:55 UTC 2006 Modified Files: pkgsrc/devel/gettext-lib: Makefile distinfo pkgsrc/devel/gettext-lib/patches: patch-aa Log Message: Define locale_charset only when GNU iconv is used. This fixes the package on Solaris where native iconv doesn't have locale_charset. Noted by Gilles Dauphin in PR pkg/32945. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2006/07/06 14:49:55 minskim Exp $ d3 11 a13 18 --- intl/localcharset.c.orig 2005-05-20 13:07:51.000000000 -0700 +++ intl/localcharset.c @@@@ -23,6 +23,10 @@@@ # include #endif +#if !HAVE_GNU_ICONV + +/* Provide our variant only if we don't use the GNU iconv library. */ + /* Specification. */ #include "localcharset.h" @@@@ -407,3 +411,4 @@@@ locale_charset () return codeset; } +#endif @ 1.2.4.2 log @Pullup ticket 1731 - requested by tonio build fix for gettext-lib Revisions pulled up: - pkgsrc/devel/gettext-lib/distinfo 1.13 - pkgsrc/devel/gettext-lib/patches/patch-aa 1.5 Module Name: pkgsrc Committed By: tonio Date: Sun Jul 9 18:13:29 UTC 2006 Modified Files: pkgsrc/devel/gettext-lib: distinfo pkgsrc/devel/gettext-lib/patches: patch-aa Log Message: Use "defined": this fixes build problems under darwin. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2006/07/09 18:13:29 tonio Exp $ d9 1 a9 1 +#if !defined(HAVE_GNU_ICONV) @ 1.1 log @Work around a obscure compiler error in devel/gtexinfo on Darwin. Patch from . @ text @d1 1 a1 1 $NetBSD$ @