parent
985f9584b6
commit
6e8727e183
@ -0,0 +1,33 @@
|
||||
From 54b34b62eb54385e75fcbde2717b4bac0f7e40d3 Mon Sep 17 00:00:00 2001
|
||||
From: Harald Sitter <sitter@kde.org>
|
||||
Date: Mon, 11 Nov 2013 16:32:00 +0100
|
||||
Subject: [PATCH 5/6] add more explicit debug to setupStreamEnvironment
|
||||
|
||||
---
|
||||
phonon/pulsesupport.cpp | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/phonon/pulsesupport.cpp b/phonon/pulsesupport.cpp
|
||||
index 48c441e..f55d0b4 100644
|
||||
--- a/phonon/pulsesupport.cpp
|
||||
+++ b/phonon/pulsesupport.cpp
|
||||
@@ -1232,7 +1232,7 @@ void PulseSupport::setupStreamEnvironment(QString streamUuid)
|
||||
{
|
||||
pDebug() << "Please note that your current Phonon backend is trying to force"
|
||||
" stream dependent PulseAudio properties through envrionment variables."
|
||||
- " Slightly unprecise timing in doing so will prevent the first"
|
||||
+ " Slightly unprecise timing in doing so will cause the first"
|
||||
" of two subsequently started AudioOutputs to have disfunct volume"
|
||||
" control. Also see https://bugs.kde.org/show_bug.cgi?id=321288";
|
||||
|
||||
@@ -1241,6 +1241,7 @@ void PulseSupport::setupStreamEnvironment(QString streamUuid)
|
||||
QHashIterator<QString, QString> it(properties);
|
||||
while (it.hasNext()) {
|
||||
it.next();
|
||||
+ pDebug() << "PULSE_PROP_OVERRIDE_" << it.key() << " = " << it.value();
|
||||
qputenv(QString("PULSE_PROP_OVERRIDE_%1").arg(it.key()).toUtf8(), it.value().toUtf8());
|
||||
}
|
||||
}
|
||||
--
|
||||
1.8.4.2
|
||||
|
@ -0,0 +1,31 @@
|
||||
From 73b5d9628fa15890f78dec28653447596ab04539 Mon Sep 17 00:00:00 2001
|
||||
From: Harald Sitter <sitter@kde.org>
|
||||
Date: Mon, 11 Nov 2013 17:20:52 +0100
|
||||
Subject: [PATCH 6/6] Add missing qdebug operator defintion.
|
||||
|
||||
BUG: 327455
|
||||
FIXED-IN: 4.7.1
|
||||
---
|
||||
phonon/phononnamespace.cpp | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/phonon/phononnamespace.cpp b/phonon/phononnamespace.cpp
|
||||
index cf1df73..275f4ea 100644
|
||||
--- a/phonon/phononnamespace.cpp
|
||||
+++ b/phonon/phononnamespace.cpp
|
||||
@@ -167,6 +167,12 @@ namespace Phonon
|
||||
return dbg.maybeSpace();
|
||||
}
|
||||
|
||||
+ QDebug operator <<(QDebug dbg, const Phonon::CaptureCategory &category)
|
||||
+ {
|
||||
+ dbg.space() << categoryToString(category);
|
||||
+ return dbg.maybeSpace();
|
||||
+ }
|
||||
+
|
||||
QDebug operator <<(QDebug dbg, const Phonon::Capture::DeviceType &type)
|
||||
{
|
||||
switch (type) {
|
||||
--
|
||||
1.8.4.2
|
||||
|
@ -1,11 +0,0 @@
|
||||
diff -ur phonon-4.7.0-fix-rpath-handling/cmake/FindPhononInternal.cmake phonon-4.7.0-really-fix-rpath-handling/cmake/FindPhononInternal.cmake
|
||||
--- phonon-4.7.0-fix-rpath-handling/cmake/FindPhononInternal.cmake 2013-11-10 23:25:47.000000000 +0100
|
||||
+++ phonon-4.7.0-really-fix-rpath-handling/cmake/FindPhononInternal.cmake 2013-11-10 23:28:10.000000000 +0100
|
||||
@@ -216,7 +216,6 @@
|
||||
# These two options below make it set the RPATH of the installed targets to all
|
||||
# RPATH directories outside the current CMAKE_BINARY_DIR and also the library
|
||||
# install directory. Alex
|
||||
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
set(_abs_LIB_INSTALL_DIR "${LIB_INSTALL_DIR}")
|
||||
if (NOT IS_ABSOLUTE "${_abs_LIB_INSTALL_DIR}")
|
||||
set(_abs_LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
|
@ -0,0 +1,19 @@
|
||||
diff -up phonon-4.7.0/cmake/FindPhononInternal.cmake.fix-rpath phonon-4.7.0/cmake/FindPhononInternal.cmake
|
||||
--- phonon-4.7.0/cmake/FindPhononInternal.cmake.fix-rpath 2013-11-15 07:38:14.447106838 -0600
|
||||
+++ phonon-4.7.0/cmake/FindPhononInternal.cmake 2013-11-15 07:39:07.616134963 -0600
|
||||
@@ -216,7 +216,6 @@ endif(APPLE)
|
||||
# These two options below make it set the RPATH of the installed targets to all
|
||||
# RPATH directories outside the current CMAKE_BINARY_DIR and also the library
|
||||
# install directory. Alex
|
||||
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
set(_abs_LIB_INSTALL_DIR "${LIB_INSTALL_DIR}")
|
||||
if (NOT IS_ABSOLUTE "${_abs_LIB_INSTALL_DIR}")
|
||||
set(_abs_LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
|
||||
@@ -224,6 +223,7 @@ endif()
|
||||
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${_abs_LIB_INSTALL_DIR}" _isSystemPlatformLibDir)
|
||||
list(FIND CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "${_abs_LIB_INSTALL_DIR}" _isSystemCxxLibDir)
|
||||
if("${_isSystemPlatformLibDir}" STREQUAL "-1" AND "${_isSystemCxxLibDir}" STREQUAL "-1")
|
||||
+ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
set(CMAKE_INSTALL_RPATH "${_abs_LIB_INSTALL_DIR}")
|
||||
endif("${_isSystemPlatformLibDir}" STREQUAL "-1" AND "${_isSystemCxxLibDir}" STREQUAL "-1")
|
||||
|
Loading…
Reference in new issue