forked from pool/gettext-runtime
Accepting request 1146358 from home:alarrosa:branches:Base:System
- 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 OBS-URL: https://build.opensuse.org/request/show/1146358 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=185
This commit is contained in:
parent
03b20508e0
commit
11c30ff0b2
@ -29,20 +29,19 @@ Index: gettext-0.21/gettext-tools/src/Makefile.am
|
||||
write-catalog.h write-po.h write-properties.h write-stringtable.h \
|
||||
dir-list.h file-list.h po-gram-gen.h po-gram-gen2.h cldr-plural.h \
|
||||
cldr-plural-exp.h locating-rule.h its.h search-path.h \
|
||||
- msgl-charset.h msgl-equal.h msgl-iconv.h msgl-ascii.h msgl-cat.h msgl-header.h \
|
||||
+ msgl-age.h msgl-charset.h msgl-equal.h msgl-iconv.h msgl-ascii.h msgl-cat.h msgl-header.h \
|
||||
msgl-english.h msgl-check.h msgl-fsearch.h msgfmt.h msgunfmt.h \
|
||||
- msgl-charset.h msgl-equal.h msgl-iconv.h msgl-ascii.h msgl-ofn.h msgl-cat.h \
|
||||
+ msgl-age.h msgl-charset.h msgl-equal.h msgl-iconv.h msgl-ascii.h msgl-ofn.h msgl-cat.h \
|
||||
msgl-header.h msgl-english.h msgl-check.h msgl-fsearch.h msgfmt.h msgunfmt.h \
|
||||
plural-count.h plural-eval.h plural-distrib.h \
|
||||
read-mo.h write-mo.h \
|
||||
@@ -174,7 +174,7 @@ FORMAT_SOURCE += \
|
||||
libgettextsrc_la_SOURCES = \
|
||||
$(COMMON_SOURCE) read-catalog.c \
|
||||
write-catalog.c write-properties.c write-stringtable.c write-po.c \
|
||||
-msgl-ascii.c msgl-iconv.c msgl-equal.c msgl-cat.c msgl-header.c msgl-english.c \
|
||||
+msgl-age.c msgl-ascii.c msgl-iconv.c msgl-equal.c msgl-cat.c msgl-header.c msgl-english.c \
|
||||
msgl-check.c file-list.c msgl-charset.c po-time.c plural-exp.c plural-eval.c \
|
||||
plural-table.c quote.h sentence.h sentence.c \
|
||||
$(FORMAT_SOURCE) \
|
||||
@@ -174,6 +174,7 @@ FORMAT_SOURCE += \
|
||||
$(COMMON_SOURCE) \
|
||||
read-catalog.c \
|
||||
write-catalog.c write-properties.c write-stringtable.c write-po.c \
|
||||
+ msgl-age.c \
|
||||
msgl-ascii.c \
|
||||
msgl-ofn.c \
|
||||
msgl-iconv.c \
|
||||
Index: gettext-0.21/gettext-tools/src/message.c
|
||||
===================================================================
|
||||
--- gettext-0.21.orig/gettext-tools/src/message.c
|
||||
@ -283,8 +282,8 @@ Index: gettext-0.21/gettext-tools/src/msgl-cat.c
|
||||
#include "po-charset.h"
|
||||
+#include "msgl-age.h"
|
||||
#include "msgl-ascii.h"
|
||||
#include "msgl-ofn.h"
|
||||
#include "msgl-equal.h"
|
||||
#include "msgl-iconv.h"
|
||||
@@ -57,6 +58,11 @@ int less_than;
|
||||
If false, merge all available translations into one and fuzzy it. */
|
||||
bool use_first;
|
||||
|
@ -41,8 +41,8 @@ Index: gettext-0.20.1/gettext-tools/src/msgl-cat.c
|
||||
--- gettext-0.20.1.orig/gettext-tools/src/msgl-cat.c
|
||||
+++ gettext-0.20.1/gettext-tools/src/msgl-cat.c
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "msgl-age.h"
|
||||
#include "msgl-ascii.h"
|
||||
#include "msgl-ofn.h"
|
||||
#include "msgl-equal.h"
|
||||
+#include "msgl-header.h"
|
||||
#include "msgl-iconv.h"
|
||||
|
@ -1,144 +0,0 @@
|
||||
Index: gettext-0.21.1/gettext-runtime/configure.ac
|
||||
===================================================================
|
||||
--- gettext-0.21.1.orig/gettext-runtime/configure.ac
|
||||
+++ gettext-0.21.1/gettext-runtime/configure.ac
|
||||
@@ -34,7 +34,7 @@ AC_PROG_INSTALL
|
||||
|
||||
gt_JAVA_CHOICE
|
||||
AS_IF([test "$JAVA_CHOICE" != no], [
|
||||
- gt_JAVACOMP([1.5], [1.6])
|
||||
+ gt_JAVACOMP([1.8], [1.8])
|
||||
AC_CHECK_PROG([JAR], [jar], [jar])
|
||||
if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
|
||||
BUILDJAVA=yes
|
||||
Index: gettext-0.21.1/gettext-tools/configure.ac
|
||||
===================================================================
|
||||
--- gettext-0.21.1.orig/gettext-tools/configure.ac
|
||||
+++ gettext-0.21.1/gettext-tools/configure.ac
|
||||
@@ -35,7 +35,7 @@ AC_PROG_INSTALL
|
||||
gt_JAVA_CHOICE
|
||||
AS_IF([test "$JAVA_CHOICE" != no], [
|
||||
gt_JAVAEXEC
|
||||
- gt_JAVACOMP([1.5])
|
||||
+ gt_JAVACOMP([1.8], [1.8])
|
||||
AC_CHECK_PROG([JAR], [jar], [jar])
|
||||
if test -n "$HAVE_JAVACOMP" && test -n "$JAR" && test "$JAVA_CHOICE" != no; then
|
||||
BUILDJAVA=yes
|
||||
Index: gettext-0.21.1/gettext-tools/gnulib-lib/javacomp.c
|
||||
===================================================================
|
||||
--- gettext-0.21.1.orig/gettext-tools/gnulib-lib/javacomp.c
|
||||
+++ gettext-0.21.1/gettext-tools/gnulib-lib/javacomp.c
|
||||
@@ -116,9 +116,8 @@ default_target_version (void)
|
||||
&& (java_version_cache[1] >= '2'
|
||||
&& java_version_cache[1] <= '7')
|
||||
&& java_version_cache[2] == '\0')
|
||||
- /* Assume that these (not yet released) Java versions will behave
|
||||
- like the preceding ones. */
|
||||
- java_version_cache = "11";
|
||||
+ /* It's one of the valid target version values. */
|
||||
+ ;
|
||||
else
|
||||
java_version_cache = "1.1";
|
||||
}
|
||||
@@ -128,7 +127,7 @@ default_target_version (void)
|
||||
/* ======================= Source version dependent ======================= */
|
||||
|
||||
/* Convert a source version to an index. */
|
||||
-#define SOURCE_VERSION_BOUND 8 /* exclusive upper bound */
|
||||
+#define SOURCE_VERSION_BOUND 14 /* exclusive upper bound */
|
||||
static unsigned int
|
||||
source_version_index (const char *source_version)
|
||||
{
|
||||
@@ -144,7 +143,7 @@ source_version_index (const char *source
|
||||
else if (source_version[0] == '9' && source_version[1] == '\0')
|
||||
return 5;
|
||||
else if (source_version[0] == '1'
|
||||
- && (source_version[1] >= '0' && source_version[1] <= '1')
|
||||
+ && (source_version[1] >= '0' && source_version[1] <= '7')
|
||||
&& source_version[2] == '\0')
|
||||
return source_version[1] - '0' + 6;
|
||||
error (EXIT_FAILURE, 0, _("invalid source_version argument to compile_java_class"));
|
||||
@@ -171,6 +170,10 @@ get_goodcode_snippet (const char *source
|
||||
return "class conftest { public void m() { var i = new Integer(0); } }\n";
|
||||
if (strcmp (source_version, "11") == 0)
|
||||
return "class conftest { Readable r = (var b) -> 0; }\n";
|
||||
+ if (source_version[0] == '1'
|
||||
+ && (source_version[1] >= '2' && source_version[1] <= '7')
|
||||
+ && source_version[2] == '\0')
|
||||
+ return "class conftest { Readable r = (var b) -> 0; }\n";
|
||||
error (EXIT_FAILURE, 0, _("invalid source_version argument to compile_java_class"));
|
||||
return NULL;
|
||||
}
|
||||
@@ -197,6 +200,10 @@ get_failcode_snippet (const char *source
|
||||
return "class conftestfail { Readable r = (var b) -> 0; }\n";
|
||||
if (strcmp (source_version, "11") == 0)
|
||||
return NULL;
|
||||
+ if (source_version[0] == '1'
|
||||
+ && (source_version[1] >= '2' && source_version[1] <= '7')
|
||||
+ && source_version[2] == '\0')
|
||||
+ return NULL;
|
||||
error (EXIT_FAILURE, 0, _("invalid source_version argument to compile_java_class"));
|
||||
return NULL;
|
||||
}
|
||||
@@ -204,7 +211,7 @@ get_failcode_snippet (const char *source
|
||||
/* ======================= Target version dependent ======================= */
|
||||
|
||||
/* Convert a target version to an index. */
|
||||
-#define TARGET_VERSION_BOUND 11 /* exclusive upper bound */
|
||||
+#define TARGET_VERSION_BOUND 17 /* exclusive upper bound */
|
||||
static unsigned int
|
||||
target_version_index (const char *target_version)
|
||||
{
|
||||
@@ -215,7 +222,7 @@ target_version_index (const char *target
|
||||
else if (target_version[0] == '9' && target_version[1] == '\0')
|
||||
return 8;
|
||||
else if (target_version[0] == '1'
|
||||
- && (target_version[1] >= '0' && target_version[1] <= '1')
|
||||
+ && (target_version[1] >= '0' && target_version[1] <= '7')
|
||||
&& target_version[2] == '\0')
|
||||
return target_version[1] - '0' + 9;
|
||||
error (EXIT_FAILURE, 0, _("invalid target_version argument to compile_java_class"));
|
||||
@@ -245,10 +252,10 @@ corresponding_classfile_version (const c
|
||||
return 52;
|
||||
if (strcmp (target_version, "9") == 0)
|
||||
return 53;
|
||||
- if (strcmp (target_version, "10") == 0)
|
||||
- return 54;
|
||||
- if (strcmp (target_version, "11") == 0)
|
||||
- return 55;
|
||||
+ if (target_version[0] == '1'
|
||||
+ && (target_version[1] >= '0' && target_version[1] <= '7')
|
||||
+ && target_version[2] == '\0')
|
||||
+ return target_version[1] + 54;
|
||||
error (EXIT_FAILURE, 0, _("invalid target_version argument to compile_java_class"));
|
||||
return 0;
|
||||
}
|
||||
@@ -2439,7 +2446,7 @@ compile_java_class (const char * const *
|
||||
}
|
||||
}
|
||||
|
||||
- error (0, 0, _("Java compiler not found, try installing gcj or set $JAVAC"));
|
||||
+ /* error (0, 0, _("Java compiler not found, try installing gcj or set $JAVAC")); */
|
||||
err = true;
|
||||
|
||||
done2:
|
||||
Index: gettext-0.21.1/gettext-tools/src/write-java.c
|
||||
===================================================================
|
||||
--- gettext-0.21.1.orig/gettext-tools/src/write-java.c
|
||||
+++ gettext-0.21.1/gettext-tools/src/write-java.c
|
||||
@@ -1209,8 +1209,14 @@ msgdomain_write_java (message_list_ty *m
|
||||
Java compilers create the class files in the source file's directory -
|
||||
which is in a temporary directory in our case. */
|
||||
java_sources[0] = java_file_name;
|
||||
- if (compile_java_class (java_sources, 1, NULL, 0, "1.5", "1.6", directory,
|
||||
+ if (1
|
||||
+ && (compile_java_class (java_sources, 1, NULL, 0, "17", "17", directory,
|
||||
+ true, false, true, verbose > 0)) /* assume JDK 17 */
|
||||
+ && (compile_java_class (java_sources, 1, NULL, 0, "11", "11", directory,
|
||||
+ true, false, true, verbose > 0)) /* assume JDK 11 */
|
||||
+ && (compile_java_class (java_sources, 1, NULL, 0, "1.5", "1.6", directory,
|
||||
true, false, true, verbose > 0))
|
||||
+ )
|
||||
{
|
||||
if (!verbose)
|
||||
error (0, 0,
|
BIN
gettext-0.21.1.tar.xz
(Stored with Git LFS)
BIN
gettext-0.21.1.tar.xz
(Stored with Git LFS)
Binary file not shown.
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEkAG4WvnhuD3xvalC9b6LJnxqQG0FAmNDU6UACgkQ9b6LJnxq
|
||||
QG0TBg//SO/rw2U2fSAFX43+TMLUm5ZkvClz1lqE+nbRyb86ShLgyDJrDzZ+BeYo
|
||||
FEWTelhLs82ruiZ0ed8xy1gvErW614CxOgMwHPb3ZTkI3Q6mJqFzujYcKnCRsRv+
|
||||
hX+iAu/A4P+UMvreWvfDKoF0qe9ORARg8tE9dgCCN63+QLu+3HrTuxvOaIChghbx
|
||||
BaNn27MmgkutvXYspnx6u5koZXQpnt17YNJe1wbNAVym1O6ByfWPoP7+OYds8wAF
|
||||
jOoAALHj/zrJYL/Sg3SjKdfvVHNesyMFNg/HSA0w4mZbnuLjBcl0lO6qU9RBubgx
|
||||
aqqS/+zwvI3om/EdqKZxGvRTfhz/MUQ5rij3gjopz27MLW6Z5lsbGDq6PQYIFxBA
|
||||
0KXE0LHWCQRZu/8Z+zAiiiitEYhhYDX4A3ycbhCF+ZJ6TfJ5t8qYYNvzGGp4k2Gv
|
||||
h8VVFGnZJqDLwa0pbkFi2aGAI3HzVaSAJOhUJjdQ9HAujgSppLmZxODbHcq3KXnq
|
||||
iR88aqzmOg5dH5m+kENV+9KfysWptmdaIpcdmJTPXtRcdeL7QtfH+Bpq+ePgPThM
|
||||
JT2Yz+uWiTQqDBTIpJHhSKYTdim34ynKJbDnYphTncdvXm/juuK762dpy5jhcoiJ
|
||||
Ah8LfiikxiKDjJVivSs7zx1lQPnvJvC9UtlZZrMqx+GYD0y8w20=
|
||||
=U/vR
|
||||
-----END PGP SIGNATURE-----
|
3
gettext-0.22.4.tar.xz
Normal file
3
gettext-0.22.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:29217f1816ee2e777fa9a01f9956a14139c0c23cc1b20368f06b2888e8a34116
|
||||
size 10255384
|
16
gettext-0.22.4.tar.xz.sig
Normal file
16
gettext-0.22.4.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEkAG4WvnhuD3xvalC9b6LJnxqQG0FAmVadmsACgkQ9b6LJnxq
|
||||
QG3Nuw/+Lk6TRsxcQXL/BeUYhj0e7bhhnSA/PyFkbRlHW2AKEgPqc3o8zZ2fErm/
|
||||
uWBbF+eG8V/9DfJ6yFRngOzBWedl/FliI28FxvlVd0GH+bgGrydlIEadhowdfEAm
|
||||
8Y0MM3Ng6QVfvowLr1MuEGGErGafdAWdgLwnkCQAUzNunOVXvKTzyF2ow6AqyWLK
|
||||
bDRvYRQftN291dcR27GHInED7M64ohVHJNee+K5dOJr77U7pchlpThE6RwtSvUFo
|
||||
U8RA+Juc4WtLd0mfDnGjbOwK//X+NoUozJx5KzDlEnR4zNH9ekL5xMvf2EFhAP5W
|
||||
QCNhwUzYlul+v3PpHxBJ4HX9HQD+QdoSHZI0U8S/OMFDUGwANejDH/ZXkYkC0NtW
|
||||
6w7KmvWppzRPBpOtt9Ii3BqeGfSvNNkPhPpCdjI0O9x7L/y9Cj2/r/7nfJYGVNOi
|
||||
2ywUelGxgCA+9kodKrIkXEmJv6gMC+koI7in526qvK88fUxivmbs+YGrRu2+Adce
|
||||
bcMvMSIRNyDtrr66/ZB8cmMqeDiWMHIuECnWEwBIOIbhyWx2D3Wx7eRM1OHdX/Hr
|
||||
QUthxzJ45fqA2hH97JG9ptabFQ/xo13+bTmhvC7UVDrnHhl/mYjMh1graYHotTyJ
|
||||
AoT4YQl1bQ9ZtXXdlOi9bnCQGRYd6C8Sv4azT06OsB/YZDnMo44=
|
||||
=xuSz
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gettext-csharp
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,7 +20,7 @@
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
Name: gettext-csharp
|
||||
Version: 0.21.1
|
||||
Version: 0.22.4
|
||||
Release: 0
|
||||
Summary: Native Language Support (NLS) for C#
|
||||
License: LGPL-2.1-or-later
|
||||
@ -40,7 +40,6 @@ Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
# PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de
|
||||
Patch6: gettext-dont-test-gnulib.patch
|
||||
Patch7: gettext-0.21-jdk17.patch
|
||||
# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com
|
||||
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
||||
# PATCH-FIX-SUSE Bug boo#1106843
|
||||
@ -48,6 +47,7 @@ Patch13: reproducible.patch
|
||||
# PATCH-FEATURE bsc#1165138
|
||||
Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch
|
||||
Patch15: 0002-msgcat-Merge-headers-when-use-first.patch
|
||||
BuildRequires: automake >= 1.14
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glib2-devel
|
||||
@ -88,7 +88,6 @@ reliably than 'resgen'.
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch11 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
|
@ -7,8 +7,8 @@ From: Stephan Kulow <coolo@suse.de>
|
||||
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
|
||||
ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4
|
||||
|
||||
-SUBDIRS = intl gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
|
||||
+SUBDIRS = intl gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests examples doc
|
||||
-SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
|
||||
+SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests examples doc
|
||||
|
||||
EXTRA_DIST = misc/DISCLAIM
|
||||
MOSTLYCLEANFILES = core *.stackdump
|
||||
@ -18,8 +18,8 @@ From: Stephan Kulow <coolo@suse.de>
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
|
||||
ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4
|
||||
-SUBDIRS = intl gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
|
||||
+SUBDIRS = intl gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests examples doc
|
||||
-SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
|
||||
+SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests examples doc
|
||||
|
||||
# Allow users to use "gnulib-tool --update".
|
||||
|
||||
|
@ -1,3 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gettext-java
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: gettext-java
|
||||
Version: 0.21.1
|
||||
Version: 0.22.4
|
||||
Release: 0
|
||||
Summary: Java Support for Native Language Support (NLS)
|
||||
License: LGPL-2.1-or-later
|
||||
@ -37,7 +37,6 @@ Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
# PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de
|
||||
Patch6: gettext-dont-test-gnulib.patch
|
||||
Patch7: gettext-0.21-jdk17.patch
|
||||
# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com
|
||||
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
||||
# PATCH-FIX-SUSE Bug boo#1106843
|
||||
@ -45,6 +44,7 @@ Patch13: reproducible.patch
|
||||
# PATCH-FEATURE bsc#1165138
|
||||
Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch
|
||||
Patch15: 0002-msgcat-Merge-headers-when-use-first.patch
|
||||
BuildRequires: automake >= 1.14
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glib2-devel
|
||||
@ -73,7 +73,6 @@ java+swing.
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch11 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
|
@ -1,3 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gettext-runtime-mini
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,14 +20,15 @@
|
||||
%bcond_without mini
|
||||
|
||||
Name: gettext-runtime-mini
|
||||
Version: 0.21.1
|
||||
Version: 0.22.4
|
||||
Release: 0
|
||||
BuildRequires: automake >= 1.14
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
|
||||
#BuildRequires: fdupes
|
||||
%if %{without mini}
|
||||
BuildRequires: automake
|
||||
BuildRequires: automake >= 1.14
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: perl-libintl-perl
|
||||
@ -67,7 +68,6 @@ Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
# PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de
|
||||
Patch6: gettext-dont-test-gnulib.patch
|
||||
Patch7: gettext-0.21-jdk17.patch
|
||||
# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com
|
||||
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
||||
# PATCH-FIX-SUSE Bug boo#1106843
|
||||
@ -160,7 +160,6 @@ This package provides headers and static libraries for libtextstyle
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch11 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
|
@ -1,3 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gettext-runtime
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,14 +20,14 @@
|
||||
%bcond_with mini
|
||||
|
||||
Name: gettext-runtime
|
||||
Version: 0.21.1
|
||||
Version: 0.22.4
|
||||
Release: 0
|
||||
BuildRequires: automake >= 1.14
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
|
||||
#BuildRequires: fdupes
|
||||
%if %{without mini}
|
||||
BuildRequires: automake
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: perl-libintl-perl
|
||||
@ -67,7 +67,6 @@ Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
# PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de
|
||||
Patch6: gettext-dont-test-gnulib.patch
|
||||
Patch7: gettext-0.21-jdk17.patch
|
||||
# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com
|
||||
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
||||
# PATCH-FIX-SUSE Bug boo#1106843
|
||||
@ -160,7 +159,6 @@ This package provides headers and static libraries for libtextstyle
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch11 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user