Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libheif for openSUSE:Factory checked 
in at 2024-11-18 19:56:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libheif (Old)
 and      /work/SRC/openSUSE:Factory/.libheif.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libheif"

Mon Nov 18 19:56:55 2024 rev:39 rq:1224792 version:1.19.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libheif/libheif.changes  2024-11-13 
15:27:40.391738309 +0100
+++ /work/SRC/openSUSE:Factory/.libheif.new.2017/libheif.changes        
2024-11-18 19:56:58.722530064 +0100
@@ -1,0 +2,17 @@
+Fri Nov 15 19:33:39 UTC 2024 - Arjen de Korte <suse+bu...@de-korte.org>
+
+- Fix build for Tumbleweed
+
+-------------------------------------------------------------------
+Thu Nov 14 15:18:09 UTC 2024 - Dirk Müller <dmuel...@suse.com>
+
+- cleanup
+
+-------------------------------------------------------------------
+Wed Nov 13 14:47:35 UTC 2024 - pgaj...@suse.com
+
+- build for 15:
+  * openjpeg only for 16+
+  * require correct gcc version
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libheif.spec ++++++
--- /var/tmp/diff_new_pack.YvK4wi/_old  2024-11-18 19:56:59.234551469 +0100
+++ /var/tmp/diff_new_pack.YvK4wi/_new  2024-11-18 19:56:59.238551637 +0100
@@ -29,12 +29,18 @@
 %bcond_with x265
 %bcond_with kvazaar
 %bcond_with openh264
+%bcond_with openjpeg
 %bcond_with openjph
 %bcond_with svtenc
 %if 0%{?suse_version} > 1500
 %ifarch aarch64 riscv64 x86_64
 %bcond_without svtenc
 %endif
+%bcond_without openjpeg
+%endif
+
+%if 0%{?suse_version} && 0%{?suse_version} < 1600
+%global force_gcc_version 13
 %endif
 
 Name:           libheif
@@ -49,14 +55,16 @@
 BuildRequires:  chrpath
 BuildRequires:  cmake
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++ >= 8
+BuildRequires:  gcc%{?force_gcc_version}-c++ >= 9
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(aom)
 BuildRequires:  pkgconfig(dav1d)
 BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
 BuildRequires:  pkgconfig(libavcodec)
 BuildRequires:  pkgconfig(libjpeg)
+%if %{with openjpeg}
 BuildRequires:  pkgconfig(libopenjp2)
+%endif
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libwebp)
 %if %{with kvazaar}
@@ -153,6 +161,7 @@
 so that the libraries it requires are not pulled in by default by libheif.
 %endif
 
+%if %{with openjpeg}
 %package openjpeg
 Summary:        Plugin OpenJPEG J2K encoder and decoder for JPEG-2000 in HEIF
 Group:          System/Libraries
@@ -162,6 +171,7 @@
 %description openjpeg
 This plugin provides the OpenJPEG J2K encoder and decoder for JPEG to libheif. 
Packaged separately
 so that the libraries it requires are not pulled in by default by libheif.
+%endif
 
 %if %{with openh264}
 %package openh264
@@ -269,6 +279,9 @@
 # https://github.com/strukturag/libheif/issues/1281
 sed -i '/add_libheif_test(encode)/d' tests/CMakeLists.txt
 %cmake \
+%if 0%{?force_gcc_version}
+       -DCMAKE_CXX_COMPILER="/usr/bin/g++-%{force_gcc_version}" \
+%endif
 %if %{with test}
         --preset=testing \
 %else
@@ -403,9 +416,11 @@
 %{_libexecdir}/libheif/libheif-kvazaar.so
 %endif
 
+%if %{with openjpeg}
 %files openjpeg
 %{_libexecdir}/libheif/libheif-j2kdec.so
 %{_libexecdir}/libheif/libheif-j2kenc.so
+%endif
 
 %if %{with openh264}
 %files openh264

Reply via email to