Skip to content

Commit 90d5492

Browse files
committed
Dependency version bumps
- Update GLib to 2.73.0. MXE Updates: - Update LibTIFF to 4.4.0.
1 parent 752a66c commit 90d5492

File tree

12 files changed

+293
-281
lines changed

12 files changed

+293
-281
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
2525
| [freetype] | 2.12.1 | [freetype Licence] (BSD-like) |
2626
| [fribidi] | 1.0.12 | LGPLv3 |
2727
| [gdk-pixbuf] | 2.42.8 | LGPLv3 |
28-
| [glib] | 2.72.1 | LGPLv3 |
28+
| [glib] | 2.73.0 | LGPLv3 |
2929
| [harfbuzz] | 4.3.0 | MIT Licence |
3030
| [lcms] | 2.13.1 | MIT Licence |
3131
| [libexif] | 0.6.24 | LGPLv3 |
@@ -36,7 +36,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
3636
| [libpng] | 1.6.37 | [libpng License version 2] |
3737
| [librsvg] | 2.54.3 | LGPLv3 |
3838
| [libspng] | 0.7.2 | BSD 2-Clause |
39-
| [libtiff] | 4.3.0 | [libtiff License] (BSD-like) |
39+
| [libtiff] | 4.4.0 | [libtiff License] (BSD-like) |
4040
| [libvips] | 8.12.2 | LGPLv3 |
4141
| [libwebp] | 1.2.2 | New BSD License |
4242
| [libxml2] | 2.9.14 | MIT Licence |

build.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ Usage: $(basename "$0") [OPTIONS] [DEPS] [ARCH] [TYPE]
77
Build Windows binaries for libvips in a container
88
99
OPTIONS:
10-
--help Show the help and exit
10+
--help Show the help and exit
1111
-c, --commit <COMMIT> The commit to build libvips from
12-
-r, --ref <REF> The branch or tag to build libvips from
13-
--nightly Build libvips from tip-of-tree (alias of -r master)
14-
--with-hevc Build libheif with the HEVC-related dependencies
15-
--with-debug Build binaires with debug symbols
16-
--without-llvm Build binaires with GCC
17-
--without-mozjpeg Build binaires with libjpeg-turbo
18-
--without-zlib-ng Build binaires with vanilla zlib
12+
-r, --ref <REF> The branch or tag to build libvips from
13+
--nightly Build libvips from tip-of-tree (alias of -r master)
14+
--with-hevc Build libheif with the HEVC-related dependencies
15+
--with-debug Build binaires with debug symbols
16+
--without-llvm Build binaires with GCC
17+
--without-mozjpeg Build binaires with libjpeg-turbo
18+
--without-zlib-ng Build binaires with vanilla zlib
1919
2020
DEPS:
2121
The group of dependencies to build libvips with,
@@ -160,7 +160,7 @@ else
160160
fi
161161

162162
# Ensure latest Debian stable base image
163-
$oci_runtime pull buildpack-deps:buster
163+
$oci_runtime pull buildpack-deps:bullseye
164164

165165
# Create a machine image with all the required build tools pre-installed
166166
$oci_runtime build -t libvips-build-win-mxe container

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="23cb13d8aec6bbd51ef3671b0e975c61d7dbd0ad"
54+
revision="c8a846658a349da3e4676a69f9b01cbf13205dbe"
5555
initialize=false
5656

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

build/libheif.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ $(PKG)_GH_CONF := strukturag/libheif/releases,v
99
$(PKG)_DEPS := cc aom
1010

1111
define $(PKG)_BUILD
12+
# need to regenerate the configure script
13+
cd '$(SOURCE_DIR)' && autoreconf -fi
14+
1215
# Disable multithreading when building with Win32 threads to
1316
# avoid a dependency on mingw-std-threads (which we only use
1417
# in the "all" variant). Disabling multithreading only affects

build/overrides.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ fribidi_FILE := fribidi-$(fribidi_VERSION).tar.xz
7979
fribidi_URL := https://github.com/fribidi/fribidi/releases/download/v$(fribidi_VERSION)/$(fribidi_FILE)
8080

8181
# upstream version is 2.70.2
82-
glib_VERSION := 2.72.1
83-
glib_CHECKSUM := c07e57147b254cef92ce80a0378dc0c02a4358e7de4702e9f403069781095fe2
82+
glib_VERSION := 2.73.0
83+
glib_CHECKSUM := 3673f10515f4bcfb9ee2ce0a921a18fa359c36fab388b19819467e7b09506870
8484
glib_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/glib-[0-9]*.patch)))
8585
glib_SUBDIR := glib-$(glib_VERSION)
8686
glib_FILE := glib-$(glib_VERSION).tar.xz
@@ -170,7 +170,6 @@ libjpeg-turbo_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFIL
170170
harfbuzz_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/harfbuzz-[0-9]*.patch)))
171171
libxml2_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/libxml2-[0-9]*.patch)))
172172
poppler_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/poppler-[0-9]*.patch)))
173-
tiff_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/tiff-[0-9]*.patch)))
174173
meson_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/meson-[0-9]*.patch)))
175174
mingw-w64_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/mingw-w64-[0-9]*.patch)))
176175
fontconfig_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/fontconfig-[0-9]*.patch)))

build/patches/glib-2-fixes.patch

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ diff --git a/meson.build b/meson.build
4242
index 1111111..2222222 100644
4343
--- a/meson.build
4444
+++ b/meson.build
45-
@@ -2087,40 +2087,17 @@ endif
45+
@@ -2030,40 +2030,17 @@ endif
4646
# proxy-libintl subproject.
4747
# FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
4848
# implementations. This could be extended if issues are found in some platforms.
@@ -85,31 +85,3 @@ index 1111111..2222222 100644
8585
endif
8686
endif
8787

88-
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
89-
From: Kleis Auke Wolthuizen <github@kleisauke.nl>
90-
Date: Mon, 13 May 2019 18:00:00 +0200
91-
Subject: [PATCH 2/2] Disable some tests
92-
93-
94-
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
95-
index 1111111..2222222 100644
96-
--- a/gio/tests/meson.build
97-
+++ b/gio/tests/meson.build
98-
@@ -487,7 +487,7 @@ gdbus_example_objectmanager_sources = files(
99-
'gdbus-example-objectmanager-server.c',
100-
)
101-
102-
-if cc.get_id() != 'msvc' and cc.get_id() != 'clang-cl'
103-
+if host_machine.system() != 'windows' and cc.get_id() != 'clang-cl'
104-
test_extra_programs += {
105-
# These three are manual-run tests because they need a session bus but don't bring one up themselves
106-
# FIXME: these build but don't seem to work!
107-
@@ -603,7 +603,7 @@ if installed_tests_enabled
108-
endforeach
109-
endif
110-
111-
-if not meson.is_cross_build() or meson.has_exe_wrapper()
112-
+if not (meson.is_cross_build() or meson.has_exe_wrapper()) and host_machine.system() != 'windows'
113-
114-
compiler_type = '--compiler=@0@'.format(cc.get_id())
115-

build/patches/glib-2-without-gregex.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c
22
index 1111111..2222222 100644
33
--- a/gio/gsettingsschema.c
44
+++ b/gio/gsettingsschema.c
5-
@@ -551,58 +551,7 @@ start_element (GMarkupParseContext *context,
5+
@@ -553,58 +553,7 @@ start_element (GMarkupParseContext *context,
66
static gchar *
77
normalise_whitespace (const gchar *orig)
88
{
@@ -66,7 +66,7 @@ diff --git a/glib/glib-autocleanups.h b/glib/glib-autocleanups.h
6666
index 1111111..2222222 100644
6767
--- a/glib/glib-autocleanups.h
6868
+++ b/glib/glib-autocleanups.h
69-
@@ -71,8 +71,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPatternSpec, g_pattern_spec_free)
69+
@@ -73,8 +73,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPatternSpec, g_pattern_spec_free)
7070
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GQueue, g_queue_free)
7171
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GQueue, g_queue_clear)
7272
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRand, g_rand_free)
@@ -79,7 +79,7 @@ diff --git a/glib/glib.h b/glib/glib.h
7979
index e72c09da5..d639e645e 100644
8080
--- a/glib/glib.h
8181
+++ b/glib/glib.h
82-
@@ -72,7 +72,6 @@
82+
@@ -74,7 +74,6 @@
8383
#include <glib/grcbox.h>
8484
#include <glib/grefcount.h>
8585
#include <glib/grefstring.h>

build/patches/glib-static.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/gio/giomodule.c b/gio/giomodule.c
1212
index 1111111..2222222 100644
1313
--- a/gio/giomodule.c
1414
+++ b/gio/giomodule.c
15-
@@ -1110,27 +1110,8 @@ extern GType _g_win32_network_monitor_get_type (void);
15+
@@ -1111,27 +1111,8 @@ extern GType _g_win32_network_monitor_get_type (void);
1616

1717
static HMODULE gio_dll = NULL;
1818

@@ -42,7 +42,7 @@ index 1111111..2222222 100644
4242
extern void glib_win32_init (void);
4343
extern void gobject_win32_init (void);
4444

45-
@@ -1162,6 +1143,7 @@ giomodule_init_ctor (void)
45+
@@ -1163,6 +1144,7 @@ giomodule_init_ctor (void)
4646

4747
#else /* G_PLATFORM_WIN32 && GLIB_STATIC_COMPILATION && !G_HAS_CONSTRUCTORS */
4848
#error Your platform/compiler is missing constructor support

0 commit comments

Comments
 (0)