Compare commits
61 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7d84a2f01e | |||
| 98841aa30e | |||
| 5481d20259 | |||
| 03f30a6f36 | |||
| aa48000e64 | |||
| 8838e10e87 | |||
| 74c0e2f6c0 | |||
| 67fb9102d1 | |||
| 76488c780b | |||
| 7fa4ae390f | |||
| 59532a365c | |||
| 76de758078 | |||
| 0aab2f393e | |||
| 96c2436306 | |||
| 1082b35005 | |||
| 33a56e992a | |||
| 8adce2359a | |||
| 1dae4ed60d | |||
| fb1a9894eb | |||
| 01a858bb14 | |||
| 0880faa3fb | |||
| 3379cacde9 | |||
| aefad565c6 | |||
| fd5198a2b6 | |||
| f47db589ac | |||
| 5344ac30fb | |||
| 8e67cc2377 | |||
| bb6fe94e1e | |||
| e448df1d23 | |||
| 3472954e30 | |||
| 743671ac22 | |||
| b1226dc989 | |||
| 99c5a4825a | |||
| 489d3bc3c8 | |||
| 7d1ef4101d | |||
| 9939c832a6 | |||
| 6a61e1b70a | |||
| a6f3d6c60b | |||
| 325fbf1bf2 | |||
| f1d82dde24 | |||
| 05565bed7b | |||
| 39fe66ebc6 | |||
| e7f46ebedb | |||
| be36ffa5a5 | |||
| 5b68f7f119 | |||
|
|
72d4c69bd2 | ||
|
|
a1e8288163 | ||
| daa9768622 | |||
| 2b9ac9eaca | |||
| 95c580b3e3 | |||
| 5267758c51 | |||
| 20b773b2bc | |||
| 7dabd86819 | |||
| 314d8074f9 | |||
| e022cf9cf3 | |||
| a947ca7173 | |||
| 56d5d94fe2 | |||
| 0f3c64f78d | |||
| 25c26bf338 | |||
| 8fd5818ce4 | |||
| 74ec3fe50d |
6
_service
6
_service
@@ -1,9 +1,9 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="manual">
|
<service name="tar_scm" mode="manual">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://git.libcamera.org/libcamera/libcamera.git</param>
|
<param name="url">https://gitlab.freedesktop.org/rmader/libcamera.git</param>
|
||||||
<param name="revision">refs/tags/v0.5.1</param>
|
<param name="revision">postmarketos-gpuisp-2026-01-17</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">v0.6.0</param>
|
||||||
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
|
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="manual">
|
<service name="recompress" mode="manual">
|
||||||
|
|||||||
1
libcamera
Submodule
1
libcamera
Submodule
Submodule libcamera added at 413872e080
BIN
libcamera-0.5.1.tar.xz
LFS
BIN
libcamera-0.5.1.tar.xz
LFS
Binary file not shown.
BIN
libcamera-0.6.0.tar.xz
LFS
Normal file
BIN
libcamera-0.6.0.tar.xz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 14 19:42:13 UTC 2026 - Adrian Campos Garrido <adriancampos@teachelp.com>
|
||||||
|
|
||||||
|
- Update to 0.6.0 with GPUISP
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 9 12:42:46 UTC 2025 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- Update to release 0.5.2
|
||||||
|
* This release substantial development on gstreamer.
|
||||||
|
* In core we can see development that cleans up ProcessManager
|
||||||
|
in a drive to reduce singleton patterns throughout libcamera.
|
||||||
|
* Pipelines are now able to limit the number of requests queued
|
||||||
|
into the pipeline handler which helps prevent issues when
|
||||||
|
applications desire to use a larger request queue.
|
||||||
|
* It's now possible to check if controls exist with new macros
|
||||||
|
defined for every control to help codebases compile against
|
||||||
|
multiple versions.
|
||||||
|
- see https://gitlab.freedesktop.org/camera/libcamera/-/releases/v0.5.2
|
||||||
|
for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 9 11:32:16 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.de>
|
Wed Jul 9 11:32:16 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.de>
|
||||||
|
|
||||||
|
|||||||
110
libcamera.spec
110
libcamera.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libcamera
|
# spec file for package libcamera
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,15 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define lname libcamera0_5
|
%define lname libcamera0_6
|
||||||
%define lname_base libcamera-base0_5
|
%define lname_base libcamera-base0_6
|
||||||
|
%define lname_hal libcamera-hal
|
||||||
|
|
||||||
%if "@BUILD_FLAVOR@" != ""
|
%if "@BUILD_FLAVOR@" != ""
|
||||||
%define extname -@BUILD_FLAVOR@
|
%define extname -@BUILD_FLAVOR@
|
||||||
%else
|
%else
|
||||||
%define extname %nil
|
%define extname %nil
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Signing breaks reproducible builds, see
|
||||||
|
# https://gitlab.freedesktop.org/camera/libcamera/-/issues/233
|
||||||
|
%bcond_with signed_ipa
|
||||||
|
|
||||||
Name: libcamera%extname
|
Name: libcamera%extname
|
||||||
Version: 0.5.1
|
Version: 0.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A complex camera support library in C++
|
Summary: A complex camera support library in C++
|
||||||
License: CC-BY-SA-4.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
License: CC-BY-SA-4.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
@@ -33,29 +40,35 @@ URL: https://libcamera.org/
|
|||||||
#Git-Web: https://git.libcamera.org/libcamera/libcamera.git/
|
#Git-Web: https://git.libcamera.org/libcamera/libcamera.git/
|
||||||
Source: libcamera-%version.tar.xz
|
Source: libcamera-%version.tar.xz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch0: reproducible.patch
|
|
||||||
BuildRequires: boost-devel
|
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
%if 0%{?suse_version} <= 1500
|
BuildRequires: meson >= 1.0.1
|
||||||
BuildRequires: gcc11
|
|
||||||
BuildRequires: gcc11-c++
|
|
||||||
%endif
|
|
||||||
BuildRequires: meson >= 0.56
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python3-Jinja2
|
BuildRequires: python3-Jinja2
|
||||||
BuildRequires: python3-PyYAML
|
BuildRequires: python3-PyYAML
|
||||||
BuildRequires: python3-ply
|
BuildRequires: python3-ply
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gnutls)
|
|
||||||
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
||||||
BuildRequires: pkgconfig(libevent_pthreads)
|
BuildRequires: pkgconfig(libevent_pthreads)
|
||||||
BuildRequires: pkgconfig(libtiff-4)
|
BuildRequires: pkgconfig(libtiff-4)
|
||||||
BuildRequires: pkgconfig(libudev)
|
BuildRequires: pkgconfig(libudev)
|
||||||
BuildRequires: pkgconfig(openssl)
|
|
||||||
BuildRequires: pkgconfig(pybind11)
|
BuildRequires: pkgconfig(pybind11)
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pkgconfig(yaml-0.1)
|
BuildRequires: pkgconfig(yaml-0.1)
|
||||||
|
BuildRequires: pkgconfig(libpisp)
|
||||||
|
BuildRequires: pkgconfig(gtest)
|
||||||
|
BuildRequires: pkgconfig(libyuv)
|
||||||
|
BuildRequires: Mesa-libGLESv3-devel
|
||||||
|
BuildRequires: pkgconfig(libexif)
|
||||||
|
|
||||||
|
%if %{with signed_ipa}
|
||||||
|
# OpenSSL used for signing, gnutls for runtime verification
|
||||||
|
BuildRequires: openssl
|
||||||
|
BuildRequires: pkgconfig(gnutls)
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64 %arm
|
||||||
|
BuildRequires: pkgconfig(libpisp)
|
||||||
|
%endif
|
||||||
%if "@BUILD_FLAVOR@" != ""
|
%if "@BUILD_FLAVOR@" != ""
|
||||||
BuildRequires: pkgconfig(Qt6Core)
|
BuildRequires: pkgconfig(Qt6Core)
|
||||||
BuildRequires: pkgconfig(Qt6Gui)
|
BuildRequires: pkgconfig(Qt6Gui)
|
||||||
@@ -97,35 +110,67 @@ expose multiple kernel device nodes in /dev for different stages of
|
|||||||
the pipeline. The libcamera API groups and exposes these pieces as
|
the pipeline. The libcamera API groups and exposes these pieces as
|
||||||
what users consider one "camera".
|
what users consider one "camera".
|
||||||
|
|
||||||
|
%package -n %lname_hal
|
||||||
|
Summary: A complex camera support library in C++
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname_hal
|
||||||
|
libcamera is an experimental camera user-space API.
|
||||||
|
|
||||||
|
A camera may consist of multiple sensors or function blocks, and can
|
||||||
|
expose multiple kernel device nodes in /dev for different stages of
|
||||||
|
the pipeline. The libcamera API groups and exposes these pieces as
|
||||||
|
what users consider one "camera".
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development for libcamera, a camera support library
|
Summary: Development for libcamera, a camera support library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
Requires: %lname_base = %version
|
Requires: %lname_base = %version
|
||||||
|
Requires: %lname_hal = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libcamera is an experimental camera user-space API.
|
libcamera is an experimental camera user-space API.
|
||||||
|
|
||||||
This subpackage contains the header files.
|
This subpackage contains the header files.
|
||||||
|
|
||||||
%package tools
|
%package ipa
|
||||||
Summary: Command-line utilities from libcamera
|
Summary: Plugins for hardware specific image processing blocks
|
||||||
Group: Development/Tools/Other
|
Group: System/Libraries
|
||||||
|
# Previously named libcamera-tools, although it provides none
|
||||||
|
Provides: libcamera-tools = %version-%release
|
||||||
|
Obsoletes: libcamera-tools < %version-%release
|
||||||
|
|
||||||
%description tools
|
%description ipa
|
||||||
libcamera is an experimental camera user-space API.
|
libcamera is an experimental camera user-space API.
|
||||||
|
|
||||||
|
This package provides plugins for interfacing with various ISP
|
||||||
|
(Image Signal Processor) hardware blocks, as well as
|
||||||
|
calibration data for some camera sensors.
|
||||||
|
|
||||||
%package -n libcamera-cam
|
%package -n libcamera-cam
|
||||||
Summary: Command-line interfaces for libcamera
|
Summary: Command-line interfaces for libcamera
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
# Heavy runtime deps (SDL, Qt6)
|
# Heavy runtime deps (SDL)
|
||||||
|
|
||||||
%description -n libcamera-cam
|
%description -n libcamera-cam
|
||||||
libcamera is an experimental camera user-space API.
|
libcamera is an experimental camera user-space API.
|
||||||
|
|
||||||
"cam" is a command-line utility to interact with cameras. The initial state is
|
"cam" is a command-line utility to interact with cameras. It allows
|
||||||
limited and only supports listing cameras in the system and selecting a camera
|
to query and set image stream properties, and to capture the stream
|
||||||
to interact with.
|
to a file or show a live view.
|
||||||
|
|
||||||
|
%package -n libcamera-qcam
|
||||||
|
Summary: Qt interfaces for libcamera
|
||||||
|
Group: Development/Tools/Other
|
||||||
|
# Heavy runtime deps (Qt6)
|
||||||
|
|
||||||
|
%description -n libcamera-qcam
|
||||||
|
libcamera is an experimental camera user-space API.
|
||||||
|
|
||||||
|
"qcam" is a Qt interface to interact with cameras. It allows to
|
||||||
|
query and set image stream properties, and to capture the stream
|
||||||
|
to a file or show a live view.
|
||||||
|
|
||||||
%package -n gstreamer-plugins-libcamera
|
%package -n gstreamer-plugins-libcamera
|
||||||
Summary: GStreamer plugins from libcamera
|
Summary: GStreamer plugins from libcamera
|
||||||
@@ -146,10 +191,6 @@ Python bindings for libcamera.
|
|||||||
%autosetup -p1 -n libcamera-%version
|
%autosetup -p1 -n libcamera-%version
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} <= 1500
|
|
||||||
export CC=gcc-11
|
|
||||||
export CXX=g++-11
|
|
||||||
%endif
|
|
||||||
%meson \
|
%meson \
|
||||||
-Ddocumentation=disabled \
|
-Ddocumentation=disabled \
|
||||||
%if "@BUILD_FLAVOR@" != ""
|
%if "@BUILD_FLAVOR@" != ""
|
||||||
@@ -157,9 +198,11 @@ export CXX=g++-11
|
|||||||
%else
|
%else
|
||||||
-Dqcam=disabled \
|
-Dqcam=disabled \
|
||||||
%endif
|
%endif
|
||||||
-Dv4l2=false -Dtracing=disabled \
|
-Dv4l2=enabled -Dtracing=disabled \
|
||||||
-Dpipelines=ipu3,rkisp1,simple,uvcvideo,vimc \
|
-Dlc-compliance=enabled -Dudev=enabled \
|
||||||
-Dlc-compliance=disabled
|
-Dandroid=enabled \
|
||||||
|
-Dpipelines=all -Dipas=ipu3,mali-c55,rkisp1,rpi/pisp,rpi/vc4,simple,vimc
|
||||||
|
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -168,6 +211,7 @@ cd "%buildroot"
|
|||||||
%if "@BUILD_FLAVOR@" != ""
|
%if "@BUILD_FLAVOR@" != ""
|
||||||
find . ! -type d ! -path ./usr/bin/cam ! -path ./usr/bin/qcam -print -delete
|
find . ! -type d ! -path ./usr/bin/cam ! -path ./usr/bin/qcam -print -delete
|
||||||
%else
|
%else
|
||||||
|
# Delete limited variant without SDL
|
||||||
rm -v usr/bin/cam
|
rm -v usr/bin/cam
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -181,6 +225,9 @@ rm -v usr/bin/cam
|
|||||||
%files -n %lname_base
|
%files -n %lname_base
|
||||||
%_libdir/libcamera-base.so.*
|
%_libdir/libcamera-base.so.*
|
||||||
|
|
||||||
|
%files -n %lname_hal
|
||||||
|
%_libdir/libcamera-hal.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license LICENSES/*GPL*
|
%license LICENSES/*GPL*
|
||||||
%_includedir/libcamera/
|
%_includedir/libcamera/
|
||||||
@@ -188,10 +235,12 @@ rm -v usr/bin/cam
|
|||||||
%_libdir/libcamera.so
|
%_libdir/libcamera.so
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/*.pc
|
||||||
|
|
||||||
%files tools
|
%files ipa
|
||||||
%_libexecdir/libcamera/
|
%_libexecdir/libcamera/
|
||||||
%_libdir/libcamera/
|
%_libdir/libcamera/
|
||||||
%_datadir/libcamera/
|
%_datadir/libcamera/
|
||||||
|
%_bindir/lc-compliance
|
||||||
|
%_bindir/libcamerify
|
||||||
|
|
||||||
%files -n gstreamer-plugins-libcamera
|
%files -n gstreamer-plugins-libcamera
|
||||||
%_libdir/gstreamer-1.0/
|
%_libdir/gstreamer-1.0/
|
||||||
@@ -203,8 +252,11 @@ rm -v usr/bin/cam
|
|||||||
|
|
||||||
%files -n libcamera-cam
|
%files -n libcamera-cam
|
||||||
%_bindir/cam
|
%_bindir/cam
|
||||||
|
|
||||||
|
%files -n libcamera-qcam
|
||||||
%_bindir/qcam
|
%_bindir/qcam
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
Date: 2024-09-21
|
|
||||||
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
|
||||||
|
|
||||||
Skip module signing for https://bugzilla.opensuse.org/show_bug.cgi?id=1217690
|
|
||||||
reproducible builds, until we can get a better upstream solution
|
|
||||||
such as
|
|
||||||
https://lists.libcamera.org/pipermail/libcamera-devel/2024-January/040244.html
|
|
||||||
|
|
||||||
diff --git a/src/meson.build b/src/meson.build
|
|
||||||
index 8eb8f05..41e556d 100644
|
|
||||||
--- a/src/meson.build
|
|
||||||
+++ b/src/meson.build
|
|
||||||
@@ -16,7 +16,7 @@ summary({
|
|
||||||
|
|
||||||
# Module Signing
|
|
||||||
openssl = find_program('openssl', required : false)
|
|
||||||
-if openssl.found()
|
|
||||||
+if false
|
|
||||||
ipa_priv_key = custom_target('ipa-priv-key',
|
|
||||||
output : ['ipa-priv-key.pem'],
|
|
||||||
command : [gen_ipa_priv_key, '@OUTPUT@'])
|
|
||||||
Reference in New Issue
Block a user