1
0
forked from pool/libcamera

25 Commits

Author SHA256 Message Date
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
ebd4518164 Accepting request 1233212 from graphics
- Update to release 0.4.0

OBS-URL: https://build.opensuse.org/request/show/1233212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=23
2024-12-26 11:23:18 +00:00
OBS User unknown
ac12b184d2 [info=a947ca7173a6ae6711aeb28eaf5a3787c95cbc43505bd881b4d2e9eb043e339c]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=55
2024-12-24 02:37:13 +00:00
OBS User unknown
2452493a53 [info=56d5d94fe231ff34ec3fa771ded5bb806e8d4bef16d0a6b3c614d3937e6c8749]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=54
2024-12-24 01:26:16 +00:00
e06bbe78b7 Accepting request 1219491 from graphics
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=22
2024-10-31 15:09:17 +00:00
OBS User unknown
9cef968c51 [info=0f3c64f78d9dc14e4bd7e7b55a3e8ed803a219f053ab7b6c260836f19cadb250]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=53
2024-10-19 17:10:30 +00:00
259b43dc90 Accepting request 1194915 from graphics
- Split SDL/Qt-dependent tools to multibuilt subpackage
- Update to release 0.3.1

OBS-URL: https://build.opensuse.org/request/show/1194915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=21
2024-08-21 21:24:45 +00:00
OBS User unknown
97e4e421e3 [info=25c26bf3382ab16389f2c2053e5be1af269ea41d1a3815f45f79f8533b9cac3c]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=52
2024-08-20 12:37:10 +00:00
OBS User unknown
d7002e98bf [info=8fd5818ce47ba786b9c54a5b59e057255ea2d948a26acb9bc8ae6ce45c0c1583]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=51
2024-08-20 07:33:40 +00:00
OBS User unknown
e17114be0c [info=74ec3fe50da967f157801a1c34a9a5270df6e9179fb7305c68f0797d0650a01d]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=50
2024-08-19 16:16:40 +00:00
OBS User unknown
6bec057ddb [info=ad29c9928f6467fac0e47fbe642fc8090d447813cac397f8787621b373fbe663]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=49
2024-08-19 16:16:11 +00:00
09df7011aa [info=787d1706d3ab005d36cdddbf9ba4203b95e3b350778beab50b7fd2e13dd06d7b]
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=48
2024-08-12 11:22:21 +00:00
OBS User buildservice-autocommit
e5e8180451 Accepting request 1159296 from graphics
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/1159296
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=47
2024-03-20 20:09:53 +00:00
646de8b6c3 Accepting request 1159243 from home:rguenther:branches:graphics
- Avoid %if %{pkg_vcmp gcc < 8}, instead replicate the condition
  from the BuildRequires section.

OBS-URL: https://build.opensuse.org/request/show/1159243
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=46
2024-03-19 08:31:58 +00:00
10 changed files with 256 additions and 31 deletions

3
_multibuild Normal file
View File

@@ -0,0 +1,3 @@
<multibuild>
<flavor>full</flavor>
</multibuild>

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1752060980
commit: a1e8288163d906752b49bdf330af1894d137697a5a7d2dc10d7d408c14d27e9a
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.2.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_2
libcamera-base0_2
libcamera0_5
libcamera-base0_5

3
build.specials.obscpio Normal file
View File

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

BIN
libcamera-0.2.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,151 @@
-------------------------------------------------------------------
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>
- Update to release 0.4.0
* The abi-compliance-checker reports that there is both ABI and
API breakage in this release.
* The majority of the ABI breakages are around the public API for
Control handling and definitions, which have caused underlying
identifiers to be changed, and the reuqired storage for
controls has increased.
* This release brings in 253 commits, with substantial
development on image control and tuning features for IPA and
Pipeline handlers supporting libipa, as well as integrating
libipa support for IPA handling on the ARM Mali-C55 ISP.
* A new 'Virtual Pipeline Handler' has been introduced to support
more testing in CI and virtual environments.
* Gstreamer has had some interesting development to rework
expressing the full control set from libcamera using auto
generation from the full control descriptors.
* A key and notable change in this release too is that the
softISP is now moving towards utilising the libipa
implementaitons which will enable future tuning and image
control capabilities, and should also support future
development on a GPU-ISP implementation for GPU-accelerated
handling. I do believe this work may have introduced an
oscillation regression in the AEGC which will need to be
investigated and fixed in the near future, but I don't want to
hold up progressing the ABI updates at this stage.
* The i.MX8MP can now make full use of the DW100 Dewarp Engine
for full rotation and digital zoom capabilities.
* Raspberry Pi systems now have improved support for the OV7251,
IMX462, and IMX327 Sensors, and libipa platforms can now make
use of the GalaxyCore gc05a2 and gc08a3 Image sensors.
* For a full list of changes, please see:
https://git.libcamera.org/libcamera/libcamera.git/commit/?id=35ed4b91291d9f3d08e4b51acfb51163e65df8f8
-------------------------------------------------------------------
Sat Oct 19 17:05:03 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.3.2
* Add Sony IMX214 sensor properties
-------------------------------------------------------------------
Tue Aug 20 07:37:45 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Split SDL/Qt-dependent tools to multibuilt subpackage
-------------------------------------------------------------------
Mon Aug 12 15:41:49 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.3.1
* new Soft ISP feature and enablement in the simple-pipeline
handler for Qualcomm based devices supporting CamSS and the
inclusion of a new Pipeline handler to support the Mali-C55
ISP which now has open source kernel drivers available.
* The i.MX8MP ISP is now officially supported through the
existing RKISP1 pipeline handler, and the Simple Pipeline
handler now supports the MediaTek MT8365 platform.
* Three additional camera sensors, IMX283, IMX335, and IMX415
are also now supported.
* The IPU6 is now supported by the SoftISP and Simple Pipeline
handler and the Onsemi AR0144 is now supported by libipa. A
new control has been added to support setting and reading of
Gamma, and gamma control has been added to the RKISP1 IPA.
-------------------------------------------------------------------
Tue Mar 19 07:41:24 UTC 2024 - Richard Biener <rguenther@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,31 +16,32 @@
#
%define lname libcamera0_2
%define lname_base libcamera-base0_2
Name: libcamera
Version: 0.2.0
%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.5.1
Release: 0
Summary: A complex camera support library in C++
License: 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
Group: Development/Libraries/C and C++
URL: https://libcamera.org/
#Git-Web: https://git.libcamera.org/libcamera/libcamera.git/
Source: %name-%version.tar.xz
Source: libcamera-%version.tar.xz
Source1: baselibs.conf
Patch0: reproducible.patch
BuildRequires: boost-devel
BuildRequires: c++_compiler
%if 0%{?suse_version} <= 1500
BuildRequires: gcc9
BuildRequires: gcc9-c++
BuildRequires: gcc11
BuildRequires: gcc11-c++
%endif
BuildRequires: libQt5Core-devel
BuildRequires: libQt5Gui-devel
BuildRequires: libQt5Widgets-devel
BuildRequires: meson >= 0.56
BuildRequires: pkgconfig
BuildRequires: pkg-config
BuildRequires: python3-Jinja2
BuildRequires: python3-PyYAML
BuildRequires: python3-ply
@@ -52,7 +53,17 @@ 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 "@BUILD_FLAVOR@" != ""
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6OpenGL)
BuildRequires: pkgconfig(Qt6OpenGLWidgets)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(sdl2)
%endif
%description
libcamera is an experimental camera user-space API.
@@ -104,6 +115,14 @@ Group: Development/Tools/Other
%description tools
libcamera is an experimental camera user-space API.
%package -n libcamera-cam
Summary: Command-line interfaces for libcamera
Group: Development/Tools/Other
# Heavy runtime deps (SDL, Qt6)
%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.
@@ -116,17 +135,28 @@ Group: Productivity/Multimedia/Other
libcamera is an experimental camera user-space API.
This is its integration plugin for gstreamer.
%package -n python3-libcamera
Summary: Python bindings for libcamera
Group: Development/Languages/Python
%description -n python3-libcamera
Python bindings for libcamera.
%prep
%autosetup -p1
%autosetup -p1 -n libcamera-%version
%build
%if 0%{?suse_version} <= 1500
export CC=gcc-9
export CXX=g++-9
export CC=gcc-11
export CXX=g++-11
%endif
%meson \
-Ddocumentation=disabled \
%if "@BUILD_FLAVOR@" != ""
-Dqcam=enabled \
%else
-Dqcam=disabled \
%endif
-Dv4l2=false -Dtracing=disabled \
-Dpipelines=ipu3,rkisp1,simple,uvcvideo,vimc \
-Dlc-compliance=disabled
@@ -134,10 +164,17 @@ export CXX=g++-9
%install
%meson_install
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
%ldconfig_scriptlets -n %lname
%ldconfig_scriptlets -n %lname_base
%if "@BUILD_FLAVOR@" == ""
%files -n %lname
%_libdir/libcamera.so.*
@@ -152,8 +189,6 @@ export CXX=g++-9
%_libdir/pkgconfig/*.pc
%files tools
%_bindir/cam
%_bindir/qcam
%_libexecdir/libcamera/
%_libdir/libcamera/
%_datadir/libcamera/
@@ -161,4 +196,15 @@ export CXX=g++-9
%files -n gstreamer-plugins-libcamera
%_libdir/gstreamer-1.0/
%files -n python3-libcamera
%python3_sitearch/*
%else
%files -n libcamera-cam
%_bindir/cam
%_bindir/qcam
%endif
%changelog

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