bug-cppi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-cppi] cppi.pot, finally


From: Jim Meyering
Subject: [bug-cppi] cppi.pot, finally
Date: Wed, 17 Mar 2010 22:32:59 +0100

FYI, now cppi generates a .pot file.

>From 537db2bb914946facb4439de2c279e17fa3c6147 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 17 Mar 2010 20:41:22 +0100
Subject: [PATCH 1/3] maint: use gettext 0.17

* configure.ac: Use gettext 0.17
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index ae63560..3897672 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,7 +80,7 @@ AC_HEADER_DIRENT
 AC_HEADER_ASSERT

 AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.15])
+AM_GNU_GETTEXT_VERSION([0.17])

 AC_CONFIG_FILES(
   Makefile
--
1.7.0.2.451.g960ec


>From 1f2dfdf9469e585445bcf9d50fad7189b82d13cc Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 17 Mar 2010 22:16:30 +0100
Subject: [PATCH 2/3] maint: remove unused file: help2man

* man/help2man: Remove file.  It was never used.
---
 man/help2man |  637 ----------------------------------------------------------
 1 files changed, 0 insertions(+), 637 deletions(-)
 delete mode 100755 man/help2man

diff --git a/man/help2man b/man/help2man
deleted file mode 100755
index 6cb56ad..0000000
...
--
1.7.0.2.451.g960ec


>From 7109fdd83f27707331115ec044b90f149ca9da8d Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 17 Mar 2010 20:50:07 +0100
Subject: [PATCH 3/3] maint: set up for message translations

* po/POTFILES.in: New file.
* po/Makefile.am: Remove file.
* configure.ac (AC_CONFIG_FILES): List po/Makefile.in,
not po/Makefile.
* .gitignore: Update.
* TODO: Remove the item, now that it's done.
* README-release: Now that we generate a .pot file, add
address@hidden to the announcement Cc: list.
---
 .gitignore     |    8 ++++++++
 README-release |    2 +-
 TODO           |    3 ---
 configure.ac   |    2 +-
 po/Makefile.am |    1 -
 po/POTFILES.in |   12 ++++++++++++
 6 files changed, 22 insertions(+), 6 deletions(-)
 delete mode 100644 po/Makefile.am
 create mode 100644 po/POTFILES.in

diff --git a/.gitignore b/.gitignore
index 852a202..0fd3f79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 *.o
+*/.deps
 *~
 .tarball-version
 .version
@@ -21,12 +22,19 @@ cppi-*.tar.bz2
 cppi-*.tar.gz
 doc
 lib/.gitignore
+lib/arg-nonnull.h
+lib/c++defs.h
 lib/charset.alias
 lib/configmake.h
 lib/libcppi.a
+lib/link-warning.h
+lib/warn-on-use.h
 m4/.gitignore
 po/.gitignore
 po/LINGUAS
 po/Makevars
+po/POTFILES
+po/cppi.pot
+po/stamp-po
 stamp-h1
 tests/*.log
diff --git a/README-release b/README-release
index fe6e08a..e8bb4db 100644
--- a/README-release
+++ b/README-release
@@ -57,7 +57,7 @@ Once all the builds and tests have passed,
 * Send the gpg-signed announcement mail, e.g.,

     To: address@hidden
-    Cc: address@hidden
+    Cc: address@hidden, address@hidden
     Subject: cppi-1.14 released [stable]

 * Announce it on Savannah, too:
diff --git a/TODO b/TODO
index 6807dd5..1d1ccad 100644
--- a/TODO
+++ b/TODO
@@ -27,9 +27,6 @@ and flex is not available.

 Likewise with cpp.gp and gperf (do this via the `missing' script).

-
-Add gettext support.
-
 Currently, the indentation width is hard-coded
 at one space per nesting level.  Add an option to change that.

diff --git a/configure.ac b/configure.ac
index 3897672..de51232 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,7 +85,7 @@ AM_GNU_GETTEXT_VERSION([0.17])
 AC_CONFIG_FILES(
   Makefile
   lib/Makefile
-  po/Makefile
+  po/Makefile.in
   src/Makefile
   tests/Makefile
   man/Makefile)
diff --git a/po/Makefile.am b/po/Makefile.am
deleted file mode 100644
index 05ab994..0000000
--- a/po/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-## Process this file with automake to produce Makefile.in.
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..bd58fd5
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,12 @@
+# List of source files which contain translatable strings.
+
+lib/closeout.c
+lib/error.c
+lib/getopt.c
+lib/obstack.c
+lib/quotearg.c
+lib/version-etc.c
+lib/xalloc-die.c
+lib/xstrtol-error.c
+src/cppi.l
+src/system.h
--
1.7.0.2.451.g960ec




reply via email to

[Prev in Thread] Current Thread [Next in Thread]