Hello community, here is the log from the commit of package zimg for openSUSE:Factory checked in at 2017-12-19 10:50:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zimg (Old) and /work/SRC/openSUSE:Factory/.zimg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zimg" Tue Dec 19 10:50:24 2017 rev:21 rq:546590 version:2.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/zimg/zimg.changes 2015-05-02 21:35:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes 2017-12-19 10:50:43.563830953 +0100 @@ -2 +2 @@ -Mon Apr 27 16:20:47 UTC 2015 - [email protected] +Thu Nov 30 06:37:10 UTC 2017 - [email protected] @@ -4,4 +4,3 @@ -- Cleanup spec file with spec-cleaner -- Update dependencies -- Use url for source -- Remove _DATE_ and _TIME_ +- Entry to make factory-auto happy after devel project change + * Delete zimg-automake-1.13.patch + * Delete zimg-5.0.0.patch @@ -10 +9 @@ -Wed Mar 13 12:16:01 CET 2013 - [email protected] +Wed Nov 22 14:05:51 UTC 2017 - [email protected] @@ -12,2 +11,3 @@ -- builds with automake 1.13 - * automake-1.13.patch +- Update to 2.6.3 + * resize: fix crash in AVX-512 resizer with GCC + * resize: improve cache efficiency in AVX-512 horizontal resizers @@ -16 +16 @@ -Tue Jan 15 12:30:26 UTC 2013 - [email protected] +Mon Nov 20 08:45:15 UTC 2017 - [email protected] @@ -18,2 +18,2 @@ -- remove suse-update-config -- remove INSTALL from doc +- Clean up spec file a bit +- Drop useless service @@ -22 +22 @@ -Sat Nov 19 15:39:18 UTC 2011 - [email protected] +Fri Nov 10 18:27:47 UTC 2017 - [email protected] @@ -24 +24,3 @@ -- add libtool as buildrequire to avoid implicit dependency +- Update to 2.6.2 + * depth: fix AVX-512 clamping of negative pixels + * graph: fix WORD greyscale to YUV conversion @@ -27 +29 @@ -Tue May 6 14:42:09 CEST 2008 - [email protected] +Tue Sep 5 18:21:39 UTC 2017 - [email protected] @@ -29 +31,5 @@ -- Don't use libtool before it is created. +- Update to 2.6.1 + * depth: fix SSE2 conversions with mod4 and mod8 widths + (introduced in 2.6) + * resize: fix heap corruption in AVX2 horizontal resizer + (introduced in 2.6) @@ -32 +38 @@ -Fri Apr 11 14:44:25 CEST 2008 - [email protected] +Fri Aug 18 12:03:13 UTC 2017 - [email protected] @@ -34,2 +40,6 @@ -- Work around broken configure script. -- Use autoreconf. +- Rename to zimg to match upstream name (see OBS request #516938) +- Update to 2.6a + * api: add missing version requirements to comments + * example: add ZIMG_CPU_AUTO_64B to API example + * example: add more comments + * colorspace: fix unit tests on 32-bit x86 @@ -38 +48 @@ -Wed Jan 25 21:43:46 CET 2006 - [email protected] +Mon Aug 14 23:21:47 UTC 2017 - [email protected] @@ -40 +50,12 @@ -- converted neededforbuild to BuildRequires +- Update to version 2.6 + * api: add ZIMG_CPU_AUTO_64B for AVX-512 compatibility + * colorspace: add support for ITU-R BT.2100 ICtCp + * colorspace: add support for constant luminance ITU-R BT.2100 HLG + * colorspace: add support for SMPTE ST.431-2 (traditional DCI-P3) + * colorspace: add support for chromaticity-derived NCL/CL matrices + * colorspace: assume 1000 cd/m^2 peak luminance for HLG + * colorspace: fix crash on bad colorspace definition + * depth: optimized SSE2/AVX2 conversions with 8/16-bit input + * resize: optimized AVX2 horizontal upsampler memory usage + * resize: optimized x86 SIMD function calling + * x86: AVX-512 code paths for key functions @@ -43 +64 @@ -Mon Nov 14 16:50:23 CET 2005 - [email protected] +Sun Jul 9 00:08:55 UTC 2017 - [email protected] @@ -45,3 +66,4 @@ -- update to verison 5.0.0 -- Default graphical output application changed from xv to display (ImageMagick) due to licence of xv. -- Added Requires: ImageMagick. +- Fix RPM groups +- Edit description to avoid potential confusion with the + z/zip compression library (zlib). +- Replace ancient -j%jobs by %_smp_mflags. @@ -50 +72 @@ -Mon Feb 16 12:09:32 CET 2004 - [email protected] +Thu Jul 6 20:21:12 UTC 2017 - [email protected] @@ -52 +74 @@ -- update to 4.22.0 +- Copy to OBS, add (disabled) download _service @@ -55 +77 @@ -Sun Jan 11 09:51:48 CET 2004 - [email protected] +Thu Jun 22 10:41:57 UTC 2017 - [email protected] @@ -57 +79,3 @@ -- add %defattr +- Update to version 2.5.1 + + depth: fix AVX2 conversion from half to byte/word + (introduced in 2.1). @@ -60,33 +84 @@ -Tue May 27 16:36:24 CEST 2003 - [email protected] - -- remove unpackaged files from buildroot - -------------------------------------------------------------------- -Mon Feb 17 17:38:17 CET 2003 - [email protected] - -- update to version 4.19.1 - -------------------------------------------------------------------- -Fri Apr 26 12:03:41 CEST 2002 - [email protected] - -- fixed to build with lib64 - -------------------------------------------------------------------- -Fri Feb 1 00:26:07 CET 2002 - [email protected] - -- changed neededforbuild <libpng> to <libpng-devel-packages> - -------------------------------------------------------------------- -Wed Mar 21 19:07:03 CET 2001 - [email protected] - -- fix needfor build for freetype2 - -------------------------------------------------------------------- -Thu Jan 25 11:15:20 CET 2001 - [email protected] - -- update on lates stable 4.5.0 - -------------------------------------------------------------------- -Mon Dec 18 14:29:36 CET 2000 - [email protected] - -- create this package +Thu Mar 30 11:42:13 UTC 2017 - [email protected] @@ -93,0 +86 @@ +- Initial package, version 2.5 Old: ---- zimg-5.0.0.patch zimg-5.0.0.tar.gz zimg-automake-1.13.patch New: ---- release-2.6.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zimg.spec ++++++ --- /var/tmp/diff_new_pack.PSacWp/_old 2017-12-19 10:50:44.243798128 +0100 +++ /var/tmp/diff_new_pack.PSacWp/_new 2017-12-19 10:50:44.247797935 +0100 @@ -1,7 +1,7 @@ # # spec file for package zimg # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,65 +16,70 @@ # +%define sover 2 Name: zimg -Version: 5.0.0 +Version: 2.6.3 Release: 0 -Summary: Display 2-D data of arbitrary format -License: BSD-3-Clause -Group: Productivity/Graphics/Visualization/Graph -Url: http://sourceforge.net/projects/zimg/ -Source0: http://sourceforge.net/projects/zimg/files/zimg/zimg-%{version}/%{name}-%{version}.tar.gz -Source1: %{name}.changes -Patch0: %{name}-%{version}.patch -Patch1: zimg-automake-1.13.patch +Summary: Scaling, colorspace conversion, and dithering library +License: WTFPL +Group: Development/Libraries/C and C++ +URL: https://github.com/sekrit-twc/zimg +Source0: https://github.com/sekrit-twc/zimg/archive/release-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake -BuildRequires: freetype2-devel -BuildRequires: gd-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel +BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel -Requires: ImageMagick -Requires: gd >= 1.8.3 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %description -zimg generates png images from arbitrary formatted f(x,y) data. Both -plain unformatted ascii and a variety of binary input formats are -supported. Output options include variable logarithmic color mapping -VLCM and contour graphics and lots of color maps. zimg is a fast -converter. +The "z" image library implements the commonly required image processing +basics of scaling, colorspace conversion, and depth conversion. + +%package -n libzimg%{sover} +Summary: Scaling, colorspace conversion, and dithering library +Group: System/Libraries + +%description -n libzimg%{sover} +The "z" image library implements the commonly required image processing +basics of scaling, colorspace conversion, and depth conversion. + +%package devel +Summary: Development files for libzimg%{sover} +Group: Development/Libraries/C and C++ +Requires: libzimg%{sover} = %{version} + +%description devel +The libzimg-devel package contains libraries and header files for +developing applications that use libzimg%{sover}. %prep -%setup -q -%patch0 -%patch1 -p1 -# Do not include build time -modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")" -DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" -TIME="\"$(date -d "${modified}" "+%%R")\"" -find . -name '*.[ch]' |\ - xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" +%setup -q -n zimg-release-%{version} %build -autoreconf -fi +autoreconf -fiv %configure \ - --with-gd-includes=%{_includedir}/ \ - --with-x-viewer=display \ - --with-gd-lib=%{_libdir} \ - --with-jpeg-lib=%{_libdir} -make xpm_libs="-L/usr/X11R6/%{_lib} -lXpm -lX11" %{?_smp_mflags} + %ifarch x86_64 %{ix86} + --enable-x86simd \ + %endif + --disable-static +make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -rm -f %{buildroot}%{_includedir}/zimg.h - -%files -%defattr(-,root,root) -%doc README ChangeLog AUTHORS COPYING NEWS TODO -%{_bindir}/zimg -%{_mandir}/man1/zimg* +%make_install +rm -rf %{buildroot}%{_datadir}/doc/zimg +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libzimg%{sover} -p /sbin/ldconfig +%postun -n libzimg%{sover} -p /sbin/ldconfig + +%files -n libzimg%{sover} +%doc COPYING ChangeLog README.md +%{_libdir}/libzimg.so.%{sover}* + +%files devel +%{_includedir}/zimg.h +%{_includedir}/zimg++.hpp +%{_libdir}/libzimg.so +%{_libdir}/pkgconfig/zimg.pc %changelog
