Ensure-the-PulseAudio-envrionment-is-set-up (kde#327279)

epel9
Rex Dieter 11 years ago
parent 7962a0aeb7
commit 62349a0b6b

@ -1,7 +1,7 @@
From cf441af677beade70036453a6480d77d7e702346 Mon Sep 17 00:00:00 2001 From cf441af677beade70036453a6480d77d7e702346 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@math.unl.edu> From: Rex Dieter <rdieter@math.unl.edu>
Date: Tue, 5 Nov 2013 20:15:03 -0600 Date: Tue, 5 Nov 2013 20:15:03 -0600
Subject: [PATCH 3/3] fix rpath handling Subject: [PATCH 3/4] fix rpath handling
REVIEW: 113649 REVIEW: 113649
--- ---

@ -0,0 +1,31 @@
From f278a93493ac04ce04d48e8e5b5158caa0621ce3 Mon Sep 17 00:00:00 2001
From: Harald Sitter <sitter@kde.org>
Date: Thu, 7 Nov 2013 16:16:59 +0100
Subject: [PATCH 4/4] Ensure the PulseAudio envrionment is set up when running
older backends
This ensures that pre-4.7 backends (expecting the environment to be
set up by libphonon) retain working volume control.
CCBUG: 327279
FIXED-IN: 4.7.1
---
phonon/audiooutput.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/phonon/audiooutput.cpp b/phonon/audiooutput.cpp
index f40199e..dd33364 100644
--- a/phonon/audiooutput.cpp
+++ b/phonon/audiooutput.cpp
@@ -108,6 +108,8 @@ void AudioOutputPrivate::init(Phonon::Category c)
AudioOutputInterface47 *iface = Iface<AudioOutputInterface47>::cast(this);
if (iface)
iface->setStreamUuid(streamUuid);
+ else
+ pulse->setupStreamEnvironment(streamUuid);
}
}
#endif
--
1.8.4.2

@ -11,7 +11,7 @@
Summary: Multimedia framework api Summary: Multimedia framework api
Name: phonon Name: phonon
Version: 4.7.0 Version: 4.7.0
Release: 5%{?dist} Release: 6%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: http://phonon.kde.org/ URL: http://phonon.kde.org/
%if 0%{?snap} %if 0%{?snap}
@ -23,6 +23,7 @@ Source0: http://download.kde.org/stable/phonon/%{version}/phonon-%{version}.tar.
Patch0: phonon-4.7.0-really-fix-rpath-handling.patch Patch0: phonon-4.7.0-really-fix-rpath-handling.patch
## upstream patches ## upstream patches
Patch0003: 0003-fix-rpath-handling.patch Patch0003: 0003-fix-rpath-handling.patch
Patch0004: 0004-Ensure-the-PulseAudio-envrionment-is-set-up-when-run.patch
BuildRequires: automoc4 >= 0.9.86 BuildRequires: automoc4 >= 0.9.86
BuildRequires: cmake >= 2.6.9 BuildRequires: cmake >= 2.6.9
@ -86,6 +87,7 @@ Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
%setup -q %setup -q
%patch0003 -p1 -b .0003 %patch0003 -p1 -b .0003
%patch0004 -p1 -b .0004
%patch0 -p1 -b .fix-rpath %patch0 -p1 -b .fix-rpath
@ -193,6 +195,9 @@ test "$(pkg-config --modversion phonon4qt5)" = "%{version}"
%changelog %changelog
* Mon Nov 11 2013 Rex Dieter <rdieter@fedoraproject.org> 4.7.0-6
- Ensure-the-PulseAudio-envrionment-is-set-up (kde#327279)
* Mon Nov 11 2013 Rex Dieter <rdieter@fedoraproject.org> 4.7.0-5 * Mon Nov 11 2013 Rex Dieter <rdieter@fedoraproject.org> 4.7.0-5
- rebuild (qt5 qreal/arm) - rebuild (qt5 qreal/arm)

Loading…
Cancel
Save