@@ -40,14 +40,14 @@ matio_FILE := matio-$(matio_VERSION).tar.gz
4040matio_URL := https://github.com/tbeu/matio/releases/download/v$(matio_VERSION ) /$(matio_FILE )
4141
4242# upstream version is 7, we want ImageMagick 6
43- imagemagick_VERSION := 6.9.12-20
44- imagemagick_CHECKSUM := 8fa7addb7eac2dd417c7fbed46ff9dd5614abf7cefea4d786375306bec2659b1
43+ imagemagick_VERSION := 6.9.12-23
44+ imagemagick_CHECKSUM := 17fd6629d4e14f0cd8432ff1a4f1d65ec312549dcfd409eb062b0966e314e7ac
4545imagemagick_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/imagemagick-[0-9]* .patch) ) )
4646imagemagick_GH_CONF := ImageMagick/ImageMagick6/tags
4747
4848# upstream version is 2.40.5
49- librsvg_VERSION := 2.51.4
50- librsvg_CHECKSUM := 0b87d61de9b973aac1fdb9583368b9a893e67f5f7cb75c3e8f7de142557aca00
49+ librsvg_VERSION := 2.52.0
50+ librsvg_CHECKSUM := bd821fb3e16494b61f5185addd23b726b064f203122b3ab4b3d5d7a44e6bf393
5151librsvg_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/librsvg-[0-9]* .patch) ) )
5252librsvg_SUBDIR := librsvg-$(librsvg_VERSION )
5353librsvg_FILE := librsvg-$(librsvg_VERSION ) .tar.xz
@@ -72,8 +72,8 @@ fribidi_FILE := fribidi-$(fribidi_VERSION).tar.xz
7272fribidi_URL := https://github.com/fribidi/fribidi/releases/download/v$(fribidi_VERSION ) /$(fribidi_FILE )
7373
7474# upstream version is 2.50.2
75- glib_VERSION := 2.69.2
76- glib_CHECKSUM := a62249e35a8635175a697b3215f1df2b89e0fbb4adb520dcbe21a3ae1ebb8882
75+ glib_VERSION := 2.70.0
76+ glib_CHECKSUM := 200d7df811c5ba634afbf109f14bb40ba7fde670e89389885da14e27c0840742
7777glib_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/glib-[0-9]* .patch) ) )
7878glib_SUBDIR := glib-$(glib_VERSION )
7979glib_FILE := glib-$(glib_VERSION ) .tar.xz
@@ -131,8 +131,8 @@ fontconfig_FILE := fontconfig-$(fontconfig_VERSION).tar.xz
131131fontconfig_URL := https://www.freedesktop.org/software/fontconfig/release/$(fontconfig_FILE )
132132
133133# upstream version is 3.3.8
134- fftw_VERSION := 3.3.9
135- fftw_CHECKSUM := bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d
134+ fftw_VERSION := 3.3.10
135+ fftw_CHECKSUM := 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467
136136fftw_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/fftw-[0-9]* .patch) ) )
137137fftw_SUBDIR := fftw-$(fftw_VERSION )
138138fftw_FILE := fftw-$(fftw_VERSION ) .tar.gz
@@ -156,14 +156,14 @@ nasm_URL := https://www.nasm.us/pub/nasm/releasebuilds/$(nasm_VERSION)/$(na
156156nasm_URL_2 := https://sources.voidlinux.org/nasm-$(nasm_VERSION ) /$(nasm_FILE )
157157
158158# upstream version is 9.0.0
159- # Update MinGW-w64 to 4613211
160- # https://github.com/mirror /mingw-w64/tarball/4613211c6bfcb220dec9a116a76c5c9aff1939a3
161- mingw-w64_VERSION := 4613211
162- mingw-w64_CHECKSUM := 8062c83070a599b3480e1ee128438350d476e5f79d53a2130b6a9502aa9bb6aa
159+ # Update MinGW-w64 to 586baa1
160+ # https://github.com/mingw-w64 /mingw-w64/tarball/586baa17bb41dd78addd8cbb6415cfd24d24e925
161+ mingw-w64_VERSION := 586baa1
162+ mingw-w64_CHECKSUM := 24d0892f9f96e998abd610f0ec5194f1c4f60400b887045360992083dc8b549f
163163mingw-w64_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/mingw-w64-[0-9]* .patch) ) )
164- mingw-w64_SUBDIR := mirror -mingw-w64-$(mingw-w64_VERSION )
165- mingw-w64_FILE := mirror -mingw-w64-$(mingw-w64_VERSION ) .tar.gz
166- mingw-w64_URL := https://github.com/mirror /mingw-w64/tarball/$(mingw-w64_VERSION ) /$(mingw-w64_FILE )
164+ mingw-w64_SUBDIR := mingw-w64 -mingw-w64-$(mingw-w64_VERSION )
165+ mingw-w64_FILE := mingw-w64 -mingw-w64-$(mingw-w64_VERSION ) .tar.gz
166+ mingw-w64_URL := https://github.com/mingw-w64 /mingw-w64/tarball/$(mingw-w64_VERSION ) /$(mingw-w64_FILE )
167167
168168# # Patches that we override with our own
169169
@@ -245,6 +245,22 @@ cfitsio_DEPS := cc zlib
245245
246246# # Override build scripts
247247
248+ # Unexport target specific compiler / linker flags
249+ define gendef_BUILD
250+ $(eval unexport CFLAGS)
251+ $(eval unexport CXXFLAGS)
252+ $(eval unexport LDFLAGS)
253+
254+ cd '$(BUILD_DIR ) ' && '$(SOURCE_DIR ) /mingw-w64-tools/gendef/configure' \
255+ CFLAGS='-Wno-implicit-fallthrough' \
256+ --host='$(BUILD ) ' \
257+ --build='$(BUILD ) ' \
258+ --prefix='$(PREFIX ) /$(TARGET ) ' \
259+ --target='$(TARGET ) '
260+ $(MAKE ) -C '$(BUILD_DIR ) ' -j '$(JOBS ) '
261+ $(MAKE ) -C '$(BUILD_DIR ) ' -j 1 $(INSTALL_STRIP_TOOLCHAIN )
262+ endef
263+
248264# libasprintf isn't needed, so build with --disable-libasprintf
249265# this definition is for reference purposes only, we use the
250266# proxy-libintl plugin instead.
@@ -615,7 +631,7 @@ define cairo_BUILD
615631 --enable-fc \
616632 --enable-ft \
617633 --without-x \
618- CPPFLAGS=" $(if $(BUILD_STATIC ) ,-DCAIRO_WIN32_STATIC_BUILD) " \
634+ $(if $(BUILD_STATIC ) , CPPFLAGS=' -DCAIRO_WIN32_STATIC_BUILD') \
619635 ax_cv_c_float_words_bigendian=no
620636
621637 $(MAKE ) -C '$(BUILD_DIR ) ' -j '$(JOBS ) ' $(MXE_DISABLE_PROGRAMS )
0 commit comments