Skip to content

Commit 90cf627

Browse files
committed
Dependency version bumps
- Update HarfBuzz to 11.3.3. - Update vipsdisp to 4.1.0. - Add libtool patch to fix C++ linkage.
1 parent 670636b commit 90cf627

File tree

6 files changed

+478
-35
lines changed

6 files changed

+478
-35
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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.13.3 | [freetype Licence] (BSD-like) |
2626
| [fribidi] | 1.0.16 | LGPLv3 |
2727
| [glib] | 2.85.2 | LGPLv3 |
28-
| [harfbuzz] | 11.3.2 | MIT Licence |
28+
| [harfbuzz] | 11.3.3 | MIT Licence |
2929
| [highway] | 1.2.0 | Apache-2.0 License, BSD 3-Clause |
3030
| [lcms] | 2.17 | MIT Licence |
3131
| [libarchive] | 3.8.1 | BSD 2-Clause |

build/overrides.mk

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ cfitsio_FILE := cfitsio-$(cfitsio_VERSION).tar.gz
117117
cfitsio_URL := https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/$(cfitsio_FILE)
118118

119119
# upstream version is 11.2.1
120-
harfbuzz_VERSION := 11.3.2
121-
harfbuzz_CHECKSUM := d58ada9b2d28821245e8bdb8b94a4e2dad01a08c50d57feb027b32e84c9abfb1
120+
harfbuzz_VERSION := 11.3.3
121+
harfbuzz_CHECKSUM := e1fbca6b32a91ae91ecd9eb2ca8d47a5bfe2b1cb2e54855ab7a0b464919ef358
122122
harfbuzz_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/harfbuzz-[0-9]*.patch)))
123123
harfbuzz_GH_CONF := harfbuzz/harfbuzz/releases,,,,,.tar.xz
124124

@@ -205,6 +205,7 @@ zlib_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))
205205
# Removed: jasper, libiconv
206206
# Replaced: jpeg with libjpeg-turbo
207207
# lcms:
208+
# Added: meson-wrapper
208209
# Removed: jpeg, tiff
209210
# libtiff:
210211
# Replaced: jpeg with libjpeg-turbo
@@ -219,7 +220,7 @@ zlib_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))
219220
# Added: libjpeg-turbo, lcms
220221
# Removed: boost, curl, qt6-qtbase, libwebp
221222
# librsvg:
222-
# Added: libxml2, rust, $(BUILD)~cargo-c
223+
# Added: meson-wrapper, libxml2, rust, $(BUILD)~cargo-c
223224
# Removed: gdk-pixbuf, libcroco, libgsf
224225
# Cairo:
225226
# Removed: lzo
@@ -228,6 +229,7 @@ zlib_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))
228229
# libjpeg-turbo:
229230
# Replaced: yasm with $(BUILD)~nasm
230231
# libxml2:
232+
# Added: meson-wrapper
231233
# Removed: libiconv, xz, zlib
232234
# Fontconfig:
233235
# Added: meson-wrapper
@@ -246,17 +248,17 @@ freetype_DEPS := $(subst brotli bzip2,meson-wrapper,$(freetype_DEPS))
246248
freetype-bootstrap_DEPS := $(subst brotli bzip2,meson-wrapper,$(freetype-bootstrap_DEPS))
247249
glib_DEPS := cc meson-wrapper gettext libffi zlib
248250
gdk-pixbuf_DEPS := cc meson-wrapper glib libjpeg-turbo libpng tiff
249-
lcms_DEPS := $(filter-out jpeg tiff ,$(lcms_DEPS))
251+
lcms_DEPS := $(subst jpeg tiff,meson-wrapper,$(lcms_DEPS))
250252
tiff_DEPS := cc libjpeg-turbo libwebp zlib
251253
imagemagick_DEPS := cc libxml2 openjpeg lcms libjpeg-turbo
252254
graphicsmagick_DEPS := $(imagemagick_DEPS)
253255
openexr_DEPS := cc imath zlib
254256
poppler_DEPS := cc cairo libjpeg-turbo freetype glib openjpeg lcms libpng tiff zlib
255-
librsvg_DEPS := cc cairo glib pango libxml2 rust $(BUILD)~cargo-c
257+
librsvg_DEPS := cc meson-wrapper cairo glib pango libxml2 rust $(BUILD)~cargo-c
256258
cairo_DEPS := $(filter-out lzo ,$(cairo_DEPS))
257259
matio_DEPS := $(filter-out hdf5 ,$(matio_DEPS))
258260
libjpeg-turbo_DEPS := $(subst yasm,$(BUILD)~nasm,$(libjpeg-turbo_DEPS))
259-
libxml2_DEPS := cc
261+
libxml2_DEPS := cc meson-wrapper
260262
fontconfig_DEPS := cc meson-wrapper expat freetype-bootstrap
261263
libexif_DEPS := $(filter-out gettext,$(libexif_DEPS))
262264
harfbuzz_DEPS := cc meson-wrapper cairo freetype-bootstrap glib
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Manoj Gupta <[email protected]>
3+
Date: Wed, 10 Oct 2018 10:50:23 +0300
4+
Subject: [PATCH 1/2] Pick up clang_rt static archives compiler internal libraries
5+
6+
Libtool checks only for libraries linked as -l* when trying to
7+
find internal compiler libraries. Clang, however uses the absolute
8+
path to link its internal libraries e.g. compiler_rt. This patch
9+
handles clang's statically linked libraries when finding internal
10+
compiler libraries.
11+
https://crbug.com/749263
12+
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866
13+
14+
Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=e606cd2358dd526d79837ce9f98da159c1d02bf7]
15+
16+
diff --git a/aclocal/libtool.m4 b/aclocal/libtool.m4
17+
index 1111111..2222222 100644
18+
--- a/aclocal/libtool.m4
19+
+++ b/aclocal/libtool.m4
20+
@@ -7581,7 +7581,7 @@ if AC_TRY_EVAL(ac_compile); then
21+
for p in `eval "$output_verbose_link_cmd"`; do
22+
case $prev$p in
23+
24+
- -L* | -R* | -l*)
25+
+ -L* | -R* | -l* | */libclang_rt.*.a)
26+
# Some compilers place space between "-{L,R}" and the path.
27+
# Remove the space.
28+
if test x-L = "$p" ||
29+
30+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
31+
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <[email protected]>
32+
Date: Mon, 19 Aug 2019 13:34:51 +0300
33+
Subject: [PATCH 2/2] Allow statically linking compiler support libraries when
34+
linking a library
35+
36+
For cases with deplibs_check_method="file_magic ..." (as it is for mingw),
37+
there were previously no way that a static library could be accepted
38+
here.
39+
40+
Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=2f505131b5f29b0de6338bf9d13b7ceadf617d96]
41+
42+
diff --git a/libtool/build-aux/ltmain.sh b/libtool/build-aux/ltmain.sh
43+
index 1111111..2222222 100644
44+
--- a/libtool/build-aux/ltmain.sh
45+
+++ b/libtool/build-aux/ltmain.sh
46+
@@ -8045,8 +8045,15 @@ func_mode_link ()
47+
fi
48+
case $linkmode in
49+
lib)
50+
- # Linking convenience modules into shared libraries is allowed,
51+
- # but linking other static libraries is non-portable.
52+
+ # Linking convenience modules and compiler provided static libraries
53+
+ # into shared libraries is allowed, but linking other static
54+
+ # libraries is non-portable.
55+
+ case $deplib in
56+
+ */libgcc*.$libext | */libclang_rt*.$libext)
57+
+ deplibs="$deplib $deplibs"
58+
+ continue
59+
+ ;;
60+
+ esac
61+
case " $dlpreconveniencelibs " in
62+
*" $deplib "*) ;;
63+
*)

0 commit comments

Comments
 (0)