[Python-apps-commits] r868 - in packages/decibel-audio-player/trunk/debian (7 files)

pochu-guest at users.alioth.debian.org pochu-guest at users.alioth.debian.org
Fri Mar 28 16:59:01 UTC 2008


    Date: Friday, March 28, 2008 @ 16:58:59
  Author: pochu-guest
Revision: 868

* debian/patches/fix_multimedia_keys.dpatch:
  - Added, fix multimedia keys with latest gnome-settings-daemon, as it
    has changed the interface.
* debian/control,
  debian/rules,
  debian/patches/00list:
  - Add dpatch magic.
* debian/copyright:
  - Add 'Copyright (C)' so that lintian doesn't complain of a missing
    copyright holder.

Added:
  packages/decibel-audio-player/trunk/debian/patches/
  packages/decibel-audio-player/trunk/debian/patches/00list
  packages/decibel-audio-player/trunk/debian/patches/fix_multimedia_keys.dpatch
Modified:
  packages/decibel-audio-player/trunk/debian/changelog
  packages/decibel-audio-player/trunk/debian/control
  packages/decibel-audio-player/trunk/debian/copyright
  packages/decibel-audio-player/trunk/debian/rules

Modified: packages/decibel-audio-player/trunk/debian/changelog
===================================================================
--- packages/decibel-audio-player/trunk/debian/changelog	2008-03-27 14:11:44 UTC (rev 867)
+++ packages/decibel-audio-player/trunk/debian/changelog	2008-03-28 16:58:59 UTC (rev 868)
@@ -1,3 +1,18 @@
+decibel-audio-player (0.09-2) unstable; urgency=low
+
+  * debian/patches/fix_multimedia_keys.dpatch:
+    - Added, fix multimedia keys with latest gnome-settings-daemon, as it
+      has changed the interface.
+  * debian/control,
+    debian/rules,
+    debian/patches/00list:
+    - Add dpatch magic.
+  * debian/copyright:
+    - Add 'Copyright (C)' so that lintian doesn't complain of a missing
+      copyright holder.
+
+ -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Fri, 28 Mar 2008 17:52:51 +0100
+
 decibel-audio-player (0.09-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/decibel-audio-player/trunk/debian/control
===================================================================
--- packages/decibel-audio-player/trunk/debian/control	2008-03-27 14:11:44 UTC (rev 867)
+++ packages/decibel-audio-player/trunk/debian/control	2008-03-28 16:58:59 UTC (rev 868)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Emilio Pozuelo Monfort <pochu at ubuntu.com>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), dpatch
 Build-Depends-Indep: python (>=2.4), python-central (>= 0.5.6)
 Standards-Version: 3.7.3
 Homepage: http://decibel.silent-blade.org/

Modified: packages/decibel-audio-player/trunk/debian/copyright
===================================================================
--- packages/decibel-audio-player/trunk/debian/copyright	2008-03-27 14:11:44 UTC (rev 867)
+++ packages/decibel-audio-player/trunk/debian/copyright	2008-03-28 16:58:59 UTC (rev 868)
@@ -9,7 +9,7 @@
 
 Copyright Holder: 
 
-    2007 Ingelrest Francois <athropos at gmail.com>
+    Copyright (C) 2007 Ingelrest Francois <athropos at gmail.com>
 
 License:
 
@@ -30,5 +30,5 @@
 On Debian systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL'.
 
-The Debian packaging is (C) 2007, Emilio Pozuelo Monfort <pochu at ubuntu.com> and
+The Debian packaging is (C) 2007-2008, Emilio Pozuelo Monfort <pochu at ubuntu.com> and
 is licensed under the GPL, see above.

Added: packages/decibel-audio-player/trunk/debian/patches/00list
===================================================================
--- packages/decibel-audio-player/trunk/debian/patches/00list	                        (rev 0)
+++ packages/decibel-audio-player/trunk/debian/patches/00list	2008-03-28 16:58:59 UTC (rev 868)
@@ -0,0 +1 @@
+fix_multimedia_keys

Added: packages/decibel-audio-player/trunk/debian/patches/fix_multimedia_keys.dpatch
===================================================================
--- packages/decibel-audio-player/trunk/debian/patches/fix_multimedia_keys.dpatch	                        (rev 0)
+++ packages/decibel-audio-player/trunk/debian/patches/fix_multimedia_keys.dpatch	2008-03-28 16:58:59 UTC (rev 868)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_multimedia_keys.dpatch by Emilio Pozuelo Monfort <pochu at ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix multimedia keys with latest gnome-settings-daemon, as it
+## DP: has changed the interface.
+## DP: https://launchpad.net/bugs/188702
+
+ at DPATCH@
+--- decibel-audio-player-0.09/src/modules/GnomeMediaKeys.py.orig	2008-03-28 17:30:38.000000000 +0100
++++ decibel-audio-player-0.09/src/modules/GnomeMediaKeys.py	2008-03-28 17:31:43.000000000 +0100
+@@ -35,7 +35,7 @@ class GnomeMediaKeys(modules.Module):
+         """ Handle messages sent to this modules """
+         if msg == consts.MSG_EVT_APP_STARTED:
+             try:
+-                service = dbus.SessionBus().get_object('org.gnome.SettingsDaemon', '/org/gnome/SettingsDaemon')
++                service = dbus.SessionBus().get_object('org.gnome.SettingsDaemon', '/org/gnome/SettingsDaemon/MediaKeys')
+-                self.dbusInterface = dbus.Interface(service, 'org.gnome.SettingsDaemon')
++                self.dbusInterface = dbus.Interface(service, 'org.gnome.SettingsDaemon.MediaKeys')
+                 self.dbusInterface.GrabMediaPlayerKeys(consts.appName, time.time())
+                 self.dbusInterface.connect_to_signal('MediaPlayerKeyPressed', self.onMediaKey)

Modified: packages/decibel-audio-player/trunk/debian/rules
===================================================================
--- packages/decibel-audio-player/trunk/debian/rules	2008-03-27 14:11:44 UTC (rev 867)
+++ packages/decibel-audio-player/trunk/debian/rules	2008-03-28 16:58:59 UTC (rev 868)
@@ -4,9 +4,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpatch/dpatch.make
+
 build:
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
@@ -15,7 +17,7 @@
 	rm -rf locale/*/LC_MESSAGES/decibel-audio-player.mo
 	rm -rf decibel-audio-player decibel-audio-player-remote
 
-install: build
+install: patch build
 	dh_testdir
 	dh_testroot
 	dh_installdirs




More information about the Python-apps-commits mailing list