public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kate Hsuan <hpa@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libcamera] f44: Update to the upstream version 0.7.2
Date: Wed, 14 Oct 2026 12:38:51 GMT	[thread overview]
Message-ID: <179198153173.1.9437005235222185813.rpms-libcamera-cf7aa4566f84@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libcamera
            Branch : f44
            Commit : cf7aa4566f8405047c7fc163ee0ab8b8f28f15ae
            Author : Kate Hsuan <hpa@redhat.com>
            Date   : 2026-10-14T17:47:52+08:00
            Stats  : +39/-34 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/libcamera/c/cf7aa4566f8405047c7fc163ee0ab8b8f28f15ae?branch=f44

            Log:
            Update to the upstream version 0.7.2

Update to the upstream version 0.7.2
- Improve the image quality of Sony IMX471

Signed-off-by: Kate Hsuan <hpa@redhat.com>

---
diff --git a/0002-fix-ov01a10-flickering.patch b/0002-fix-ov01a10-flickering.patch
new file mode 100644
index 0000000..f3f8b7a
--- /dev/null
+++ b/0002-fix-ov01a10-flickering.patch
@@ -0,0 +1,18 @@
+diff --git a/src/ipa/simple/soft_simple.cpp b/src/ipa/simple/soft_simple.cpp
+index 629e1a32d..95cc63a4a 100644
+--- a/src/ipa/simple/soft_simple.cpp
++++ b/src/ipa/simple/soft_simple.cpp
+@@ -228,10 +228,9 @@ int IPASoftSimple::configure(const IPAConfigInfo &configInfo)
+ 		context_.configuration.agc.againMin = camHelper_->gain(againMin);
+ 		context_.configuration.agc.againMax = camHelper_->gain(againMax);
+ 		context_.configuration.agc.again10 = std::max(context_.configuration.agc.againMin, 1.0);
+-		context_.configuration.agc.againMinStep =
+-			(context_.configuration.agc.againMax -
+-			 context_.configuration.agc.againMin) /
+-			100.0;
++		context_.configuration.agc.againMinStep = std::min(
++			std::abs(camHelper_->gain(againMin + 1) - camHelper_->gain(againMin)),
++			std::abs(camHelper_->gain(againMax) - camHelper_->gain(againMax - 1)));
+ 		if (camHelper_->blackLevel().has_value()) {
+ 			/*
+ 			 * The black level from camHelper_ is a 16 bit value, software ISP

diff --git a/libcamera.spec b/libcamera.spec
index f5773bf..15d3c6e 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -1,6 +1,6 @@
 Name:    libcamera
-Version: 0.7.1
-Release: 2%{?dist}
+Version: 0.7.2
+Release: 1%{?dist}
 Summary: A library to support complex camera ISPs
 # see .reuse/dep5 and COPYING for details
 License: LGPL-2.1-or-later
@@ -12,6 +12,7 @@ Source2: qcam.metainfo.xml
 Source3: 70-libcamera.rules
 
 Patch01: 0001-disable-rpi-pisp.patch
+Patch02: 0002-fix-ov01a10-flickering.patch
 
 # libcamera does not currently build on these architectures
 ExcludeArch: s390x ppc64le
@@ -27,6 +28,7 @@ BuildRequires: gnutls-devel
 BuildRequires: pkgconfig(gstreamer-video-1.0)
 BuildRequires: pkgconfig(gstreamer-allocators-1.0)
 BuildRequires: libatomic
+BuildRequires: pkgconfig(libdw)
 BuildRequires: libevent-devel
 BuildRequires: libjpeg-turbo-devel
 BuildRequires: libtiff-devel
@@ -119,8 +121,6 @@ Python bindings for %{name}
 %autosetup -p1 -n %{name}-v%{version}
 
 %build
-# cam/qcam crash with LTO
-%global _lto_cflags %{nil}
 export CFLAGS="%{optflags} -Wno-deprecated-declarations"
 # Set also max-devirt-targets=1 to prevent compilation errors,
 # maybe due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120345.
@@ -131,7 +131,7 @@ export CXXFLAGS="%{optflags} -Wno-deprecated-declarations --param=max-devirt-tar
 %meson \
     -Dv4l2=enabled \
     -Dlc-compliance=disabled \
-    %{?rhel:-Dlibunwind=disabled} \
+    -Dlibunwind=disabled \
     -Dtest=true \
     -Ddocumentation=disabled \
     -Drpi-awb-nn=disabled \
@@ -202,6 +202,10 @@ install -D -m 644 %SOURCE3 %{buildroot}/%{_udevrulesdir}/
 %{python3_sitearch}/*
 
 %changelog
+* Wed Oct 14 2026 Kate Hsuan <hpa@redhat.com> - 0.7.2-1
+- Update to the upstream version 0.7.2
+- Improve the image quality of Sony IMX471
+
 * Wed Oct 07 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.1-2
 - Fix IPA signing path (rhbz#2547048)
 - Add libdw build dependency

diff --git a/sources b/sources
index 9966dc8..1953d8d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
 SHA512 (libcamera-v0.7.0.tar.bz2) = 3320e24b65740087d7a765470e08221a7b2ba96ba24e9ae686fdcad8e0acbc19f8f1403ab7418c4184008b2643e16ed89e84f6c359022f87a14d1b683d8e6f2c
 SHA512 (libcamera-v0.7.1.tar.bz2) = b0796a452d170004c8364b986fc7b965a336b82bc8d02055f7e8359135bd1e917c8f8c1776bdf07989bdf334ca9532c412a081e2e83d3b226191e96a6d62ac42
+SHA512 (libcamera-v0.7.2.tar.bz2) = b25a4df03ee193f60b5ab4675315f5857b3f779a3acc360dae2eff19af207400ca78b16295f8660fa1297019813a4b397416fa8ec8925748d5456459c04506ef

diff --git a/libcamera.spec b/libcamera.spec
index b5a08a2..15d3c6e 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -1,6 +1,6 @@
 Name:    libcamera
 Version: 0.7.2
-Release: 5%{?dist}
+Release: 1%{?dist}
 Summary: A library to support complex camera ISPs
 # see .reuse/dep5 and COPYING for details
 License: LGPL-2.1-or-later
@@ -32,6 +32,10 @@ BuildRequires: pkgconfig(libdw)
 BuildRequires: libevent-devel
 BuildRequires: libjpeg-turbo-devel
 BuildRequires: libtiff-devel
+%if ! 0%{?rhel}
+BuildRequires: libunwind-devel
+BuildRequires: pkgconfig(libdw)
+%endif
 BuildRequires: libyaml-devel
 BuildRequires: libyuv-devel
 BuildRequires: lttng-ust-devel
@@ -198,35 +202,13 @@ install -D -m 644 %SOURCE3 %{buildroot}/%{_udevrulesdir}/
 %{python3_sitearch}/*
 
 %changelog
-* Wed Oct 07 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.2-5
-- Fix IPA signing path (rhbz#2547048)
-
-* Thu Aug 27 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.2-4
-- Fix ov01a10 flickering (rhbz#2483190)
-
-* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 0.7.2-3
-- Rebuilt for Python 3.15.0b4 ABI change
-
-* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
-
-* Fri Jul 10 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.2-1
-- Update to version 0.7.2
+* Wed Oct 14 2026 Kate Hsuan <hpa@redhat.com> - 0.7.2-1
+- Update to the upstream version 0.7.2
+- Improve the image quality of Sony IMX471
 
-* Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.7.1-6
-- Rebuilt for openssl 4.0
-
-* Fri Jun 05 2026 Python Maint <python-maint@redhat.com> - 0.7.1-5
-- Rebuilt for Python 3.15
-
-* Thu Jun 04 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.1-4
-- Don't disable LTO
-
-* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.7.1-3
-- Rebuilt for Python 3.15
-
-* Mon May 18 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.7.1-2
-- Use libdw for backtraces
+* Wed Oct 07 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.1-2
+- Fix IPA signing path (rhbz#2547048)
+- Add libdw build dependency
 
 * Fri May 01 2026 Milan Zamazal <mzamazal@redhat.com> - 0.7.1-1
 - Update to version 0.7.1

                 reply	other threads:[~2026-10-14 12:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179198153173.1.9437005235222185813.rpms-libcamera-cf7aa4566f84@fedoraproject.org \
    --to=hpa@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox