head 1.8; access; symbols pkgsrc-2019Q1:1.7.0.52 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.50 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.48 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.46 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.44 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.42 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.40 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.36 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.34 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.32 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.30 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.28 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.26 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.24 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.22 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.20 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.18 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.16 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.14 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.12 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.10 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.8 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.6 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.4 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.2 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.6.0.14 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.12 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.10 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.8 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.6 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.4 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.2 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.5.0.46 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.44 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.42 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.40 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.38 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.36 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.34 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.32 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.30 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.28 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.26 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.24 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.22 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.20 pkgsrc-2008Q1:1.5.0.18 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.16 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.14 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.12 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.10 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.8 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.6 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.4 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 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; locks; strict; comment @# @; 1.8 date 2019.05.27.13.21.41; author ryoon; state dead; branches; next 1.7; commitid pETUmIS3A5Q6tQoB; 1.7 date 2013.01.31.21.45.04; author adam; state Exp; branches; next 1.6; 1.6 date 2011.04.12.17.41.28; author adam; state Exp; branches; next 1.5; 1.5 date 2006.02.05.22.45.54; author joerg; state Exp; branches; next 1.4; 1.4 date 2003.04.27.19.18.21; author jmmv; state Exp; branches; next 1.3; 1.3 date 2002.11.27.17.41.07; author drochner; state dead; branches; next 1.2; 1.2 date 2002.08.19.19.20.33; author seb; state Exp; branches; next 1.1; 1.1 date 2000.10.31.17.06.19; author itojun; state Exp; branches 1.1.8.1; next ; 1.1.8.1 date 2002.08.20.12.57.25; author agc; state Exp; branches; next ; desc @@ 1.8 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 @$NetBSD: patch-ak,v 1.7 2013/01/31 21:45:04 adam Exp $ --- gettext-runtime/intl/Makefile.in.orig 2012-12-25 05:16:50.000000000 +0000 +++ gettext-runtime/intl/Makefile.in @@@@ -378,7 +378,7 @@@@ check: all # separate library. # If you want to use the one which comes with this version of the # package, you have to use "configure --with-included-gettext". -install: install-exec install-data +install: install-exec: all if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ && test '@@USE_INCLUDED_LIBINTL@@' = yes; then \ @ 1.7 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.6 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/Makefile.in.orig 2010-06-06 12:49:57.000000000 +0000 d5 1 a5 1 @@@@ -379,7 +379,7 @@@@ check: all d8 1 a8 1 # package, you have to use `configure --with-included-gettext'. @ 1.5 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/intl/Makefile.in.orig 2006-02-04 19:34:01.000000000 +0000 d5 1 a5 1 @@@@ -257,7 +257,7 @@@@ check: all @ 1.4 log @Move documentation to share/doc/gettext. Bump PKGREVISION to 2. @ text @d3 11 a13 11 --- doc/Makefile.in.orig 2002-08-06 15:57:45.000000000 +0200 +++ doc/Makefile.in @@@@ -152,7 +152,7 @@@@ DVIPS = @@DVIPS@@ -D600 # Documentation in Portable Document Format. TEXI2PDF = @@TEXI2PDF@@ -docdir = $(prefix)/doc/@@PACKAGE@@ +docdir = $(datadir)/doc/@@PACKAGE@@ dvidir = $(docdir) psdir = $(docdir) pdfdir = $(docdir) @ 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 @d1 1 a1 1 $NetBSD: patch-ak,v 1.2 2002/08/19 19:20:33 seb Exp $ d3 5 a7 24 Use locally-built msgfmt. And fix locale directory. --- po/Makefile.in.in.orig Wed Apr 29 03:53:09 1998 +++ po/Makefile.in.in @@@@ -20,7 +20,7 @@@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ datadir = $(prefix)/@@DATADIRNAME@@ localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale +gnulocaledir = $(prefix)/$(PKGLOCALEDIR)/locale gettextsrcdir = $(prefix)/share/gettext/po subdir = po @@@@ -30,9 +30,9 @@@@ MKINSTALLDIRS = $(top_srcdir)/@@MKINSTALL CC = @@CC@@ GENCAT = @@GENCAT@@ -GMSGFMT = PATH=../src:$$PATH @@GMSGFMT@@ -MSGFMT = @@MSGFMT@@ -XGETTEXT = PATH=../src:$$PATH @@XGETTEXT@@ +GMSGFMT = PATH=../src:$$PATH msgfmt +MSGFMT = PATH=../src:$$PATH msgfmt +XGETTEXT = PATH=../src:$$PATH xgettext MSGMERGE = PATH=../src:$$PATH msgmerge d9 5 a13 1 DEFS = @@DEFS@@ @ 1.2 log @Solaris fix... Now that gettext-lib's buildlink.mk makes it required on Solaris fix build and PLIST: - obey PKGLOCALEDIR - fix libtool's install mode invocation. @ text @d1 1 a1 1 $NetBSD$ @ 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 @d3 1 a3 1 use locally-built msgfmt. d5 12 a16 3 --- po/Makefile.in.in- Wed Nov 1 01:46:43 2000 +++ po/Makefile.in.in Wed Nov 1 01:47:00 2000 @@@@ -30,9 +30,9 @@@@ @ 1.1.8.1 log @Pullup versions 1.36 pkgsrc/devel/gettext/Makefile 1.5 pkgsrc/devel/gettext/distinfo 1.13 pkgsrc/devel/gettext-lib/Makefile 1.4 pkgsrc/devel/gettext-m4/Makefile 1.8 pkgsrc/devel/gettext/patches/patch-aa 1.3 pkgsrc/devel/gettext/patches/patch-ac 1.2 pkgsrc/devel/gettext/patches/patch-ak to the pkgsrc 1.6 branch. Requested by Stoned Elipot. > From: Stoned Elipot > Date: Mon, 19 Aug 2002 22:20:35 +0300 (EEST) > > Module Name: pkgsrc > Committed By: seb > Date: Mon Aug 19 19:20:35 UTC 2002 > > Modified Files: > pkgsrc/devel/gettext: Makefile distinfo > pkgsrc/devel/gettext-lib: Makefile > pkgsrc/devel/gettext-m4: Makefile > pkgsrc/devel/gettext/patches: patch-aa patch-ac patch-ak > > Log Message: > Solaris fix... Now that gettext-lib's buildlink.mk makes it required on Solaris > fix build and PLIST: > - obey PKGLOCALEDIR > - fix libtool's install mode invocation. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.2 2002/08/19 19:20:33 seb Exp $ d3 1 a3 1 Use locally-built msgfmt. And fix locale directory. d5 3 a7 12 --- po/Makefile.in.in.orig Wed Apr 29 03:53:09 1998 +++ po/Makefile.in.in @@@@ -20,7 +20,7 @@@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ datadir = $(prefix)/@@DATADIRNAME@@ localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale +gnulocaledir = $(prefix)/$(PKGLOCALEDIR)/locale gettextsrcdir = $(prefix)/share/gettext/po subdir = po @@@@ -30,9 +30,9 @@@@ MKINSTALLDIRS = $(top_srcdir)/@@MKINSTALL @