8 Commits

Author SHA256 Message Date
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
8 changed files with 56 additions and 257 deletions

4
_scmsync.obsinfo Normal file
View File

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

View File

@@ -1,2 +1,2 @@
libcamera0_6
libcamera-base0_6
libcamera0_3
libcamera-base0_3

3
build.specials.obscpio Normal file
View File

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

BIN
libcamera-0.3.1.tar.xz LFS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,193 +1,3 @@
-------------------------------------------------------------------
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>
- 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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libcamera
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,51 +16,50 @@
#
%define lname libcamera0_6
%define lname_base libcamera-base0_6
%define lname libcamera0_3
%define lname_base libcamera-base0_3
%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.6.0
Version: 0.3.1
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
License: 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
BuildRequires: boost-devel
BuildRequires: c++_compiler
BuildRequires: meson >= 1.0.1
%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
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(pybind11)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(pybind11)
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)
@@ -113,43 +112,24 @@ libcamera is an experimental camera user-space API.
This subpackage contains the header files.
%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
%package tools
Summary: Command-line utilities from libcamera
Group: Development/Tools/Other
%description ipa
%description tools
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)
# 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. 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.
"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.
%package -n gstreamer-plugins-libcamera
Summary: GStreamer plugins from libcamera
@@ -170,27 +150,31 @@ Python bindings for libcamera.
%autosetup -p1 -n libcamera-%version
%build
%meson \
-Ddocumentation=disabled \
%if "@BUILD_FLAVOR@" != ""
-Dqcam=enabled \
%else
-Dqcam=disabled \
%if 0%{?suse_version} <= 1500
export CC=gcc-11
export CXX=g++-11
%endif
-Dv4l2=false -Dtracing=disabled \
-Dpipelines=auto,vimc \
-Dlc-compliance=disabled
%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
%meson_build
%install
%meson_install
cd "%buildroot"
pushd "%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
popd
%ldconfig_scriptlets -n %lname
%ldconfig_scriptlets -n %lname_base
@@ -209,7 +193,7 @@ rm -v usr/bin/cam
%_libdir/libcamera.so
%_libdir/pkgconfig/*.pc
%files ipa
%files tools
%_libexecdir/libcamera/
%_libdir/libcamera/
%_datadir/libcamera/
@@ -224,8 +208,6 @@ rm -v usr/bin/cam
%files -n libcamera-cam
%_bindir/cam
%files -n libcamera-qcam
%_bindir/qcam
%endif