commit zimg for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2020-09-25 16:21:39

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new.4249 (New)


Package is "zimg"

Fri Sep 25 16:21:39 2020 rev:36 rq:836326 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2020-03-19 
19:50:36.432194774 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new.4249/zimg.changes  2020-09-25 
16:22:07.915390850 +0200
@@ -1,0 +2,25 @@
+Thu Sep 10 17:43:22 UTC 2020 - Dirk Mueller 
+
+- update to 3.0.1:
+  * graph: fix handling of default nominal_peak_luminance (introduced in 3.0) 
+
+---
+Wed Aug  5 00:53:05 UTC 2020 - Mia Herkt 
+
+- Update to version 3.0 (API 2.4):
+  * api: support alpha channel as the fourth plane
+  * colorspace: accept UNSPECIFIED transfer characteristics in
+more situations
+  * colorspace: fix conversion from ICtCp to ARIB STD-B67
+  * depth: fix out of bounds access in SSE2 ordered dither
+  * graph: rewrite for alpha channel support
+  * resize: fix incorrect rounding when calculating pixel
+coordinates
+  * resize: AVX-512 VNNI code paths
+  * arm: NEON/ASIMD code paths
+- Drop patches:
+  * update-matrix3.cpp.patch
+  * colorspace-fix-assertion.patch
+  * colorspace-fix-assertion-part2.patch
+
+---

Old:

  colorspace-fix-assertion-part2.patch
  colorspace-fix-assertion.patch
  update-matrix3.cpp.patch
  zimg-2.9.3.obscpio

New:

  zimg-3.0.1.obscpio



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.W9TJO4/_old  2020-09-25 16:22:10.743393353 +0200
+++ /var/tmp/diff_new_pack.W9TJO4/_new  2020-09-25 16:22:10.747393357 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zimg
 #
-# Copyright (c) 2019 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
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.9.3
+Version:3.0.1
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL
@@ -26,11 +26,9 @@
 URL:https://github.com/sekrit-twc/zimg
 Source0:zimg-%{version}.tar.xz
 Source99:   baselibs.conf
-Patch0: update-matrix3.cpp.patch
-Patch1: colorspace-fix-assertion.patch
-Patch2: colorspace-fix-assertion-part2.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -58,38 +56,34 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
 autoreconf -fiv
 # do not enable tests here — they make zimg slower and the install
 # rule is broken
 %configure \
-  %ifarch x86_64 %{ix86}
-  --enable-x86simd \
-  %endif
+%ifarch armv7l
+  --disable-simd \
+%endif
   --disable-static
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %make_install
 rm -rf %{buildroot}%{_datadir}/doc/zimg
 find %{buildroot} -type f -name "*.la" -delete -print
 
-# test suite is broken on other platforms, upstream informed
-%ifarch x86_64
+%ifnarch ppc64 ppc64le
 %check
-make clean
+%make_build clean
 %configure \
-  %ifarch x86_64 %{ix86}
-  --enable-x86simd \
-  %endif
+%ifarch armv7l
+  --disable-simd \
+%endif
   --disable-static \
   --enable-unit-test
-make %{?_smp_mflags} V=1
-make %{?_smp_mflags} V=1 test/unit_test
+%make_build
+%make_build test/unit_test
 test/unit_test
 %endif
 

++ _service ++
--- /var/tmp/diff_new_pack.W9TJO4/_old  2020-09-25 16:22:10.803393407 +0200
+++ /var/tmp/diff_new_pack.W9TJO4/_new  2020-09-25 16:22:10.807393410 +0200
@@ -4,7 +4,7 @@
 git
 @PARENT_TAG@
 release([0-9\.]*)
-release-2.9.3
+release-3.0.1
   
   
   

++ zimg-2.9.3.obscpio -> zimg-3.0.1.obscpio ++
/work/SRC/openSUSE:Factory/zimg/zimg-2.9.3.obscpio 
/work/SRC/openSUSE:Factory/.zimg.new.4249/zimg-3.0.1.obscpio differ: char 48, 
line 1

++ zimg.obsinfo ++
--- /var/tmp/diff_new_pack.W9TJO4/_old  2020-09-25 16:22:10.871393467 +0200
+++ /var/tmp/diff_new_pack.W9TJO4/_new  2020-09-25 16:22:10.875393470 +0200
@@ -1,5 +1,5 @@
 name: zimg
-version: 2.9.3
-mtime: 1583124602
-commit: 527dd55fd5221bd223bf019456da215759073c6f
+version: 3.0.1
+mtime: 1598190477
+commit: e17ee6cf72509c32c15067b32615849e69486367
 




commit zimg for openSUSE:Factory

2020-03-19 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2020-03-19 19:47:52

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new.3160 (New)


Package is "zimg"

Thu Mar 19 19:47:52 2020 rev:35 rq:786109 version:2.9.3

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2020-03-05 
23:17:13.613141432 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new.3160/zimg.changes  2020-03-19 
19:50:36.432194774 +0100
@@ -1,0 +2,12 @@
+Wed Mar 18 08:15:32 UTC 2020 - Martin Liška 
+
+- Add colorspace-fix-assertion-part2.patch in order to address
+  gh#sekrit-twc/zimg#123.
+
+---
+Tue Mar 17 07:58:45 UTC 2020 - Martin Liška 
+
+- Add colorspace-fix-assertion.patch in order to fix
+  build with GCC10. See gh#sekrit-twc/zimg#122.
+
+---

New:

  colorspace-fix-assertion-part2.patch
  colorspace-fix-assertion.patch



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.aBZRnp/_old  2020-03-19 19:50:37.332195294 +0100
+++ /var/tmp/diff_new_pack.aBZRnp/_new  2020-03-19 19:50:37.336195297 +0100
@@ -27,6 +27,8 @@
 Source0:zimg-%{version}.tar.xz
 Source99:   baselibs.conf
 Patch0: update-matrix3.cpp.patch
+Patch1: colorspace-fix-assertion.patch
+Patch2: colorspace-fix-assertion-part2.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -57,6 +59,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 autoreconf -fiv

++ colorspace-fix-assertion-part2.patch ++
>From bb17c9433bfdc78e296982aad32981bcb9d5514c Mon Sep 17 00:00:00 2001
From: sekrit-twc 
Date: Tue, 17 Mar 2020 10:40:15 -0700
Subject: [PATCH] colorspace: fix assertions

---
 src/zimg/colorspace/operation.cpp | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/zimg/colorspace/operation.cpp 
b/src/zimg/colorspace/operation.cpp
index 1218c7b..76f9d7a 100644
--- a/src/zimg/colorspace/operation.cpp
+++ b/src/zimg/colorspace/operation.cpp
@@ -65,7 +65,8 @@ std::unique_ptr 
create_lms_to_ictcp_operation(const ColorspaceDefinit
 std::unique_ptr create_gamma_to_linear_operation(const 
ColorspaceDefinition &in, const ColorspaceDefinition &out, const 
OperationParams ¶ms, CPUClass cpu)
 {
zassert_d(in.primaries == out.primaries, "primaries mismatch");
-   zassert_d(in.matrix == MatrixCoefficients::RGB && out.matrix == 
MatrixCoefficients::RGB, "must be RGB");
+   zassert_d((in.matrix == MatrixCoefficients::RGB || in.matrix == 
MatrixCoefficients::REC_2100_LMS) &&
+ (out.matrix == MatrixCoefficients::RGB || out.matrix == 
MatrixCoefficients::REC_2100_LMS), "must be RGB or LMS");
zassert_d(in.transfer != TransferCharacteristics::LINEAR && 
out.transfer == TransferCharacteristics::LINEAR, "wrong transfer 
characteristics");
 
if (in.transfer == TransferCharacteristics::ARIB_B67 && 
use_display_referred_b67(in.primaries, params))
@@ -77,7 +78,8 @@ std::unique_ptr 
create_gamma_to_linear_operation(const ColorspaceDefi
 std::unique_ptr create_linear_to_gamma_operation(const 
ColorspaceDefinition &in, const ColorspaceDefinition &out, const 
OperationParams ¶ms, CPUClass cpu)
 {
zassert_d(in.primaries == out.primaries, "primaries mismatch");
-   zassert_d(in.matrix == MatrixCoefficients::RGB && out.matrix == 
MatrixCoefficients::RGB, "must be RGB");
+   zassert_d((in.matrix == MatrixCoefficients::RGB || in.matrix == 
MatrixCoefficients::REC_2100_LMS) &&
+ (out.matrix == MatrixCoefficients::RGB || out.matrix == 
MatrixCoefficients::REC_2100_LMS), "must be RGB or LMS");
zassert_d(in.transfer == TransferCharacteristics::LINEAR && 
out.transfer != TransferCharacteristics::LINEAR, "wrong transfer 
characteristics");
 
if (out.transfer == TransferCharacteristics::ARIB_B67 && 
use_display_referred_b67(out.primaries, params))
-- 
2.25.1

++ colorspace-fix-assertion.patch ++
>From fbd1ecebde3e336ad4f205381867adddfd4f754b Mon Sep 17 00:00:00 2001
From: sekrit-twc 
Date: Sat, 8 Feb 2020 12:46:02 -0800
Subject: [PATCH] colorspace: fix assertion

---
 src/zimg/colorspace/operation_impl.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/zimg/colorspace/operation_impl.cpp 
b/src/zimg/colorspace/operation_impl.cpp
index f8bad30..ccd16b1 100644
--- a/src/zimg/colorspace/operation_impl.cpp
+++ b/src/zimg/colorspace/operation_impl.cpp
@@ -343,7 +343,7 @@ std::unique_ptr 
create_inverse_arib_b67_operation(const Matrix3x3 &m,
 std::unique_ptr create_cl_yuv_to_rgb_operation(co

commit zimg for openSUSE:Factory

2020-03-05 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2020-03-05 23:17:01

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new.26092 (New)


Package is "zimg"

Thu Mar  5 23:17:01 2020 rev:34 rq:780942 version:2.9.3

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2019-12-11 
12:09:24.900632084 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new.26092/zimg.changes 2020-03-05 
23:17:13.613141432 +0100
@@ -1,0 +2,6 @@
+Mon Mar  2 12:32:52 UTC 2020 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 2.9.3:
+  * resize: add spline64 filter
+
+---

Old:

  zimg-2.9.2.obscpio

New:

  zimg-2.9.3.obscpio



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.mRTCpe/_old  2020-03-05 23:17:16.013142790 +0100
+++ /var/tmp/diff_new_pack.mRTCpe/_new  2020-03-05 23:17:16.049142811 +0100
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.9.2
+Version:2.9.3
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ _service ++
--- /var/tmp/diff_new_pack.mRTCpe/_old  2020-03-05 23:17:16.441143032 +0100
+++ /var/tmp/diff_new_pack.mRTCpe/_new  2020-03-05 23:17:16.461143044 +0100
@@ -4,7 +4,7 @@
 git
 @PARENT_TAG@
 release([0-9\.]*)
-release-2.9.2
+release-2.9.3
   
   
   

++ zimg-2.9.2.obscpio -> zimg-2.9.3.obscpio ++
/work/SRC/openSUSE:Factory/zimg/zimg-2.9.2.obscpio 
/work/SRC/openSUSE:Factory/.zimg.new.26092/zimg-2.9.3.obscpio differ: char 48, 
line 1

++ zimg.obsinfo ++
--- /var/tmp/diff_new_pack.mRTCpe/_old  2020-03-05 23:17:16.969143331 +0100
+++ /var/tmp/diff_new_pack.mRTCpe/_new  2020-03-05 23:17:16.985143340 +0100
@@ -1,5 +1,5 @@
 name: zimg
-version: 2.9.2
-mtime: 1564070386
-commit: 1ea31d1588d7ac919a51ed7c98cd96b3898665ff
+version: 2.9.3
+mtime: 1583124602
+commit: 527dd55fd5221bd223bf019456da215759073c6f
 




commit zimg for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2019-12-11 12:09:06

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new.4691 (New)


Package is "zimg"

Wed Dec 11 12:09:06 2019 rev:33 rq:754324 version:2.9.2

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2019-08-27 
10:15:13.595964182 +0200
+++ /work/SRC/openSUSE:Factory/.zimg.new.4691/zimg.changes  2019-12-11 
12:09:24.900632084 +0100
@@ -1,0 +2,6 @@
+Thu Dec  5 08:54:26 UTC 2019 - Martin Liška 
+
+- Add update-matrix3.cpp.patch in order
+  to fix boo#1158372.
+
+---

New:

  update-matrix3.cpp.patch



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.k0NBdr/_old  2019-12-11 12:09:25.700631748 +0100
+++ /var/tmp/diff_new_pack.k0NBdr/_new  2019-12-11 12:09:25.704631746 +0100
@@ -26,6 +26,7 @@
 URL:https://github.com/sekrit-twc/zimg
 Source0:zimg-%{version}.tar.xz
 Source99:   baselibs.conf
+Patch0: update-matrix3.cpp.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -55,6 +56,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 autoreconf -fiv

++ update-matrix3.cpp.patch ++
>From 9ae36d7d5f7420eaacd9644451933512fa13d716 Mon Sep 17 00:00:00 2001
From: sekrit-twc 
Date: Wed, 4 Dec 2019 12:01:26 -0800
Subject: [PATCH] Update matrix3.cpp

---
 src/zimg/colorspace/matrix3.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/zimg/colorspace/matrix3.cpp b/src/zimg/colorspace/matrix3.cpp
index 06e0e2f..b4aeea7 100644
--- a/src/zimg/colorspace/matrix3.cpp
+++ b/src/zimg/colorspace/matrix3.cpp
@@ -1,3 +1,4 @@
+#include 
 #include "matrix3.h"
 
 namespace zimg {
-- 
2.24.0




commit zimg for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2019-08-27 10:15:06

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new.7948 (New)


Package is "zimg"

Tue Aug 27 10:15:06 2019 rev:32 rq:725347 version:2.9.2

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2019-06-22 
11:03:46.891774143 +0200
+++ /work/SRC/openSUSE:Factory/.zimg.new.7948/zimg.changes  2019-08-27 
10:15:13.595964182 +0200
@@ -1,0 +2,12 @@
+Fri Aug  2 02:43:17 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
+
+- Switch to git checkout (GitHub tarbals lack required submodules)
+- Build unit tests separately as they impact the build result and
+  produce a broken install rule
+- Update to version 2.9.2:
+  * colorspace: fix crash on invalid conversion from unspec to
+real primaries
+  * x86: additional optimizations for AMD Piledriver
+  * x86: optimizations for AMD Zen2 processors
+
+---

Old:

  release-2.9.1.tar.gz

New:

  _service
  zimg-2.9.2.obscpio
  zimg.obsinfo



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.4FuwHp/_old  2019-08-27 10:15:14.759964105 +0200
+++ /var/tmp/diff_new_pack.4FuwHp/_new  2019-08-27 10:15:14.763964105 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zimg
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,19 +12,19 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define sover 2
 Name:   zimg
-Version:2.9.1
+Version:2.9.2
 Release:0
 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
+Source0:zimg-%{version}.tar.xz
 Source99:   baselibs.conf
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -54,10 +54,12 @@
 developing applications that use libzimg%{sover}.
 
 %prep
-%setup -q -n zimg-release-%{version}
+%setup -q
 
 %build
 autoreconf -fiv
+# do not enable tests here — they make zimg slower and the install
+# rule is broken
 %configure \
   %ifarch x86_64 %{ix86}
   --enable-x86simd \
@@ -70,6 +72,21 @@
 rm -rf %{buildroot}%{_datadir}/doc/zimg
 find %{buildroot} -type f -name "*.la" -delete -print
 
+# test suite is broken on other platforms, upstream informed
+%ifarch x86_64
+%check
+make clean
+%configure \
+  %ifarch x86_64 %{ix86}
+  --enable-x86simd \
+  %endif
+  --disable-static \
+  --enable-unit-test
+make %{?_smp_mflags} V=1
+make %{?_smp_mflags} V=1 test/unit_test
+test/unit_test
+%endif
+
 %post -n libzimg%{sover} -p /sbin/ldconfig
 %postun -n libzimg%{sover} -p /sbin/ldconfig
 

++ _service ++

  
https://github.com/sekrit-twc/zimg.git
git
@PARENT_TAG@
release([0-9\.]*)
release-2.9.2
  
  
  
  *.tar
  xz
  
  

++ zimg.obsinfo ++
name: zimg
version: 2.9.2
mtime: 1564070386
commit: 1ea31d1588d7ac919a51ed7c98cd96b3898665ff




commit zimg for openSUSE:Factory

2019-06-22 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2019-06-22 11:03:42

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new.4615 (New)


Package is "zimg"

Sat Jun 22 11:03:42 2019 rev:31 rq:709811 version:2.9.1

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2019-06-13 
22:31:40.796413765 +0200
+++ /work/SRC/openSUSE:Factory/.zimg.new.4615/zimg.changes  2019-06-22 
11:03:46.891774143 +0200
@@ -1,0 +2,6 @@
+Thu Jun 13 21:40:11 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 2.9.1:
+  * resize: fix incorrect spline36 coefficients (introduced in 2.9)
+
+---

Old:

  release-2.9.tar.gz

New:

  release-2.9.1.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.CEMuKS/_old  2019-06-22 11:03:47.523775199 +0200
+++ /var/tmp/diff_new_pack.CEMuKS/_new  2019-06-22 11:03:47.523775199 +0200
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.9
+Version:2.9.1
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ release-2.9.tar.gz -> release-2.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.9/ChangeLog 
new/zimg-release-2.9.1/ChangeLog
--- old/zimg-release-2.9/ChangeLog  2019-06-06 17:57:38.0 +0200
+++ new/zimg-release-2.9.1/ChangeLog2019-06-13 03:46:48.0 +0200
@@ -1,3 +1,6 @@
+2.9.1:
+resize: fix incorrect spline36 coefficients (introduced in 2.9)
+
 2.9:
 colorspace: improve accuracy of SSE2 LUT-based transfer functions
 depth: AVX2 and AVX-512 code paths for limited range upsampling
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.9/configure.ac 
new/zimg-release-2.9.1/configure.ac
--- old/zimg-release-2.9/configure.ac   2019-06-06 17:57:38.0 +0200
+++ new/zimg-release-2.9.1/configure.ac 2019-06-13 03:46:48.0 +0200
@@ -1,4 +1,4 @@
-AC_INIT([zimg], [2.9.0], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
+AC_INIT([zimg], [2.9.1], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
 AC_CONFIG_MACRO_DIR([m4])
 
 : ${CFLAGS=""}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.9/src/zimg/api/zimg.cpp 
new/zimg-release-2.9.1/src/zimg/api/zimg.cpp
--- old/zimg-release-2.9/src/zimg/api/zimg.cpp  2019-06-06 17:57:38.0 
+0200
+++ new/zimg-release-2.9.1/src/zimg/api/zimg.cpp2019-06-13 
03:46:48.0 +0200
@@ -36,7 +36,7 @@
 thread_local zimg_error_code_e g_last_error = ZIMG_ERROR_SUCCESS;
 thread_local std::string g_last_error_msg;
 
-constexpr unsigned VERSION_INFO[] = { 2, 9, 0 };
+constexpr unsigned VERSION_INFO[] = { 2, 9, 1 };
 
 
 template 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.9/src/zimg/resize/filter.cpp 
new/zimg-release-2.9.1/src/zimg/resize/filter.cpp
--- old/zimg-release-2.9/src/zimg/resize/filter.cpp 2019-06-06 
17:57:38.0 +0200
+++ new/zimg-release-2.9.1/src/zimg/resize/filter.cpp   2019-06-13 
03:46:48.0 +0200
@@ -200,7 +200,7 @@
return poly3(x, 1.0,   -3.0 / 209.0, -453.0 / 209.0, 13.0 / 
11.0);
} else if (x < 2.0) {
x -= 1.0;
-   return poly3(x, 0.0, -156.0 / 209.0,  270.0 / 290.0, -6.0 / 
11.0);
+   return poly3(x, 0.0, -156.0 / 209.0,  270.0 / 209.0, -6.0 / 
11.0);
} else if (x < 3.0) {
x -= 2.0;
return poly3(x, 0.0,   26.0 / 209.0,  -45.0 / 209.0,  1.0 / 
11.0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.9/test/resize/filter_test.cpp 
new/zimg-release-2.9.1/test/resize/filter_test.cpp
--- old/zimg-release-2.9/test/resize/filter_test.cpp2019-06-06 
17:57:38.0 +0200
+++ new/zimg-release-2.9.1/test/resize/filter_test.cpp  2019-06-13 
03:46:48.0 +0200
@@ -27,6 +27,8 @@
zimg::resize::BilinearFilter f;
EXPECT_EQ(1U, f.support());
check_interpolating(f);
+   EXPECT_EQ(0.5, f(0.5));
+   EXPECT_EQ(0.5, f(-0.5));
 }
 
 TEST(FilterTest, test_bicubic_interpolating)
@@ -34,6 +36,10 @@
zimg::resize::BicubicFilter catmull{ 0.0, 0.5 };
EXPECT_EQ(2U, catmull.support());
check_interpolating(catmull);
+   EXPECT_EQ(0.5625, catmull(0.5));
+   EXPECT_EQ(0.5625, catmull(-0.5)

commit zimg for openSUSE:Factory

2019-06-13 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2019-06-13 22:31:39

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new.4811 (New)


Package is "zimg"

Thu Jun 13 22:31:39 2019 rev:30 rq:708366 version:2.9

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-11-06 
13:55:46.888138483 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new.4811/zimg.changes  2019-06-13 
22:31:40.796413765 +0200
@@ -1,0 +2,16 @@
+Fri Jun  7 12:40:52 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 2.9:
+  * colorspace: improve accuracy of SSE2 LUT-based transfer
+functions
+  * depth: AVX2 and AVX-512 code paths for limited range upsampling
+  * graph: optimize tile width calculation
+  * graph: reduce execution overhead
+  * graph: skip processing pixels outside of active window
+  * resize: change default bicubic from Mitchell-Netravali to
+Catmull-Rom
+  * resize: make output bit-exact regardless of active window
+dimensions
+  * x86: optimizations for AMD Piledriver and Zen1 processors
+
+---

Old:

  release-2.8.tar.gz

New:

  release-2.9.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.POwRKE/_old  2019-06-13 22:31:42.136413330 +0200
+++ /var/tmp/diff_new_pack.POwRKE/_new  2019-06-13 22:31:42.188413313 +0200
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.8
+Version:2.9
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ release-2.8.tar.gz -> release-2.9.tar.gz ++
 6038 lines of diff (skipped)




commit zimg for openSUSE:Factory

2018-11-06 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-11-06 13:55:35

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Tue Nov  6 13:55:35 2018 rev:29 rq:643802 version:2.8

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-07-17 
09:39:32.913911818 +0200
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-11-06 
13:55:46.888138483 +0100
@@ -1,0 +2,16 @@
+Mon Oct 22 20:26:25 UTC 2018 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 2.8:
+  * api: rename colorspace enum values
+  * colorspace: AVX-512 code paths for commonly used transfer
+functions
+  * colorspace: optimize SSE2 LUT-based transfer functions
+  * common: reduce execution overhead
+  * depth: increase ordered dither pattern from 8x8 to 16x16
+  * depth: use blue noise instead of white for random dither
+  * depth: use different dither pattern on each color component
+  * resize: optimize x86 SIMD horizontal downsampling with >8 taps
+  * x86: cache detection on AMD processors
+  * x86: optimizations for AMD Excavator processors
+
+---

Old:

  release-2.7.5.tar.gz

New:

  release-2.8.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.hQSgXB/_old  2018-11-06 13:55:47.836137188 +0100
+++ /var/tmp/diff_new_pack.hQSgXB/_new  2018-11-06 13:55:47.836137188 +0100
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.7.5
+Version:2.8
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ release-2.7.5.tar.gz -> release-2.8.tar.gz ++
 5127 lines of diff (skipped)




commit zimg for openSUSE:Factory

2018-07-17 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-07-17 09:39:30

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Tue Jul 17 09:39:30 2018 rev:28 rq:622510 version:2.7.5

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-04-25 
09:56:43.453028356 +0200
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-07-17 
09:39:32.913911818 +0200
@@ -1,0 +2,7 @@
+Fri Jul 13 20:36:32 UTC 2018 - 9+suse@cirno.systems
+
+- Update to 2.7.5:
+  * depth: fix SSE2 byte->float when width+4 is mod16
+  * resize: allow downsampling to very low resolutions
+
+---

Old:

  release-2.7.4.tar.gz

New:

  release-2.7.5.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.j1QmWp/_old  2018-07-17 09:39:33.525909688 +0200
+++ /var/tmp/diff_new_pack.j1QmWp/_new  2018-07-17 09:39:33.529909674 +0200
@@ -18,14 +18,14 @@
 
 %define sover 2
 Name:   zimg
-Version:2.7.4
+Version:2.7.5
 Release:0
 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
-source99:   baselibs.conf
+Source99:   baselibs.conf
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++

++ release-2.7.4.tar.gz -> release-2.7.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.4/ChangeLog 
new/zimg-release-2.7.5/ChangeLog
--- old/zimg-release-2.7.4/ChangeLog2018-02-07 23:06:44.0 +0100
+++ new/zimg-release-2.7.5/ChangeLog2018-07-13 17:49:10.0 +0200
@@ -1,3 +1,7 @@
+2.7.5:
+depth: fix SSE2 byte->float when width+4 is mod16
+resize: allow downsampling to very low resolutions
+
 2.7.4:
 x86: fix crash on Yorkfield (Core 2 Quad) processors (introduced in 2.7)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.4/configure.ac 
new/zimg-release-2.7.5/configure.ac
--- old/zimg-release-2.7.4/configure.ac 2018-02-07 23:06:44.0 +0100
+++ new/zimg-release-2.7.5/configure.ac 2018-07-13 17:49:10.0 +0200
@@ -1,4 +1,4 @@
-AC_INIT([zimg], [2.7.4], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
+AC_INIT([zimg], [2.7.5], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
 AC_CONFIG_MACRO_DIR([m4])
 
 : ${CFLAGS=""}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.4/src/zimg/api/zimg.cpp 
new/zimg-release-2.7.5/src/zimg/api/zimg.cpp
--- old/zimg-release-2.7.4/src/zimg/api/zimg.cpp2018-02-07 
23:06:44.0 +0100
+++ new/zimg-release-2.7.5/src/zimg/api/zimg.cpp2018-07-13 
17:49:10.0 +0200
@@ -36,7 +36,7 @@
 thread_local zimg_error_code_e g_last_error = ZIMG_ERROR_SUCCESS;
 thread_local std::string g_last_error_msg;
 
-constexpr unsigned VERSION_INFO[] = { 2, 7, 4 };
+constexpr unsigned VERSION_INFO[] = { 2, 7, 5 };
 
 
 template 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zimg-release-2.7.4/src/zimg/depth/x86/depth_convert_sse2.cpp 
new/zimg-release-2.7.5/src/zimg/depth/x86/depth_convert_sse2.cpp
--- old/zimg-release-2.7.4/src/zimg/depth/x86/depth_convert_sse2.cpp
2018-02-07 23:06:44.0 +0100
+++ new/zimg-release-2.7.5/src/zimg/depth/x86/depth_convert_sse2.cpp
2018-07-13 17:49:10.0 +0200
@@ -165,12 +165,11 @@
lo = _mm_sll_epi16(lo, count);
hi = _mm_sll_epi16(hi, count);
 
-   if (right - vec_right > 8) {
+   if (right - vec_right >= 8) {
_mm_store_si128((__m128i *)(dst_p + vec_right), lo);
mm_store_idxlo_epi16((__m128i *)(dst_p + vec_right + 
8), hi, right % 8);
} else {
-   // Modulo does not handle the case where there are 
exactly 8 remaining pixels.
-   mm_store_idxlo_epi16((__m128i *)(dst_p + vec_right), 
lo, right - vec_right);
+   mm_store_idxlo_epi16((__m128i *)(dst_p + vec_right), 
lo, right % 8);
}
}
 }
@@ -289,21 +288,20 @@
if (right != vec_right) {
XITER(vec_right, XARGS);
 
-   if (right - vec_right > 12) {
+   if (right - vec_ri

commit zimg for openSUSE:Factory

2018-04-25 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-04-25 09:56:40

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Wed Apr 25 09:56:40 2018 rev:27 rq:600755 version:2.7.4

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-02-09 
15:46:59.572583038 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-04-25 
09:56:43.453028356 +0200
@@ -1,0 +2,6 @@
+Mon Apr 23 11:40:40 UTC 2018 - dims...@opensuse.org
+
+- Add baselibs.conf: create libzimg2-32bit as a dependency to
+  libavfilter6-32bit.
+
+---

New:

  baselibs.conf



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.Tw65bg/_old  2018-04-25 09:56:44.105004440 +0200
+++ /var/tmp/diff_new_pack.Tw65bg/_new  2018-04-25 09:56:44.109004293 +0200
@@ -25,6 +25,7 @@
 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
+source99:   baselibs.conf
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++

++ baselibs.conf ++
libzimg2



commit zimg for openSUSE:Factory

2018-02-09 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-02-09 15:46:57

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Fri Feb  9 15:46:57 2018 rev:26 rq:573932 version:2.7.4

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-02-01 
21:29:28.912811948 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-02-09 
15:46:59.572583038 +0100
@@ -1,0 +2,7 @@
+Thu Feb  8 03:29:33 UTC 2018 - 9+suse@cirno.systems
+
+- Update to 2.7.4
+  * x86: fix crash on Yorkfield (Core 2 Quad) processors
+(introduced in 2.7)
+
+---

Old:

  release-2.7.3.tar.gz

New:

  release-2.7.4.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.Ov4AVl/_old  2018-02-09 15:47:00.384553880 +0100
+++ /var/tmp/diff_new_pack.Ov4AVl/_new  2018-02-09 15:47:00.384553880 +0100
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.7.3
+Version:2.7.4
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ release-2.7.3.tar.gz -> release-2.7.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.3/ChangeLog 
new/zimg-release-2.7.4/ChangeLog
--- old/zimg-release-2.7.3/ChangeLog2018-01-31 17:41:43.0 +0100
+++ new/zimg-release-2.7.4/ChangeLog2018-02-07 23:06:44.0 +0100
@@ -1,3 +1,6 @@
+2.7.4:
+x86: fix crash on Yorkfield (Core 2 Quad) processors (introduced in 2.7)
+
 2.7.3
 resize: fix performance drop in certain resampling ratios
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.3/configure.ac 
new/zimg-release-2.7.4/configure.ac
--- old/zimg-release-2.7.3/configure.ac 2018-01-31 17:41:43.0 +0100
+++ new/zimg-release-2.7.4/configure.ac 2018-02-07 23:06:44.0 +0100
@@ -1,4 +1,4 @@
-AC_INIT([zimg], [2.7.3], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
+AC_INIT([zimg], [2.7.4], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
 AC_CONFIG_MACRO_DIR([m4])
 
 : ${CFLAGS=""}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.3/src/zimg/api/zimg.cpp 
new/zimg-release-2.7.4/src/zimg/api/zimg.cpp
--- old/zimg-release-2.7.3/src/zimg/api/zimg.cpp2018-01-31 
17:41:43.0 +0100
+++ new/zimg-release-2.7.4/src/zimg/api/zimg.cpp2018-02-07 
23:06:44.0 +0100
@@ -36,7 +36,7 @@
 thread_local zimg_error_code_e g_last_error = ZIMG_ERROR_SUCCESS;
 thread_local std::string g_last_error_msg;
 
-constexpr unsigned VERSION_INFO[] = { 2, 7, 3 };
+constexpr unsigned VERSION_INFO[] = { 2, 7, 4 };
 
 
 template 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zimg-release-2.7.3/src/zimg/common/x86/cpuinfo_x86.cpp 
new/zimg-release-2.7.4/src/zimg/common/x86/cpuinfo_x86.cpp
--- old/zimg-release-2.7.3/src/zimg/common/x86/cpuinfo_x86.cpp  2018-01-31 
17:41:43.0 +0100
+++ new/zimg-release-2.7.4/src/zimg/common/x86/cpuinfo_x86.cpp  2018-02-07 
23:06:44.0 +0100
@@ -174,9 +174,9 @@
 
// Detect logical processor count on x2APIC systems.
if (max_feature >= 0x0B) {
-   unsigned l1d_threads = 0;
-   unsigned l2_threads = 0;
-   unsigned l3_threads = 0;
+   unsigned l1d_threads = cache.l1d_threads;
+   unsigned l2_threads = cache.l2_threads;
+   unsigned l3_threads = cache.l3_threads;
 
for (int i = 0; i < 8; ++i) {
unsigned logical_processors;
@@ -200,7 +200,7 @@
cache.l3_threads = l3_threads;
}
 
-   cache.valid = true;
+   cache.valid = cache.l1d && cache.l1d_threads && !(cache.l2 && 
!cache.l2_threads) && !(cache.l3 && !cache.l3_threads);
return cache;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.3/test/resize/resize_impl_test.cpp 
new/zimg-release-2.7.4/test/resize/resize_impl_test.cpp
--- old/zimg-release-2.7.3/test/resize/resize_impl_test.cpp 2018-01-31 
17:41:43.0 +0100
+++ new/zimg-release-2.7.4/test/resize/resize_impl_test.cpp 2018-02-07 
23:06:44.0 +0100
@@ -102,7 +102,7 @@
const char *expected_sha1_f32[][3] = {
{ "0f09d60179f3b4771dd800c9650dd3acee2b6360" },
{ "0e9af71cb7067663207e6

commit zimg for openSUSE:Factory

2018-02-01 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-02-01 21:29:27

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Thu Feb  1 21:29:27 2018 rev:25 rq:571519 version:2.7.3

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-01-30 
15:44:13.515104704 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-02-01 
21:29:28.912811948 +0100
@@ -1,0 +2,8 @@
+Wed Jan 31 18:45:42 UTC 2018 - 9+suse@cirno.systems
+
+- Update to 2.7.3
+  * resize: fix performance drop in certain resampling ratios
+- Use %license macro
+- Include example code in -devel documentation
+
+---

Old:

  release-2.7.2.tar.gz

New:

  release-2.7.3.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.Ma6IEG/_old  2018-02-01 21:29:29.472785749 +0100
+++ /var/tmp/diff_new_pack.Ma6IEG/_new  2018-02-01 21:29:29.472785749 +0100
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.7.2
+Version:2.7.3
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL
@@ -73,10 +73,12 @@
 %postun -n libzimg%{sover} -p /sbin/ldconfig
 
 %files -n libzimg%{sover}
-%doc COPYING ChangeLog README.md
+%license COPYING
+%doc ChangeLog README.md
 %{_libdir}/libzimg.so.%{sover}*
 
 %files devel
+%doc doc/example
 %{_includedir}/zimg.h
 %{_includedir}/zimg++.hpp
 %{_libdir}/libzimg.so

++ release-2.7.2.tar.gz -> release-2.7.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.2/ChangeLog 
new/zimg-release-2.7.3/ChangeLog
--- old/zimg-release-2.7.2/ChangeLog2018-01-20 03:58:48.0 +0100
+++ new/zimg-release-2.7.3/ChangeLog2018-01-31 17:41:43.0 +0100
@@ -1,3 +1,6 @@
+2.7.3
+resize: fix performance drop in certain resampling ratios
+
 2.7.2
 graph: fix image corruption in certain conversions (introduced in 2.7)
 resize: fix AVX-512 horizontal resize with certain widths (introduced in 2.6)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.2/configure.ac 
new/zimg-release-2.7.3/configure.ac
--- old/zimg-release-2.7.2/configure.ac 2018-01-20 03:58:48.0 +0100
+++ new/zimg-release-2.7.3/configure.ac 2018-01-31 17:41:43.0 +0100
@@ -1,4 +1,4 @@
-AC_INIT([zimg], [2.7.2], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
+AC_INIT([zimg], [2.7.3], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
 AC_CONFIG_MACRO_DIR([m4])
 
 : ${CFLAGS=""}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.2/src/zimg/api/zimg.cpp 
new/zimg-release-2.7.3/src/zimg/api/zimg.cpp
--- old/zimg-release-2.7.2/src/zimg/api/zimg.cpp2018-01-20 
03:58:48.0 +0100
+++ new/zimg-release-2.7.3/src/zimg/api/zimg.cpp2018-01-31 
17:41:43.0 +0100
@@ -36,7 +36,7 @@
 thread_local zimg_error_code_e g_last_error = ZIMG_ERROR_SUCCESS;
 thread_local std::string g_last_error_msg;
 
-constexpr unsigned VERSION_INFO[] = { 2, 7, 2 };
+constexpr unsigned VERSION_INFO[] = { 2, 7, 3 };
 
 
 template 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.2/src/zimg/resize/filter.cpp 
new/zimg-release-2.7.3/src/zimg/resize/filter.cpp
--- old/zimg-release-2.7.2/src/zimg/resize/filter.cpp   2018-01-20 
03:58:48.0 +0100
+++ new/zimg-release-2.7.3/src/zimg/resize/filter.cpp   2018-01-31 
17:41:43.0 +0100
@@ -252,6 +252,8 @@
total += f((xpos - pos) * step);
}
 
+   size_t left = SIZE_MAX;
+
for (unsigned j = 0; j < filter_size; ++j) {
double xpos = begin_pos + j;
double real_pos;
@@ -266,6 +268,13 @@
 
size_t idx = 
static_cast(std::floor(real_pos));
m[i][idx] += f((xpos - pos) * step) / total;
+   left = std::min(left, idx);
+   }
+
+   // Force allocating an entry to keep the left offset 
table sorted.
+   if (m[i][left] == 0.0) {
+   m[i][left] = DBL_EPSILON;
+   m[i][left] = 0.0;
}
}
 




commit zimg for openSUSE:Factory

2018-01-30 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-01-30 15:43:54

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Tue Jan 30 15:43:54 2018 rev:24 rq:570773 version:2.7.2

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-01-16 
09:42:52.868255182 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-01-30 
15:44:13.515104704 +0100
@@ -1,0 +2,9 @@
+Mon Jan 29 20:40:37 UTC 2018 - 9+suse@cirno.systems
+
+- Update to 2.7.2
+  * graph: fix image corruption in certain conversions
+(introduced in 2.7)
+  * resize: fix AVX-512 horizontal resize with certain widths
+(introduced in 2.6)
+
+---

Old:

  release-2.7.1.tar.gz

New:

  release-2.7.2.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.la8WaX/_old  2018-01-30 15:44:14.351065677 +0100
+++ /var/tmp/diff_new_pack.la8WaX/_new  2018-01-30 15:44:14.351065677 +0100
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.7.1
+Version:2.7.2
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ release-2.7.1.tar.gz -> release-2.7.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.1/ChangeLog 
new/zimg-release-2.7.2/ChangeLog
--- old/zimg-release-2.7.1/ChangeLog2018-01-14 00:39:46.0 +0100
+++ new/zimg-release-2.7.2/ChangeLog2018-01-20 03:58:48.0 +0100
@@ -1,3 +1,7 @@
+2.7.2
+graph: fix image corruption in certain conversions (introduced in 2.7)
+resize: fix AVX-512 horizontal resize with certain widths (introduced in 2.6)
+
 2.7.1
 colorspace: fix incorrect ST.428 primaries (introduced in 2.7)
 colorspace: preserve BTB/WTW when approximate_gamma is set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.1/configure.ac 
new/zimg-release-2.7.2/configure.ac
--- old/zimg-release-2.7.1/configure.ac 2018-01-14 00:39:46.0 +0100
+++ new/zimg-release-2.7.2/configure.ac 2018-01-20 03:58:48.0 +0100
@@ -1,4 +1,4 @@
-AC_INIT([zimg], [2.7.1], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
+AC_INIT([zimg], [2.7.2], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
 AC_CONFIG_MACRO_DIR([m4])
 
 : ${CFLAGS=""}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.1/src/zimg/api/zimg.cpp 
new/zimg-release-2.7.2/src/zimg/api/zimg.cpp
--- old/zimg-release-2.7.1/src/zimg/api/zimg.cpp2018-01-14 
00:39:46.0 +0100
+++ new/zimg-release-2.7.2/src/zimg/api/zimg.cpp2018-01-20 
03:58:48.0 +0100
@@ -36,7 +36,7 @@
 thread_local zimg_error_code_e g_last_error = ZIMG_ERROR_SUCCESS;
 thread_local std::string g_last_error_msg;
 
-constexpr unsigned VERSION_INFO[] = { 2, 7, 1 };
+constexpr unsigned VERSION_INFO[] = { 2, 7, 2 };
 
 
 template 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7.1/src/zimg/graph/filtergraph.cpp 
new/zimg-release-2.7.2/src/zimg/graph/filtergraph.cpp
--- old/zimg-release-2.7.1/src/zimg/graph/filtergraph.cpp   2018-01-14 
00:39:46.0 +0100
+++ new/zimg-release-2.7.2/src/zimg/graph/filtergraph.cpp   2018-01-20 
03:58:48.0 +0100
@@ -123,6 +123,7 @@
 
 struct SimulationState {
unsigned pos;
+   unsigned cache_pos;
unsigned lines;
bool hit;
 };
@@ -297,8 +298,10 @@
m_cache_id = id;
}
 
-   void update_cache_state(SimulationState *state, unsigned n) const
+   void update_cache_state(SimulationState *state, unsigned first, 
unsigned last) const
{
+   unsigned n = std::max(state[get_cache_id()].cache_pos, last) - 
first;
+
if (n > state[get_cache_id()].lines) {
unsigned height = get_image_attributes().height;
unsigned mask = select_zimg_buffer_mask(n);
@@ -308,6 +311,8 @@
else
state[get_cache_id()].lines = mask + 1;
}
+
+   state[get_cache_id()].cache_pos = 
std::max(state[get_cache_id()].cache_pos, last);
}
 
void init_cache_context(ExecutionState::node_cache_state *ctx) const
@@ -430,7 +435,7 @@
 
state[get_id()].pos = pos;
state[get_id()].hit = true;
-   update_c

commit zimg for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-01-16 09:42:51

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Tue Jan 16 09:42:51 2018 rev:23 rq:564426 version:2.7.1

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2018-01-01 
22:34:47.504785637 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-01-16 
09:42:52.868255182 +0100
@@ -1,0 +2,9 @@
+Sun Jan 14 19:07:35 UTC 2018 - 9@cirno.systems
+
+- Update to 2.7.1
+  * colorspace: fix incorrect ST.428 primaries (introduced in 2.7)
+  * colorspace: preserve BTB/WTW when approximate_gamma is set
+  * colorspace: optimize handling of IEC 61966-2-4 transfer
+characteristics
+
+---

Old:

  release-2.7.tar.gz

New:

  release-2.7.1.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.S3LKtx/_old  2018-01-16 09:42:53.376231405 +0100
+++ /var/tmp/diff_new_pack.S3LKtx/_new  2018-01-16 09:42:53.380231218 +0100
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.7
+Version:2.7.1
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ release-2.7.tar.gz -> release-2.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7/ChangeLog 
new/zimg-release-2.7.1/ChangeLog
--- old/zimg-release-2.7/ChangeLog  2017-12-21 03:35:58.0 +0100
+++ new/zimg-release-2.7.1/ChangeLog2018-01-14 00:39:46.0 +0100
@@ -1,3 +1,8 @@
+2.7.1
+colorspace: fix incorrect ST.428 primaries (introduced in 2.7)
+colorspace: preserve BTB/WTW when approximate_gamma is set
+colorspace: optimize handling of IEC 61966-2-4 transfer characteristics
+
 2.7
 colorspace: add support for additional matrix/transfer/primaries
 graph: reduce buffer copies when converting from grey to color
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7/configure.ac 
new/zimg-release-2.7.1/configure.ac
--- old/zimg-release-2.7/configure.ac   2017-12-21 03:35:58.0 +0100
+++ new/zimg-release-2.7.1/configure.ac 2018-01-14 00:39:46.0 +0100
@@ -1,4 +1,4 @@
-AC_INIT([zimg], [2.7.0], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
+AC_INIT([zimg], [2.7.1], [https://github.com/sekrit-twc/zimg/pulls], [zimg], 
[https://github.com/sekrit-twc/zimg])
 AC_CONFIG_MACRO_DIR([m4])
 
 : ${CFLAGS=""}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7/src/testapp/table.cpp 
new/zimg-release-2.7.1/src/testapp/table.cpp
--- old/zimg-release-2.7/src/testapp/table.cpp  2017-12-21 03:35:58.0 
+0100
+++ new/zimg-release-2.7.1/src/testapp/table.cpp2018-01-14 
00:39:46.0 +0100
@@ -101,7 +101,7 @@
{ "709",   ColorPrimaries::REC_709 },
{ "film",  ColorPrimaries::FILM },
{ "2020",  ColorPrimaries::REC_2020 },
-   { "st_428",ColorPrimaries::ST_428 },
+   { "xyz",   ColorPrimaries::XYZ },
{ "dcip3", ColorPrimaries::DCI_P3 },
{ "dcip3_d65", ColorPrimaries::DCI_P3_D65 },
{ "jedec_p22", ColorPrimaries::JEDEC_P22 },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zimg-release-2.7/src/zimg/api/zimg++.hpp 
new/zimg-release-2.7.1/src/zimg/api/zimg++.hpp
--- old/zimg-release-2.7/src/zimg/api/zimg++.hpp2017-12-21 
03:35:58.0 +0100
+++ new/zimg-release-2.7.1/src/zimg/api/zimg++.hpp  2018-01-14 
00:39:46.0 +0100
@@ -141,7 +141,6 @@
 };
 
 class FilterGraph {
-private:
zimg_filter_graph *m_graph;
 
FilterGraph(const FilterGraph &);
@@ -164,6 +163,10 @@
}
 
 #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)
+   FilterGraph() : m_graph()
+   {
+   }
+
FilterGraph(FilterGraph &&other) : m_graph(other.m_graph)
{
other.m_graph = 0;
@@ -179,6 +182,11 @@
 
return *this;
}
+
+   explicit operator bool() const
+   {
+   return m_graph != 0;
+   }
 #endif
 
size_t get_tmp_size() const
@@ -209,6 +217,17 @@
check(zimg_filter_graph_process(m_graph, &src, &dst, tmp, 
unpack_cb, unpack_user, pack_cb, pack_user));
}
 
+#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)
+   static FilterGraph build(const zimg_image_format &src_format, const 
zimg_image

commit zimg for openSUSE:Factory

2018-01-01 Thread root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2018-01-01 22:32:51

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Mon Jan  1 22:32:51 2018 rev:22 rq:560903 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2017-12-19 
10:50:43.563830953 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2018-01-01 
22:34:47.504785637 +0100
@@ -1,0 +2,13 @@
+Sun Dec 31 19:17:05 UTC 2017 - 9@cirno.systems
+
+- Update to 2.7
+  * colorspace: add support for additional
+matrix/transfer/primaries
+  * graph: reduce buffer copies when converting from grey to color
+  * graph: reduce buffer copies when performing colorspace
+conversion
+  * graph: process input planes separately when possible
+  * graph: optimize calculation of tile width
+  * x86: automatic cache size detection for Intel processors
+
+---

Old:

  release-2.6.3.tar.gz

New:

  release-2.7.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.9bg65O/_old  2018-01-01 22:34:55.454131571 +0100
+++ /var/tmp/diff_new_pack.9bg65O/_new  2018-01-01 22:34:55.458130237 +0100
@@ -18,7 +18,7 @@
 
 %define sover 2
 Name:   zimg
-Version:2.6.3
+Version:2.7
 Release:0
 Summary:Scaling, colorspace conversion, and dithering library
 License:WTFPL

++ release-2.6.3.tar.gz -> release-2.7.tar.gz ++
 5695 lines of diff (skipped)




commit zimg for openSUSE:Factory

2017-12-19 Thread root
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.changes2015-05-02 
21:35:29.0 +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 - mplus...@suse.com
+Thu Nov 30 06:37:10 UTC 2017 - 9@cirno.systems
@@ -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 - pgaj...@suse.cz
+Wed Nov 22 14:05:51 UTC 2017 - 9@cirno.systems
@@ -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 - tog...@opensuse.org
+Mon Nov 20 08:45:15 UTC 2017 - mplus...@suse.com
@@ -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 - co...@suse.com
+Fri Nov 10 18:27:47 UTC 2017 - 9@cirno.systems
@@ -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 - sch...@suse.de
+Tue Sep  5 18:21:39 UTC 2017 - 9@cirno.systems
@@ -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 - sch...@suse.de
+Fri Aug 18 12:03:13 UTC 2017 - 9@cirno.systems
@@ -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 - m...@suse.de
+Mon Aug 14 23:21:47 UTC 2017 - 9@cirno.systems
@@ -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 - lmichno...@suse.cz
+Sun Jul  9 00:08:55 UTC 2017 - jeng...@inai.de
@@ -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 - lti...@suse.cz
+Thu Jul  6 20:21:12 UTC 2017 - 9@cirno.systems
@@ -52 +74 @@
-- update to 4.22.0
+- Copy to OBS, add (disabled) download _service
@@ -55 +77 @@
-Sun Jan 11 09:51:48 CET 2004 - adr...@suse.de
+Thu Jun 22 10:41:57 UTC 2017 - joerg.loren...@ki.tng.de
@@ -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 - r...@suse.de
-
-- remove unpackaged files from buildroot 
-

-Mon Feb 17 17:38:17 CET 2003 - tcr...@suse.cz
-
-- update to version 4.19.1
-

-Fri Apr 26 12:03:41 CEST 2002 - tcr...@suse.cz
-
-- fixed to build with lib64
-

-Fri Feb  1 00:26:07 CET 2002 - r...@suse.de
-
-- changed neededforbuil

commit zimg for openSUSE:Factory

2015-05-02 Thread h_root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2015-05-02 21:35:28

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg"

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2013-03-14 
15:36:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2015-05-02 
21:35:29.0 +0200
@@ -1,0 +2,8 @@
+Mon Apr 27 16:20:47 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Update dependencies
+- Use url for source
+- Remove _DATE_ and _TIME_
+
+---

Old:

  zimg-5.0.0.tar.bz2

New:

  zimg-5.0.0.tar.gz



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.X0ZEgt/_old  2015-05-02 21:35:30.0 +0200
+++ /var/tmp/diff_new_pack.X0ZEgt/_new  2015-05-02 21:35:30.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zimg
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,6 +17,18 @@
 
 
 Name:   zimg
+Version:5.0.0
+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
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  freetype2-devel
 BuildRequires:  gd-devel
 BuildRequires:  libpng-devel
@@ -24,18 +36,9 @@
 BuildRequires:  libtool
 BuildRequires:  xorg-x11
 BuildRequires:  xorg-x11-devel
+Requires:   ImageMagick
 Requires:   gd >= 1.8.3
-Version:5.0.0
-Release:0
-Source: %{name}-%{version}.tar.bz2
-Patch:  %{name}-%{version}.patch
-Patch1: zimg-automake-1.13.patch
-Url:http://sourceforge.net/projects/zimg/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Summary:Display 2-D data of arbitrary format
-License:BSD-3-Clause
-Group:  Productivity/Graphics/Visualization/Graph
-Requires:   ImageMagick
 
 %description
 zimg generates png images from arbitrary formatted f(x,y) data. Both
@@ -44,41 +47,34 @@
 VLCM and contour graphics and lots of color maps. zimg is a fast
 converter.
 
-
-
-Authors:
-
-Johannes Zellner  
-
 %prep
-%setup
-%patch
+%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"
 
 %build
-%define prefix   /usr/
 autoreconf -fi
-CFLAGS="$RPM_OPT_FLAGS" \
-CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure --mandir=%{_mandir} \
---prefix=%{prefix} \
---with-gd-includes=/usr/include/ \
+%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"
+make xpm_libs="-L/usr/X11R6/%{_lib} -lXpm -lX11" %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install 
-rm -f $RPM_BUILD_ROOT/usr/include/zimg.h
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+rm -f %{buildroot}%{_includedir}/zimg.h
 
 %files
 %defattr(-,root,root)
 %doc  README  ChangeLog AUTHORS COPYING NEWS  TODO
-/usr/bin/zimg
-/usr/share/man/man1/zimg*
+%{_bindir}/zimg
+%{_mandir}/man1/zimg*
 
 %changelog




commit zimg for openSUSE:Factory

2013-03-14 Thread h_root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2013-03-14 15:06:53

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg", Maintainer is "mse...@novell.com"

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2013-01-17 
13:18:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2013-03-14 
15:08:59.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar 13 12:16:01 CET 2013 - pgaj...@suse.cz
+
+- builds with automake 1.13
+  * automake-1.13.patch
+
+---

New:

  zimg-automake-1.13.patch



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.MKrcO6/_old  2013-03-14 15:09:01.0 +0100
+++ /var/tmp/diff_new_pack.MKrcO6/_new  2013-03-14 15:09:01.0 +0100
@@ -29,6 +29,7 @@
 Release:0
 Source: %{name}-%{version}.tar.bz2
 Patch:  %{name}-%{version}.patch
+Patch1: zimg-automake-1.13.patch
 Url:http://sourceforge.net/projects/zimg/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:Display 2-D data of arbitrary format
@@ -52,6 +53,7 @@
 %prep
 %setup
 %patch
+%patch1 -p1
 
 %build
 %define prefix   /usr/

++ zimg-automake-1.13.patch ++
Index: zimg-5.0.0/configure.in
===
--- zimg-5.0.0.orig/configure.in
+++ zimg-5.0.0/configure.in
@@ -36,7 +36,7 @@ dnl 
 dnlProcess this file with autoconf to produce a configure script.
 
 AC_INIT(zimg.h)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AC_PREREQ(1.12)
 AC_REVISION($Revision: 1.106 $)
 AC_CONFIG_AUX_DIR(.)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit zimg for openSUSE:Factory

2013-01-17 Thread h_root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2013-01-17 11:11:42

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg", Maintainer is "mse...@novell.com"

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2011-11-21 
12:52:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2013-01-17 
13:18:15.0 +0100
@@ -1,0 +2,6 @@
+Tue Jan 15 12:30:26 UTC 2013 - tog...@opensuse.org
+
+- remove suse-update-config 
+- remove INSTALL from doc 
+
+---



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.C2Qak8/_old  2013-01-17 13:18:15.0 +0100
+++ /var/tmp/diff_new_pack.C2Qak8/_new  2013-01-17 13:18:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zimg
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,23 +15,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   zimg
-BuildRequires:  freetype2-devel gd-devel libpng-devel libtiff-devel xorg-x11 
xorg-x11-devel
+BuildRequires:  freetype2-devel
+BuildRequires:  gd-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
 BuildRequires:  libtool
-License:BSD-3-Clause
-Group:  Productivity/Graphics/Visualization/Graph
+BuildRequires:  xorg-x11
+BuildRequires:  xorg-x11-devel
 Requires:   gd >= 1.8.3
-AutoReqProv:on
 Version:5.0.0
-Release:211
+Release:0
 Source: %{name}-%{version}.tar.bz2
 Patch:  %{name}-%{version}.patch
 Url:http://sourceforge.net/projects/zimg/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Summary:display 2-D data of arbitrary format
+Summary:Display 2-D data of arbitrary format
+License:BSD-3-Clause
+Group:  Productivity/Graphics/Visualization/Graph
 Requires:   ImageMagick
 
 %description
@@ -50,7 +52,6 @@
 %prep
 %setup
 %patch
-%{suse_update_config}
 
 %build
 %define prefix   /usr/
@@ -74,7 +75,7 @@
 
 %files
 %defattr(-,root,root)
-%doc  README  ChangeLog AUTHORS COPYING INSTALL  NEWS  TODO
+%doc  README  ChangeLog AUTHORS COPYING NEWS  TODO
 /usr/bin/zimg
 /usr/share/man/man1/zimg*
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit zimg for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2011-12-06 19:21:23

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg", Maintainer is "mse...@novell.com"

Changes:




Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.cinUpR/_old  2011-12-06 20:03:06.0 +0100
+++ /var/tmp/diff_new_pack.cinUpR/_new  2011-12-06 20:03:06.0 +0100
@@ -21,7 +21,7 @@
 Name:   zimg
 BuildRequires:  freetype2-devel gd-devel libpng-devel libtiff-devel xorg-x11 
xorg-x11-devel
 BuildRequires:  libtool
-License:BSD 3-Clause
+License:BSD-3-Clause
 Group:  Productivity/Graphics/Visualization/Graph
 Requires:   gd >= 1.8.3
 AutoReqProv:on

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit zimg for openSUSE:Factory

2011-11-21 Thread h_root
Hello community,

here is the log from the commit of package zimg for openSUSE:Factory checked in 
at 2011-11-21 12:51:26

Comparing /work/SRC/openSUSE:Factory/zimg (Old)
 and  /work/SRC/openSUSE:Factory/.zimg.new (New)


Package is "zimg", Maintainer is "mse...@novell.com"

Changes:

--- /work/SRC/openSUSE:Factory/zimg/zimg.changes2011-09-23 
12:53:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.zimg.new/zimg.changes   2011-11-21 
12:52:05.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 19 15:39:18 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ zimg.spec ++
--- /var/tmp/diff_new_pack.dOcQlv/_old  2011-11-21 12:52:06.0 +0100
+++ /var/tmp/diff_new_pack.dOcQlv/_new  2011-11-21 12:52:06.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package zimg (Version 5.0.0)
+# spec file for package zimg
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 
 Name:   zimg
 BuildRequires:  freetype2-devel gd-devel libpng-devel libtiff-devel xorg-x11 
xorg-x11-devel
+BuildRequires:  libtool
 License:BSD 3-Clause
 Group:  Productivity/Graphics/Visualization/Graph
 Requires:   gd >= 1.8.3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org