[neon/plasma/kwin/Neon/unstable_noble] debian/patches: use older pw api instead
Carlos De Maine
null at kde.org
Thu Aug 13 02:57:42 BST 2026
Git commit 5f7031ccd4fab5b1b3d8e2e4439ea2da5bfc5a1b by Carlos De Maine.
Committed on 13/08/2026 at 01:58.
Pushed by carlosdem into branch 'Neon/unstable_noble'.
use older pw api instead
D +0 -12 debian/patches/extra_pipewire_include.diff
A +14 -0 debian/patches/pw_stream_queue_buffer.diff
M +1 -1 debian/patches/series
https://invent.kde.org/neon/plasma/kwin/-/commit/5f7031ccd4fab5b1b3d8e2e4439ea2da5bfc5a1b
diff --git a/debian/patches/extra_pipewire_include.diff b/debian/patches/extra_pipewire_include.diff
deleted file mode 100644
index 979447f..0000000
--- a/debian/patches/extra_pipewire_include.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp
-index 5a169e78d0..8cb74c1f18 100644
---- a/src/plugins/screencast/screencaststream.cpp
-+++ b/src/plugins/screencast/screencaststream.cpp
-@@ -33,6 +33,7 @@
- #include <QScopeGuard>
-
- #include <libdrm/drm_fourcc.h>
-+#include <pipewire/stream.h>
- #include <spa/buffer/meta.h>
- #include <spa/pod/dynamic.h>
-
diff --git a/debian/patches/pw_stream_queue_buffer.diff b/debian/patches/pw_stream_queue_buffer.diff
new file mode 100644
index 0000000..45161db
--- /dev/null
+++ b/debian/patches/pw_stream_queue_buffer.diff
@@ -0,0 +1,14 @@
+diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp
+index 5a169e78d0..b6e06edf4f 100644
+--- a/src/plugins/screencast/screencaststream.cpp
++++ b/src/plugins/screencast/screencaststream.cpp
+
+@@ -622,7 +623,7 @@ void ScreenCastStream::record(Contents contents)
+
+ EglContext *context = backend->openglContext();
+ if (!context->makeCurrent()) {
+- pw_stream_return_buffer(m_pwStream, pwBuffer);
++ pw_stream_queue_buffer(m_pwStream, pwBuffer);
+ return;
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index dd03a79..ebf93f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-extra_pipewire_include.diff
+pw_stream_queue_buffer.diff
More information about the Neon-commits
mailing list