1
0
gettext-runtime/gettext-java.changes

761 lines
30 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Use %autosetup
- Add reproducible-jar.patch to use a constant jar mtime
for bit-reproducible builds
-------------------------------------------------------------------
Mon Feb 26 14:57:24 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Sat Feb 24 18:50:38 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.22.5:
* xgettext's processing of Vala files with printf method
invocations has been corrected (regression in 0.22)
-------------------------------------------------------------------
Tue Feb 13 09:03:34 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Update to version 0.22.4
* Bug fixes:
- AM_GNU_GETTEXT now recognizes a statically built libintl on
macOS and AIX.
- Build fixes on AIX
- Update to version 0.22.3
* Portability:
- The libintl library now works on macOS 14. (Older versions
of libintl crash on macOS 14, due to an incompatible change
in macOS.)
- Update to version 0.22.2
* No information available upstream
- Update to version 0.22.1
* Bug fixes:
- The libintl shared library now exports again some symbols
that were accidentally missing.
- xgettext's processing of large Perl files may have led to
errors.
- "xgettext --join-existing" could encounter errors.
* Portability:
- Building on Android is now supported.
- Update to version 0.22.0
* 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++:
+ xgettext now supports gettext-like functions that take wide
strings (of type 'const wchar_t *', 'const char16_t *', or
'const char32_t *') as arguments.
+ xgettext now recognizes numbers with digit separators, as
defined by ISO C 23, as tokens.
+ xgettext and msgfmt now recognize the format string
directive %b (for binary integer output, as defined by
ISO C 23) in format strings.
+ 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.
+ 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:
+ 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 byusing 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
<inttypes.h> 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.
- Rebase patches:
* gettext-dont-test-gnulib.patch
* 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch
* 0002-msgcat-Merge-headers-when-use-first.patch
- Drop patch which isn't required anymore since newer java
versions are already supported by upstream:
* gettext-0.21-jdk17.patch
-------------------------------------------------------------------
Thu May 4 13:32:58 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Add _multibuild to define additional spec files as additional
flavors.
Eliminates the need for source package links in OBS.
--------------------------------------------------------------------------
Fri Apr 8 15:05:10 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* gettext-0.21-jdk17.patch
+ Build with java source and target levels 1.8
+ Allows building with JDK17
+ Fixes build in Factory
-------------------------------------------------------------------
Mon Nov 29 20:32:32 UTC 2021 - Michael Gorse <mgorse@suse.com>
- Remove libcroco from BuildRequires: it is now bundled internally.
-------------------------------------------------------------------
Fri Jan 22 22:06:58 UTC 2021 - Dirk Müller <dmueller@suse.com>
- use https for urls
- apply all the patches from gettext-runtime
Accepting request 823172 from home:cvoegl:branches:Base:System -Updated to version 0.21 * 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. - Updated to version 0.21 - 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. - Improvements for translators: o 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. - Update to 0.21: * 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. * 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. - Update to 0.21: * 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. * 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. OBS-URL: https://build.opensuse.org/request/show/823172 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=169
2020-08-04 10:25:00 +02:00
-------------------------------------------------------------------
Tue Jul 28 10:20:58 UTC 2020 - Christian Vögl <christian.voegl@suse.com>
- Updated to version 0.21
- 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.
- Improvements for translators:
o 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.
Accepting request 712409 from home:cvoegl:branches:Base:System - Updated to version 0.20.1: + msgfmt now eliminates the POT-Creation-Date header field from .mo files. + 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. - Rebased gettext-po-mode.diff - Removed gettext-needlessly_init_vars.patch (now in upstream) - Updated to version 0.20.1 + msgfmt now eliminates the POT-Creation-Date header field from .mo files. + update-po target in Makefile.in.in now uses msgmerge --previous. + 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. + Java: * xgettext now supports UTF-8 encoded .properties files (a new feature of Java 9). * 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. - Rebased gettext-po-mode.diff - Removed gettext-needlessly_init_vars.patch (now in upstream) - Removed gettext-0.19.8.1-jdk9.patch (now in upstream) - Updatetd to 0.20.1 + msgfmt now eliminates the POT-Creation-Date header field from .mo files. + update-po target in Makefile.in.in now uses msgmerge --previous. + 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. + C, C++: * xgettext now supports strings in u8"..." syntax, as specified in C11 and C++11. * xgettext now supports 'p'/'P' exponent markers in number tokens, as specified in C99 and C++17. + C++: * xgettext now supports single-quotes in number tokens, as specified in C++14. + Shell: * The programs 'gettext', 'ngettext' now support a --context argument. * gettext.sh contains new function eval_pgettext and eval_npgettext for producing translations of messages with context. + Perl: * Native support for context functions (pgettext, dpgettext, dcpgettext, npgettext, dnpgettext, dcnpgettext). * 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. - Rebased gettext-dont-test-gnulib.patch - Removed gettext-needlessly_init_vars.patch (now in upstream) - Rebased gettext-po-mode.diff - Removed msgfmt-remove-pot-creation-date.patch (now in upstream) - Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream) - Removed parts of reproducible.patch (now in upstream) - Updatetd to 0.20.1 + msgfmt now eliminates the POT-Creation-Date header field from .mo files. + update-po target in Makefile.in.in now uses msgmerge --previous. + 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. + C, C++: * xgettext now supports strings in u8"..." syntax, as specified in C11 and C++11. * xgettext now supports 'p'/'P' exponent markers in number tokens, as specified in C99 and C++17. + C++: * xgettext now supports single-quotes in number tokens, as specified in C++14. + Shell: * The programs 'gettext', 'ngettext' now support a --context argument. * gettext.sh contains new function eval_pgettext and eval_npgettext for producing translations of messages with context. + Perl: * Native support for context functions (pgettext, dpgettext, dcpgettext, npgettext, dnpgettext, dcnpgettext). * 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. - Rebased gettext-dont-test-gnulib.patch - Removed gettext-needlessly_init_vars.patch (now in upstream) - Rebased gettext-po-mode.diff - Removed msgfmt-remove-pot-creation-date.patch (now in upstream) - Removed msgfmt-reset-msg-length-after-remove.patch (now in upstream) - Removed parts of reproducible.patch (now in upstream) OBS-URL: https://build.opensuse.org/request/show/712409 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=153
2019-07-08 14:13:35 +02:00
-------------------------------------------------------------------
Tue Jun 11 13:12:37 UTC 2019 - Christian Vögl <christian.voegl@suse.com>
- Updated to version 0.20.1
+ msgfmt now eliminates the POT-Creation-Date header field from .mo files.
+ update-po target in Makefile.in.in now uses msgmerge --previous.
+ 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.
+ Java:
* xgettext now supports UTF-8 encoded .properties files (a new feature
of Java 9).
* 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.
- Rebased gettext-po-mode.diff
- Removed gettext-needlessly_init_vars.patch (now in upstream)
- Removed gettext-0.19.8.1-jdk9.patch (now in upstream)
-------------------------------------------------------------------
Mon May 14 19:45:56 UTC 2018 - antoine.belvire@opensuse.org
- Remove prereq on info: No info page installed.
-------------------------------------------------------------------
Wed Oct 18 17:30:16 UTC 2017 - jayvdb@gmail.com
- Replace deprecated PreReq: with Requires(post): and Requires(preun):
- Disable debug packages on RHEL and derived distributions
-------------------------------------------------------------------
Tue Oct 3 10:12:03 UTC 2017 - fstrba@suse.com
- Added patch:
* gettext-0.19.8.1-jdk9.patch
+ specify java soure and target level 6 to be able to build
with jdk9
- Do not depend on gcc-java and do not build native binaries of the
gnu.gettext.GetURL and gnu.gettext.DumpResource tools, since
gcc-java is bound to disappear
- Build the gettext.jar using any java-devel provider and make the
gnu.gettext.GetURL and gnu.gettext.DumpResource tools scripts
running classes from this gettext.jar
- Clean the spec file a bit
-------------------------------------------------------------------
Sun Jun 19 15:42:15 UTC 2016 - astieger@suse.com
- GNU gettext 0.19.8.1:
* Fix unintentional soname bump
-------------------------------------------------------------------
Sat Jun 11 18:58:17 UTC 2016 - astieger@suse.com
- GNU gettext 0.19.8:
* msgfmt now produces little-endian .mo files by default.
* xml: xgettext and msgfmt now look for .its files in directories
supplied through the GETTEXTDATADIRS or XDG_DATA_DIRS
environment variable.
* JavaScript: xgettext and msgfmt now recognize numbered
arguments in format strings.
-------------------------------------------------------------------
Mon Apr 4 19:15:53 UTC 2016 - astieger@suse.com
- GNU gettext 0.19.7:
* can now load custom string extraction rules in XML
Internationalization Tag Set (ITS) standard
* the existing XML-based language scanners (Glade, GSettings, and
AppData) rewritten using ITS
* Add msgfmt --xml option to merge translations back to the
original XML document.
-------------------------------------------------------------------
Fri Sep 11 18:56:49 UTC 2015 - astieger@suse.com
- GNU gettext 0.19.6:
* Support AppData file format
-------------------------------------------------------------------
Thu Jul 16 10:56:05 UTC 2015 - astieger@suse.com
- GNU gettext 0.19.5.1:
* fix build on old platforms where stpcpy and stpncpy is missing
-------------------------------------------------------------------
Fri Jul 10 14:34:22 UTC 2015 - astieger@suse.com
- GNU gettext 0.19.5:
* drop gettext-check-allocated-size-for-static-segment.patch,
is upstream
-------------------------------------------------------------------
Tue Mar 10 07:10:56 UTC 2015 - mlin@suse.com
- Add gettext-check-allocated-size-for-static-segment.patch from upstream
* Check if the embedded segment size is valid, before adding it to
the string length. Please see
http://lists.gnu.org/archive/html/bug-gettext/2015-03/msg00005.html
-------------------------------------------------------------------
Tue Jan 27 20:24:49 UTC 2015 - andreas.stieger@gmx.de
- GNU gettext 0.19.4:
* The --keyword option of xgettext now accepts same argument
number for both singular and plural forms.
* Programming languages support:
- C#: xgettext now properly handles Unicode characters encoded
with surrogate pairs.
- C/C++: xgettext now recognizes ISO/IEC 9899:2011 string
literals prefixed by R, u8, u8R, u, uR, U, UR, L, or LR.
- Shell: xgettext now properly recognizes Bash ANSI-C quoting
($'...').
* Bug fixes:
- Fix integer overflow when reading certain MO files with
msgunfmt.
- Avoid invalid memory access in various cases. In particular,
when the same argument number is specified for singular/
plural arguments, and when checking Lisp and Scheme format
strings.
-------------------------------------------------------------------
Fri Oct 17 21:56:18 UTC 2014 - andreas.stieger@gmx.de
- GNU gettext 0.19.3:
* Fix xgettext mishandling of octal character escapes in C.
* Fix autopoint infinite recursion with certain configure.ac.
* The po/Makevars file has a new field MSGINIT_OPTIONS, that can
be used to adjust msginit's operation. This is particularly
useful for controlling line wrapping behavior together with
MSGMERGE_OPTIONS and XGETTEXT_OPTIONS.
-------------------------------------------------------------------
Tue Jul 15 11:49:59 CEST 2014 - pth@suse.de
- Update to 0.19.2:
* Fix xgettext crash in parsing empty string literals in C and Vala.
* Autoconf macro trace in autopoint now works again with Autoconf 2.68
or earlier. It was a regression in 0.19.
-------------------------------------------------------------------
Tue Jun 10 22:00:50 UTC 2014 - andreas.stieger@gmx.de
- GNU gettext 0.19.1:
* Desktop Entry: msgfmt now always reads the po/LINGUAS file
* Vala: Bug fix in xgettext handling of "//" in string literals
* po/Makevars.template now contains the newly added variables
* msgfmt now treats errors in the PO file header as non-fatal
In future Gettext versions, msgfmt will treat header errors as
fatal and terminate the command execution.
- switch to xz tarball
-------------------------------------------------------------------
Tue Jun 3 19:20:25 UTC 2014 - andreas.stieger@gmx.de
- GNU gettext 0.19:
- Programming languages support:
* Desktop Entry:
xgettext and msgfmt now support .desktop files, used by
desktop applications, as input and output.
* GSettings:
xgettext now supports GSettings schema file format used by
GNOME applications.
* JavaScript:
xgettext now recognizes E4X (ECMA-357) constructs.
* PHP:
Single and double quotes around heredoc markers are now
recognized.
* Python:
The acceptable format specifiers in the braced-syntax format
strings is now limited to the Standard Format Specifiers, to
reasonably avoid false-positives.
* Scheme:
The gettext shorthand form _"abc", used by GIMP script-fu, is
now recognized by xgettext.
* C and Vala:
xgettext now recognizes C99-style Unicode character escapes.
- The --add-location option of msgattrib, msgcat, msgcomm,
msgconv, msgen, msgfilter, msggrep, msgmerge, msguniq, and
xgettext commands now takes an optional argument 'never',
'full', or 'file', to control the format of "#: ..." comments.
- msgfmt now has --source option to keep generated .java file
when running in Java mode.
- msgattrib now has --empty option that sets msgstr to empty when
clearing fuzzy flag.
* msgexec and msgfilter pass the plural information to subprocess
through the environment variable MSG{EXEC,FILTER}_MSGID_PLURAL
and MSG{EXEC,FILTER}_PLURAL_FORM.
* New built-in filters 'quot' and 'boldquot' have been added to
msgfilter. These filters convert Latin quotation marks ('...',
"...") into Unicode quotation marks (for example, U+2018) if
possible, similar to the sed commands used in po/Rules-quot and
po/Rules-boldquot.
* The po/Makevars file has a couple of new options
PO_DEPENDS_ON_POT and DIST_DEPENDS_ON_UPDATE_PO, that can be
used to adjust the behavior of updating PO files on demand.
* xgettext now strips prefixed string before the comment tag.
This is useful to support C-style comment like this:
/*
* TRANSLATORS: first line
* second line
*/
* In this example, the extracted comment does not contain "* " at
the beginning of each line.
* libgettextpo library:
- Memory leak fixes in the PO file parser.
* Documentation:
- A complete example showing the use of GNU gettext in a
GNOME 3 application has been added
-------------------------------------------------------------------
Sun Jan 12 21:56:01 UTC 2014 - andreas.stieger@gmx.de
- GNU gettext 0.18.3.2:
* Add missing extern-inline.m4 into archive.
- verify source signature
-------------------------------------------------------------------
Mon Aug 12 10:45:36 UTC 2013 - christoph.miebach@web.de
- 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_CONFIG_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.
- Remove upstreamed patches:
gettext-configure.patch
-------------------------------------------------------------------
Sat Jun 15 11:52:06 UTC 2013 - schwab@linux-m68k.org
- Add glib2-devel libcroco-devel libxml2-devel to build requires to avoid
using the included copies.
- gettext-configure.patch: Fix syntax in libxml check to avoid spurious
failure
-------------------------------------------------------------------
Sat Jun 8 08:39:07 UTC 2013 - christoph.miebach@web.de
- Update to version 0.18.2.1: Version 0.18.2 - December 2012
+ 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.
- Remove obsolete patches:
+ getext-stdio.in.patch
+ gettext-codecleanup.patch
-------------------------------------------------------------------
Wed Mar 27 07:51:16 UTC 2013 - mmeister@suse.com
- Added url as source.
Please see http://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Mon Sep 24 17:21:00 CEST 2012 - pth@suse.de
- remove silent_rules from AM_INIT_AUTOMAKE to make autoreconf
succeed on older distributions.
- Rename po-mode.diff to gettext-po-mode.diff
2010-12-21 13:54:03 +01:00
-------------------------------------------------------------------
Sun Jul 22 18:41:35 UTC 2012 - aj@suse.de
- Fix build with missing gets declaration (glibc 2.16)
-------------------------------------------------------------------
2010-12-21 13:54:03 +01:00
Tue Dec 21 13:43:49 CET 2010 - pth@suse.de
- Update to 0.18.1. Changes since 0.17:
Version 0.18.1 - June 2010
* 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 3 MB large archive.
Version 0.18 - May 2010
* 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.
* PO mode changes:
- PO files with plural entries are now correctly handled.
- Editing a message with previous msgid (in comments) removes these
comments. Contributed by Noritada Kobayashi.
* The po/Makevars file has a new field MSGMERGE_OPTIONS, that can
be used to adjust msgmerge's operation.
* The use of the macro AM_GNU_GETTEXT without 'external' argument
and the --intl option of the gettextize program are deprecated
and will be removed in the next release. Instead of including
the intl sources in your package, we suggest making the libintl
library an (optional) prerequisite of your package.
* Updated the meaning of 'gcc-internal-format' to match GCC 4.3.
* Installation options:
The configure options --without-cvs and --with-git can be used to
specify whether 'autopoint' will use the 'cvs' program, or the
'git' program, or none at all. These options allow to trade
dependencies against installed package size: If --without-cvs is
specified and --with-git is not specified, 'autopoint' will not
rely on 'cvs' or 'git', but will instead rely on a locally
installed a 3 MB large archive.
* Portability: The msgfilter program now also works on native Woe32
- platforms. Compiled C# message catalogs now also work with
- 'mono' versions from 2009
or newer.
-------------------------------------------------------------------
Fri Mar 5 09:34:18 UTC 2010 - puzel@novell.com
- remove gettext-tools/gnulib-m4/openmp.m4: fix build with new
autoconf
-------------------------------------------------------------------
Mon Jul 27 12:52:06 CEST 2009 - rguenther@suse.de
- Remove rather than %exclude not packaged files.
-------------------------------------------------------------------
Tue Oct 14 13:14:11 CEST 2008 - kukuk@suse.de
- Never install files in %check section
- Disable autoconf/libtool tests
-------------------------------------------------------------------
Mon Oct 13 16:03:16 CEST 2008 - kukuk@suse.de
- Fix autoreconf call
-------------------------------------------------------------------
Sun May 18 10:35:50 CEST 2008 - pth@suse.de
- Fix segmentation fault in msgmerge (bnc#391372).
-------------------------------------------------------------------
Tue Dec 4 14:43:46 CET 2007 - pth@suse.de
- Add patch from upstreams to add the missing mode for the open call.
-------------------------------------------------------------------
Fri Nov 23 14:48:47 CET 2007 - pth@suse.de
- Remove the patch for disabling a test.
-------------------------------------------------------------------
Fri Nov 16 14:00:51 CET 2007 - pth@suse.de
- Don't run the testsuite.
-------------------------------------------------------------------
Thu Nov 15 12:53:24 CET 2007 - pth@suse.de
- Rename packages: gettext -> gettext-runtime and
gettext-devel -> gettext->tools
Packaging closely follows uptream recommendation with a few
exceptions.
- Initialize variable to shut up gcc.
- Disable msgmerge-compendium-5 for now.
- Reorder installation flow because libgettextlib is needed for the
gettext-tools stuf.
- Update to 0.17:
* License:
The gettext related programs and tools are now licensed under the GPL
version 3, instead of the GPL version 2.
* PO file format:
The Project-Id-Version field in the header entry may now already be filled
in the POT file. In this case, the translators don't need to fill it in.
xgettext has new options --package-name and --package-version that allow
to specify the package name and version from a Makefile.
* Colorized PO files:
The msgcat program has new options --color and --style that produce a
colorized PO file output, where keywords, strings, comments, or format
directives can be highlighted. See the documentation section
"Highlighting parts of PO files" for more info.
* gettextize now has a --po-dir option that allows several PO directories to
be updated all together.
* Programming languages support:
- Contexts (msgctxt) are now also supported for Java and C#.
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
- C++ with KDE:
xgettext has a new option --kde that triggers the recognition and marking
of KDE 4 format strings.
* Autoconf macros:
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
po/Makevars.
* libgettextpo library:
- New functions are available for querying the list of supported format
types.
- The functions po_message_comments and po_message_extracted_comments
return a multiline string where each line no longer starts with a
redundant space. The leading space in every comment line is now stripped
while reading the PO file.
- Conversely, when you pass a multiline string to the function
po_message_set_comments or po_message_set_extracted_comments, you normally
don't pass a space at the beginning of each line, because such spaces are
no longer trimmed during output.
* Documentation:
- The "Users" chapter has been completely rewritten.
- New section "Highlighting parts of PO files".
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
GUI toolkit has been added.
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
them).
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
configure.ac
-------------------------------------------------------------------
Wed Oct 31 16:58:36 CET 2007 - mrueckert@suse.de
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
as source 1
-------------------------------------------------------------------
Mon Sep 3 13:51:10 CEST 2007 - pth@suse.de
- Incorporate upstream patch that correctly fixes the expat
dynloading code (http://savannah.gnu.org/bugs/?19585).
-------------------------------------------------------------------
Fri Aug 10 19:40:37 CEST 2007 - bk@suse.de
- Update to gettext 0.16.1, required by GnuPG 2.0.5
-------------------------------------------------------------------
Thu Aug 9 18:04:26 CEST 2007 - bk@suse.de
- re-enable make check to identify possible toolchain bugs
- move java documentation from gettext to this package
- hardlink duplicate example files in documentation
-------------------------------------------------------------------
Fri Apr 20 14:43:28 CEST 2007 - pth@suse.de
- Make inclusion of expat.h independent of dynamic loading so
that XML_MAJOR_VERSION is actually defined (#264110).
-------------------------------------------------------------------
Fri Mar 30 15:18:31 CEST 2007 - pth@suse.de
- Fix use of uninitialized variables.
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
- Sync .spec files
-------------------------------------------------------------------
Tue Mar 20 17:54:57 CET 2007 - rguenther@suse.de
- Remove unused expat BuildRequires.
-------------------------------------------------------------------
Wed Jan 31 13:05:29 CET 2007 - pth@suse.de
- Reference 0.16 .spec file
- fix spec file
-------------------------------------------------------------------
Tue Jan 16 17:09:50 CET 2007 - pth@suse.de
- Update to gettext 0.16
-------------------------------------------------------------------
Mon Sep 18 13:45:31 CEST 2006 - rguenther@suse.de
- New package to host gettext java tools GetURL and DumpResource.