rev 6827 - in trunk/packages/kdemultimedia/debian: . patches
Sune Vuorela
pusling-guest at alioth.debian.org
Mon Jul 23 21:18:09 UTC 2007
Author: pusling-guest
Date: 2007-07-23 21:18:09 +0000 (Mon, 23 Jul 2007)
New Revision: 6827
Added:
trunk/packages/kdemultimedia/debian/patches/14_juk_docp_random_album.patch
Modified:
trunk/packages/kdemultimedia/debian/changelog
Log:
add patch from frans pop to make juk work with random album over dcop
Modified: trunk/packages/kdemultimedia/debian/changelog
===================================================================
--- trunk/packages/kdemultimedia/debian/changelog 2007-07-23 21:13:07 UTC (rev 6826)
+++ trunk/packages/kdemultimedia/debian/changelog 2007-07-23 21:18:09 UTC (rev 6827)
@@ -5,6 +5,8 @@
* Introducing endian.h to fix the problems with lame and encoding in the
right way.
* Implement use of uploaders.mk
+ * Add patch to make random album usable thru dcop. Thanks to Frans Pop.
+ (Closes: 432012)
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Mon, 18 Jun 2007 13:07:02 +0100
Added: trunk/packages/kdemultimedia/debian/patches/14_juk_docp_random_album.patch
===================================================================
--- trunk/packages/kdemultimedia/debian/patches/14_juk_docp_random_album.patch (rev 0)
+++ trunk/packages/kdemultimedia/debian/patches/14_juk_docp_random_album.patch 2007-07-23 21:18:09 UTC (rev 6827)
@@ -0,0 +1,50 @@
+--- kdemultimedia-3.5.7.orig/juk/jukIface.h
++++ kdemultimedia-3.5.7/juk/jukIface.h
+@@ -64,6 +64,7 @@
+ virtual void forward() = 0;
+ virtual void seekBack() = 0;
+ virtual void seekForward() = 0;
++ virtual void forwardAlbum() = 0;
+
+ virtual void volumeUp() = 0;
+ virtual void volumeDown() = 0;
+--- kdemultimedia-3.5.7.orig/juk/playermanager.cpp
++++ kdemultimedia-3.5.7/juk/playermanager.cpp
+@@ -443,6 +443,17 @@
+ stop();
+ }
+
++void PlayerManager::forwardAlbum()
++{
++ m_playlistInterface->playNextAlbum();
++ FileHandle file = m_playlistInterface->currentFile();
++
++ if(!file.isNull())
++ play(file);
++ else
++ stop();
++}
++
+ void PlayerManager::volumeUp()
+ {
+ if(!player() || !m_sliderAction || !m_sliderAction->volumeSlider())
+--- kdemultimedia-3.5.7.orig/juk/playlistinterface.h
++++ kdemultimedia-3.5.7/juk/playlistinterface.h
+@@ -65,6 +65,7 @@
+
+ virtual void playNext() = 0;
+ virtual void playPrevious() = 0;
++ virtual void playNextAlbum() = 0;
+ virtual void stop() = 0;
+
+ virtual bool playing() const = 0;
+--- kdemultimedia-3.5.7.orig/juk/playermanager.h
++++ kdemultimedia-3.5.7/juk/playermanager.h
+@@ -78,6 +78,7 @@
+ void playPause();
+ void forward();
+ void back();
++ void forwardAlbum();
+ void volumeUp();
+ void volumeDown();
+ void mute();
More information about the pkg-kde-commits
mailing list