summaryrefslogtreecommitdiff
path: root/devel/gettext
AgeCommit message (Collapse)AuthorFilesLines
2014-01-11Changes 0.18.3.2:adam2-6/+6
Bug-fix release.
2013-08-22Changes 0.18.3.1:adam4-14/+8
* Bug fixes.
2013-07-21Remove unneeded patch after gettext-0.18.3 update.wiz1-43/+0
2013-07-21Update gettext* to 0.18.3:wiz3-13/+12
Version 0.18.3 - July 2013 * Runtime behaviour: On Mac OS X systems, the setlocale() function now properly invalidates loaded message catalogs when a locale has been set. * Programming languages support: - C++: The gnu::autosprintf class now provides an assignment operator. - Glade: xgettext now supports GtkBuider file format used by Glade 3. xgettext now also extracts contexts (msgctxt) from Glade 2 and GtkBuider files. - JavaScript: xgettext now partially supports JavaScript. Since the current JavaScript specification (ECMA-262) does not define the standard set of formatting methods nor translation functions, the implementation supports only a limited set of formatting methods and translation functions commonly used in Gjs and other popular JavaScript implemenations and libraries. - Lua: xgettext now supports Lua, using Ľubomír Remák's lua-gettext. - Python: xgettext and msgfmt's format string checking now recognize Python format string in braced syntax (PEP 3101). xgettext now also supports explicit string concatenation with '+' and handles platform dependent line terminators (LF/CR/CRLF) transparently. - Tcl: Bug fix in xgettext Unicode escape handling. - Vala: xgettext now supports Vala. * msgattrib now has --previous option to keep previous msgid when making messages fuzzy, similar to msgmerge --previous. * msgfmt now checks PO file headers more strictly with less false-positives. * 'gettextize' now checks macro directories specified with AC_CONFIGURE_MACRO_DIRS in configure.ac. * Portability: - msginit now does not require GNU sed. - The Makefile rule for generating en@quot and en@boldquot now uses @SED@ variable instead of hard-coded 'sed' command to allow users to supply GNU sed. * Future backward-incompatibilities: - In future Gettext versions, the files installed by 'gettextize' will require Automake 1.10 or later. This will improve the compatibility of user projects with newer Automake versions.
2013-03-11Changes 0.18.2.1:adam3-7/+9
Not mentioned in NEWS.
2013-01-31Changes 0.18.2:adam16-76/+63
* 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.
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2011-10-20Fix conflict with other gettext packagesadam2-20/+5
2011-08-05Fix buidling on Mac OS X 10.7adam2-3/+13
2011-04-12Changes 0.18.1:adam18-203/+164
* 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, <libintl.h> 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.
2010-10-27Set LICENSE.wiz1-1/+2
2009-06-14Remove @dirrm entries from PLISTsjoerg1-9/+1
2008-12-04Add --disable-csharp to configure flags, to avoid mono being found.wiz1-1/+2
2008-06-20Add DESTDIR support.joerg1-11/+13
2007-11-28Allow nb versions for the -tools dependency. Bump revision.joerg1-3/+4
2006-07-26Changes 0.14.6:adam6-50/+48
* Updated the meaning of 'gcc-internal-format' to match GCC 4.1.
2006-07-07LIBTOOL_OVERRIDE generally doesn't need to be specified anymore... justjlam1-2/+2
set OVERRIDE_DIRDEPTH to find any libtool scripts deeper in the WRKSRC tree unless they're named something other than "libtool". SHLIBTOOL_OVERRIDE generally doesn't need to be specified either -- just define it to the empty list and shlibtool-override will look for libtool scripts.
2006-04-13Overhaul the way packages can ask for "msgfmt". If a package needsjlam1-170/+0
msgfmt, then it should set the following in the package Makefile: USE_TOOLS+= msgfmt To deal with message files that use the "msgid_plural" statement, which isn't supported in NetBSD<=3.x and also in gettext<=0.10.35, we determine if the built-in "msgfmt" is sufficiently new enough to understand "msgid_plural". If it isn't, then we use the msgfmt.sh script to transform the msgid_plural statements to an equivalent construct that's understood by older msgfmt tools. The msgfmt.sh script is a straightforward translation of the original perl script msgfmt.pl script by Julio M. Merino Vidal into shell and awk, which are more lightweight dependencies than perl. We remove the USE_MSGFMT_PLURALS bits in gettext-lib/builtin.mk as they are made obsolete by the new code in mk/tools/msgfmt.mk. BUILD_USE_MSGFMT is still supported but will be removed in a separate commit.
2006-04-06Skip blank lines after msgid so that "incorrectly formatted" po files dojmmv1-2/+4
not break when using this script. This should avoid having to patch some po files to "fix" them.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-21correct patches, which didn't cleanly apply. Pointed out by joerg@ andjschauma3-16/+16
darcy@
2006-02-21add patches regarding PR pkg/30940 to allow IRIX MIPSPro compilers,jschauma3-1/+30
when passed certain CFLAGS, to not barf.
2006-02-20Never allow configure to detect libexpat. Fixes PR 28032.joerg1-1/+2
2006-02-14Disable HAVE_WCTYPE_H on NetBSD before 2.0, since it doesn't havejoerg2-1/+29
the needed wctype_t and therefore the multibyte support can't work. Tested by cato@
2006-02-12Use INSTALL_MAN and INSTALL_MAN_DIR as pointed out by salo@joerg1-4/+4
2006-02-12Follow-up fix for the last revision: PKGMANDIR is relative to PREFIX,joerg1-2/+2
so PREFIX it accordingly.
2006-02-11Remove localestatedir fragment, it gets handled properly automatically.joerg3-14/+5
Fix pkglint warning for SHLIBTOOL.
2006-02-11s/MANDIR/PKGMANDIR/joerg1-2/+2
2006-02-05Update gettext to 0.14.5. Many bugfixes and improvements,joerg17-320/+279
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@.
2006-01-06Needs broken gettext detection.joerg1-1/+2
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-08-20Fix the msgfmt.pl script to deal with messages with plurals whose stringsjmmv1-30/+88
are identical (e.g., msgid == msgid_plural) by ignoring the duplicates. In fact, this is a rewrite of the script, since I couldn't understand the old one (ew). Also change the way we use it to only pull it in the build if the real msgfmt does not support plurals (i.e., it's older than 0.10.36). Fixes PR pkg/30596 and PR pkg/30938 (both related to epiphany). It also fixes the build of evolution-data-server and probably others.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-24Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to bewiz1-3/+1
useful.
2005-02-23Add RMD160 digests.agc1-1/+2
2004-10-13Workaround build problem on Solaris 10.gavan5-1/+65
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.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-2/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-30This bends over backwards to remove the .a file, so how about not compilingtv1-1/+2
it at all to do it the right way.... Add SHLIBTOOL_OVERRIDE.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-04-20Use USE_BUILTIN.gettext=no instead. I'm not bothering with PKGREVISION thistv1-2/+3
time as it's obvious this doesn't change a thing for systems where compiling actually succeeded.
2004-04-19Technically, this should not have needed a PKGREVISION bump for thetv1-2/+2
USE_GNU_GETTEXT fix: afflicted systems couldn't compile gettext at all. But, to be pedantic and fix possible unforeseen problems on systems where the previous version *was* successfully compiling, bump PKGREVISION anyway.
2004-04-19Set USE_GNU_GETTEXT. Without that, this package doesn't pull in gettext-libtv1-1/+2
and its buildlink goop (required here!) on systems where the native libintl is typically "good enough" per bl3.
2004-04-01Add a script to workaround uses of msgid_plural, which is not yet supportedjmmv1-0/+110
by our native libintl. While it is not implemented, this allows us to build programs against the native libintl, loosing very few functionality (some translations of plural messages on few languages), and avoiding runtime conflicts between native libintl and the gnu one (coming from the gettext package). Packages including .po files with uses of msgid_plural should define the USE_MSGFMT_PLURALS variable to 'yes', so that the msgfmt wrapper is used. (Do not use it when not really needed, as it will pull in perl5 as a build dependancy).
2004-02-17bl3ifyjlam1-7/+6
2004-02-15Remove info files entries from PLIST.seb1-12/+1
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does thisgrant1-3/+1
automatically now.
2003-12-05If we're on AIX, don't remove the .a library: it's the shared library.erh5-39/+62
Combine patch-ai into patch-ah to make future updates easier.
2003-10-19Add TEST_TARGETheinz1-1/+3
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1