Hello community, here is the log from the commit of package lcms2 for openSUSE:Factory checked in at 2020-09-14 12:17:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lcms2 (Old) and /work/SRC/openSUSE:Factory/.lcms2.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lcms2" Mon Sep 14 12:17:47 2020 rev:31 rq:833813 version:2.11 Changes: -------- --- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes 2018-10-11 11:41:43.331071648 +0200 +++ /work/SRC/openSUSE:Factory/.lcms2.new.4249/lcms2.changes 2020-09-14 12:26:22.965024205 +0200 @@ -1,0 +2,19 @@ +Wed Aug 5 13:31:44 UTC 2020 - Matthias Eliasson <[email protected]> + +- Update to 2.11 + * Fixed __cpuid() on fast float plugin to allow gnu gcc + * Fixed copy alpha bounds check + * Fixed data race condition on contexts pool + * Fixed LUT16 write matrix on multichannel V2 profiles +- Changes in 2.10 + * Added a compilation toggle to remove "register" keyword in API. + * Previously commercial, fast_float plug-in is now released as open source + under GPL3 license. + * MD5 functions are now accesible through plug-in API. + * Added support for Visual Studio 2019 + * Bug fixing. +- Drop lcms2-cgats-memory-allocation.patch, its now in upstream code +- Refresh patches +- Run spec-cleaner + +------------------------------------------------------------------- Old: ---- lcms2-2.9.tar.gz lcms2-cgats-memory-allocation.patch New: ---- lcms2-2.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lcms2.spec ++++++ --- /var/tmp/diff_new_pack.0TdfQy/_old 2020-09-14 12:26:26.525026475 +0200 +++ /var/tmp/diff_new_pack.0TdfQy/_new 2020-09-14 12:26:26.529026478 +0200 @@ -1,7 +1,7 @@ # # spec file for package lcms2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,25 @@ Name: lcms2 +Version: 2.11 +Release: 0 Summary: Little CMS Engine - A color managment library and tools License: MIT Group: Productivity/Graphics/Other -Url: http://www.littlecms.com/ -Version: 2.9 -Release: 0 - +URL: http://www.littlecms.com/ +Source0: http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz +Source1: baselibs.conf +Patch1: lcms2-ocloexec.patch +Patch2: lcms2-visibility.patch %if 0%{?suse_version} BuildRequires: autoconf BuildRequires: glibc-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: zlib-devel %endif - %if 0%{?fedora_version} BuildRequires: gcc BuildRequires: libjpeg-devel @@ -41,7 +43,6 @@ BuildRequires: pkgconfig BuildRequires: zlib-devel %endif - %if 0%{?mandriva_version} BuildRequires: gcc BuildRequires: libjpeg-devel @@ -50,14 +51,6 @@ BuildRequires: zlib-devel %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz -Source1: baselibs.conf -Patch1: lcms2-ocloexec.patch -Patch2: lcms2-visibility.patch -# PATCH-FIX-SECURITY lcms2-cgats-memory-allocation.patch bsc1108813 CVE-2018-16435 [email protected] -- Add check on CGATS memory allocation. -Patch3: lcms2-cgats-memory-allocation.patch - %description Littlecms is a small speed optimized color management engine. Little CMS intends to be a small-footprint color management engine @@ -93,59 +86,51 @@ %description -n liblcms2-doc This package contains user and developer documentation for lcms2. - %prep -%setup -q -%patch1 -%patch2 -%patch3 -p1 +%autosetup -p1 chmod a-x doc/* COPYING AUTHORS %build autoreconf -fiv -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="%{optflags} -fno-strict-aliasing" # FIXME --without-threads is a workaround for a linker error %configure --disable-static --without-threads -make %{?_smp_flags} +%make_build %check # FIXME before submitting to factory - make %{?_smp_flags} check || true - make utils + %make_build check || true + %make_build utils %install -make install DESTDIR=%{buildroot} +%make_install rm %{buildroot}/%{_libdir}/liblcms2.la %post -n liblcms2-2 -p /sbin/ldconfig - %postun -n liblcms2-2 -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc COPYING AUTHORS +%license COPYING +%doc AUTHORS %{_bindir}/* %{_mandir}/man?/*.* %files -n liblcms2-2 -%defattr(-,root,root) %{_libdir}/liblcms2.so.2* %files -n liblcms2-devel -%defattr(-,root,root) %{_includedir}/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files -n liblcms2-doc -%defattr(-,root,root) -%doc doc/*.pdf +%doc doc/*.odt %changelog ++++++ lcms2-2.9.tar.gz -> lcms2-2.11.tar.gz ++++++ /work/SRC/openSUSE:Factory/lcms2/lcms2-2.9.tar.gz /work/SRC/openSUSE:Factory/.lcms2.new.4249/lcms2-2.11.tar.gz differ: char 5, line 1 ++++++ lcms2-ocloexec.patch ++++++ --- /var/tmp/diff_new_pack.0TdfQy/_old 2020-09-14 12:26:26.593026518 +0200 +++ /var/tmp/diff_new_pack.0TdfQy/_new 2020-09-14 12:26:26.597026521 +0200 @@ -1,8 +1,7 @@ -Index: src/cmscgats.c -=================================================================== ---- src/cmscgats.c 2012-09-10 18:01:51.000000000 +0200 -+++ src/cmscgats.c 2012-10-28 19:50:34.772962052 +0100 -@@ -914,7 +914,7 @@ +diff -Naur lcms2-2.11.orig/src/cmscgats.c lcms2-2.11/src/cmscgats.c +--- lcms2-2.11.orig/src/cmscgats.c 2020-08-05 15:14:07.488229633 +0200 ++++ lcms2-2.11/src/cmscgats.c 2020-08-05 15:16:41.214899028 +0200 +@@ -930,7 +930,7 @@ return; } @@ -11,7 +10,7 @@ if (FileNest->Stream == NULL) { SynError(it8, "File %s not found", FileNest->FileName); -@@ -1744,7 +1744,7 @@ +@@ -1773,7 +1773,7 @@ memset(&sd, 0, sizeof(sd)); @@ -20,7 +19,7 @@ if (!sd.stream) return FALSE; for (i=0; i < it8 ->TablesCount; i++) { -@@ -2252,7 +2252,7 @@ +@@ -2266,7 +2266,7 @@ cmsUInt32Number Size; cmsUInt8Number Ptr[133]; @@ -29,7 +28,7 @@ if (!fp) { cmsSignalError(0, cmsERROR_FILE, "File '%s' not found", FileName); return FALSE; -@@ -2330,7 +2330,7 @@ +@@ -2349,7 +2349,7 @@ if (!hIT8) return NULL; ++++++ lcms2-visibility.patch ++++++ --- /var/tmp/diff_new_pack.0TdfQy/_old 2020-09-14 12:26:26.609026529 +0200 +++ /var/tmp/diff_new_pack.0TdfQy/_new 2020-09-14 12:26:26.609026529 +0200 @@ -1,5 +1,6 @@ ---- src/lcms2_internal.h.orig -+++ src/lcms2_internal.h +diff -Naur lcms2-2.11.orig/src/lcms2_internal.h lcms2-2.11/src/lcms2_internal.h +--- lcms2-2.11.orig/src/lcms2_internal.h 2020-08-05 15:14:07.484229667 +0200 ++++ lcms2-2.11/src/lcms2_internal.h 2020-08-05 15:19:51.517248023 +0200 @@ -37,6 +37,7 @@ // assert macro is part of C99 as per 7.2 #include <assert.h> @@ -8,7 +9,7 @@ // Some needed constants #ifndef M_PI # define M_PI 3.14159265358979323846 -@@ -602,4 +603,5 @@ +@@ -1125,4 +1126,5 @@ #define _lcms_internal_H
