[neon/neon-packaging/kpipewire/Neon/release_jammy] debian/patches: reverse the flow of the neutrons
Jonathan Riddell
null at kde.org
Tue Oct 8 10:37:41 BST 2024
Git commit 7df560e24d4283d7fe2eb961cd6031e57809654e by Jonathan Riddell.
Committed on 08/10/2024 at 09:37.
Pushed by jriddell into branch 'Neon/release_jammy'.
reverse the flow of the neutrons
M +9 -9 debian/patches/pipewire2.diff
https://invent.kde.org/neon/neon-packaging/kpipewire/-/commit/7df560e24d4283d7fe2eb961cd6031e57809654e
diff --git a/debian/patches/pipewire2.diff b/debian/patches/pipewire2.diff
index 2f51bde..52c94b8 100644
--- a/debian/patches/pipewire2.diff
+++ b/debian/patches/pipewire2.diff
@@ -1,24 +1,24 @@
diff --git a/src/pipewirecore.cpp b/src/pipewirecore.cpp
-index f9d70e7..82c3e18 100644
+index 82c3e18..f9d70e7 100644
--- a/src/pipewirecore.cpp
+++ b/src/pipewirecore.cpp
-@@ -16,8 +16,6 @@
+@@ -16,6 +16,8 @@
#include "logging.h"
--using namespace Qt::StringLiterals;
--
++using namespace Qt::StringLiterals;
++
pw_core_events PipeWireCore::s_pwCoreEvents = {
.version = PW_VERSION_CORE_EVENTS,
.info = &PipeWireCore::onCoreInfo,
-@@ -85,10 +83,6 @@ PipeWireCore::~PipeWireCore()
+@@ -83,6 +85,10 @@ PipeWireCore::~PipeWireCore()
bool PipeWireCore::init(int fd)
{
m_pwMainLoop = pw_loop_new(nullptr);
-- if (!m_pwMainLoop) {
-- m_error = u"Invalid PipeWire installation. See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3296 for more details."_s;
-- return false;
-- }
++ if (!m_pwMainLoop) {
++ m_error = u"Invalid PipeWire installation. See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3296 for more details."_s;
++ return false;
++ }
pw_loop_enter(m_pwMainLoop);
QSocketNotifier *notifier = new QSocketNotifier(pw_loop_get_fd(m_pwMainLoop), QSocketNotifier::Read, this);
More information about the Neon-commits
mailing list