Hello community, here is the log from the commit of package rawtherapee for openSUSE:Factory checked in at 2020-06-09 00:09:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rawtherapee (Old) and /work/SRC/openSUSE:Factory/.rawtherapee.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rawtherapee" Tue Jun 9 00:09:02 2020 rev:4 rq:812604 version:5.8 Changes: -------- --- /work/SRC/openSUSE:Factory/rawtherapee/rawtherapee.changes 2020-02-14 16:38:17.631616483 +0100 +++ /work/SRC/openSUSE:Factory/.rawtherapee.new.3606/rawtherapee.changes 2020-06-09 00:10:42.434540122 +0200 @@ -1,0 +2,6 @@ +Mon Jun 8 11:35:53 UTC 2020 - Paolo Stivanin <i...@paolostivanin.com> + +- Adding -fno-tree-loop-vectorize because GCC10 causes a weird bug: + https://github.com/Beep6581/RawTherapee/issues/5749 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rawtherapee.spec ++++++ --- /var/tmp/diff_new_pack.AocTfa/_old 2020-06-09 00:10:46.146551514 +0200 +++ /var/tmp/diff_new_pack.AocTfa/_new 2020-06-09 00:10:46.150551527 +0200 @@ -16,13 +16,14 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: rawtherapee Version: 5.8 Release: 1%{?dist} -License: GPL-3.0 Summary: Cross-platform raw image processing program -Url: http://rawtherapee.com +License: GPL-3.0-only Group: Productivity/Graphics/Other +URL: http://rawtherapee.com %define _name rawtherapee @@ -76,11 +77,11 @@ #!Buildignore: libgcc_s1 %endif -BuildRequires: pkgconfig(glibmm-2.4) -BuildRequires: pkgconfig(gtkmm-2.4) BuildRequires: libiptcdata-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel +BuildRequires: pkgconfig(glibmm-2.4) +BuildRequires: pkgconfig(gtkmm-2.4) %if 0%{?fedora_version} >= 24 BuildRequires: libsigc++20-devel %else @@ -90,10 +91,10 @@ BuildRequires: libsigc++2-devel %endif %endif -BuildRequires: libtiff-devel -BuildRequires: zlib-devel BuildRequires: glib2-devel BuildRequires: gtk3-devel +BuildRequires: libtiff-devel +BuildRequires: zlib-devel %if (0%{?suse_version} || 0%{?sles_version}) BuildRequires: gtkmm3-devel %else @@ -123,15 +124,15 @@ %endif %if (0%{?suse_version} || 0%{?sles_version}) -BuildRequires: liblcms2-devel >= 2.6 BuildRequires: libexpat-devel +BuildRequires: liblcms2-devel >= 2.6 BuildRequires: update-desktop-files Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %else -BuildRequires: lcms2-devel >= 2.6 -BuildRequires: expat-devel BuildRequires: desktop-file-utils +BuildRequires: expat-devel +BuildRequires: lcms2-devel >= 2.6 %endif BuildRequires: lensfun-devel @@ -142,7 +143,6 @@ BuildRequires: librsvg-devel %endif - Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -156,6 +156,7 @@ Conflicts: rawtherapee-gtk2-nosse Conflicts: rawtherapee-gtk2-unstable Conflicts: rawtherapee-gtk2-nosse-unstable + %description RawTherapee is a cross platform image processing software equipped with the essential tools for high quality and efficient RAW photo development. %ifarch i386 i486 i586 i686 @@ -175,8 +176,10 @@ test -x "$(type -p g++-6)" && export CXX=g++-6 test -x "$(type -p gcc-7)" && export CC=gcc-7 test -x "$(type -p g++-7)" && export CXX=g++-7 -export CFLAGS="%(echo %{optflags} | sed 's/-O2/-O3/' | sed 's/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=3/')" -export CXXFLAGS="%(echo %{optflags} | sed 's/-O2/-O3/' | sed 's/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=3/')" + +# Adding -fno-tree-loop-vectorize due to https://github.com/Beep6581/RawTherapee/issues/5749 +export CFLAGS="%(echo %{optflags} | sed 's/-O2/-O3/' | sed 's/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=3/') -fno-tree-loop-vectorize" +export CXXFLAGS="$CFLAGS" %ifarch i386 i486 i586 i686 export CFLAGS+=" -msse2" @@ -189,12 +192,9 @@ %endif - echo "CFLAGS: "$CFLAGS echo "CXXFLAGS= "$CXXFLAGS - - #fix LICENSE.txt EOL sed -i 's/\r$//' LICENSE.txt cmake \ @@ -210,7 +210,6 @@ %__make %{?_smp_mflags} - %install %make_install @@ -227,7 +226,6 @@ %fdupes %buildroot/%_prefix %endif - %post %if (0%{?suse_version} || 0%{?sles_version}) @@ -238,7 +236,6 @@ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %endif - %postun %if (0%{?suse_version} || 0%{?sles_version}) @@ -252,19 +249,16 @@ fi %endif - %posttrans %if !(0%{?suse_version} || 0%{?sles_version}) /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif - %clean rm -rf %{buildroot} - %files %defattr(-,root,root,-) @@ -277,5 +271,4 @@ %{_datadir}/doc/packages/%{_name} %{_datadir}/man/*/%{_name}* - %changelog