@@ -19,6 +19,23 @@ gdk-pixbuf_SUBDIR := gdk-pixbuf-$(gdk-pixbuf_VERSION)
1919gdk-pixbuf_FILE := gdk-pixbuf-$(gdk-pixbuf_VERSION ) .tar.xz
2020gdk-pixbuf_URL := https://download.gnome.org/sources/gdk-pixbuf/$(call SHORT_PKG_VERSION,gdk-pixbuf) /$(gdk-pixbuf_FILE )
2121
22+ # no longer needed by libvips, but some of the deps need it
23+ # upstream version is 2.13.5
24+ libxml2_VERSION := 2.13.6
25+ libxml2_CHECKSUM := f453480307524968f7a04ec65e64f2a83a825973bcd260a2e7691be82ae70c96
26+ libxml2_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/libxml2-[0-9]* .patch) ) )
27+ libxml2_SUBDIR := libxml2-$(libxml2_VERSION )
28+ libxml2_FILE := libxml2-$(libxml2_VERSION ) .tar.xz
29+ libxml2_URL := https://download.gnome.org/sources/libxml2/$(call SHORT_PKG_VERSION,libxml2) /$(libxml2_FILE )
30+
31+ # upstream version is 1.6.46
32+ libpng_VERSION := 1.6.47
33+ libpng_CHECKSUM := b213cb381fbb1175327bd708a77aab708a05adde7b471bc267bd15ac99893631
34+ libpng_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/libpng-[0-9]* .patch) ) )
35+ libpng_SUBDIR := libpng-$(libpng_VERSION )
36+ libpng_FILE := libpng-$(libpng_VERSION ) .tar.xz
37+ libpng_URL := https://$(SOURCEFORGE_MIRROR ) /project/libpng/libpng16/$(libpng_VERSION ) /$(libpng_FILE )
38+
2239# upstream version is 1.5.23
2340# cannot use GH_CONF:
2441# matio_GH_CONF := tbeu/matio/releases,v
@@ -52,8 +69,8 @@ graphicsmagick_FILE := GraphicsMagick-$(graphicsmagick_VERSION).tar.xz
5269graphicsmagick_URL := https://$(SOURCEFORGE_MIRROR ) /project/graphicsmagick/graphicsmagick/$(graphicsmagick_VERSION ) /$(graphicsmagick_FILE )
5370
5471# upstream version is 2.40.21
55- librsvg_VERSION := 2.59.2
56- librsvg_CHECKSUM := ecd293fb0cc338c170171bbc7bcfbea6725d041c95f31385dc935409933e4597
72+ librsvg_VERSION := 2.59.90
73+ librsvg_CHECKSUM := d3d623a9839d2b7eb76a5b0b621c15d02abc4d9a886376c3a53b568206ebf545
5774librsvg_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST ) ) ) /patches/librsvg-[0-9]* .patch) ) )
5875librsvg_SUBDIR := librsvg-$(librsvg_VERSION )
5976librsvg_FILE := librsvg-$(librsvg_VERSION ) .tar.xz
@@ -557,10 +574,6 @@ define librsvg_BUILD
557574 # Disable tools
558575 $(SED ) -i "/subdir('rsvg_convert')/d" '$(SOURCE_DIR ) /meson.build'
559576
560- # Update and regenerate the lockfile for zune-jpeg
561- # https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/1071
562- cargo update zune-jpeg --manifest-path='$(SOURCE_DIR ) /Cargo.toml'
563-
564577 $(MXE_MESON_WRAPPER ) \
565578 -Dintrospection=disabled \
566579 -Dpixbuf=disabled \
@@ -822,27 +835,24 @@ endef
822835
823836# install DLL in /bin
824837# generate missing import library
838+ # build with --disable-load-extension
825839define sqlite_BUILD
826- cd '$(1 ) ' && $(SOURCE_DIR ) /configure \
840+ cd '$(BUILD_DIR ) ' && $(SOURCE_DIR ) /configure \
827841 --host='$(TARGET ) ' \
828842 --build='$(BUILD ) ' \
829843 --prefix='$(PREFIX ) /$(TARGET ) ' \
830- $(if $(BUILD_STATIC ) , \
831- --enable-static \
832- --disable-shared \
833- $(else ) , \
844+ $(if $(BUILD_SHARED ) , \
845+ --out-implib \
846+ --enable-shared \
834847 --disable-static \
835- --enable-shared) \
836- --disable-readline
837- $(MAKE ) -C '$(1 ) ' -j 1 install
848+ $(else ) , \
849+ --enable-static \
850+ --disable-shared) \
851+ --disable-readline \
852+ --disable-load-extension
853+ $(MAKE ) -C '$(BUILD_DIR ) ' -j 1 install
838854
839855 # https://sqlite.org/forum/forumpost/4b68a3b892dfb9a1
840- # TODO(kleisauke): Switch to `--out-implib` configure flag for the next release.
841856 $(if $(BUILD_SHARED ) , \
842- cp -L '$(PREFIX ) /$(TARGET ) /lib/libsqlite3.dll' '$(PREFIX ) /$(TARGET ) /bin'; \
843- rm -v '$(PREFIX ) /$(TARGET ) /lib/libsqlite3.dll'* ; \
844- '$(PREFIX ) /$(TARGET ) /bin/gendef' '$(PREFIX ) /$(TARGET ) /bin/libsqlite3.dll'; \
845- $(TARGET ) -dlltool -D '$(PREFIX ) /$(TARGET ) /bin/libsqlite3.dll' \
846- -l '$(PREFIX ) /$(TARGET ) /lib/libsqlite3.dll.a' \
847- -d 'libsqlite3.def';)
857+ mv -vf '$(PREFIX ) /$(TARGET ) /lib/libsqlite3.dll' '$(PREFIX ) /$(TARGET ) /bin')
848858endef
0 commit comments