15 Commits

9 changed files with 124 additions and 32 deletions

View File

@@ -1,4 +0,0 @@
mtime: 1735007815
commit: a947ca7173a6ae6711aeb28eaf5a3787c95cbc43505bd881b4d2e9eb043e339c
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.4.0</param>
<param name="revision">refs/tags/v0.5.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
</service>

View File

@@ -1,2 +1,2 @@
libcamera0_4
libcamera-base0_4
libcamera0_5
libcamera-base0_5

View File

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

BIN
libcamera-0.4.0.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
libcamera-0.5.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,86 @@
-------------------------------------------------------------------
Wed Jul 9 11:32:16 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.de>
- Add reproducible.patch to skip module signing (boo#1217690)
-------------------------------------------------------------------
Thu Jun 5 21:57:29 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.5.1
* Improvements have been made to the Raspberry Pi Camera Tuning
Tools, and the geometry, matrix and vector class helpers have
been expanded for greater reuse throughout the project.
* The software ISP has a new Saturation control.
-------------------------------------------------------------------
Thu May 29 16:21:24 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Remove Qt5 BuildRequires which aren't really needed nor used.
-------------------------------------------------------------------
Tue Apr 8 13:52:10 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Also bump the soname in baselibs.conf
-------------------------------------------------------------------
Tue Apr 8 06:57:18 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Update to release 0.5.0
* The abi-compliance-checker reports there are both ABI and API
changes in this release.
* Substantially less than the previous release, and ultimately
quite minor but unfortunately there nonetheless and so the
SONAME is updated to 0.5 accordingly. I do not anticipate
anything there that cannot be solved for applications without
just a recompile.
* This release brings in 201 commits with a huge list of fixes
and code clean up which I'm very happy to see, including
interesting fixes to the AGC and AWB handling in libipa.
* In regards to new features, libcamera-0.5 has aptly now got
the core Raspberry Pi 5 support merged!. There are still
patches that are currently maintained by Raspberry Pi for
additional features, and while the transition to upstream API's
continue, but I think we're all happy to see this support
getting in directly, and Raspberry Pi continue to lead the way
in upstream camera development. I look forward to the kernel
API's for streams being fully utilised by the PiSP platform for
upstream camera metadata handling. This upcoming work is also
supported by the CameraSensor factory and CameraSensorRaw
support that is now also merged in this release.
* Further more in the platform support, the software_isp
continues to be developed and is now able to measure colour
temperature, which will bring in improvements for AWB, and a
CCM can be applied while peforming debayering (at a CPU cost)
which will allow us to finally apply color tuning for sensors
on devices that need to fall back to the software ISP.
* New sensor support seems fairly short in this release, with the
IMX415 being the prominent addition.
* In libipa, and algorithm developments, along with many fixes
and improvements there is a substantial new feature that the
Baysian AWB algorithm from Raspberry Pi can now also be used on
all libipa supported IPA modules, and has shown good impovements
for the RkISP1 supported devices.
* There is minimal changes to the application support side, but
it is notable that now the Y444 format has been mapped to be
usable by the gstreamer src element. lc-compliance has seen
some progress which I hope will bring this to being a more
central part of the test infrastructure.
* For a full list of changes, please see:
https://git.libcamera.org/libcamera/libcamera.git/commit/?id=058f589ae36170935e537910f2c303b1c3ea03b3
- Drop patch which is already included by upstream:
* libcamera-fix-for-gcc15.patch
-------------------------------------------------------------------
Thu Mar 20 12:19:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Make build recipe POSIX sh compatible
-------------------------------------------------------------------
Thu Mar 20 10:48:50 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add trivial patch to fix build with gcc15:
* libcamera-fix-for-gcc15.patch
-------------------------------------------------------------------
Mon Dec 23 21:51:19 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libcamera
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,34 +16,30 @@
#
%define lname libcamera0_4
%define lname_base libcamera-base0_4
%define lname libcamera0_5
%define lname_base libcamera-base0_5
%if "@BUILD_FLAVOR@" != ""
%define extname -@BUILD_FLAVOR@
%else
%define extname %nil
%endif
Name: libcamera%extname
Version: 0.4.0
Version: 0.5.1
Release: 0
Summary: A complex camera support library in C++
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-SA-4.0
License: CC-BY-SA-4.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++
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: libQt5Core-devel
BuildRequires: libQt5Gui-devel
BuildRequires: libQt5Widgets-devel
BuildRequires: meson >= 0.56
BuildRequires: pkg-config
BuildRequires: python3-Jinja2
@@ -57,8 +53,8 @@ BuildRequires: pkgconfig(libevent_pthreads)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(pybind11)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(yaml-0.1)
%if "@BUILD_FLAVOR@" != ""
BuildRequires: pkgconfig(Qt6Core)
@@ -168,13 +164,12 @@ export CXX=g++-11
%install
%meson_install
pushd "%buildroot"
cd "%buildroot"
%if "@BUILD_FLAVOR@" != ""
find . ! -type d ! -path ./usr/bin/cam ! -path ./usr/bin/qcam -print -delete
%else
rm -v usr/bin/cam
%endif
popd
%ldconfig_scriptlets -n %lname
%ldconfig_scriptlets -n %lname_base

21
reproducible.patch Normal file
View File

@@ -0,0 +1,21 @@
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@'])