[Pkg-cli-apps-commits] [SCM] banshee branch, ubuntu/precise, updated. debian/2.4.1-1-167-g53a1366

Chow Loong Jin hyperair at debian.org
Sat Jun 2 21:14:10 UTC 2012


The following commit has been merged in the ubuntu/precise branch:
commit ccbcbbda46d2000052fbf33e5eedc49e70cd8ae2
Author: Chow Loong Jin <hyperair at debian.org>
Date:   Sat May 26 03:36:13 2012 +0800

    Make Banshee translatable in Launchpad
    
    - Add X-Ubuntu-Langpack-Use-Langpack: yes
    - Use dh-translations

diff --git a/debian/control b/debian/control
index 199e86f..4bbcdf2 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ XSBC-Original-Maintainer: Debian CLI Applications Team <pkg-cli-apps-team at lists.
 Uploaders: Sebastian Dröge <slomo at debian.org>, Chow Loong Jin <hyperair at debian.org>
 Build-Depends: debhelper (>= 7.0.50),
                dh-autoreconf,
+               dh-translations,
                autotools-dev,
                cli-common-dev (>= 0.5.7),
                intltool (>= 0.35),
@@ -50,6 +51,7 @@ Standards-Version: 3.9.3
 Homepage: http://www.banshee.fm
 Vcs-Git: git://git.debian.org/git/pkg-cli-apps/packages/banshee.git
 Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/banshee.git
+X-Ubuntu-Use-Langpack: yes
 
 Package: banshee
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 226c18b..94593a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -83,12 +83,6 @@ override_dh_install:
 ifeq ($(shell dpkg-vendor --query vendor), Ubuntu)
 	# Remove U1MS and Sound Menu stuff from banshee
 	rm -r debian/banshee/usr/lib/banshee/Extensions/Banshee.SoundMenu.* 
-	cd po; intltool-update --pot
-
-	for d in $$(find debian/ -type f \( -name "*.desktop" -o -name "*.directory" \) ); do \
-	    sed -ri '/^(Name|GenericName|Comment|X-GNOME-FullName)\[/d' $$d; \
-	    echo "X-Ubuntu-Gettext-Domain=banshee" >> $$d; \
-	done
 endif
 
 override_dh_gencontrol:
@@ -100,4 +94,4 @@ override_dh_autoreconf:
 	NOCONFIGURE=1 dh_autoreconf --as-needed ./autogen.sh --
 
 %:
-	dh $@ --with=cli,autoreconf
+	dh $@ --with=cli,autoreconf,translations

-- 
banshee



More information about the Pkg-cli-apps-commits mailing list