Skip to content

Commit 7d35724

Browse files
committed
Dependency version bumps
- Update highway to 0.17.0. - Update ImageMagick to 6.9.12-51. MXE Updates: - Update Poppler to 22.06.0.
1 parent 90d5492 commit 7d35724

File tree

8 files changed

+75
-24
lines changed

8 files changed

+75
-24
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,16 @@ Same as libvips-web + these extra dependencies:
9696
| [brotli] | 1.0.9 | MIT Licence |
9797
| [cfitsio] | 4.1.0 | BSD-like |
9898
| [fftw] | 3.3.10 | GPLv2 |
99-
| [highway] | 0.16.0 | Apache-2.0 License |
100-
| [imagemagick] | 6.9.12-50 | [ImageMagick License] (Apache-2.0-like) |
99+
| [highway] | 0.17.0 | Apache-2.0 License |
100+
| [imagemagick] | 6.9.12-51 | [ImageMagick License] (Apache-2.0-like) |
101101
| [imath] | 3.1.5 | BSD 3-Clause |
102102
| [libjxl] | 0.6.1 | BSD 3-Clause |
103103
| [matio] | 1.5.23 | BSD 2-Clause |
104104
| [nifticlib] | 3.0.1 | Public domain |
105105
| [openexr] | 3.1.5 | BSD 3-Clause |
106106
| [openjpeg] | 2.5.0 | BSD 2-Clause |
107107
| [openslide] | 3.4.1 | LGPLv3 |
108-
| [poppler] | 22.05.0 | GPLv2 |
108+
| [poppler] | 22.06.0 | GPLv2 |
109109
| [sqlite] | 3.38.5 | Public domain |
110110

111111
[brotli]: https://github.com/google/brotli

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151
# Always checkout a particular revision which will successfully build.
5252
# This ensures that it will not suddenly break a build.
5353
# Note: Must be regularly updated.
54-
revision="c8a846658a349da3e4676a69f9b01cbf13205dbe"
54+
revision="7771847b4212235b48e7270331ba82e791704a03"
5555
initialize=false
5656

5757
if [ -f "$mxe_dir/Makefile" ]; then

build/highway.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ PKG := highway
22
$(PKG)_WEBSITE := https://github.com/google/highway
33
$(PKG)_DESCR := Performance-portable, length-agnostic SIMD with runtime dispatch
44
$(PKG)_IGNORE :=
5-
$(PKG)_VERSION := 0.16.0
6-
$(PKG)_CHECKSUM := 746c9578446be6c5286e8846c5f0d4118c0c1f04219c401abadcb8a5f2051893
7-
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/highway-[0-9]*.patch)))
5+
$(PKG)_VERSION := 0.17.0
6+
$(PKG)_CHECKSUM := 25158fd5c090b70ecea47fc246c860d150f07f801d2434e1e51ec14a6c15822c
7+
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/$(PKG)-[0-9]*.patch)))
88
$(PKG)_GH_CONF := google/highway/tags
99
$(PKG)_DEPS := cc
1010

build/libjxl.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $(PKG)_DESCR := JPEG XL image format reference implementation
44
$(PKG)_IGNORE :=
55
$(PKG)_VERSION := 0.6.1
66
$(PKG)_CHECKSUM := ccbd5a729d730152303be399f033b905e608309d5802d77a61a95faa092592c5
7-
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/libjxl-[0-9]*.patch)))
7+
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/$(PKG)-[0-9]*.patch)))
88
$(PKG)_GH_CONF := libjxl/libjxl/tags,v
99
$(PKG)_DEPS := cc brotli highway lcms libjpeg-turbo libpng
1010

build/overrides.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ matio_FILE := matio-$(matio_VERSION).tar.gz
3939
matio_URL := https://github.com/tbeu/matio/releases/download/v$(matio_VERSION)/$(matio_FILE)
4040

4141
# upstream version is 7, we want ImageMagick 6
42-
imagemagick_VERSION := 6.9.12-50
43-
imagemagick_CHECKSUM := 36c9be90f6158e36e5496bed6d539aa7bd1fe2509c9a911e01edb5283f6a0db2
42+
imagemagick_VERSION := 6.9.12-51
43+
imagemagick_CHECKSUM := 699cd979e845f96bae309adf2c6acb1a1eccf01907c12a3ef743f5a4b9a1897b
4444
imagemagick_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/imagemagick-[0-9]*.patch)))
4545
imagemagick_GH_CONF := ImageMagick/ImageMagick6/tags
4646

build/patches/libjxl-0.6-fixes.patch

Lines changed: 60 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
33
Date: Wed, 2 Jun 2021 14:07:04 +0200
4-
Subject: [PATCH 1/9] Remove LCMS mutex
4+
Subject: [PATCH 1/11] Remove LCMS mutex
55

66
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/057cd06c19875bcf8b5d34d41d92a8abdb856b7c]
77

@@ -70,7 +70,7 @@ index 1111111..2222222 100644
7070
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
7171
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
7272
Date: Tue, 8 Jun 2021 12:40:01 +0200
73-
Subject: [PATCH 2/9] Allow to build with system-wide installed lcms
73+
Subject: [PATCH 2/11] Allow to build with system-wide installed lcms
7474

7575
See: https://gitlab.com/wg1/jpeg-xl/-/issues/124
7676

@@ -158,7 +158,7 @@ index 1111111..2222222 100644
158158
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
159159
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
160160
Date: Tue, 8 Jun 2021 13:14:53 +0200
161-
Subject: [PATCH 3/9] Allow to build without LodePNG
161+
Subject: [PATCH 3/11] Allow to build without LodePNG
162162

163163
Since there's no official release available.
164164

@@ -300,7 +300,7 @@ index 1111111..2222222 100644
300300
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
301301
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
302302
Date: Tue, 8 Jun 2021 13:30:49 +0200
303-
Subject: [PATCH 4/9] Ensure DLLs are installed in the bin directory
303+
Subject: [PATCH 4/11] Ensure DLLs are installed in the bin directory
304304

305305

306306
diff --git a/lib/jxl.cmake b/lib/jxl.cmake
@@ -339,7 +339,7 @@ index 1111111..2222222 100644
339339
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
340340
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
341341
Date: Wed, 9 Jun 2021 19:38:33 +0200
342-
Subject: [PATCH 5/9] tsc_timer.h: sync with nanobenchmark.cc from Highway (#797)
342+
Subject: [PATCH 5/11] tsc_timer.h: sync with nanobenchmark.cc from Highway (#797)
343343

344344
This file was originally originated from nanobenchmark.cc on the
345345
Highway project. Re-syncing this file ensures that the fixes from
@@ -493,7 +493,7 @@ index 1111111..2222222 100644
493493
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
494494
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
495495
Date: Sun, 10 Oct 2021 18:50:00 +0200
496-
Subject: [PATCH 6/9] --exclude-libs=ALL is only supported on ELF platforms
496+
Subject: [PATCH 6/11] --exclude-libs=ALL is only supported on ELF platforms
497497

498498
This linker option is not available for COFF and Mach-O platforms.
499499

@@ -519,7 +519,7 @@ index 1111111..2222222 100644
519519
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
520520
From: Jan Wassenberg <janwas@google.com>
521521
Date: Fri, 12 Nov 2021 09:12:35 +0100
522-
Subject: [PATCH 7/9] Avoid deprecated Highway functions
522+
Subject: [PATCH 7/11] Avoid deprecated Highway functions
523523

524524
Instead use the newer overloads with the extra d arg required to
525525
support SVE/RISC-V.
@@ -867,7 +867,7 @@ index 1111111..2222222 100644
867867
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
868868
From: Jan Wassenberg <janwas@google.com>
869869
Date: Thu, 6 Jan 2022 09:36:20 +0100
870-
Subject: [PATCH 8/9] Avoid deprecated Hwy functions - add d arg
870+
Subject: [PATCH 8/11] Avoid deprecated Hwy functions - add d arg
871871

872872
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/0902f85ca6e9e305338baf7974192acab8c53ac5]
873873

@@ -973,7 +973,7 @@ index 1111111..2222222 100644
973973
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
974974
From: Jan Wassenberg <janwas@google.com>
975975
Date: Fri, 4 Feb 2022 11:37:43 +0100
976-
Subject: [PATCH 9/9] Rename deprecated StoreFence to FlushStream
976+
Subject: [PATCH 9/11] Rename deprecated StoreFence to FlushStream
977977

978978
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/600b591538827247f1b2ad6ee6ae627a2173b7ec]
979979

@@ -1017,3 +1017,54 @@ index 1111111..2222222 100644
10171017
#endif
10181018

10191019
#if defined(__MACH__)
1020+
1021+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
1022+
From: Jan Wassenberg <janwas@google.com>
1023+
Date: Wed, 13 Apr 2022 11:04:32 +0200
1024+
Subject: [PATCH 10/11] Prepare for EMU128 target: avoid x86-specific code
1025+
1026+
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/98d25826edc1d93284ba36928b96c0f13968e940]
1027+
1028+
diff --git a/lib/jxl/convolve-inl.h b/lib/jxl/convolve-inl.h
1029+
index 1111111..2222222 100644
1030+
--- a/lib/jxl/convolve-inl.h
1031+
+++ b/lib/jxl/convolve-inl.h
1032+
@@ -44,7 +44,7 @@ class Neighbors {
1033+
return c; // Same (the first mirrored value is the last valid one)
1034+
#else // 128 bit
1035+
// c = LKJI
1036+
-#if HWY_ARCH_X86
1037+
+#if HWY_TARGET <= (1 << HWY_HIGHEST_TARGET_BIT_X86)
1038+
return V{_mm_shuffle_ps(c.raw, c.raw, _MM_SHUFFLE(2, 1, 0, 0))}; // KJII
1039+
#else
1040+
const D d;
1041+
1042+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
1043+
From: Jan Wassenberg <janwas@google.com>
1044+
Date: Fri, 22 Apr 2022 10:16:44 +0200
1045+
Subject: [PATCH 11/11] Further fix of convolve-inl, missed some spots
1046+
1047+
Upstream-Status: Accepted [https://github.com/libjxl/libjxl/commit/1f849bd281453bfe6502a9aad58dffb3ac088e17]
1048+
1049+
diff --git a/lib/jxl/convolve-inl.h b/lib/jxl/convolve-inl.h
1050+
index 1111111..2222222 100644
1051+
--- a/lib/jxl/convolve-inl.h
1052+
+++ b/lib/jxl/convolve-inl.h
1053+
@@ -72,7 +72,7 @@ class Neighbors {
1054+
return Zero(d);
1055+
#else // 128 bit
1056+
// c = LKJI
1057+
-#if HWY_ARCH_X86
1058+
+#if HWY_TARGET <= (1 << HWY_HIGHEST_TARGET_BIT_X86)
1059+
return V{_mm_shuffle_ps(c.raw, c.raw, _MM_SHUFFLE(1, 0, 0, 1))}; // JIIJ
1060+
#else
1061+
const D d;
1062+
@@ -98,7 +98,7 @@ class Neighbors {
1063+
return Zero(d);
1064+
#else // 128 bit
1065+
// c = LKJI
1066+
-#if HWY_ARCH_X86
1067+
+#if HWY_TARGET <= (1 << HWY_HIGHEST_TARGET_BIT_X86)
1068+
return V{_mm_shuffle_ps(c.raw, c.raw, _MM_SHUFFLE(0, 0, 1, 2))}; // IIJK
1069+
#else
1070+
const D d;

build/patches/meson-0.61-fixes.patch renamed to build/patches/meson-0.62-fixes.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py
2121
index 1111111..2222222 100644
2222
--- a/mesonbuild/linkers/linkers.py
2323
+++ b/mesonbuild/linkers/linkers.py
24-
@@ -607,7 +607,8 @@ class GnuLikeDynamicLinkerMixin:
24+
@@ -612,7 +612,8 @@ class GnuLikeDynamicLinkerMixin:
2525
return self._apply_prefix('--out-implib=' + implibname)
2626

2727
def thread_flags(self, env: 'Environment') -> T.List[str]:

build/patches/poppler-mingw-std-threads.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ diff --git a/poppler/CairoFontEngine.h b/poppler/CairoFontEngine.h
5757
index 1111111..2222222 100644
5858
--- a/poppler/CairoFontEngine.h
5959
+++ b/poppler/CairoFontEngine.h
60-
@@ -31,7 +31,11 @@
61-
#ifndef CAIROFONTENGINE_H
60+
@@ -32,7 +32,11 @@
6261
#define CAIROFONTENGINE_H
6362

63+
#include <memory>
6464
+#ifdef _WIN32
6565
+#include "mingw.mutex.h"
6666
+#else
6767
#include <mutex>
6868
+#endif
69+
#include <unordered_map>
70+
#include <vector>
6971

70-
#include "poppler-config.h"
71-
#include <cairo-ft.h>
7272
diff --git a/poppler/Dict.h b/poppler/Dict.h
7373
index 1111111..2222222 100644
7474
--- a/poppler/Dict.h

0 commit comments

Comments
 (0)