r354 - in /packages/gnash/trunk/debian: changelog control gnash.desktop gnash.desktop.in klash.desktop klash.desktop.in po/ po/ca.po po/es.po rules

rmh at users.alioth.debian.org rmh at users.alioth.debian.org
Mon Nov 16 13:37:06 UTC 2009


Author: rmh
Date: Mon Nov 16 13:37:05 2009
New Revision: 354

URL: http://svn.debian.org/wsvn/?sc=1&rev=354
Log:
  * L10N support for gnash.desktop.  Thanks Josselin Mouette.
  * Add PO files for Catalan and Castillian languages.

Added:
    packages/gnash/trunk/debian/gnash.desktop.in   (contents, props changed)
      - copied, changed from r353, packages/gnash/trunk/debian/gnash.desktop
    packages/gnash/trunk/debian/klash.desktop.in   (contents, props changed)
      - copied, changed from r352, packages/gnash/trunk/debian/klash.desktop
    packages/gnash/trunk/debian/po/
    packages/gnash/trunk/debian/po/ca.po
    packages/gnash/trunk/debian/po/es.po
Removed:
    packages/gnash/trunk/debian/gnash.desktop
    packages/gnash/trunk/debian/klash.desktop
Modified:
    packages/gnash/trunk/debian/changelog
    packages/gnash/trunk/debian/control
    packages/gnash/trunk/debian/rules

Modified: packages/gnash/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/changelog?rev=354&op=diff
==============================================================================
--- packages/gnash/trunk/debian/changelog (original)
+++ packages/gnash/trunk/debian/changelog Mon Nov 16 13:37:05 2009
@@ -6,8 +6,10 @@
   [ Robert Millan ]
   * Misc improvements to gnash.desktop.  Thanks Josselin Mouette.
     Closes: #550181
-
- -- Robert Millan <rmh.debian at aybabtu.com>  Fri, 13 Nov 2009 22:17:54 +0100
+  * L10N support for gnash.desktop.  Thanks Josselin Mouette.
+  * Add PO files for Catalan and Castillian languages.
+
+ -- Robert Millan <rmh.debian at aybabtu.com>  Mon, 16 Nov 2009 14:31:23 +0100
 
 gnash (0.8.6-1) unstable; urgency=low
 

Modified: packages/gnash/trunk/debian/control
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/control?rev=354&op=diff
==============================================================================
--- packages/gnash/trunk/debian/control (original)
+++ packages/gnash/trunk/debian/control Mon Nov 16 13:37:05 2009
@@ -10,7 +10,7 @@
  libcurl4-gnutls-dev | libcurl3-gnutls-dev | libcurl4-openssl-dev | libcurl3-openssl-dev,
  libboost-date-time-dev, libavcodec-dev, libavformat-dev, libswscale-dev,
  libspeex-dev, kdelibs5-dev, qt4-qmake, libqt4-dev, qt4-dev-tools,
- csound
+ csound, intltool
 Standards-Version: 3.8.3
 Section: utils
 Homepage: http://www.gnu.org/software/gnash/

Copied: packages/gnash/trunk/debian/gnash.desktop.in (from r353, packages/gnash/trunk/debian/gnash.desktop)
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/gnash.desktop.in?rev=354&op=diff
==============================================================================
--- packages/gnash/trunk/debian/gnash.desktop (original)
+++ packages/gnash/trunk/debian/gnash.desktop.in Mon Nov 16 13:37:05 2009
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Type=Application
 Encoding=UTF-8
-Name=Gnash SWF Viewer
+_Name=Gnash SWF Viewer
 GenericName=
 Comment=
 Icon=gnash

Propchange: packages/gnash/trunk/debian/gnash.desktop.in
------------------------------------------------------------------------------
    svn:mergeinfo = 

Copied: packages/gnash/trunk/debian/klash.desktop.in (from r352, packages/gnash/trunk/debian/klash.desktop)
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/klash.desktop.in?rev=354&op=diff
==============================================================================
--- packages/gnash/trunk/debian/klash.desktop (original)
+++ packages/gnash/trunk/debian/klash.desktop.in Mon Nov 16 13:37:05 2009
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Type=Application
 Encoding=UTF-8
-Name=Gnash SWF Viewer for KDE
+_Name=Gnash SWF Viewer for KDE
 GenericName=
 Comment=
 Icon=gnash

Propchange: packages/gnash/trunk/debian/klash.desktop.in
------------------------------------------------------------------------------
    svn:mergeinfo = 

Added: packages/gnash/trunk/debian/po/ca.po
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/po/ca.po?rev=354&op=file
==============================================================================
--- packages/gnash/trunk/debian/po/ca.po (added)
+++ packages/gnash/trunk/debian/po/ca.po Mon Nov 16 13:37:05 2009
@@ -1,0 +1,23 @@
+# Copyright (C) 2009  Robert Millan
+# This file is distributed under the same license as the Gnash package.
+# Robert Millan <rmh.debian at aybabtu.com>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Gnash 0.8.6\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-11-16 14:35+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Robert Millan <rmh.debian at aybabtu.com>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../../debian/gnash.desktop.in.h:1
+msgid "Gnash SWF Viewer"
+msgstr "Visualitzador d'SWF Gnash"
+
+#: ../../debian/klash.desktop.in.h:1
+msgid "Gnash SWF Viewer for KDE"
+msgstr "Visualitzador d'SWF Gnash per a KDE"

Added: packages/gnash/trunk/debian/po/es.po
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/po/es.po?rev=354&op=file
==============================================================================
--- packages/gnash/trunk/debian/po/es.po (added)
+++ packages/gnash/trunk/debian/po/es.po Mon Nov 16 13:37:05 2009
@@ -1,0 +1,23 @@
+# Copyright (C) 2009  Robert Millan
+# This file is distributed under the same license as the Gnash package.
+# Robert Millan <rmh.debian at aybabtu.com>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Gnash 0.8.6\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-11-16 14:35+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Robert Millan <rmh.debian at aybabtu.com>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../../debian/gnash.desktop.in.h:1
+msgid "Gnash SWF Viewer"
+msgstr "Visualizador de SWF Gnash"
+
+#: ../../debian/klash.desktop.in.h:1
+msgid "Gnash SWF Viewer for KDE"
+msgstr "Visualizador de SWF Gnash para KDE"

Modified: packages/gnash/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/rules?rev=354&op=diff
==============================================================================
--- packages/gnash/trunk/debian/rules (original)
+++ packages/gnash/trunk/debian/rules Mon Nov 16 13:37:05 2009
@@ -13,6 +13,12 @@
 MAIN_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g')
 #BUILD_VERSION = cvs$(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/^.*cvs//' | sed 's/\..*-.*//')
 BUILD_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/^[()]//' | sed 's/-.*//')
+
+INFILES := $(wildcard debian/*.desktop.in)
+OUTFILES := $(INFILES:.desktop.in=.desktop)
+
+%.desktop: %.desktop.in
+	intltool-merge -d debian/po $< $@
 
 CFLAGS = -Wall -g -Werror-implicit-function-declaration
 
@@ -99,7 +105,7 @@
 # BUILD
 
 build: build-stamp
-build-stamp:  config-stamp
+build-stamp: config-stamp $(OUTFILES)
 	dh_testdir
 
 	printf "\n == MAKE / AGG ================================================== \n\n"
@@ -128,6 +134,11 @@
 	dh_testdir
 	dh_testroot
 	rm -f config-stamp build-stamp patch-stamp
+	rm -f $(OUTFILES)
+	ls $(INFILES) | sed 's#^#../#' >debian/po/POTFILES.in
+	cd debian/po && intltool-update -g debian --pot && \
+		for i in *.po; do intltool-update -g debian --dist $${i%.po}; done
+	rm -f debian/po/POTFILES.in
 
 #ifeq (Makefile,$(wildcard Makefile))
 #	[ ! -f Makefile ] || $(MAKE) maintainer-clean




More information about the pkg-flash-devel mailing list