The package rpms/libcamera.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/libcamera.git/commit/?id=e93461079ef....
Change: -%ifarch ppc64le
Thanks.
Full change: ============
commit e93461079efe8744331c57dfbcca59db257fdc29 Author: Peter Robinson pbrobinson@gmail.com Date: Wed Jun 19 11:48:51 2024 +0100
Add udev rules file, minor package cleanups
diff --git a/70-libcamera.rules b/70-libcamera.rules new file mode 100644 index 0000000..89e1533 --- /dev/null +++ b/70-libcamera.rules @@ -0,0 +1 @@ +SUBSYSTEM=="dma_heap", GROUP="video", MODE="0660" diff --git a/libcamera.spec b/libcamera.spec index 93c16c1..6d72079 100644 --- a/libcamera.spec +++ b/libcamera.spec @@ -1,16 +1,13 @@ Name: libcamera Version: 0.3.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 URL: http://libcamera.org/
-# libcamera does not currently build on these architectures -ExcludeArch: s390x ppc64le - # Upstream is still under development and does not release tarballs, -# but they do tag releases (https://git.linuxtv.org/libcamera.git). +# but they do tag releases (https://git.libcamera.org/libcamera/libcamera.git/) # # For use the following to do generate a tarball from a git tag: # @@ -18,11 +15,15 @@ ExcludeArch: s390x ppc64le Source0: %{name}-%{version}.tar.xz Source1: qcam.desktop Source2: qcam.metainfo.xml +Source3: 70-libcamera.rules
# From: https://lists.libcamera.org/pipermail/libcamera-devel/2024-January/040209.ht... # From: https://lists.libcamera.org/pipermail/libcamera-devel/2024-January/040215.ht... Patch0001: 0001-apps-qcam-Port-to-Qt-6.patch
+# libcamera does not currently build on these architectures +ExcludeArch: s390x ppc64le + BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: gtest-devel @@ -30,28 +31,28 @@ BuildRequires: desktop-file-utils BuildRequires: meson BuildRequires: openssl BuildRequires: ninja-build -BuildRequires: python3-devel -BuildRequires: python3-jinja2 -BuildRequires: python3-ply -BuildRequires: python3-pyyaml -BuildRequires: python3-sphinx BuildRequires: pkgconfig(glib-2.0) BuildRequires: gnutls-devel +BuildRequires: pkgconfig(gstreamer-video-1.0) +BuildRequires: pkgconfig(gstreamer-allocators-1.0) BuildRequires: libatomic BuildRequires: libevent-devel BuildRequires: libtiff-devel BuildRequires: libyaml-devel BuildRequires: lttng-ust-devel -BuildRequires: systemd-devel BuildRequires: pkgconfig(Qt6Core) BuildRequires: pkgconfig(Qt6Gui) BuildRequires: pkgconfig(Qt6OpenGL) BuildRequires: pkgconfig(Qt6OpenGLWidgets) BuildRequires: pkgconfig(Qt6Widgets) -BuildRequires: pkgconfig(gstreamer-video-1.0) -BuildRequires: pkgconfig(gstreamer-allocators-1.0) BuildRequires: pybind11-devel +BuildRequires: python3-devel +BuildRequires: python3-jinja2 +BuildRequires: python3-ply +BuildRequires: python3-pyyaml +BuildRequires: python3-sphinx BuildRequires: SDL2-devel +BuildRequires: systemd-devel
%description libcamera is a library that deals with heavy hardware image processing @@ -123,7 +124,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Python bindings for %{name}
%prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1
%build # cam/qcam crash with LTO @@ -131,16 +132,6 @@ Python bindings for %{name} export CFLAGS="%{optflags} -Wno-deprecated-declarations" export CXXFLAGS="%{optflags} -Wno-deprecated-declarations"
-%ifarch ppc64le -# 64-bit POWER LE does not use the IEEE long double ABI but -# instead a custom one by default. This leads to libcamera -# failing to build, use IEEE long double ABI to prevent it. -# -# https://bugzilla.redhat.com/show_bug.cgi?id=1538817 -export CFLAGS="${CFLAGS} -mabi=ieeelongdouble" -export CXXFLAGS="${CXXFLAGS} -mabi=ieeelongdouble" -%endif - %meson -Dv4l2=true %meson_build
@@ -164,6 +155,10 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications \ mkdir -p %{buildroot}/%{_metainfodir}/ cp -a %SOURCE2 %{buildroot}/%{_metainfodir}/
+# Install udev rules +mkdir -p %{buildroot}/%{_udevrulesdir}/ +install -D -m 644 %SOURCE3 %{buildroot}/%{_udevrulesdir}/ + # Remove the Sphinx build leftovers rm -rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-*/html/.buildinfo rm -rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-*/html/.doctrees @@ -172,6 +167,7 @@ rm -rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-*/html/.doctrees %license COPYING.rst LICENSES/LGPL-2.1-or-later.txt %{_libdir}/libcamera*.so.0.3 %{_libdir}/libcamera*.so.0.3.0 +%{_udevrulesdir}/70-libcamera.rules
%files devel %{_includedir}/%{name}/ @@ -208,6 +204,9 @@ rm -rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}-*/html/.doctrees %{python3_sitearch}/*
%changelog +* Wed Jun 19 2024 Peter Robinson pbrobinson@fedoraproject.org - 0.3.0-3 +- Add udev rules file, minor package cleanups + * Fri Jun 07 2024 Python Maint python-maint@redhat.com - 0.3.0-2 - Rebuilt for Python 3.13
arch-excludes@lists.fedoraproject.org