[svn] gpg-error - r184 - in trunk: . po src
svn author wk
cvs at cvs.gnupg.org
Thu Nov 30 16:36:40 CET 2006
Author: wk
Date: 2006-11-30 16:36:39 +0100 (Thu, 30 Nov 2006)
New Revision: 184
Added:
trunk/README.SVN
Removed:
trunk/README.CVS
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/README
trunk/autogen.sh
trunk/configure.ac
trunk/po/de.po
trunk/po/fr.po
trunk/po/libgpg-error.pot
trunk/po/pl.po
trunk/po/ro.po
trunk/po/vi.po
trunk/src/gpg-error.c
Log:
* configure.ac: Set LT version to C3/A3/R1.
* README: Switch to tar.bz2 and sha1sum.
* src/gpg-error.c (main): Add option --version.
* autogen.sh (FORCE): Add option --force.
* intl/: Removed.
* Makefile.am (SUBDIRS): Removed intl.
* configure.ac (AM_GNU_GETTEXT): Use external flag
* src/Makefile.am: Removed -I../intl.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/ChangeLog 2006-11-30 15:36:39 UTC (rev 184)
@@ -1,5 +1,15 @@
2006-11-30 Werner Koch <wk at g10code.com>
+ Released 1.5.
+
+ * configure.ac: Set LT version to C3/A3/R1.
+
+ * README: Switch to tar.bz2 and sha1sum.
+
+ * src/gpg-error.c (main): Add option --version.
+
+ * autogen.sh (FORCE): Add option --force.
+
* intl/: Removed.
* Makefile.am (SUBDIRS): Removed intl.
* configure.ac (AM_GNU_GETTEXT): Use external flag
Modified: trunk/NEWS
===================================================================
--- trunk/NEWS 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/NEWS 2006-11-30 15:36:39 UTC (rev 184)
@@ -1,11 +1,13 @@
-Noteworthy changes in version 1.5
+Noteworthy changes in version 1.5 (2006-11-30)
----------------------------------------------
* Minor build system fixes.
* Updated gettext. Removed included gettext copy.
+ * gpg-error has a new option --version.
+
Noteworthy changes in version 1.4 (2006-09-14)
----------------------------------------------
Modified: trunk/README
===================================================================
--- trunk/README 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/README 2006-11-30 15:36:39 UTC (rev 184)
@@ -32,7 +32,7 @@
important step!
2) Unpack the archive. With GNU tar you can do it this way:
- "tar xzvf libgpg-error-x.y.tar.gz"
+ "tar xjvf libgpg-error-x.y.tar.bz2"
3) "cd libgpg-error-x.y"
@@ -53,24 +53,24 @@
a) If you already have a trusted version of GnuPG installed, you can
simply check the supplied signature:
- $ gpg --verify libgpg-error-x.y.tar.gz.sig
+ $ gpg --verify libgpg-error-x.y.tar.bz2.sig
- This checks that the detached signature libgpg-error-x.y.tar.gz.sig
- is indeed a a signature of libgpg-error-x.y.tar.gz.
+ This checks that the detached signature libgpg-error-x.y.tar.bz2.sig
+ is indeed a a signature of libgpg-error-x.y.tar.bz2.
Please note that you have to use an old version of GnuPG to do all
this stuff. *Never* use the version which was built using the
library you are trying to verify!
b) If you don't have any a trusted version of GnuPG, you can attempt
- to verify the MD5 checksum, using a trusted version of the md5sum
+ to verify the SHA1 checksum, using a trusted version of the sha1sum
program:
- $ md5sum libgpg-error-x.y.tar.gz
+ $ sha1sum libgpg-error-x.y.tar.bz2
This should yield an output _similar_ to this:
- fd9351b26b3189c1d577f0970f9dcadc libgpg-error-x.y.tar.gz
+ 610064e5b77700f5771c8fde2691c4365e1ca100 libgpg-error-x.y.tar.bz2
Now check that this checksum is _exactly_ the same as the one
published via the announcement list and probably via Usenet.
Deleted: trunk/README.CVS
Copied: trunk/README.SVN (from rev 183, trunk/README.CVS)
===================================================================
--- trunk/README.CVS 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/README.SVN 2006-11-30 15:36:39 UTC (rev 184)
@@ -0,0 +1,51 @@
+If you are building from Subversion, run the script
+
+./autogen.sh
+
+first, to make sure that you have all the necessary maintainer tools
+are installed and to build the actual configuration files. If you
+have just updated from SVN, you should add the option "--force" to
+autogen.sh so that meta data from SVN is noticed. Then run
+
+./configure --enable-maintainer-mode
+
+followed by the usual make.
+
+If autogen.sh complains about insufficient versions of the required
+tools, or the tools are not installed, you may use environment
+variables to override the default tool names:
+
+ AUTOMAKE_SUFFIX is used as a suffix for all tools from the automake
+ package. For example
+ AUTOMAKE_SUFFIX="-1.7" ./autogen.sh
+ uses "automake-1.7" and "aclocal-1.7.
+ AUTOMAKE_PREFIX is used as a prefix for all tools from the automake
+ page and may be combined with AUTOMAKE_SUFFIX. e.g.:
+ AUTOMAKE_PREFIX=/usr/foo/bin ./autogen.sh
+ uses "automake" and "aclocal" in the /usr/foo/bin
+ directory.
+ AUTOCONF_SUFFIX is used as a suffix for all tools from the automake
+ package
+ AUTOCONF_PREFIX is used as a prefix for all tools from the automake
+ package
+ GETTEXT_SUFFIX is used as a suffix for all tools from the gettext
+ package
+ GETTEXT_PREFIX is used as a prefix for all tools from the gettext
+ package
+
+It is also possible to use the variable name AUTOMAKE, AUTOCONF,
+ACLOCAL, AUTOHEADER, GETTEXT and MSGMERGE to directly specify the name
+of the programs to run. It is however better to use the suffix and
+prefix forms as described above because that does not require
+knowledge about the actual tools used by autgen.sh.
+
+
+Please don't use autopoint, libtoolize or autoreconf unless you are
+the current maintainer and want to update the standard configuration
+files. All those files should be in the SVN and only updated manually
+if the maintainer decides that newer versions are required. The
+maintainer should also make sure that the required version of automake
+et al. are properly indicated at the top of configure.ac and take care
+to copy the files and not merely use symlinks.
+
+
Modified: trunk/autogen.sh
===================================================================
--- trunk/autogen.sh 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/autogen.sh 2006-11-30 15:36:39 UTC (rev 184)
@@ -29,6 +29,11 @@
}
DIE=no
+FORCE=
+if test "$1" == "--force"; then
+ FORCE=" --force"
+ shift
+fi
# ***** W32 build script *******
# Used to cross-compile for Windows.
@@ -186,7 +191,7 @@
$AUTOHEADER
echo "Running automake --gnu ..."
$AUTOMAKE --gnu;
-echo "Running autoconf..."
-$AUTOCONF
+echo "Running autoconf${FORCE} ..."
+$AUTOCONF${FORCE}
echo "You may now run \"./configure --enable-maintainer-mode && make\"."
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/configure.ac 2006-11-30 15:36:39 UTC (rev 184)
@@ -26,7 +26,7 @@
# Set my_issvn to "yes" for non-released code. Remember to run an
# "svn up" and "autogen.sh" right before creating a distribution.
m4_define([my_version], [1.5])
-m4_define([my_issvn], [yes])
+m4_define([my_issvn], [no])
m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \
|| echo 'Revision: 0')|sed -n '/^Revision:/ {s/[^0-9]//gp;q;}')]))
@@ -40,7 +40,7 @@
# Note that added error codes don't constitute an interface change.
LIBGPG_ERROR_LT_CURRENT=3
LIBGPG_ERROR_LT_AGE=3
-LIBGPG_ERROR_LT_REVISION=0
+LIBGPG_ERROR_LT_REVISION=1
AC_SUBST(LIBGPG_ERROR_LT_CURRENT)
AC_SUBST(LIBGPG_ERROR_LT_AGE)
AC_SUBST(LIBGPG_ERROR_LT_REVISION)
Modified: trunk/po/de.po
===================================================================
--- trunk/po/de.po 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/po/de.po 2006-11-30 15:36:39 UTC (rev 184)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error-1.4\n"
"Report-Msgid-Bugs-To: translations at gnupg.org\n"
-"POT-Creation-Date: 2006-09-14 14:58+0200\n"
+"POT-Creation-Date: 2006-11-30 15:57+0100\n"
"PO-Revision-Date: 2006-09-14 15:11+0200\n"
"Last-Translator: Werner Koch <wk at gnupg.org>\n"
"Language-Team: none\n"
@@ -1023,12 +1023,12 @@
msgid "Unknown error code"
msgstr "Unbekannter Fehlercode"
-#: src/gpg-error.c:456
+#: src/gpg-error.c:457
#, c-format
msgid "Usage: %s GPG-ERROR [...]\n"
msgstr "Aufruf: %s GPG-FEHLER [...]\n"
-#: src/gpg-error.c:477
+#: src/gpg-error.c:485
#, c-format
msgid "%s: warning: could not recognize %s\n"
msgstr "%s: Warnung: %s konnte nicht erkannt werden\n"
Modified: trunk/po/fr.po
===================================================================
--- trunk/po/fr.po 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/po/fr.po 2006-11-30 15:36:39 UTC (rev 184)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.0\n"
"Report-Msgid-Bugs-To: translations at gnupg.org\n"
-"POT-Creation-Date: 2006-09-14 14:58+0200\n"
+"POT-Creation-Date: 2006-11-30 15:57+0100\n"
"PO-Revision-Date: 2005-08-18 16:48+0100\n"
"Last-Translator: Stephane Roy <sroy at j2n.net>\n"
"Language-Team: French <LL at li.org>\n"
@@ -1040,12 +1040,12 @@
msgid "Unknown error code"
msgstr "Code d'erreur inconnu"
-#: src/gpg-error.c:456
+#: src/gpg-error.c:457
#, c-format
msgid "Usage: %s GPG-ERROR [...]\n"
msgstr "Usage : %s GPG-ERROR [...]\n"
-#: src/gpg-error.c:477
+#: src/gpg-error.c:485
#, c-format
msgid "%s: warning: could not recognize %s\n"
msgstr "%s : attention : pourrait ne pas reconnaître %s\n"
Modified: trunk/po/libgpg-error.pot
===================================================================
--- trunk/po/libgpg-error.pot 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/po/libgpg-error.pot 2006-11-30 15:36:39 UTC (rev 184)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: translations at gnupg.org\n"
-"POT-Creation-Date: 2006-09-14 14:58+0200\n"
+"POT-Creation-Date: 2006-11-30 15:57+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -1024,12 +1024,12 @@
msgid "Unknown error code"
msgstr ""
-#: src/gpg-error.c:456
+#: src/gpg-error.c:457
#, c-format
msgid "Usage: %s GPG-ERROR [...]\n"
msgstr ""
-#: src/gpg-error.c:477
+#: src/gpg-error.c:485
#, c-format
msgid "%s: warning: could not recognize %s\n"
msgstr ""
Modified: trunk/po/pl.po
===================================================================
--- trunk/po/pl.po 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/po/pl.po 2006-11-30 15:36:39 UTC (rev 184)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.1\n"
"Report-Msgid-Bugs-To: translations at gnupg.org\n"
-"POT-Creation-Date: 2006-09-14 14:58+0200\n"
+"POT-Creation-Date: 2006-11-30 15:57+0100\n"
"PO-Revision-Date: 2005-07-04 17:42+0200\n"
"Last-Translator: Jakub Bogusz <qboosh at pld-linux.org>\n"
"Language-Team: Polish <translation-team-pl at lists.sourceforge.net>\n"
@@ -1043,12 +1043,12 @@
msgid "Unknown error code"
msgstr "Nieznany kod b³êdu"
-#: src/gpg-error.c:456
+#: src/gpg-error.c:457
#, c-format
msgid "Usage: %s GPG-ERROR [...]\n"
msgstr "Sk³adnia: %s B£¡D-GPG [...]\n"
-#: src/gpg-error.c:477
+#: src/gpg-error.c:485
#, c-format
msgid "%s: warning: could not recognize %s\n"
msgstr "%s: uwaga: nie rozpoznano %s\n"
Modified: trunk/po/ro.po
===================================================================
--- trunk/po/ro.po 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/po/ro.po 2006-11-30 15:36:39 UTC (rev 184)
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: libgpg-error 1.1\n"
"Report-Msgid-Bugs-To: translations at gnupg.org\n"
-"POT-Creation-Date: 2006-09-14 14:58+0200\n"
+"POT-Creation-Date: 2006-11-30 15:57+0100\n"
"PO-Revision-Date: 2005-06-30 12:00-0500\n"
"Last-Translator: Laurentiu Buzdugan <lbuz at rolix.org>\n"
"Language-Team: Romanian <translation-team-ro at lists.sourceforge.net>\n"
@@ -1046,12 +1046,12 @@
msgid "Unknown error code"
msgstr "Cod de eroare necunoscut"
-#: src/gpg-error.c:456
+#: src/gpg-error.c:457
#, c-format
msgid "Usage: %s GPG-ERROR [...]\n"
msgstr "Folosire: %s EROARE-GPG [...]\n"
-#: src/gpg-error.c:477
+#: src/gpg-error.c:485
#, c-format
msgid "%s: warning: could not recognize %s\n"
msgstr "%s: avertisment: nu am putut recunoaºte %s\n"
Modified: trunk/po/vi.po
===================================================================
--- trunk/po/vi.po 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/po/vi.po 2006-11-30 15:36:39 UTC (rev 184)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libgpg-error-1.1\n"
"Report-Msgid-Bugs-To: translations at gnupg.org\n"
-"POT-Creation-Date: 2006-09-14 14:58+0200\n"
+"POT-Creation-Date: 2006-11-30 15:57+0100\n"
"PO-Revision-Date: 2006-01-08 16:33+1030\n"
"Last-Translator: Clytie Siddall <clytie at riverland.net.au>\n"
"Language-Team: Vietnamese <gnomevi-list at lists.sourceforge.net>\n"
@@ -1050,12 +1050,12 @@
msgid "Unknown error code"
msgstr "Mã lá»i lạ"
-#: src/gpg-error.c:456
+#: src/gpg-error.c:457
#, c-format
msgid "Usage: %s GPG-ERROR [...]\n"
msgstr "Cách sỠdụng: %s GPG-ERROR [...]\n"
-#: src/gpg-error.c:477
+#: src/gpg-error.c:485
#, c-format
msgid "%s: warning: could not recognize %s\n"
msgstr "%s: cảnh báo : không thá» nháºn ra %s\n"
Modified: trunk/src/gpg-error.c
===================================================================
--- trunk/src/gpg-error.c 2006-11-30 14:24:45 UTC (rev 183)
+++ trunk/src/gpg-error.c 2006-11-30 15:36:39 UTC (rev 184)
@@ -451,12 +451,20 @@
i18n_init ();
+
if (argc == 1)
{
- fprintf (stderr, _("Usage: %s GPG-ERROR [...]\n"), argv[0]);
+ fprintf (stderr, _("Usage: %s GPG-ERROR [...]\n"),
+ strrchr (argv[0],'/')? (strrchr (argv[0], '/')+1): argv[0]);
exit (1);
}
+ else if (argc == 2 && !strcmp (argv[1], "--version"))
+ {
+ fputs ("gpg-error (" PACKAGE_NAME ") " PACKAGE_VERSION "\n", stdout);
+ exit (0);
+ }
+
while (i < argc)
{
gpg_error_t err;
More information about the Gnupg-commits
mailing list