head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.8 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.6 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.4 pkgsrc-2011Q4-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.1.0.10 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.8 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.6 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.4 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.2 pkgsrc-2004Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2011.04.12.17.41.28; author adam; state dead; branches; next 1.4; 1.4 date 2006.02.21.20.04.03; author jschauma; state Exp; branches; next 1.3; 1.3 date 2006.02.21.04.12.44; author jschauma; state Exp; branches; next 1.2; 1.2 date 2006.02.05.22.45.54; author joerg; state dead; branches; next 1.1; 1.1 date 2004.10.13.17.14.36; author gavan; state Exp; branches; next ; desc @@ 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 @$NetBSD: patch-ap,v 1.4 2006/02/21 20:04:03 jschauma Exp $ --- gettext-tools/src/po-lex.c.orig 2005-05-20 16:43:18.000000000 -0400 +++ gettext-tools/src/po-lex.c 2006-02-21 15:00:22.000000000 -0500 @@@@ -70,7 +70,7 @@@@ /* Error handling during the parsing of a PO file. These functions can access gram_pos and gram_pos_column. */ -#if !(__STDC__ && \ +#if !defined __sgi && !(__STDC__ && \ ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC) \ || (defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__))) @ 1.4 log @correct patches, which didn't cleanly apply. Pointed out by joerg@@ and darcy@@ @ text @d1 1 a1 1 $NetBSD: $ @ 1.3 log @add patches regarding PR pkg/30940 to allow IRIX MIPSPro compilers, when passed certain CFLAGS, to not barf. @ text @d3 3 a5 3 --- src/po-lex.c.orig Mon Feb 20 23:08:56 2006 +++ src/po-lex.c Mon Feb 20 23:08:11 2006 @@@@ -75,7 +75,7 @@@@ d11 1 a11 1 ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) \ @ 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-ap,v 1.1 2004/10/13 17:14:36 gavan Exp $ d3 5 a7 11 --- lib/pipe-out.c.orig 2002-01-02 10:55:32.000000000 +0000 +++ lib/pipe-out.c @@@@ -51,6 +51,10 @@@@ # define STDOUT_FILENO 1 #endif +#ifndef HAVE_ENVIRON_DECL +extern char **environ; +#endif + #define _(str) gettext (str) d9 4 @ 1.1 log @Workaround build problem on Solaris 10. If HAVE_POSIX_SPAWN is defined, code is compiled in that requires environ to be declared. Solaris doesn't declare environ, so declare it (guarded by HAVE_ENVIRON_DECL) in the files in which it is used. Solaris 10 systems HAVE_POSIX_SPAWN, whereas previous versions do not. @ text @d1 1 a1 1 $NetBSD$ @