Skip to content

Commit 995fa5a

Browse files
committed
Dependency version bumps
MXE Updates: - Update GLib to 2.83.3. - Update libpng to 1.6.46.
1 parent 8a4e0ab commit 995fa5a

File tree

8 files changed

+17
-20
lines changed

8 files changed

+17
-20
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
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.2 | LGPLv3 |
27+
| [glib] | 2.83.3 | LGPLv3 |
2828
| [harfbuzz] | 10.2.0 | MIT Licence |
2929
| [highway] | 1.2.0 | Apache-2.0 License, BSD 3-Clause |
3030
| [lcms] | 2.16 | MIT Licence |
@@ -33,7 +33,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
3333
| [libffi] | 3.4.6 | MIT Licence |
3434
| [libheif] | 1.19.5 | LGPLv3 |
3535
| [libimagequant] | 2.4.1¹ | BSD 2-Clause |
36-
| [libpng] | 1.6.45 | [libpng License version 2] |
36+
| [libpng] | 1.6.46 | [libpng License version 2] |
3737
| [librsvg] | 2.59.2 | LGPLv3 |
3838
| [libspng] | 0.7.4 | BSD 2-Clause |
3939
| [libtiff] | 4.7.0 | [libtiff License] (BSD-like) |

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ fi
184184
mkdir -p $tmpdir
185185

186186
# Ensure latest Debian stable base image
187-
$oci_runtime pull docker.io/library/buildpack-deps:bullseye
187+
$oci_runtime pull docker.io/library/buildpack-deps:bookworm
188188

189189
# Create a machine image with all the required build tools pre-installed
190190
$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
@@ -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="c24870649b739d648aa878627f2e0e1266f8aa4d"
48+
revision="d734fd4f78f6b629e352aa47c93288d5e0ea9114"
4949
initialize=false
5050

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

build/plugins/llvm-mingw/compiler-rt-sanitizers.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
PKG := compiler-rt-sanitizers
44
$(PKG)_WEBSITE := https://compiler-rt.llvm.org/
5-
$(PKG)_VERSION := 19.1.7
65
$(PKG)_DEPS := cc
76
$(PKG)_TYPE := meta
87

build/plugins/llvm-mingw/llvm-mingw.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ define $(PKG)_PRE_BUILD
7272
chmod 0755 '$(PREFIX)/bin/$(TARGET)-windres'
7373

7474
$(foreach EXEC, clang-target ld objdump, \
75+
$(INSTALL) -m755 '$(SOURCE_DIR)/wrappers/$(EXEC)-wrapper.sh' '$(PREFIX)/$(TARGET)/bin'; \
7576
$(SED) -i -e 's|^DEFAULT_TARGET=.*|DEFAULT_TARGET=$(PROCESSOR)-w64-mingw32|' \
7677
-e 's|^DIR=.*|DIR="$(PREFIX)/$(BUILD)/bin"|' \
77-
-e 's|$$FLAGS "$$@"|$$FLAGS --sysroot="$(PREFIX)/$(TARGET)" "$$@"|' '$(SOURCE_DIR)/wrappers/$(EXEC)-wrapper.sh'; \
78-
$(INSTALL) -m755 '$(SOURCE_DIR)/wrappers/$(EXEC)-wrapper.sh' '$(PREFIX)/$(TARGET)/bin';)
78+
-e 's|$$FLAGS "$$@"|$$FLAGS --sysroot="$(PREFIX)/$(TARGET)" "$$@"|' '$(PREFIX)/$(TARGET)/bin/$(EXEC)-wrapper.sh';)
7979

8080
$(INSTALL) -m644 '$(SOURCE_DIR)/wrappers/mingw32-common.cfg' '$(PREFIX)/$(BUILD)/bin'
8181
$(INSTALL) -m644 '$(SOURCE_DIR)/wrappers/$(PROCESSOR)-w64-windows-gnu.cfg' '$(PREFIX)/$(BUILD)/bin'

build/plugins/llvm-mingw/llvm.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ PKG := llvm
44
$(PKG)_WEBSITE := https://llvm.org/
55
$(PKG)_DESCR := A collection of modular and reusable compiler and toolchain technologies
66
$(PKG)_IGNORE :=
7-
# This version needs to be in-sync with the compiler-rt-sanitizers package
87
$(PKG)_VERSION := 19.1.7
98
$(PKG)_CHECKSUM := 82401fea7b79d0078043f7598b835284d6650a75b93e64b6f761ea7b63097501
109
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/llvm-[0-9]*.patch)))
@@ -30,7 +29,7 @@ define $(PKG)_BUILD_$(BUILD)
3029
-DLLVM_ENABLE_ASSERTIONS=OFF \
3130
-DLLVM_ENABLE_PROJECTS='clang;lld;lldb' \
3231
-DLLVM_TARGETS_TO_BUILD='AArch64;X86' \
33-
-DLLVM_TOOLCHAIN_TOOLS='llvm-ar;llvm-config;llvm-ranlib;llvm-objdump;llvm-rc;llvm-cvtres;llvm-nm;llvm-strings;llvm-readobj;llvm-dlltool;llvm-pdbutil;llvm-objcopy;llvm-strip;llvm-cov;llvm-profdata;llvm-addr2line;llvm-symbolizer;llvm-windres' \
32+
-DLLVM_TOOLCHAIN_TOOLS='llvm-ar;llvm-ranlib;llvm-objdump;llvm-rc;llvm-cvtres;llvm-nm;llvm-strings;llvm-readobj;llvm-dlltool;llvm-pdbutil;llvm-objcopy;llvm-strip;llvm-cov;llvm-profdata;llvm-addr2line;llvm-symbolizer;llvm-windres' \
3433
-DLLVM_BUILD_DOCS=OFF \
3534
-DLLVM_BUILD_EXAMPLES=OFF \
3635
-DLLVM_BUILD_TESTS=OFF \

build/plugins/llvm-mingw/rust.mk

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@ PKG := rust
22
$(PKG)_WEBSITE := https://www.rust-lang.org/
33
$(PKG)_DESCR := A systems programming language focused on safety, speed and concurrency.
44
$(PKG)_IGNORE :=
5-
# https://static.rust-lang.org/dist/2025-01-20/rustc-nightly-src.tar.xz.sha256
5+
# https://static.rust-lang.org/dist/2025-02-01/rustc-nightly-src.tar.xz.sha256
66
$(PKG)_VERSION := nightly
7-
$(PKG)_CHECKSUM := 3655b93464e7d2a34abcf2c3cf52a454d83db14e42dabdc573d0cc9615fb5a96
7+
$(PKG)_CHECKSUM := 77c8be92286d56bcb22286097cab680df83bd4f179066e5af7d3bace7960c5da
88
$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/patches/$(PKG)-[0-9]*.patch)))
99
$(PKG)_SUBDIR := $(PKG)c-$($(PKG)_VERSION)-src
1010
$(PKG)_FILE := $(PKG)c-$($(PKG)_VERSION)-src.tar.xz
11-
$(PKG)_URL := https://static.rust-lang.org/dist/2025-01-20/$($(PKG)_FILE)
11+
$(PKG)_URL := https://static.rust-lang.org/dist/2025-02-01/$($(PKG)_FILE)
1212
$(PKG)_DEPS := $(BUILD)~$(PKG)
1313
$(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS)
1414

1515
$(PKG)_DEPS_$(BUILD) := $(BUILD)~llvm
1616

17-
# Build Rust from source to support to ensure that it links
18-
# against UCRT (the prebuilt Rust binaries are built with
19-
# --with-default-msvcrt=msvcrt)
2017
define $(PKG)_BUILD_$(BUILD)
2118
# x86_64-pc-linux-gnu -> x86_64-unknown-linux-gnu
2219
$(eval BUILD_RUST := $(firstword $(subst -, ,$(BUILD)))-unknown-linux-gnu)

container/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
FROM docker.io/library/buildpack-deps:bookworm
22

3-
RUN apt-get update \
4-
&& apt-get install -y \
3+
RUN \
4+
apt-get update && \
5+
apt-get install -qqy --no-install-recommends \
56
# http://mxe.cc/#requirements-debian
6-
autopoint bison flex gettext gperf g++-multilib intltool \
7-
libc6-dev-i386 libtool-bin libxml-parser-perl lzip p7zip-full \
8-
python-is-python3 python3-mako python3-packaging python3-tomli ruby
7+
autopoint bison build-essential flex gettext gperf \
8+
intltool libtool-bin libxml-parser-perl lzip p7zip-full \
9+
python-is-python3 python3-mako python3-packaging python3-tomli \
10+
ruby zip
911

1012
# The build dir is mounted at /data, so this runs the build script in that
1113
ENTRYPOINT ["/bin/bash", "/data/build.sh"]

0 commit comments

Comments
 (0)