1
0
forked from pool/libcamera

16 Commits

Author SHA256 Message Date
af7394cfb0 Accepting request 1324411 from graphics
- Various cleanups:

OBS-URL: https://build.opensuse.org/request/show/1324411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=31
2025-12-27 10:28:46 +00:00
997e45e15b Accepting request 1323153 from graphics
- Update to release 0.6.0

OBS-URL: https://build.opensuse.org/request/show/1323153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=30
2025-12-17 16:32:42 +00:00
8522a16c1c Accepting request 1303358 from graphics
- Update to release 0.5.2

OBS-URL: https://build.opensuse.org/request/show/1303358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=29
2025-09-11 12:37:22 +00:00
OBS User unknown
7fe7abf315 [info=72d4c69bd2c15557120711aaea6a5e88f818df4027bfdd5563b96813849d24f5]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=63
2025-09-09 13:10:24 +00:00
14571d5b05 Accepting request 1291502 from graphics
- Add reproducible.patch to skip module signing (boo#1217690)

OBS-URL: https://build.opensuse.org/request/show/1291502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=28
2025-07-10 21:14:55 +00:00
OBS User unknown
ca5be9b733 [info=a1e8288163d906752b49bdf330af1894d137697a5a7d2dc10d7d408c14d27e9a]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=62
2025-07-09 14:15:52 +00:00
ac91451ffd Accepting request 1283468 from graphics
- Update to release 0.5.1

OBS-URL: https://build.opensuse.org/request/show/1283468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=27
2025-06-10 06:58:02 +00:00
OBS User unknown
438b5a171a [info=daa97686221b975ec23b94bd92e4ea4a65bd181ae8f1dde6e5aa2ee6b10753e7]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=61
2025-06-05 22:01:19 +00:00
4f6c5e2da1 Accepting request 1281191 from graphics
- Remove Qt5 BuildRequires which aren't really needed nor used.

OBS-URL: https://build.opensuse.org/request/show/1281191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=26
2025-06-01 19:36:17 +00:00
OBS User unknown
4ff39f274a [info=95c580b3e35ec8ea1a657b3e1d33d4e75f4a79dd8871327f4a250d83ca3cecb7]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=60
2025-05-29 17:51:05 +00:00
7c02d86ca2 Accepting request 1267957 from graphics
OBS-URL: https://build.opensuse.org/request/show/1267957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=25
2025-04-09 19:49:46 +00:00
OBS User unknown
05b49f0f45 [info=5267758c51e96ea614b32d92d03302e41d2126f0e408df5afc5f8d9a4b2f3a77]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=59
2025-04-08 17:22:33 +00:00
OBS User unknown
a4b589adb9 [info=20b773b2bc651ab869a45a3adac08eda0342b2cfec0cdf5e294b89c773e6e4ec]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=58
2025-04-08 13:03:18 +00:00
75be3c1cf9 Accepting request 1254733 from graphics
- Make build recipe POSIX sh compatible
- Add trivial patch to fix build with gcc15:

OBS-URL: https://build.opensuse.org/request/show/1254733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=24
2025-03-21 19:21:34 +00:00
OBS User unknown
beaac4d76d [info=7dabd86819262dc10bdae32943962590eb4826e91521d170fab3b02a9e1daa9c]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=57
2025-03-20 12:22:56 +00:00
OBS User unknown
833a3ed9a6 [info=e022cf9cf3ed6f85cc96ea12a34852a6c0b472fa687d43d550dd70f70669e225]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=56
2025-03-20 12:12:55 +00:00
9 changed files with 128 additions and 54 deletions

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1766700076
commit: 7ee0ddd193599fd8706b797262e7353b7c7340d28763347112c62bfce796666c
url: https://src.opensuse.org/jengelh/libcamera
revision: master

View File

@@ -2,7 +2,7 @@
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://git.libcamera.org/libcamera/libcamera.git</param>
<param name="revision">refs/tags/v0.5.1</param>
<param name="revision">refs/tags/v0.6.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
</service>

View File

@@ -1,2 +1,2 @@
libcamera0_5
libcamera-base0_5
libcamera0_6
libcamera-base0_6

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:954c9a262c590389789cad4c1bffbfcfbd8f59888cba374cb37fb6e68aaef144
size 256

Binary file not shown.

BIN
libcamera-0.6.0.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,68 @@
-------------------------------------------------------------------
Mon Dec 22 17:57:30 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Various cleanups:
* Drop unused boost build dependency
* Replace reproducible.patch with equivalent "signed_ipa" build
condition, only require openssl/gnutls if enabled.
* Rename subpackage containing IPA modules and support-files
from "tools" to "ipa".
* Use automatic selection of IPA modules/pipelines so that
ARM SoC specific ISPs are disabled on x86_64, and that
RPi and mali-c55 are now enabled on aarch64.
* Add libpisp build dependency for ARM targets
* Split cam/qcam package, to reduce runtime dependencies
notably on small SoCs (only SDL or Qt6 required)
* Drop dysfunctional SLE/Leap 15.x conditionals
-------------------------------------------------------------------
Tue Dec 16 14:24:09 UTC 2025 - Antonio Teixeira <antonio.teixeira@suse.com>
- Update to release 0.6.0
* Improved the public facing API.
* New global configuration file system which will replace or
extend the current use of environment variables to configure
runtime behaviours.
* The core V4L2 classes can now support the V4L2 Request API which
in turn has brought in huge developments for the i.MX8MP Dewarper
support allowing full resize, scale, rotate and crop capabilities
on top of also performing lens dewarping.
* SoftISP: IPU7 has been added as a supported configuration to
the pipeline.
* New tuning files have been added for Raspberry Pi platforms,
improving support for the Sony IMX335, IMX415, IMX462, and ST
VD55G1 image sensors, and Decompand support has been added for
the Raspberry Pi 5.
* Various improvements have been made for thread handling,
improving synchronisation and event dispatch, as well as fixing
the serialisation operations for isolated IPA modules.
* In the applications components, there are fixes to cam adding
more output formats and qcam now behaves more consistently when
no camera is selected. The Python bindings have received fixes
for paths from meson, and the FrameBuffer::planes wrapper.
* doc: theme refresh and clearer separation between the internal
and public API, and fixes to the contributing guidelines.
* For a full list of changes, please see:
https://gitlab.freedesktop.org/camera/libcamera/-/releases/v0.6.0
- Update meson build requirement to 1.0.1 according to the upstream
changes
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,20 @@
#
%define lname libcamera0_5
%define lname_base libcamera-base0_5
%define lname libcamera0_6
%define lname_base libcamera-base0_6
%if "@BUILD_FLAVOR@" != ""
%define extname -@BUILD_FLAVOR@
%else
%define extname %nil
%endif
# Signing breaks reproducible builds, see
# https://gitlab.freedesktop.org/camera/libcamera/-/issues/233
%bcond_with signed_ipa
Name: libcamera%extname
Version: 0.5.1
Version: 0.6.0
Release: 0
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
@@ -33,29 +38,29 @@ URL: https://libcamera.org/
#Git-Web: https://git.libcamera.org/libcamera/libcamera.git/
Source: libcamera-%version.tar.xz
Source1: baselibs.conf
Patch0: reproducible.patch
BuildRequires: boost-devel
BuildRequires: c++_compiler
%if 0%{?suse_version} <= 1500
BuildRequires: gcc11
BuildRequires: gcc11-c++
%endif
BuildRequires: meson >= 0.56
BuildRequires: meson >= 1.0.1
BuildRequires: pkg-config
BuildRequires: python3-Jinja2
BuildRequires: python3-PyYAML
BuildRequires: python3-ply
BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(libevent_pthreads)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(pybind11)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(yaml-0.1)
%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@" != ""
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Gui)
@@ -108,24 +113,43 @@ libcamera is an experimental camera user-space API.
This subpackage contains the header files.
%package tools
Summary: Command-line utilities from libcamera
Group: Development/Tools/Other
%package ipa
Summary: Plugins for hardware specific image processing blocks
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.
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
Summary: Command-line interfaces for libcamera
Group: Development/Tools/Other
# Heavy runtime deps (SDL, Qt6)
# Heavy runtime deps (SDL)
%description -n libcamera-cam
libcamera is an experimental camera user-space API.
"cam" is a command-line utility to interact with cameras. The initial state is
limited and only supports listing cameras in the system and selecting a camera
to interact with.
"cam" is a command-line utility 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 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
Summary: GStreamer plugins from libcamera
@@ -146,10 +170,6 @@ Python bindings for libcamera.
%autosetup -p1 -n libcamera-%version
%build
%if 0%{?suse_version} <= 1500
export CC=gcc-11
export CXX=g++-11
%endif
%meson \
-Ddocumentation=disabled \
%if "@BUILD_FLAVOR@" != ""
@@ -158,7 +178,7 @@ export CXX=g++-11
-Dqcam=disabled \
%endif
-Dv4l2=false -Dtracing=disabled \
-Dpipelines=ipu3,rkisp1,simple,uvcvideo,vimc \
-Dpipelines=auto,vimc \
-Dlc-compliance=disabled
%meson_build
@@ -168,6 +188,7 @@ cd "%buildroot"
%if "@BUILD_FLAVOR@" != ""
find . ! -type d ! -path ./usr/bin/cam ! -path ./usr/bin/qcam -print -delete
%else
# Delete limited variant without SDL
rm -v usr/bin/cam
%endif
@@ -188,7 +209,7 @@ rm -v usr/bin/cam
%_libdir/libcamera.so
%_libdir/pkgconfig/*.pc
%files tools
%files ipa
%_libexecdir/libcamera/
%_libdir/libcamera/
%_datadir/libcamera/
@@ -203,6 +224,8 @@ rm -v usr/bin/cam
%files -n libcamera-cam
%_bindir/cam
%files -n libcamera-qcam
%_bindir/qcam
%endif

View File

@@ -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@'])