Skip to content

Commit b81ed6b

Browse files
committed
Dependency version bumps
- Update Cairo to 1.18.4. - Update librsvg to 2.59.91. - Update ImageMagick to 6.9.13-23. MXE Updates: - Update GLib to 2.84.0.
1 parent 51fc588 commit b81ed6b

File tree

7 files changed

+24
-21
lines changed

7 files changed

+24
-21
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
1818
| Dependency | Version | Used under the terms of |
1919
|-----------------|-----------|--------------------------------------------------------------|
2020
| [aom] | 3.12.0 | BSD 2-Clause + [Alliance for Open Media Patent License 1.0] |
21-
| [cairo] | 1.18.2 | Mozilla Public License 2.0 |
21+
| [cairo] | 1.18.4 | Mozilla Public License 2.0 |
2222
| [cgif] | 0.5.0 | MIT Licence |
2323
| [expat] | 2.6.4 | MIT Licence |
2424
| [fontconfig] | 2.16.0 | [fontconfig Licence] (BSD-like) |
2525
| [freetype] | 2.13.3 | [freetype Licence] (BSD-like) |
2626
| [fribidi] | 1.0.16 | LGPLv3 |
27-
| [glib] | 2.83.5 | LGPLv3 |
27+
| [glib] | 2.84.0 | LGPLv3 |
2828
| [harfbuzz] | 10.4.0 | MIT Licence |
2929
| [highway] | 1.2.0 | Apache-2.0 License, BSD 3-Clause |
3030
| [lcms] | 2.17 | MIT Licence |
@@ -34,7 +34,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
3434
| [libheif] | 1.19.7 | LGPLv3 |
3535
| [libimagequant] | 2.4.1¹ | BSD 2-Clause |
3636
| [libpng] | 1.6.47 | [libpng License version 2] |
37-
| [librsvg] | 2.59.90 | LGPLv3 |
37+
| [librsvg] | 2.59.91 | LGPLv3 |
3838
| [libspng] | 0.7.4 | BSD 2-Clause |
3939
| [libtiff] | 4.7.0 | [libtiff License] (BSD-like) |
4040
| [libvips] | 8.16.0 | LGPLv3 |
@@ -94,7 +94,7 @@ Same as libvips-web + these extra dependencies:
9494
| [cfitsio] | 4.5.0 | BSD-like |
9595
| [fftw] | 3.3.10 | GPLv2 |
9696
| [gdk-pixbuf] | 2.42.12 | LGPLv3 |
97-
| [imagemagick] | 6.9.13-22 | [ImageMagick License] (Apache-2.0-like) |
97+
| [imagemagick] | 6.9.13-23 | [ImageMagick License] (Apache-2.0-like) |
9898
| [imath] | 3.1.9 | BSD 3-Clause |
9999
| [libdicom] | 1.1.0 | MIT Licence |
100100
| [libjxl] | 0.11.1 | BSD 3-Clause |

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545
# Always checkout a particular revision which will successfully build.
4646
# This ensures that it will not suddenly break a build.
4747
# Note: Must be regularly updated.
48-
revision="7e76b638d6d6c96686d733f676c734ec688fa0ec"
48+
revision="d8aaa42070904230cfddb7d62f6ce03e295e74ae"
4949
initialize=false
5050

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

build/overrides.mk

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ libarchive_FILE := libarchive-$(libarchive_VERSION).tar.xz
4747
libarchive_URL := https://github.com/libarchive/libarchive/releases/download/v$(libarchive_VERSION)/$(libarchive_FILE)
4848

4949
# upstream version is 7, we want ImageMagick 6
50-
imagemagick_VERSION := 6.9.13-22
51-
imagemagick_CHECKSUM := 5cadcf46363a44ee0f81b87043e39a37621cf637c8feddef73b960a1563cf8b5
50+
imagemagick_VERSION := 6.9.13-23
51+
imagemagick_CHECKSUM := 4447407b87be9825c5607738afd5b0dc55cce9ef0c3ebc5677a0c5f20685ad5e
5252
imagemagick_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/imagemagick-[0-9]*.patch)))
5353
imagemagick_GH_CONF := ImageMagick/ImageMagick6/tags
5454

@@ -61,8 +61,8 @@ graphicsmagick_FILE := GraphicsMagick-$(graphicsmagick_VERSION).tar.xz
6161
graphicsmagick_URL := https://$(SOURCEFORGE_MIRROR)/project/graphicsmagick/graphicsmagick/$(graphicsmagick_VERSION)/$(graphicsmagick_FILE)
6262

6363
# upstream version is 2.40.21
64-
librsvg_VERSION := 2.59.90
65-
librsvg_CHECKSUM := d3d623a9839d2b7eb76a5b0b621c15d02abc4d9a886376c3a53b568206ebf545
64+
librsvg_VERSION := 2.59.91
65+
librsvg_CHECKSUM := b1ff70d5b04441ba2ba3f80404b7d98127128fba1020211e3d99b7bf400e4f83
6666
librsvg_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/librsvg-[0-9]*.patch)))
6767
librsvg_SUBDIR := librsvg-$(librsvg_VERSION)
6868
librsvg_FILE := librsvg-$(librsvg_VERSION).tar.xz
@@ -86,20 +86,20 @@ fribidi_SUBDIR := fribidi-$(fribidi_VERSION)
8686
fribidi_FILE := fribidi-$(fribidi_VERSION).tar.xz
8787
fribidi_URL := https://github.com/fribidi/fribidi/releases/download/v$(fribidi_VERSION)/$(fribidi_FILE)
8888

89-
# upstream version is 2.83.4
90-
glib_VERSION := 2.83.5
91-
glib_CHECKSUM := f8342c4f2b713c926db1b34b8bd93dd4cb2515a1102d8419686fe93942c6071c
92-
glib_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/glib-[0-9]*.patch)))
93-
glib_SUBDIR := glib-$(glib_VERSION)
94-
glib_FILE := glib-$(glib_VERSION).tar.xz
95-
glib_URL := https://download.gnome.org/sources/glib/$(call SHORT_PKG_VERSION,glib)/$(glib_FILE)
96-
9789
# upstream version is 0.6.22
9890
libexif_VERSION := 0.6.25
9991
libexif_CHECKSUM := 62f74cf3bf673a6e24d2de68f6741643718541f83aca5947e76e3978c25dce83
10092
libexif_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/libexif-[0-9]*.patch)))
10193
libexif_GH_CONF := libexif/libexif/releases,v,,,,.tar.xz
10294

95+
# upstream version is 1.18.2
96+
cairo_VERSION := 1.18.4
97+
cairo_CHECKSUM := 445ed8208a6e4823de1226a74ca319d3600e83f6369f99b14265006599c32ccb
98+
cairo_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/cairo-[0-9]*.patch)))
99+
cairo_SUBDIR := cairo-$(cairo_VERSION)
100+
cairo_FILE := cairo-$(cairo_VERSION).tar.xz
101+
cairo_URL := https://cairographics.org/releases/$(cairo_FILE)
102+
103103
# upstream version is 0.43.4
104104
pixman_VERSION := 0.44.2
105105
pixman_CHECKSUM := 50baf820dde0c5ff9714d03d2df4970f606a3d3b1024f5404c0398a9821cc4b0
@@ -682,6 +682,7 @@ define libwebp_BUILD
682682
$(MAKE) -C '$(BUILD_DIR)' -j 1 $(INSTALL_STRIP_LIB) $(MXE_DISABLE_PROGRAMS)
683683
endef
684684

685+
# Disable the DWrite font backend to ensure compat with Windows Nano Server
685686
# node-canvas needs a Cairo with SVG support, so compile with -Dpng=enabled
686687
# ensure the FontConfig backend is enabled
687688
# build with -Dzlib=disabled to disable the script, PostScript and PDF surfaces

build/patches/cairo-1-fixes.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ diff --git a/meson.build b/meson.build
1515
index 1111111..2222222 100644
1616
--- a/meson.build
1717
+++ b/meson.build
18-
@@ -70,10 +70,6 @@ if cc.get_id() != 'msvc'
18+
@@ -71,10 +71,6 @@ if cc.get_id() != 'msvc'
1919
'-fno-common'
2020
]
2121

build/patches/cairo-1-nanoserver-compat.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ diff --git a/meson.build b/meson.build
1010
index 1111111..2222222 100644
1111
--- a/meson.build
1212
+++ b/meson.build
13-
@@ -483,29 +483,6 @@ if host_machine.system() == 'windows'
13+
@@ -485,29 +485,6 @@ if host_machine.system() == 'windows'
1414

1515
add_project_arguments('-DWIN32_LEAN_AND_MEAN', '-DNOMINMAX', language: ['c', 'cpp'])
1616

build/patches/librsvg-2-fixes.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ diff --git a/meson.build b/meson.build
1313
index 1111111..2222222 100644
1414
--- a/meson.build
1515
+++ b/meson.build
16-
@@ -339,13 +339,9 @@ if host_system in ['windows', 'linux']
16+
@@ -350,13 +350,9 @@ if host_system in ['windows', 'linux']
1717
native_libs = run_command(
1818
rustc_query_native_static_libs_args,
1919
capture: true,

build/plugins/vipsdisp/overrides.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ glib_CONFIGURE_OPTS = --force-fallback-for=libpcre2-8
66

77
# GTK requires cairo-win32, cairo-ps and cairo-pdf
88
# https://gitlab.gnome.org/GNOME/gtk/-/issues/5072
9+
# Also enable the DWrite font backend in Cairo
10+
# https://gitlab.gnome.org/GNOME/gtk/-/issues/7144
911
cairo_PATCHES := $(filter-out $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/../../patches/cairo-1-nanoserver-compat.patch))),$(cairo_PATCHES))
10-
cairo_CONFIGURE_OPTS = -Dzlib=enabled
12+
cairo_CONFIGURE_OPTS = -Dzlib=enabled -Ddwrite=enabled
1113

1214
# Override sub-dependencies
1315
libepoxy_DEPS := $(filter-out xorg-macros,$(libepoxy_DEPS))

0 commit comments

Comments
 (0)