public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libcamera] rawhide: Disable RPi5 support on RHEL
Date: Thu, 19 Nov 2026 17:16:27 GMT [thread overview]
Message-ID: <179510858760.1.6228871305123252972.rpms-libcamera-3350d6929083@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libcamera
Branch : rawhide
Commit : 3350d6929083398f0bbfd0aa81aa9a1b4e7ed10b
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-11-18T22:12:37-05:00
Stats : +49/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/libcamera/c/3350d6929083398f0bbfd0aa81aa9a1b4e7ed10b?branch=rawhide
Log:
Disable RPi5 support on RHEL
---
diff --git a/0001-optional-rpi-pisp.patch b/0001-optional-rpi-pisp.patch
new file mode 100644
index 0000000..3564a84
--- /dev/null
+++ b/0001-optional-rpi-pisp.patch
@@ -0,0 +1,38 @@
+diff --git a/src/ipa/rpi/pisp/meson.build b/src/ipa/rpi/pisp/meson.build
+index 878e349..ec1f534 100644
+--- a/src/ipa/rpi/pisp/meson.build
++++ b/src/ipa/rpi/pisp/meson.build
+@@ -1,5 +1,9 @@
+ # SPDX-License-Identifier: CC0-1.0
+
++if not libpisp_dep.found()
++ subdir_done()
++endif
++
+ ipa_name = 'ipa_rpi_pisp'
+
+ pisp_ipa_deps = [
+diff --git a/src/libcamera/pipeline/rpi/pisp/meson.build b/src/libcamera/pipeline/rpi/pisp/meson.build
+index 178df94..3805d61 100644
+--- a/src/libcamera/pipeline/rpi/pisp/meson.build
++++ b/src/libcamera/pipeline/rpi/pisp/meson.build
+@@ -1,11 +1,18 @@
+ # SPDX-License-Identifier: CC0-1.0
+
++libpisp_dep = dependency('libpisp',
++ fallback : ['libpisp', 'libpisp_dep'],
++ required : not get_option('pipelines').contains('auto'))
++
++if not libpisp_dep.found()
++ subdir_done()
++endif
++
+ libcamera_internal_sources += files([
+ 'pisp.cpp',
+ ])
+
+ librt = cc.find_library('rt', required : true)
+-libpisp_dep = dependency('libpisp', fallback : ['libpisp', 'libpisp_dep'])
+
+ libcamera_deps += [libpisp_dep, librt]
+
diff --git a/libcamera.spec b/libcamera.spec
index 1540849..ec7a8fc 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -1,6 +1,10 @@
+%ifarch %{arm64}
+%bcond pisp %{undefined rhel}
+%endif
+
Name: libcamera
Version: 0.8.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A library to support complex camera ISPs
# see .reuse/dep5 and COPYING for details
License: LGPL-2.1-or-later
@@ -11,6 +15,8 @@ Source1: qcam.desktop
Source2: qcam.metainfo.xml
Source3: 70-libcamera.rules
+Patch0: 0001-optional-rpi-pisp.patch
+
# libcamera does not currently build on these architectures
ExcludeArch: s390x ppc64le
@@ -44,7 +50,7 @@ BuildRequires: python3-ply
BuildRequires: python3-pyyaml
BuildRequires: SDL2-devel
BuildRequires: systemd-devel
-%ifarch %{arm64}
+%if %{with pisp}
BuildRequires: libpisp-devel
%endif
# libcamera is not really usable without its IPA plugins
@@ -196,6 +202,9 @@ install -D -m 644 %SOURCE3 %{buildroot}/%{_udevrulesdir}/
%{python3_sitearch}/*
%changelog
+* Thu Nov 19 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8.0-3
+- Disable RPi5 support on RHEL
+
* Tue Nov 17 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 0.8.0-2
- Enable RPi5 ISP support
reply other threads:[~2026-11-19 17:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179510858760.1.6228871305123252972.rpms-libcamera-3350d6929083@fedoraproject.org \
--to=yselkowi@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox