Update to 0.19.3-1
This commit is contained in:
parent
32c7ad1986
commit
d5e533acc8
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ gettext-0.18.1.1.tar.gz
|
|||||||
/gettext-0.19.tar.gz
|
/gettext-0.19.tar.gz
|
||||||
/gettext-0.19.1.tar.xz
|
/gettext-0.19.1.tar.xz
|
||||||
/gettext-0.19.2.tar.xz
|
/gettext-0.19.2.tar.xz
|
||||||
|
/gettext-0.19.3.tar.xz
|
||||||
|
@ -1,82 +0,0 @@
|
|||||||
commit d75090f27cf150267bd59a9e1be42ec51bfb7b0e
|
|
||||||
Author: Eric Blake <eblake@redhat.com>
|
|
||||||
Date: Fri Oct 10 07:31:46 2014 +0900
|
|
||||||
|
|
||||||
autopoint: Fix infinite recursion when tracing configure.ac
|
|
||||||
|
|
||||||
Reported by Andreas Henriksson at:
|
|
||||||
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764580>
|
|
||||||
* autopoint.in (func_trace_autoconf): Temporarily redefine
|
|
||||||
built-in macros, instead of undefining.
|
|
||||||
* gettextize.in: Likewise.
|
|
||||||
|
|
||||||
Index: gettext-0.19.2/gettext-tools/misc/autopoint.in
|
|
||||||
===================================================================
|
|
||||||
--- gettext-0.19.2.orig/gettext-tools/misc/autopoint.in
|
|
||||||
+++ gettext-0.19.2/gettext-tools/misc/autopoint.in
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
#! /bin/sh
|
|
||||||
#
|
|
||||||
-# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
|
||||||
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
@@ -143,14 +143,14 @@ fi
|
|
||||||
func_trace_autoconf ()
|
|
||||||
{
|
|
||||||
echo '\
|
|
||||||
-dnl disable macros which may abort autom4te
|
|
||||||
-m4_undefine([m4_assert])
|
|
||||||
-m4_undefine([m4_fatal])
|
|
||||||
-m4_undefine([m4_warn])
|
|
||||||
-m4_undefine([m4_errprintn])
|
|
||||||
-m4_undefine([m4_exit])
|
|
||||||
-m4_undefine([m4_include])
|
|
||||||
-m4_undefine([m4_esyscmd])
|
|
||||||
+dnl replace macros which may abort autom4te with a no-op variant
|
|
||||||
+m4_pushdef([m4_assert])
|
|
||||||
+m4_pushdef([m4_fatal])
|
|
||||||
+m4_pushdef([m4_warn])
|
|
||||||
+m4_pushdef([m4_errprintn])
|
|
||||||
+m4_pushdef([m4_exit])
|
|
||||||
+m4_pushdef([m4_include])
|
|
||||||
+m4_pushdef([m4_esyscmd])
|
|
||||||
' \
|
|
||||||
| "$AUTOM4TE" --no-cache --language=Autoconf-without-aclocal-m4 \
|
|
||||||
--trace="$1":\$% - "$2" 2>/dev/null
|
|
||||||
Index: gettext-0.19.2/gettext-tools/misc/gettextize.in
|
|
||||||
===================================================================
|
|
||||||
--- gettext-0.19.2.orig/gettext-tools/misc/gettextize.in
|
|
||||||
+++ gettext-0.19.2/gettext-tools/misc/gettextize.in
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
#! /bin/sh
|
|
||||||
#
|
|
||||||
-# Copyright (C) 1995-1998, 2000-2013 Free Software Foundation, Inc.
|
|
||||||
+# Copyright (C) 1995-1998, 2000-2014 Free Software Foundation, Inc.
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
@@ -143,14 +143,14 @@ fi
|
|
||||||
func_trace_autoconf ()
|
|
||||||
{
|
|
||||||
echo '\
|
|
||||||
-dnl disable macros which may abort autom4te
|
|
||||||
-m4_undefine([m4_assert])
|
|
||||||
-m4_undefine([m4_fatal])
|
|
||||||
-m4_undefine([m4_warn])
|
|
||||||
-m4_undefine([m4_errprintn])
|
|
||||||
-m4_undefine([m4_exit])
|
|
||||||
-m4_undefine([m4_include])
|
|
||||||
-m4_undefine([m4_esyscmd])
|
|
||||||
+dnl replace macros which may abort autom4te with a no-op variant
|
|
||||||
+m4_pushdef([m4_assert])
|
|
||||||
+m4_pushdef([m4_fatal])
|
|
||||||
+m4_pushdef([m4_warn])
|
|
||||||
+m4_pushdef([m4_errprintn])
|
|
||||||
+m4_pushdef([m4_exit])
|
|
||||||
+m4_pushdef([m4_include])
|
|
||||||
+m4_pushdef([m4_esyscmd])
|
|
||||||
' \
|
|
||||||
| "$AUTOM4TE" --no-cache --language=Autoconf-without-aclocal-m4 \
|
|
||||||
--trace="$1":\$% - "$2" 2>/dev/null
|
|
@ -1,14 +0,0 @@
|
|||||||
diff --git a/gettext-tools/src/x-c.c b/gettext-tools/src/x-c.c
|
|
||||||
index 479b8e8..a5978c9 100644
|
|
||||||
--- a/gettext-tools/src/x-c.c
|
|
||||||
+++ b/gettext-tools/src/x-c.c
|
|
||||||
@@ -996,7 +996,8 @@ literalstring_parse (const char *string, lex_pos_ty *pos,
|
|
||||||
for (n = 0, j = 0; j < 3; ++j)
|
|
||||||
{
|
|
||||||
n = n * 8 + c - '0';
|
|
||||||
- switch (*++p)
|
|
||||||
+ c = *++p;
|
|
||||||
+ switch (c)
|
|
||||||
{
|
|
||||||
default:
|
|
||||||
break;
|
|
@ -1,167 +0,0 @@
|
|||||||
From a843584fc210219a62472305d924de44ebb0ab02 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Daiki Ueno <ueno@gnu.org>
|
|
||||||
Date: Wed, 15 Oct 2014 12:37:45 +0900
|
|
||||||
Subject: [PATCH] tests: Support newer ncurses with italic caps in xterm
|
|
||||||
terminfo
|
|
||||||
|
|
||||||
* tests/test-term-ostream-xterm-basic-italic.out: New file.
|
|
||||||
* tests/test-term-ostream-xterm: Use it as possible test result.
|
|
||||||
* Makefile.am (EXTRA_DIST): Add new files.
|
|
||||||
Needed for ncurses >= 5.9-20140906 that defines sitm/ritm in the
|
|
||||||
xterm-basic terminfo definition.
|
|
||||||
---
|
|
||||||
gnulib-local/ChangeLog | 8 ++
|
|
||||||
gnulib-local/Makefile.am | 1 +
|
|
||||||
gnulib-local/tests/test-term-ostream-xterm | 1 +
|
|
||||||
.../tests/test-term-ostream-xterm-basic-italic.out | 131 +++++++++++++++++++++
|
|
||||||
4 files changed, 141 insertions(+)
|
|
||||||
create mode 100644 gnulib-local/tests/test-term-ostream-xterm-basic-italic.out
|
|
||||||
|
|
||||||
Index: gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm-basic-italic.out
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
|
||||||
+++ gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm-basic-italic.out
|
|
||||||
@@ -0,0 +1,131 @@
|
|
||||||
+Colors (foreground/background):
|
|
||||||
+ |black |blue |green |cyan |red |magenta|yellow |white |default
|
|
||||||
+black |[30m[40m Words [39;49m|[30m[44m Words [39;49m|[30m[42m Words [39;49m|[30m[46m Words [39;49m|[30m[41m Words [39;49m|[30m[45m Words [39;49m|[30m[43m Words [39;49m|[30m[47m Words [39;49m|[30m Words [39;49m
|
|
||||||
+blue |[34m[40m Words [39;49m|[34m[44m Words [39;49m|[34m[42m Words [39;49m|[34m[46m Words [39;49m|[34m[41m Words [39;49m|[34m[45m Words [39;49m|[34m[43m Words [39;49m|[34m[47m Words [39;49m|[34m Words [39;49m
|
|
||||||
+green |[32m[40m Words [39;49m|[32m[44m Words [39;49m|[32m[42m Words [39;49m|[32m[46m Words [39;49m|[32m[41m Words [39;49m|[32m[45m Words [39;49m|[32m[43m Words [39;49m|[32m[47m Words [39;49m|[32m Words [39;49m
|
|
||||||
+cyan |[36m[40m Words [39;49m|[36m[44m Words [39;49m|[36m[42m Words [39;49m|[36m[46m Words [39;49m|[36m[41m Words [39;49m|[36m[45m Words [39;49m|[36m[43m Words [39;49m|[36m[47m Words [39;49m|[36m Words [39;49m
|
|
||||||
+red |[31m[40m Words [39;49m|[31m[44m Words [39;49m|[31m[42m Words [39;49m|[31m[46m Words [39;49m|[31m[41m Words [39;49m|[31m[45m Words [39;49m|[31m[43m Words [39;49m|[31m[47m Words [39;49m|[31m Words [39;49m
|
|
||||||
+magenta|[35m[40m Words [39;49m|[35m[44m Words [39;49m|[35m[42m Words [39;49m|[35m[46m Words [39;49m|[35m[41m Words [39;49m|[35m[45m Words [39;49m|[35m[43m Words [39;49m|[35m[47m Words [39;49m|[35m Words [39;49m
|
|
||||||
+yellow |[33m[40m Words [39;49m|[33m[44m Words [39;49m|[33m[42m Words [39;49m|[33m[46m Words [39;49m|[33m[41m Words [39;49m|[33m[45m Words [39;49m|[33m[43m Words [39;49m|[33m[47m Words [39;49m|[33m Words [39;49m
|
|
||||||
+white |[37m[40m Words [39;49m|[37m[44m Words [39;49m|[37m[42m Words [39;49m|[37m[46m Words [39;49m|[37m[41m Words [39;49m|[37m[45m Words [39;49m|[37m[43m Words [39;49m|[37m[47m Words [39;49m|[37m Words [39;49m
|
|
||||||
+default|[40m Words [39;49m|[44m Words [39;49m|[42m Words [39;49m|[46m Words [39;49m|[41m Words [39;49m|[45m Words [39;49m|[43m Words [39;49m|[47m Words [39;49m| Words
|
|
||||||
+
|
|
||||||
+Colors (hue/saturation):
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[43m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[42m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[46m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[44m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[45m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+[41m [47m [39;49m
|
|
||||||
+
|
|
||||||
+Weights:
|
|
||||||
+normal, [1mbold, (B[mdefault
|
|
||||||
+
|
|
||||||
+Postures:
|
|
||||||
+normal, [3mitalic, [23mdefault
|
|
||||||
+
|
|
||||||
+Text decorations:
|
|
||||||
+normal, [4munderlined, [24mdefault
|
|
||||||
+
|
|
||||||
Index: gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm
|
|
||||||
===================================================================
|
|
||||||
--- gettext-0.19.2.orig/gettext-tools/gnulib-tests/test-term-ostream-xterm
|
|
||||||
+++ gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm
|
|
||||||
@@ -22,6 +22,7 @@ LC_ALL=C tr -d '\r' < out1 > out
|
|
||||||
${DIFF} ${srcdir}/test-term-ostream-xterm-r6.out out > /dev/null \
|
|
||||||
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-xf86-v32.out out > /dev/null \
|
|
||||||
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-basic.out out > /dev/null \
|
|
||||||
+|| ${DIFF} ${srcdir}/test-term-ostream-xterm-basic-italic.out out > /dev/null \
|
|
||||||
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-8bit.out out > /dev/null \
|
|
||||||
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-linux-debian.out out > /dev/null \
|
|
||||||
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-linux-mandriva.out out > /dev/null \
|
|
25
gettext.spec
25
gettext.spec
@ -5,22 +5,19 @@
|
|||||||
|
|
||||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||||
Name: gettext
|
Name: gettext
|
||||||
Version: 0.19.2
|
Version: 0.19.3
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv3+ and LGPLv2+
|
License: GPLv3+ and LGPLv2+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://www.gnu.org/software/gettext/
|
URL: http://www.gnu.org/software/gettext/
|
||||||
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
|
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
|
||||||
Source2: msghack.py
|
Source2: msghack.py
|
||||||
Source3: msghack.1
|
Source3: msghack.1
|
||||||
# backport from upstream
|
# for bootstrapping
|
||||||
Patch0: gettext-fix-octal-char-escape.patch
|
# BuildRequires: autoconf >= 2.62
|
||||||
Patch1: gettext-ncurses-italic.patch
|
# BuildRequires: automake
|
||||||
Patch2: gettext-autopoint-infloop.patch
|
# BuildRequires: libtool, bison
|
||||||
# removal of openmp.m4
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: autoconf >= 2.62
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: libtool, bison, gcc-c++
|
|
||||||
%if %{with java}
|
%if %{with java}
|
||||||
# libintl.jar requires gcj >= 4.3 to build
|
# libintl.jar requires gcj >= 4.3 to build
|
||||||
BuildRequires: gcc-java, libgcj
|
BuildRequires: gcc-java, libgcj
|
||||||
@ -138,9 +135,6 @@ Emacs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .fix-octal-char-escape.patch
|
|
||||||
%patch1 -p1 -b .ncurses-italic
|
|
||||||
%patch2 -p1 -b .autopoint-infloop
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -336,6 +330,11 @@ fi
|
|||||||
%{_emacs_sitelispdir}/%{name}/*.el
|
%{_emacs_sitelispdir}/%{name}/*.el
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 16 2014 Daiki Ueno <dueno@redhat.com> - 0.19.3-1
|
||||||
|
- update to 0.19.3 release
|
||||||
|
- remove patches included in 0.19.3
|
||||||
|
- remove autoconf/automake/libtool/bison from BR, as we don't do bootstrap
|
||||||
|
|
||||||
* Wed Oct 15 2014 Daiki Ueno <dueno@redhat.com> - 0.19.2-5
|
* Wed Oct 15 2014 Daiki Ueno <dueno@redhat.com> - 0.19.2-5
|
||||||
- apply patch to fix infloop in autopoint (Closes: #1151238)
|
- apply patch to fix infloop in autopoint (Closes: #1151238)
|
||||||
- apply patch to support newer ncurses in F-22
|
- apply patch to support newer ncurses in F-22
|
||||||
|
Loading…
Reference in New Issue
Block a user