r15778 - in /desktop/unstable/totem/debian: changelog rules

samm-guest at users.alioth.debian.org samm-guest at users.alioth.debian.org
Sat Apr 26 13:15:26 UTC 2008


Author: samm-guest
Date: Sat Apr 26 13:15:25 2008
New Revision: 15778

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=15778
Log:
Only totem-xine can satisfactorily play DVDs and VCds (it can do
de-interlacing and menus), so update its' .desktop files to reflect this.
This only affects nautilus 2.22, which has taken over the job of launching
progrems when media are inserted in GNOME 2.22.

Modified:
    desktop/unstable/totem/debian/changelog
    desktop/unstable/totem/debian/rules

Modified: desktop/unstable/totem/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/totem/debian/changelog?rev=15778&op=diff
==============================================================================
--- desktop/unstable/totem/debian/changelog (original)
+++ desktop/unstable/totem/debian/changelog Sat Apr 26 13:15:25 2008
@@ -1,3 +1,12 @@
+totem (2.22.2-2) UNRELEASED; urgency=low
+
+  * Only totem-xine can satisfactorily play DVDs and VCds (it can do
+    de-interlacing and menus), so update its' .desktop files to reflect this.
+    This only affects nautilus 2.22, which has taken over the job of launching
+    progrems when media are inserted in GNOME 2.22.
+
+ -- Sam Morris <sam at robots.org.uk>  Sat, 26 Apr 2008 13:59:23 +0100
+
 totem (2.22.2-1) unstable; urgency=low
 
   * New upstream bugfix release.

Modified: desktop/unstable/totem/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/totem/debian/rules?rev=15778&op=diff
==============================================================================
--- desktop/unstable/totem/debian/rules (original)
+++ desktop/unstable/totem/debian/rules Sat Apr 26 13:15:25 2008
@@ -96,6 +96,8 @@
 	echo gnome:Version=$(DEB_GNOME_VERSION) >> debian/totem-$*.substvars
 	echo gnome:NextVersion=$(DEB_GNOME_NEXTVERSION) >> debian/totem-$*.substvars
 
+TOTEM_XINE_ONLY_MIMES := x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;
+
 install: install-clean $(addprefix install-, $(FLAVORS))
 	dh_installdirs
 	mkdir -p debian/$(COMPKG)/usr
@@ -123,6 +125,12 @@
 		> debian/totem-$${f}.postinst ; \
 	done
 	printf "\nTryExec=/usr/bin/totem" >> debian/$(COMPKG)/usr/share/applications/totem.desktop
+	
+	# only totem-xine can play DVDs and VCDs satisfactorily (for now)
+	grep -q '^MimeType=.*$(TOTEM_XINE_ONLY_MIMES)' debian/$(COMPKG)/usr/share/applications/totem.desktop
+	sed -i 's,$(TOTEM_XINE_ONLY_MIMES),,' debian/$(COMPKG)/usr/share/applications/totem.desktop
+	printf '\nMimeType=$(TOTEM_XINE_ONLY_MIMES)' >> debian/totem-xine/usr/share/applications/totem-xine.desktop
+	
 	dh_install
 
 clean::




More information about the pkg-gnome-commits mailing list