10 Commits

Author SHA256 Message Date
11eade99bd Accepting request 1306077 from multimedia:libs
- Update to version 3.0.6+20250919.gdf9c147:
  * test: fix NEON tests
  * depth: fix border handling in byte-word left shift conversion

- Update to 3.0.6+20250814.g1f53009
  * colorspace: fix AVX-512 sRGB/709 with negative input
    (introduced in 2.8)
  * resize: fix AVX-512 downscaling with certain tap counts
    (introduced in 2.6)
- Switch to snapshots of master because the branch on which
  releases are tagged lacks a lot of fixes that are in master while
  both share the same version identifier.
- Drop Patches
  * cmake-googletest.patch
  * zimg-gcc15.patch
  * zimg-s390x-unit-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1306077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zimg?expand=0&rev=42
2025-09-22 14:38:23 +00:00
b0f618dc9c - Update to version 3.0.6+20250919.gdf9c147:
* test: fix NEON tests
  * depth: fix border handling in byte-word left shift conversion

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=42
2025-09-20 00:35:42 +00:00
08f354a904 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=41 2025-09-19 01:14:00 +00:00
0a35b757e2 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=40 2025-09-19 01:10:47 +00:00
a163e2bc97 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=39 2025-09-19 01:04:27 +00:00
a43b63138c - Update to 3.0.6+20250814.g1f53009
* colorspace: fix AVX-512 sRGB/709 with negative input
    (introduced in 2.8)
  * resize: fix AVX-512 downscaling with certain tap counts
    (introduced in 2.6)
- Switch to snapshots of master because the branch on which
  releases are tagged lacks a lot of fixes that are in master while
  both share the same version identifier.
- Drop Patches
  * cmake-googletest.patch
  * zimg-s390x-unit-tests.patch
  * zimg-gcc15.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=38
2025-09-19 00:19:53 +00:00
7309929d43 Accepting request 1293278 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1293278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zimg?expand=0&rev=41
2025-07-17 15:17:25 +00:00
be880222fc - add patch cmake-googletest.patch to fix incompatibility of
old google-test with CMake 4.0. Upstream has already updated the
  dependency.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=37
2025-07-15 06:58:12 +00:00
40055476e1 Accepting request 1245463 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1245463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zimg?expand=0&rev=40
2025-02-13 17:37:41 +00:00
285cd0e861 - added patches
fix https://github.com/sekrit-twc/zimg/issues/214
  + zimg-gcc15.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=36
2025-02-12 18:27:07 +00:00
8 changed files with 56 additions and 79 deletions

View File

@@ -1,15 +1,15 @@
<services>
<service name="obs_scm" mode="disabled">
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/sekrit-twc/zimg.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionformat">@PARENT_TAG@+%cd.g%h</param>
<param name="versionrewrite-pattern">release-([0-9\.]*)</param>
<param name="revision">release-3.0.5</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="set_version" mode="manual"/>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/sekrit-twc/zimg.git</param>
<param name="changesrevision">df9c1472b9541d0e79c8d02dae37fdf12f189ec2</param></service></servicedata>

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b93c084f899a647c0077fa428dfca67b0a2c18c7a888a576ea16516f6779a8a4
size 10054669

View File

@@ -1,60 +0,0 @@
From b2bee8460a0f6ecf049e27d0a2090c87e871d951 Mon Sep 17 00:00:00 2001
From: Mike Gorse <mgorse@suse.com>
Date: Wed, 22 Sep 2021 11:57:47 -0500
Subject: [PATCH] FIx unit tests on big endian systems
---
test/extra/sha1/config.h | 6 ++++++
test/graph/filter_validator.cpp | 8 ++++++++
2 files changed, 14 insertions(+)
diff --git a/test/extra/sha1/config.h b/test/extra/sha1/config.h
index ea853f0..7bc4e00 100644
--- a/test/extra/sha1/config.h
+++ b/test/extra/sha1/config.h
@@ -1,3 +1,5 @@
+#include <endian.h>
+
#ifndef LITTLE_ENDIAN
#define LITTLE_ENDIAN 4321
#endif
@@ -7,5 +9,9 @@
#endif
#ifndef BYTE_ORDER
+#if defined(__BYTE_ORDER) && (__BYTE_ORDER == __BIG_ENDIAN)
+ #define BYTE_ORDER BIG_ENDIAN
+#else
#define BYTE_ORDER LITTLE_ENDIAN
#endif
+#endif
diff --git a/test/graph/filter_validator.cpp b/test/graph/filter_validator.cpp
index f0d6859..d768ebf 100644
--- a/test/graph/filter_validator.cpp
+++ b/test/graph/filter_validator.cpp
@@ -13,6 +13,8 @@
#include "gtest/gtest.h"
+#include <endian.h>
+
extern "C" {
#include "sha1/sha1.h"
}
@@ -40,7 +42,13 @@ void hash_buffer(const AuditBuffer<T> &buf, unsigned p, unsigned width, unsigned
for (unsigned i = 0; i < height; ++i) {
const unsigned char *ptr = static_cast<const unsigned char *>(image_buffer[p][i]);
+#if (__BYTE_ORDER == __LITTLE_ENDIAN)
SHA1Update(&sha_ctx, ptr, width * sizeof(T));
+#else
+ for (unsigned j = 0; j < width; j++)
+ for (int k = sizeof(T) - 1; k >= 0; k--)
+ SHA1Update(&sha_ctx, ptr + (j * sizeof(T)) + k, 1);
+#endif
}
SHA1Final(digest, &sha_ctx);
--
2.32.0

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Sat Sep 20 00:34:55 UTC 2025 - Mia Herkt <mia@0x0.st>
- Update to version 3.0.6+20250919.gdf9c147:
* test: fix NEON tests
* depth: fix border handling in byte-word left shift conversion
-------------------------------------------------------------------
Thu Sep 18 21:28:01 UTC 2025 - Mia Herkt <mia@0x0.st>
- Update to 3.0.6+20250814.g1f53009
* colorspace: fix AVX-512 sRGB/709 with negative input
(introduced in 2.8)
* resize: fix AVX-512 downscaling with certain tap counts
(introduced in 2.6)
- Switch to snapshots of master because the branch on which
releases are tagged lacks a lot of fixes that are in master while
both share the same version identifier.
- Drop Patches
* cmake-googletest.patch
* zimg-gcc15.patch
* zimg-s390x-unit-tests.patch
-------------------------------------------------------------------
Sun Jul 13 06:20:40 UTC 2025 - Christoph G <foss@grueninger.de>
- add patch cmake-googletest.patch to fix incompatibility of
old google-test with CMake 4.0. Upstream has already updated the
dependency.
-------------------------------------------------------------------
Wed Feb 12 11:28:14 UTC 2025 - pgajdos@suse.com
- added patches
fix https://github.com/sekrit-twc/zimg/issues/214
+ zimg-gcc15.patch
-------------------------------------------------------------------
Fri Jul 14 17:48:12 UTC 2023 - Mia Herkt <mia@0x0.st>

View File

@@ -1,4 +1,4 @@
name: zimg
version: 3.0.5
mtime: 1688147727
commit: e5b0de6bebbcbc66732ed5afaafef6b2c7dfef87
version: 3.0.6+20250919.gdf9c147
mtime: 1758327814
commit: df9c1472b9541d0e79c8d02dae37fdf12f189ec2

View File

@@ -1,7 +1,7 @@
#
# spec file for package zimg
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,13 @@
%define sover 2
Name: zimg
Version: 3.0.5
Version: 3.0.6+20250919.gdf9c147
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: zimg-%{version}.tar.xz
Source0: zimg-%{version}.tar.zst
Source99: baselibs.conf
Patch0: zimg-s390x-unit-tests.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cmake
@@ -40,7 +38,6 @@ 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
@@ -48,7 +45,6 @@ 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
@@ -56,7 +52,7 @@ The libzimg-devel package contains libraries and header files for
developing applications that use libzimg%{sover}.
%prep
%autosetup -p1
%autosetup
%build
autoreconf -fiv