Hello community,
here is the log from the commit of package phonon4qt5-backend-vlc for openSUSE:Factory checked in at 2015-01-07 09:38:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/phonon4qt5-backend-vlc (Old)
and /work/SRC/openSUSE:Factory/.phonon4qt5-backend-vlc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "phonon4qt5-backend-vlc"
Changes:
--------
--- /work/SRC/openSUSE:Factory/phonon4qt5-backend-vlc/phonon4qt5-backend-vlc.changes 2014-10-22 16:23:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.phonon4qt5-backend-vlc.new/phonon4qt5-backend-vlc.changes 2015-01-07 09:38:13.000000000 +0100
@@ -1,0 +2,46 @@
+Thu Dec 11 21:47:43 UTC 2014 - hrvoje.senjan@gmail.com
+
+- Update to 0.8.2:
+ * Fix compilation with Qt 5.2.0
+
+-------------------------------------------------------------------
+Wed Nov 5 23:02:09 UTC 2014 - hrvoje.senjan@gmail.com
+
+- Update to 0.8.1:
+ * Code style improvements.
+ * VLC 2.2 compatibility - VLC 2.2 changed the time when
+ PulseAudio streams are constructed, rendering the Phonon
+ PulseSupport non-functional as it injects stream-dependent
+ properties through the environment which needs to happen close
+ to stream creation to avoid timing issues. The changed stream
+ creation time makes it impossible to provide high-level
+ PulseAudio control while also allowing Phonon applications to
+ construct multiple AudioOutputs in a very short time frame.
+ To allow core functionality from working under these
+ circumstances Phonon PulseSupport integration is disabled
+ when built against VLC >= 2.2 leading to the following
+ known regressions:
+ Changing the volume through the PulseAudio stream itself
+ is not propagated to Phonon AudioOutputs, meaning the
+ application can not reflect volume changes done through
+ other applications (e.g. a volume mixer).
+ Changing the muteness through the PulseAudio stream is
+ not propagated either.
+ The PulseAudio media.role property (as well as derived
+ properties) is always set to 'video' making all Phonon
+ application use the video category for output device
+ selection (e.g. as seen in the Phonon KCM).
+ * Revised the logic used to come up with an icon name for
+ libvlc. If the application has QApplication::windowIcon
+ set with an QIcon constructed through QIcon::fromTheme(string)
+ the actual icon name will be used.
+ Otherwise the lower-case version of
+ QCoreApplication::applicationName is used.
+ * Setting the libvlc app id is now only dependent on
+ QCoreApplication::applicationName being set (previously
+ it was also dependent on QCoreApplication::applicationVersion).
+ This change was made to accomodate the fact that most
+ applications neglect to set a version.
+- Bump phonon4qt5 (Build)Requires to 4.8.2
+
+-------------------------------------------------------------------
Old:
----
phonon-backend-vlc-0.8.0.tar.xz
New:
----
phonon-backend-vlc-0.8.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ phonon4qt5-backend-vlc.spec ++++++
--- /var/tmp/diff_new_pack.WBAo8o/_old 2015-01-07 09:38:13.000000000 +0100
+++ /var/tmp/diff_new_pack.WBAo8o/_new 2015-01-07 09:38:13.000000000 +0100
@@ -17,15 +17,15 @@
Name: phonon4qt5-backend-vlc
-Version: 0.8.0
+Version: 0.8.2
Release: 0
Summary: Phonon VLC Backend
License: LGPL-2.1+
Group: Development/Libraries/KDE
Url: http://phonon.kde.org/
%define filename phonon-backend-vlc
-%define _phonon4qt5_version 4.8.0
-Source: http://download.kde.org/stable/phonon/%{filename}/%{version}/%{filename}-%{version}.tar.xz
+%define _phonon4qt5_version 4.8.2
+Source: http://download.kde.org/stable/phonon/%{filename}/%{version}/src/%{filename}-%{version}.tar.xz
BuildRequires: alsa-devel
BuildRequires: cmake
BuildRequires: kf5-filesystem
++++++ phonon-backend-vlc-0.8.0.tar.xz -> phonon-backend-vlc-0.8.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phonon-backend-vlc-0.8.0/CMakeLists.txt new/phonon-backend-vlc-0.8.2/CMakeLists.txt
--- old/phonon-backend-vlc-0.8.0/CMakeLists.txt 2014-09-06 18:17:18.000000000 +0200
+++ new/phonon-backend-vlc-0.8.2/CMakeLists.txt 2014-12-04 10:29:23.000000000 +0100
@@ -25,7 +25,7 @@
set(PHONON_VLC_MAJOR_VERSION "0")
set(PHONON_VLC_MINOR_VERSION "8")
-set(PHONON_VLC_PATCH_VERSION "0")
+set(PHONON_VLC_PATCH_VERSION "2")
set(PHONON_VLC_VERSION "${PHONON_VLC_MAJOR_VERSION}.${PHONON_VLC_MINOR_VERSION}.${PHONON_VLC_PATCH_VERSION}")
add_definitions(-DPHONON_VLC_VERSION="${PHONON_VLC_VERSION}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phonon-backend-vlc-0.8.0/src/audio/audiooutput.cpp new/phonon-backend-vlc-0.8.2/src/audio/audiooutput.cpp
--- old/phonon-backend-vlc-0.8.0/src/audio/audiooutput.cpp 2014-09-06 18:17:18.000000000 +0200
+++ new/phonon-backend-vlc-0.8.2/src/audio/audiooutput.cpp 2014-12-04 10:29:23.000000000 +0100
@@ -126,7 +126,19 @@
void AudioOutput::setOutputDeviceImplementation()
{
Q_ASSERT(m_player);
- if (PulseSupport::getInstance()->isActive()) {
+#if (LIBVLC_VERSION_INT >= LIBVLC_VERSION(2, 2, 0, 0))
+ // VLC 2.2 has the PulseSupport overrides always disabled because of
+ // incompatibility. Also see backend.cpp for more detals.
+ // To get access to the correct activity state we need to temporarily
+ // enable pulse and then disable it again. This is necessary because isActive
+ // is in fact isActive&isEnabled.............
+ PulseSupport::getInstance()->enable(true);
+ const bool pulseActive = PulseSupport::getInstance()->isActive();
+ PulseSupport::getInstance()->enable(false);
+#else
+ const bool pulseActive = PulseSupport::getInstance()->isActive();
+#endif
+ if (pulseActive) {
m_player->setAudioOutput("pulse");
debug() << "Setting aout to pulse";
return;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/phonon-backend-vlc-0.8.0/src/backend.cpp new/phonon-backend-vlc-0.8.2/src/backend.cpp
--- old/phonon-backend-vlc-0.8.0/src/backend.cpp 2014-09-06 18:17:18.000000000 +0200
+++ new/phonon-backend-vlc-0.8.2/src/backend.cpp 2014-12-04 10:29:23.000000000 +0100
@@ -21,11 +21,12 @@
#include "backend.h"
-#include