[Pkg-cli-apps-commits] [SCM] banshee branch, ubuntu/maverick, updated. ppa/1.7.4-1ubuntu1-15-gd54fedc
Iain Lane
laney at ubuntu.com
Mon Sep 6 18:55:15 UTC 2010
The following commit has been merged in the ubuntu/maverick branch:
commit df01b1e6d1a74258494c101ff8809fad41d3d40b
Author: Iain Lane <laney at ubuntu.com>
Date: Mon Sep 6 19:32:56 2010 +0100
Generate translation template and set gettext domain in the Ubuntu build
diff --git a/debian/rules b/debian/rules
index a4669e0..70f4f11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,6 +54,14 @@ override_dh_install:
debian/banshee/usr/lib/banshee-1/MeeGo.exe \
debian/banshee/usr/lib/banshee-1/Extensions/Banshee.MeeGo.dll* \
debian/banshee/usr/share/dbus-1/services/com.meego*
+ifeq ($(shell dpkg-vendor --query vendor), Ubuntu)
+ 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
%:
dh $@
--
banshee
More information about the Pkg-cli-apps-commits
mailing list