public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pipewire] f44: Rebuild for libcamera 0.8.0
@ 2026-11-26 12:26 Wim Taymans
0 siblings, 0 replies; 2+ messages in thread
From: Wim Taymans @ 2026-11-26 12:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pipewire
Branch : f44
Commit : 9aadb409aeadd65e26eed3f167a1799fff582025
Author : Wim Taymans <wtaymans@redhat.com>
Date : 2026-11-09T13:14:18+01:00
Stats : +52/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/pipewire/c/9aadb409aeadd65e26eed3f167a1799fff582025?branch=f44
Log:
Rebuild for libcamera 0.8.0
---
diff --git a/0001-spa-libcamera-device-0.8-compatibility.patch b/0001-spa-libcamera-device-0.8-compatibility.patch
new file mode 100644
index 0000000..d900c59
--- /dev/null
+++ b/0001-spa-libcamera-device-0.8-compatibility.patch
@@ -0,0 +1,50 @@
+From 15c4a92ceae560a4e8c6c14b8c338db075860a57 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= <pobrn@protonmail.com>
+Date: Tue, 27 Oct 2026 21:28:56 +0100
+Subject: [PATCH 1/2] spa: libcamera: device: 0.8 compatibility
+
+Version 0.8 of libcamera has incompatible changes, so adjust the code,
+while keeping compatibility with older versions as well.
+
+(cherry picked from commit 54f2f51f5233026e608f8235f5377b9b473918e3)
+---
+ spa/plugins/libcamera/libcamera-device.cpp | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/spa/plugins/libcamera/libcamera-device.cpp b/spa/plugins/libcamera/libcamera-device.cpp
+index 0aeaed855..c6b6106bc 100644
+--- a/spa/plugins/libcamera/libcamera-device.cpp
++++ b/spa/plugins/libcamera/libcamera-device.cpp
+@@ -28,6 +28,7 @@
+
+ #include <libcamera/camera.h>
+ #include <libcamera/property_ids.h>
++#include <libcamera/version.h>
+
+ using namespace libcamera;
+
+@@ -69,12 +70,21 @@ const char *cameraLoc(const Camera& camera)
+ {
+ if (auto location = camera.properties().get(properties::Location)) {
+ switch (location.value()) {
++#if LIBCAMERA_VERSION_MAJOR > 0 || (LIBCAMERA_VERSION_MAJOR == 0 && LIBCAMERA_VERSION_MINOR >= 8)
++ case properties::LocationFront:
++ return "front";
++ case properties::LocationBack:
++ return "back";
++ case properties::LocationExternal:
++ return "external";
++#else
+ case properties::CameraLocationFront:
+ return "front";
+ case properties::CameraLocationBack:
+ return "back";
+ case properties::CameraLocationExternal:
+ return "external";
++#endif
+ }
+ }
+
+--
+2.56.0
+
diff --git a/pipewire.spec b/pipewire.spec
index 9a08749..9227df6 100644
--- a/pipewire.spec
+++ b/pipewire.spec
@@ -84,6 +84,7 @@ Source0: https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/%{ver
Source1: pipewire.sysusers
## upstream patches
+Patch0001: 0001-spa-libcamera-device-0.8-compatibility.patch
## upstreamable patches
@@ -935,6 +936,7 @@ systemctl --no-reload preset --global pipewire.socket >/dev/null 2>&1 || :
%changelog
* Mon Nov 09 2026 Wim Taymans <wtaymans@redhat.com> - 1.6.11-2
- Rebuild for libcamera 0.8.0
+- Add 0.8.0 compatibility patch
* Thu Oct 29 2026 Wim Taymans <wtaymans@redhat.com> - 1.6.11-1
- Update version to 1.6.11
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/pipewire] f44: Rebuild for libcamera 0.8.0
@ 2026-11-26 12:26 Wim Taymans
0 siblings, 0 replies; 2+ messages in thread
From: Wim Taymans @ 2026-11-26 12:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pipewire
Branch : f44
Commit : 43137e1bedada2f84e31c8b66b43f4d0c35c9f42
Author : Wim Taymans <wtaymans@redhat.com>
Date : 2026-11-09T12:08:30+01:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pipewire/c/43137e1bedada2f84e31c8b66b43f4d0c35c9f42?branch=f44
Log:
Rebuild for libcamera 0.8.0
---
diff --git a/pipewire.spec b/pipewire.spec
index a5103e9..9a08749 100644
--- a/pipewire.spec
+++ b/pipewire.spec
@@ -9,7 +9,7 @@
%global ms_version 0.4.2
# For rpmdev-bumpspec and releng automation
-%global baserelease 1
+%global baserelease 2
#global snapdate 20210107
#global gitcommit b17db2cebc1a5ab2c01851d29c05f79cd2f262bb
@@ -933,6 +933,9 @@ systemctl --no-reload preset --global pipewire.socket >/dev/null 2>&1 || :
%{_datadir}/pipewire/pipewire.conf.d/50-raop.conf
%changelog
+* Mon Nov 09 2026 Wim Taymans <wtaymans@redhat.com> - 1.6.11-2
+- Rebuild for libcamera 0.8.0
+
* Thu Oct 29 2026 Wim Taymans <wtaymans@redhat.com> - 1.6.11-1
- Update version to 1.6.11
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-26 12:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 12:26 [rpms/pipewire] f44: Rebuild for libcamera 0.8.0 Wim Taymans
-- strict thread matches above, loose matches on Subject: below --
2026-11-26 12:26 Wim Taymans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox