[Pkg-cli-apps-commits] [SCM] banshee branch, experimental, updated. debian/1.7.4-1-27-ge8e258a
Chow Loong Jin
hyperair at ubuntu.com
Thu Sep 30 18:54:20 UTC 2010
The following commit has been merged in the experimental branch:
commit 0dfb6c279cec474f55ae203366cf6d244f5cc256
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date: Fri Oct 1 01:56:59 2010 +0800
Run intltool and mangle desktop file for Ubuntu
diff --git a/debian/rules b/debian/rules
index a55c848..fcf88cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,6 +55,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