diff --git a/_service b/_service
index 70cfa68..098b3e4 100644
--- a/_service
+++ b/_service
@@ -2,7 +2,7 @@
git
https://git.libcamera.org/libcamera/libcamera.git
- refs/tags/v0.4.0
+ refs/tags/v0.5.0
@PARENT_TAG@
v([0-9\.]*)
diff --git a/libcamera-0.4.0.tar.xz b/libcamera-0.4.0.tar.xz
deleted file mode 100644
index e0da004..0000000
--- a/libcamera-0.4.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:735327c80d8363761c5297b4d6ba8ba17d60ee5ac05c67b3a087adcad626119b
-size 1208712
diff --git a/libcamera-0.5.0.tar.xz b/libcamera-0.5.0.tar.xz
new file mode 100644
index 0000000..cb78790
--- /dev/null
+++ b/libcamera-0.5.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a7f9db1d218d15d1f8df3d78ae739d52cb63f6d4c15d21839b0bd277ff4554c
+size 1304936
diff --git a/libcamera-fix-for-gcc15.patch b/libcamera-fix-for-gcc15.patch
deleted file mode 100644
index e5a41d1..0000000
--- a/libcamera-fix-for-gcc15.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 91de550243121056984e5b9b693b486860655d31 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich
-Date: Sat, 28 Dec 2024 19:11:19 +0000
-Subject: [PATCH] libcamera: Add missing include to
- dma_buf_allocator.h
-
-Without the change the build fails on upcoming `gcc-15` as:
-
- In file included from ../src/libcamera/dma_buf_allocator.cpp:9:
- ../include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared
- 66 | void sync(uint64_t step);
- | ^~~~~~~~
-
-Signed-off-by: Sergei Trofimovich
-Reviewed-by: Laurent Pinchart
-Reviewed-by: Kieran Bingham
-Signed-off-by: Laurent Pinchart
----
- include/libcamera/internal/dma_buf_allocator.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/include/libcamera/internal/dma_buf_allocator.h b/include/libcamera/internal/dma_buf_allocator.h
-index d26f8a74..13600915 100644
---- a/include/libcamera/internal/dma_buf_allocator.h
-+++ b/include/libcamera/internal/dma_buf_allocator.h
-@@ -8,6 +8,7 @@
- #pragma once
-
- #include
-+#include
- #include
- #include
-
---
-2.49.0
-
diff --git a/libcamera.changes b/libcamera.changes
index d5545e8..ff93faf 100644
--- a/libcamera.changes
+++ b/libcamera.changes
@@ -1,3 +1,51 @@
+-------------------------------------------------------------------
+Tue Apr 8 06:57:18 UTC 2025 - Antonio Larrosa
+
+- 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
diff --git a/libcamera.spec b/libcamera.spec
index b0260bd..12c4886 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -16,15 +16,15 @@
#
-%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.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,7 +33,6 @@ URL: https://libcamera.org/
#Git-Web: https://git.libcamera.org/libcamera/libcamera.git/
Source: libcamera-%version.tar.xz
Source1: baselibs.conf
-Patch1: libcamera-fix-for-gcc15.patch
BuildRequires: boost-devel
BuildRequires: c++_compiler
%if 0%{?suse_version} <= 1500