r13484 - in /tools/gnome-pkg-tools: 1/rules/patch-translations.mk debian/changelog
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Sun Nov 18 17:59:16 UTC 2007
Author: joss
Date: Sun Nov 18 17:59:16 2007
New Revision: 13484
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13484
Log:
* 1/rules/patch-translations.mk: new file, contains helper rules for
translating the contents of patches.
Added:
tools/gnome-pkg-tools/1/rules/patch-translations.mk
Modified:
tools/gnome-pkg-tools/debian/changelog
Added: tools/gnome-pkg-tools/1/rules/patch-translations.mk
URL: http://svn.debian.org/wsvn/pkg-gnome/tools/gnome-pkg-tools/1/rules/patch-translations.mk?rev=13484&op=file
==============================================================================
--- tools/gnome-pkg-tools/1/rules/patch-translations.mk (added)
+++ tools/gnome-pkg-tools/1/rules/patch-translations.mk Sun Nov 18 17:59:16 2007
@@ -1,0 +1,24 @@
+# Helper rules to translate new strings introduced in patches
+# The relevant patches must be listed by hand in debian/po-up/POTFILES.in
+
+clean::
+ rm -f debian/stamp-patch-translations
+ rm -f po/patched.pot
+ -mv po.saved/*.po po/
+ if [ -d po.saved ]; then rmdir po.saved; fi
+ cd debian/po-up && intltool-update --pot -g patches
+ cd debian/po-up && for i in *.po; do \
+ if [ -f $$i ]; then \
+ intltool-update -g patches --dist $${i%.po}; \
+ fi; done
+
+post-patches:: debian/stamp-patch-translations
+debian/stamp-patch-translations:
+ mkdir -p po.saved
+ cd po && intltool-update --pot -g patched
+ cd debian/po-up && for i in *.po; do \
+ if [ -f $$i ]; then \
+ cp -p ../../po/$$i ../../po.saved/ ; \
+ msgmerge -U -C $$i ../../po/$$i ../../po/patched.pot ; \
+ fi; done
+ touch $@
Modified: tools/gnome-pkg-tools/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/tools/gnome-pkg-tools/debian/changelog?rev=13484&op=diff
==============================================================================
--- tools/gnome-pkg-tools/debian/changelog (original)
+++ tools/gnome-pkg-tools/debian/changelog Sun Nov 18 17:59:16 2007
@@ -1,3 +1,10 @@
+gnome-pkg-tools (0.13) unstable; urgency=low
+
+ * 1/rules/patch-translations.mk: new file, contains helper rules for
+ translating the contents of patches.
+
+ -- Josselin Mouette <joss at debian.org> Sun, 18 Nov 2007 18:54:11 +0100
+
gnome-pkg-tools (0.12.3) unstable; urgency=low
* Drop obsolete print-version from .PHONY.
More information about the pkg-gnome-commits
mailing list