Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package LuminanceHDR for openSUSE:Factory checked in at 2025-03-07 16:39:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/LuminanceHDR (Old) and /work/SRC/openSUSE:Factory/.LuminanceHDR.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "LuminanceHDR" Fri Mar 7 16:39:43 2025 rev:2 rq:1250557 version:2.6.0+git304.6107989 Changes: -------- --- /work/SRC/openSUSE:Factory/LuminanceHDR/LuminanceHDR.changes 2024-06-14 19:01:11.649617573 +0200 +++ /work/SRC/openSUSE:Factory/.LuminanceHDR.new.19136/LuminanceHDR.changes 2025-03-07 16:41:04.758621654 +0100 @@ -1,0 +2,6 @@ +Thu Mar 6 06:49:27 UTC 2025 - Paolo Stivanin <[email protected]> + +- Add clamp.patch +- Add fix-boost-1.87.0.patch + +------------------------------------------------------------------- New: ---- clamp.patch fix-boost-1.87.0.patch BETA DEBUG BEGIN: New: - Add clamp.patch - Add fix-boost-1.87.0.patch New:- Add clamp.patch - Add fix-boost-1.87.0.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ LuminanceHDR.spec ++++++ --- /var/tmp/diff_new_pack.A5I2vt/_old 2025-03-07 16:41:05.482651951 +0100 +++ /var/tmp/diff_new_pack.A5I2vt/_new 2025-03-07 16:41:05.486652119 +0100 @@ -1,7 +1,7 @@ # # spec file for package LuminanceHDR # -# 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define _lto_cflags %{nil} %define liblcms2_name liblcms2-2 @@ -32,39 +33,45 @@ Patch1: fix-boost1_85.patch # PATCH-FIX-OPENSUSE fix-version.patch Patch2: fix-version.patch +%if 0%{?suse_version} > 1600 +# PATCH-FIX-UPSTREAM +Patch3: fix-boost-1.87.0.patch +# PATCH-FIX-UPSTREAM +Patch4: clamp.patch +%endif BuildRequires: cmake BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: librtprocess-devel -BuildRequires: libqt5-qtbase-common-devel -BuildRequires: libqt5-linguist-devel BuildRequires: fftw3-devel BuildRequires: fftw3-openmp-devel BuildRequires: fftw3-threads-devel +BuildRequires: gcc-c++ +BuildRequires: libboost_atomic-devel +BuildRequires: libboost_program_options-devel +BuildRequires: libboost_system-devel +BuildRequires: libboost_thread-devel +BuildRequires: libexiv2-devel >= 0.27.0 +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libqt5-linguist-devel +BuildRequires: libqt5-qtbase-common-devel +BuildRequires: librtprocess-devel +BuildRequires: openexr-devel +BuildRequires: pkgconfig +BuildRequires: update-desktop-files BuildRequires: cmake(Qt5Concurrent) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Network) -BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: cmake(Qt5Sql) -BuildRequires: cmake(Qt5WebEngine) BuildRequires: cmake(Qt5Svg) +BuildRequires: cmake(Qt5WebEngine) BuildRequires: cmake(Qt5Xml) -BuildRequires: libboost_system-devel -BuildRequires: libboost_thread-devel -BuildRequires: libboost_program_options-devel -BuildRequires: libboost_atomic-devel -BuildRequires: openexr-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: libexiv2-devel >= 0.27.0 +BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(cfitsio) BuildRequires: pkgconfig(eigen3) BuildRequires: pkgconfig(gsl) -BuildRequires: pkgconfig(libraw) -BuildRequires: pkgconfig -BuildRequires: update-desktop-files BuildRequires: pkgconfig(lcms2) >= 2.6 BuildRequires: pkgconfig(lensfun) +BuildRequires: pkgconfig(libraw) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(zlib) @@ -93,7 +100,6 @@ * Copy EXIF data between sets of images * Supports internationalization - %package doc Summary: This package provides documentation for %{name} BuildArch: noarch ++++++ _service ++++++ --- /var/tmp/diff_new_pack.A5I2vt/_old 2025-03-07 16:41:05.530653960 +0100 +++ /var/tmp/diff_new_pack.A5I2vt/_new 2025-03-07 16:41:05.534654127 +0100 @@ -1,5 +1,5 @@ <services> - <service name="tar_scm" mode="disabled"> + <service name="tar_scm" mode="manual"> <param name="url">https://github.com/LuminanceHDR/LuminanceHDR.git/</param> <param name="exclude">.git</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param> @@ -10,11 +10,11 @@ <param name="scm">git</param> <param name="filename">LuminanceHDR</param> </service> - <service mode="disabled" name="recompress"> + <service mode="manual" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service mode="disabled" name="set_version"> + <service mode="manual" name="set_version"> <param name="basename">LuminanceHDR</param> </service> </services> ++++++ clamp.patch ++++++ diff --git a/src/Libpfs/manip/gamma_levels.cpp b/src/Libpfs/manip/gamma_levels.cpp index 67975111..c0fb1798 100644 --- a/src/Libpfs/manip/gamma_levels.cpp +++ b/src/Libpfs/manip/gamma_levels.cpp @@ -31,13 +31,6 @@ namespace { -template <typename T> -inline T clamp(const T &v, const T &lower_bound, const T &upper_bound) { - if (v <= lower_bound) return lower_bound; - if (v >= upper_bound) return upper_bound; - return v; -} - ////! \note I assume that *in* contains only value between [0,1] // void gamma_levels_array(const pfs::Array2D* in, pfs::Array2D* out, // float black_in, float white_in, ++++++ fix-boost-1.87.0.patch ++++++ diff --color --unified --recursive --text luminance-hdr-2.6.1.1-upstream/build_files/Modules/CompilerSettings.cmake luminance-hdr-2.6.1.1/build_files/Modules/CompilerSettings.cmake --- a/build_files/Modules/CompilerSettings.cmake 2021-01-11 10:41:28.000000000 +0100 +++ b/build_files/Modules/CompilerSettings.cmake 2025-01-20 21:03:25.709389950 +0100 @@ -15,7 +15,6 @@ execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION) if (GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7) message(STATUS "C++11 activated for GCC ${GCC_VERSION}") - set(CMAKE_CXX_STANDARD 11) add_definitions(-DLHDR_CXX11_ENABLED) elseif(GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3) message(WARNING "C++0x activated for GCC ${GCC_VERSION}. If you get any errors update to a compiler that fully supports C++11")
