[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#204384: gettext: autopoint does not parse intl/VERSION right (fwd)
From: |
Santiago Vila |
Subject: |
Bug#204384: gettext: autopoint does not parse intl/VERSION right (fwd) |
Date: |
Thu, 7 Aug 2003 19:49:09 +0200 (CEST) |
Hello.
I received the following report from the Debian bug system.
---------- Forwarded message ----------
From: Denis Barbier <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Wed, 6 Aug 2003 22:11:34 +0200
Subject: Bug#204384: gettext: autopoint does not parse intl/VERSION right
Package: gettext
Version: 0.12.1-3
Severity: normal
Tags: upstream patch
Hi,
autopoint can not guess gettext version by looking into intl/VERSION,
which is rather annoying. Here is a patch (against current CVS).
Denis
---------------------------------------
Index: gettext-tools/misc/autopoint.in
===================================================================
RCS file: /cvs/gettext/gettext/gettext-tools/misc/autopoint.in,v
retrieving revision 1.4
diff -u -r1.4 autopoint.in
--- gettext-tools/misc/autopoint.in 22 May 2003 21:55:36 -0000 1.4
+++ gettext-tools/misc/autopoint.in 6 Aug 2003 20:05:48 -0000
@@ -224,7 +224,7 @@
# At least one of the two must be given. If both are given, they must agree.
xver=`cat "$configure_in" | grep '^AM_GNU_GETTEXT_VERSION(' | sed -e
's/^AM_GNU_GETTEXT_VERSION(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' |
sed -e 1q`
if test -z "$xver" && test -f intl/VERSION; then
- xver=`cat intl/VERSION | sed -n -e
's/^.*gettext-\(-+_.0-9A-Za-z]*\).*$/\1/p'`
+ xver=`cat intl/VERSION | sed -n -e
's/^.*gettext-\([-+_.0-9A-Za-z]*\).*$/\1/p'`
fi
if test -n "$xver"; then
if test -n "$ver"; then
- Bug#204384: gettext: autopoint does not parse intl/VERSION right (fwd),
Santiago Vila <=