[Gpg4win-commits] r986 - in trunk: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 23 12:46:41 CEST 2008


Author: marcus
Date: 2008-10-23 12:46:39 +0200 (Thu, 23 Oct 2008)
New Revision: 986

Modified:
   trunk/ChangeLog
   trunk/src/Makefile.am
Log:
2008-10-23  Marcus Brinkmann  <marcus at ulysses.g10code.com>

	* src/Makefile.am (gpg4win_pkg_libgpg_error_post_install): New
	macro to convert PO files.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-10-23 10:19:07 UTC (rev 985)
+++ trunk/ChangeLog	2008-10-23 10:46:39 UTC (rev 986)
@@ -1,3 +1,8 @@
+2008-10-23  Marcus Brinkmann  <marcus at ulysses.g10code.com>
+
+	* src/Makefile.am (gpg4win_pkg_libgpg_error_post_install): New
+	macro to convert PO files.
+
 2008-10-23  Marcus Brinkmann  <marcus at g10code.de>
 
 	* patches/claws-mail-3.1.0cvs70/01-w32-logo.patch,

Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am	2008-10-23 10:19:07 UTC (rev 985)
+++ trunk/src/Makefile.am	2008-10-23 10:46:39 UTC (rev 986)
@@ -115,7 +115,6 @@
 endef
 
 
-
 # Build the reference manual.
 define gpg4win_pkg_gpgol_post_install
 ( cd $$$${pkgndir}/doc; make pdf )
@@ -129,6 +128,16 @@
 gpg4win_pkg_libgpg_error_configure = --silent \
   CPPFLAGS=-I$(idir)/include LDFLAGS=-L$(idir)/lib
 
+# We convert the PO files to UTF-8.  FIXME: This should be done in
+# libgpg-error proper.
+define gpg4win_pkg_libgpg_error_post_install
+(for i in `$(tsdir)/src/potomo --get-linguas $$$${pkgsdir}/po` ; do \
+     rm $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/libgpg-error.mo; \
+     $(tsdir)/src/potomo $$$${pkgsdir}/po/$$$${i}.po \
+                      $$$${pkgidir}/share/locale/$$$${i}/LC_MESSAGES/libgpg-error.mo; \
+ done)
+endef
+
 gpg4win_pkg_libassuan_configure =  --silent \
   --disable-shared \
   --with-pth-prefix=$(idir)



More information about the Gpg4win-commits mailing list