From 043d15c438d6e935a9bff83364003fc2c061cd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 16 May 2026 18:07:15 +0200 Subject: [PATCH 01/53] stop forcing static linking to libgcc We ship it anyway for libstdc++ Also link libsharpyuv dynamically to libwebp --- build.sh | 2 +- src/ffmpeg.mk | 2 +- src/freetype-bootstrap-1-libgcc.patch | 24 ----------------------- src/libjpeg-turbo-4-libgcc.patch | 12 ------------ src/libwebp-1-deptweaks.patch | 28 --------------------------- src/lua.mk | 2 +- src/portaudio-2-libgcc.patch | 25 ------------------------ src/sqlite-1-libgcc.patch | 25 ------------------------ src/tiff-2-static-libgcc.patch | 13 ------------- 9 files changed, 3 insertions(+), 130 deletions(-) delete mode 100644 src/freetype-bootstrap-1-libgcc.patch delete mode 100644 src/libjpeg-turbo-4-libgcc.patch delete mode 100644 src/libwebp-1-deptweaks.patch delete mode 100644 src/portaudio-2-libgcc.patch delete mode 100644 src/sqlite-1-libgcc.patch delete mode 100644 src/tiff-2-static-libgcc.patch diff --git a/build.sh b/build.sh index 007754e4d4..0530b76b17 100755 --- a/build.sh +++ b/build.sh @@ -58,7 +58,7 @@ add_dll() { fi ) } -for i in avcodec-61 avformat-61 avutil-59 swresample-5 swscale-8 libdav1d libjpeg-8 libpng16-16 libtiff-6 libwebp-7 SDL2 SDL2_image zlib1 lua54:lua libsqlite3-0:sqlite3 libfreetype-6 libportaudio-2:$PORTAUDIO_NAME libbz2 libdl libgcc_s_seh-1 libstdc++-6 libwinpthread-1; do +for i in avcodec-61 avformat-61 avutil-59 swresample-5 swscale-8 libdav1d libjpeg-8 libpng16-16 libtiff-6 libwebp-7 libsharpyuv-0 SDL2 SDL2_image zlib1 lua54:lua libsqlite3-0:sqlite3 libfreetype-6 libportaudio-2:$PORTAUDIO_NAME libbz2 libdl libgcc_s_seh-1 libstdc++-6 libwinpthread-1; do j=${i##*:} i=${i%%:*} DLL_PATH="$MXE/usr/$TARGET/bin/$i.dll" diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index d2f695f987..302644c0c6 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -61,7 +61,7 @@ define $(PKG)_BUILD --disable-protocols \ --disable-lzma \ --disable-bzlib \ - --extra-ldflags="-fstack-protector -static-libgcc" \ + --extra-ldflags="-fstack-protector" \ $($(PKG)_CONFIGURE_OPTS) $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MAKE) -C '$(BUILD_DIR)' -j 1 install diff --git a/src/freetype-bootstrap-1-libgcc.patch b/src/freetype-bootstrap-1-libgcc.patch deleted file mode 100644 index c9dbe59d1e..0000000000 --- a/src/freetype-bootstrap-1-libgcc.patch +++ /dev/null @@ -1,24 +0,0 @@ -From d5f31acee46cf047950b7e97691fb3a373db89c0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= -Date: Mon, 29 May 2023 19:52:58 +0200 -Subject: [PATCH] statically link libgcc - ---- - builds/unix/unix-cc.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/builds/unix/unix-cc.in b/builds/unix/unix-cc.in -index 802016d..e371ce3 100644 ---- a/builds/unix/unix-cc.in -+++ b/builds/unix/unix-cc.in -@@ -121,6 +121,7 @@ CCexe := $(CCraw_build) # used to compile `apinames' only - LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \ - -rpath $(libdir) -version-info $(version_info) \ - $(LDFLAGS) -no-undefined \ -+ -XCClinker -static-libgcc \ - -export-symbols $(EXPORTS_LIST) - - # For the demo programs. --- -2.20.1 - diff --git a/src/libjpeg-turbo-4-libgcc.patch b/src/libjpeg-turbo-4-libgcc.patch deleted file mode 100644 index 63312b4f74..0000000000 --- a/src/libjpeg-turbo-4-libgcc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/sharedlib/CMakeLists.txt b/sharedlib/CMakeLists.txt -index aea0b9d..4f338a9 100644 ---- a/sharedlib/CMakeLists.txt -+++ b/sharedlib/CMakeLists.txt -@@ -62,6 +62,7 @@ if(MSVC) - # The jsimd_*.c file is built using /MT, so this prevents a linker warning. - set_target_properties(jpeg PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT /NODEFAULTLIB:LIBCMTD") - elseif(MINGW) -+ set_target_properties(jpeg PROPERTIES LINK_FLAGS "-static-libgcc") - set_target_properties(jpeg PROPERTIES SUFFIX -${SO_MAJOR_VERSION}.dll) - endif() - diff --git a/src/libwebp-1-deptweaks.patch b/src/libwebp-1-deptweaks.patch deleted file mode 100644 index e74328340b..0000000000 --- a/src/libwebp-1-deptweaks.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/sharpyuv/Makefile.am b/sharpyuv/Makefile.am -index 1a94d46..9e0ef3e 100644 ---- a/sharpyuv/Makefile.am -+++ b/sharpyuv/Makefile.am -@@ -1,9 +1,7 @@ - AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir) - AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src - --lib_LTLIBRARIES = libsharpyuv.la -- --noinst_LTLIBRARIES = -+noinst_LTLIBRARIES = libsharpyuv.la - noinst_LTLIBRARIES += libsharpyuv_sse2.la - noinst_LTLIBRARIES += libsharpyuv_neon.la - -diff --git a/src/Makefile.am b/src/Makefile.am -index 1dafadd..8940228 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -36,7 +36,7 @@ libwebp_la_LIBADD += utils/libwebputils.la - # other than the ones listed on the command line, i.e., after linking, it will - # not have unresolved symbols. Some platforms (Windows among them) require all - # symbols in shared libraries to be resolved at library creation. --libwebp_la_LDFLAGS = -no-undefined -version-info 8:9:1 -+libwebp_la_LDFLAGS = -no-undefined -version-info 8:9:1 -XCClinker -static-libgcc - libwebpincludedir = $(includedir)/webp - pkgconfig_DATA = libwebp.pc - diff --git a/src/lua.mk b/src/lua.mk index dfe99aa2f1..b9e5a13fce 100644 --- a/src/lua.mk +++ b/src/lua.mk @@ -65,7 +65,7 @@ define $(PKG)_BUILD_SHARED $(MAKE) -C '$(1)/src' -j '$(JOBS)' \ INSTALL_TOP='$(PREFIX)/$(TARGET)' \ CC='$(TARGET)-gcc -g' \ - AR='$(TARGET)-gcc -Wl,--out-implib,liblua.dll.a -shared -static-libgcc -o' \ + AR='$(TARGET)-gcc -Wl,--out-implib,liblua.dll.a -shared -o' \ RANLIB='echo skipped ranlib' \ SYSCFLAGS='-DLUA_BUILD_AS_DLL' \ LUA_A=lua$($(PKG)_DLLVER).dll \ diff --git a/src/portaudio-2-libgcc.patch b/src/portaudio-2-libgcc.patch deleted file mode 100644 index 1a0090d9f4..0000000000 --- a/src/portaudio-2-libgcc.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 58c4dc4e8e885c2200a9982caf8a7553fd0d4c64 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= -Date: Mon, 29 May 2023 20:26:54 +0200 -Subject: [PATCH] Link libgcc statically - ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 8eb7342..b1307cc 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -45,7 +45,7 @@ PAINC = include/portaudio.h - - PA_LDFLAGS = $(LDFLAGS) $(SHARED_FLAGS) -rpath $(libdir) -no-undefined \ - -export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS|PaWasapi|PaWasapiWinrt)_.*" \ -- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -XCClinker -static-libgcc - - COMMON_OBJS = \ - src/common/pa_allocation.o \ --- -2.20.1 - diff --git a/src/sqlite-1-libgcc.patch b/src/sqlite-1-libgcc.patch deleted file mode 100644 index 7cbee0d1b2..0000000000 --- a/src/sqlite-1-libgcc.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ed31d15d60e58d23b903e92dd45416c10a58d6b4 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= -Date: Mon, 29 May 2023 21:44:40 +0200 -Subject: [PATCH] Link statically to libgcc - ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index d45c6b8..19df1da 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -366,7 +366,7 @@ top_srcdir = @top_srcdir@ - AM_CFLAGS = @BUILD_CFLAGS@ - lib_LTLIBRARIES = libsqlite3.la - libsqlite3_la_SOURCES = sqlite3.c --libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8 -+libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8 -XCClinker -static-libgcc - sqlite3_SOURCES = shell.c sqlite3.h - EXTRA_sqlite3_SOURCES = sqlite3.c - sqlite3_LDADD = @EXTRA_SHELL_OBJ@ @READLINE_LIBS@ --- -2.20.1 - diff --git a/src/tiff-2-static-libgcc.patch b/src/tiff-2-static-libgcc.patch deleted file mode 100644 index 26a187a030..0000000000 --- a/src/tiff-2-static-libgcc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/libtiff/Makefile.in b/libtiff/Makefile.in -index 5455137..50ffda2 100644 ---- a/libtiff/Makefile.in -+++ b/libtiff/Makefile.in -@@ -516,7 +516,7 @@ libtiffxx_la_SOURCES = \ - - lib_LTLIBRARIES = libtiff.la $(am__append_6) - libtiff_la_LDFLAGS = -no-undefined -version-info \ -- $(LIBTIFF_VERSION_INFO) $(am__append_7) $(am__append_8) -+ $(LIBTIFF_VERSION_INFO) $(am__append_7) $(am__append_8) -XCClinker -static-libgcc - libtiffxx_la_LDFLAGS = -no-undefined -version-info \ - $(LIBTIFF_VERSION_INFO) $(am__append_9) $(am__append_10) - libtiffxx_la_LIBADD = $(LIBTIFF) From 997bbf845e4e25dc225634e49cc438ae4e9d6f32 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 25 Apr 2025 09:30:57 +0200 Subject: [PATCH 02/53] nasm: update 2.14.02 -> 2.16.03 --- src/nasm.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nasm.mk b/src/nasm.mk index 943413a026..b593d727aa 100644 --- a/src/nasm.mk +++ b/src/nasm.mk @@ -4,8 +4,8 @@ PKG := nasm $(PKG)_WEBSITE := https://www.nasm.us/ $(PKG)_DESCR := NASM - The Netwide Assembler $(PKG)_IGNORE := -$(PKG)_VERSION := 2.14.02 -$(PKG)_CHECKSUM := e24ade3e928f7253aa8c14aa44726d1edf3f98643f87c9d72ec1df44b26be8f5 +$(PKG)_VERSION := 2.16.03 +$(PKG)_CHECKSUM := 1412a1c760bbd05db026b6c0d1657affd6631cd0a63cddb6f73cc6d4aa616148 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://www.nasm.us/pub/$(PKG)/releasebuilds/$($(PKG)_VERSION)/$($(PKG)_FILE) From 695f11068f2eee4f29693de63593d43205d3012a Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 14 Sep 2024 22:08:32 +0200 Subject: [PATCH 03/53] libpng: update 1.6.43 -> 1.6.44 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 1fb0a0dac6..67f87c07be 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.43 -$(PKG)_CHECKSUM := 6a5ca0652392a2d7c9db2ae5b40210843c0bbc081cbd410825ab00cc59f14a6c +$(PKG)_VERSION := 1.6.44 +$(PKG)_CHECKSUM := 60c4da1d5b7f0aa8d158da48e8f8afa9773c1c8baa5d21974df61f1886b8ce8e $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 376f102c16ea407a5fba221628ebb2a314638062 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 11 Jan 2025 09:44:24 +0100 Subject: [PATCH 04/53] libpng: update 1.6.44 -> 1.6.45 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 67f87c07be..c4d057c659 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.44 -$(PKG)_CHECKSUM := 60c4da1d5b7f0aa8d158da48e8f8afa9773c1c8baa5d21974df61f1886b8ce8e +$(PKG)_VERSION := 1.6.45 +$(PKG)_CHECKSUM := 926485350139ffb51ef69760db35f78846c805fef3d59bfdcb2fba704663f370 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 8249c211bb3ba77bcb2579d21ff3526e6773471a Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 25 Jan 2025 11:27:12 +0100 Subject: [PATCH 05/53] libpng: update 1.6.45 -> 1.6.46 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index c4d057c659..a2eb8cb9fb 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.45 -$(PKG)_CHECKSUM := 926485350139ffb51ef69760db35f78846c805fef3d59bfdcb2fba704663f370 +$(PKG)_VERSION := 1.6.46 +$(PKG)_CHECKSUM := f3aa8b7003998ab92a4e9906c18d19853e999f9d3bca9bd1668f54fa81707cb1 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 89d2934ba9763cb648ff9fe78d270f11536c1540 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 28 Feb 2025 14:55:01 +0100 Subject: [PATCH 06/53] libpng: update 1.6.46 -> 1.6.47 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index a2eb8cb9fb..db4bbc18b1 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.46 -$(PKG)_CHECKSUM := f3aa8b7003998ab92a4e9906c18d19853e999f9d3bca9bd1668f54fa81707cb1 +$(PKG)_VERSION := 1.6.47 +$(PKG)_CHECKSUM := b213cb381fbb1175327bd708a77aab708a05adde7b471bc267bd15ac99893631 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 259c60a2e5ebc86901b100af82f65bf32138daf4 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 1 May 2025 22:24:21 +0200 Subject: [PATCH 07/53] libpng: update 1.6.47 -> 1.6.48 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index db4bbc18b1..12362ab779 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.47 -$(PKG)_CHECKSUM := b213cb381fbb1175327bd708a77aab708a05adde7b471bc267bd15ac99893631 +$(PKG)_VERSION := 1.6.48 +$(PKG)_CHECKSUM := 46fd06ff37db1db64c0dc288d78a3f5efd23ad9ac41561193f983e20937ece03 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 663132f1ef75e64736d13b649f8d62677d8ee2c3 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 14 Jun 2025 23:37:50 +0200 Subject: [PATCH 08/53] libpng: update 1.6.48 -> 1.6.49 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 12362ab779..1b91be769a 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.48 -$(PKG)_CHECKSUM := 46fd06ff37db1db64c0dc288d78a3f5efd23ad9ac41561193f983e20937ece03 +$(PKG)_VERSION := 1.6.49 +$(PKG)_CHECKSUM := 43182aa48e39d64b1ab4ec6b71ab3e910b67eed3a0fff3777cf8cf40d6ef7024 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 2c49c6ca6a501529f0a8a9e582039db3aa3a02d9 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 3 Jul 2025 21:17:37 +0200 Subject: [PATCH 09/53] libpng: update 1.6.49 -> 1.6.50 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 1b91be769a..3917dead5d 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.49 -$(PKG)_CHECKSUM := 43182aa48e39d64b1ab4ec6b71ab3e910b67eed3a0fff3777cf8cf40d6ef7024 +$(PKG)_VERSION := 1.6.50 +$(PKG)_CHECKSUM := 4df396518620a7aa3651443e87d1b2862e4e88cad135a8b93423e01706232307 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From c58b8e2a28202e87888b1a83c2e4bafbd4927722 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 25 Nov 2025 22:54:30 +0100 Subject: [PATCH 10/53] libpng: update 1.6.50 -> 1.6.51 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 3917dead5d..fd6e66e38f 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.50 -$(PKG)_CHECKSUM := 4df396518620a7aa3651443e87d1b2862e4e88cad135a8b93423e01706232307 +$(PKG)_VERSION := 1.6.51 +$(PKG)_CHECKSUM := a050a892d3b4a7bb010c3a95c7301e49656d72a64f1fc709a90b8aded192bed2 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 7c87925bbef7723cc2ad61eb4a5b2c1482c0f219 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 5 Dec 2025 02:23:42 +0100 Subject: [PATCH 11/53] libpng: update 1.6.51 -> 1.6.52 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index fd6e66e38f..34002e21b0 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.51 -$(PKG)_CHECKSUM := a050a892d3b4a7bb010c3a95c7301e49656d72a64f1fc709a90b8aded192bed2 +$(PKG)_VERSION := 1.6.52 +$(PKG)_CHECKSUM := 36bd726228ec93a3b6c22fdb49e94a67b16f2fe9b39b78b7cb65772966661ccc $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 17587602cfeecaf93536bcca2cc6165670772880 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 11 Dec 2025 10:56:14 +0100 Subject: [PATCH 12/53] libpng: update 1.6.52 -> 1.6.53 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 34002e21b0..79c4a256c3 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.52 -$(PKG)_CHECKSUM := 36bd726228ec93a3b6c22fdb49e94a67b16f2fe9b39b78b7cb65772966661ccc +$(PKG)_VERSION := 1.6.53 +$(PKG)_CHECKSUM := 1d3fb8ccc2932d04aa3663e22ef5ef490244370f4e568d7850165068778d98d4 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From d1aad58fa2b0dabd19a70820a0adaae102846646 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 15 Jan 2026 15:14:39 +0100 Subject: [PATCH 13/53] libpng: update 1.6.53 -> 1.6.54 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 79c4a256c3..57adb5ba5f 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.53 -$(PKG)_CHECKSUM := 1d3fb8ccc2932d04aa3663e22ef5ef490244370f4e568d7850165068778d98d4 +$(PKG)_VERSION := 1.6.54 +$(PKG)_CHECKSUM := 01c9d8a303c941ec2c511c14312a3b1d36cedb41e2f5168ccdaa85d53b887805 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From fbadfd1fc5ff6bcc48a66bf734002ea4897ab598 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 13 Feb 2026 08:47:36 +0100 Subject: [PATCH 14/53] libpng: update 1.6.54 -> 1.6.55 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 57adb5ba5f..46704e8560 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.54 -$(PKG)_CHECKSUM := 01c9d8a303c941ec2c511c14312a3b1d36cedb41e2f5168ccdaa85d53b887805 +$(PKG)_VERSION := 1.6.55 +$(PKG)_CHECKSUM := d925722864837ad5ae2a82070d4b2e0603dc72af44bd457c3962298258b8e82d $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 60a51c998efe941f54a976a55d2a070444e871ed Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 25 Mar 2026 23:40:36 +0100 Subject: [PATCH 15/53] libpng: update 1.6.55 -> 1.6.56 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 46704e8560..c6636328c2 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.55 -$(PKG)_CHECKSUM := d925722864837ad5ae2a82070d4b2e0603dc72af44bd457c3962298258b8e82d +$(PKG)_VERSION := 1.6.56 +$(PKG)_CHECKSUM := f7d8bf1601b7804f583a254ab343a6549ca6cf27d255c302c47af2d9d36a6f18 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From ad5afbcda58d8fe8a043d98bfaa75fe665b1c2b8 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 9 Apr 2026 19:47:38 +0200 Subject: [PATCH 16/53] libpng: update 1.6.56 -> 1.6.57 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index c6636328c2..0c260bab23 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.56 -$(PKG)_CHECKSUM := f7d8bf1601b7804f583a254ab343a6549ca6cf27d255c302c47af2d9d36a6f18 +$(PKG)_VERSION := 1.6.57 +$(PKG)_CHECKSUM := d10c20d7171569804cae8dfc13ba6dcd0662c41ed39d43d4d429314aafb10a80 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From aa816b3bd2450ef459329710099574ab5a46ea9c Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sun, 19 Apr 2026 22:20:44 +0200 Subject: [PATCH 17/53] libpng: update 1.6.57 -> 1.6.58 --- src/libpng.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpng.mk b/src/libpng.mk index 0c260bab23..1bf7d4dbad 100644 --- a/src/libpng.mk +++ b/src/libpng.mk @@ -3,8 +3,8 @@ PKG := libpng $(PKG)_WEBSITE := http://www.libpng.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.6.57 -$(PKG)_CHECKSUM := d10c20d7171569804cae8dfc13ba6dcd0662c41ed39d43d4d429314aafb10a80 +$(PKG)_VERSION := 1.6.58 +$(PKG)_CHECKSUM := 28eb403f51f0f7405249132cecfe82ea5c0ef97f1b32c5a65828814ae0d34775 $(PKG)_SUBDIR := libpng-$($(PKG)_VERSION) $(PKG)_FILE := libpng-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/libpng/libpng16/$($(PKG)_VERSION)/$($(PKG)_FILE) From 912861e9d55ffc5a692173a919d1295e8fc9f015 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sun, 22 Dec 2024 11:59:06 +0100 Subject: [PATCH 18/53] libwebp: update 1.4.0 -> 1.5.0 --- src/libwebp.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libwebp.mk b/src/libwebp.mk index 63098d86f8..a463532951 100644 --- a/src/libwebp.mk +++ b/src/libwebp.mk @@ -3,8 +3,8 @@ PKG := libwebp $(PKG)_WEBSITE := https://developers.google.com/speed/webp/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.4.0 -$(PKG)_CHECKSUM := 61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5 +$(PKG)_VERSION := 1.5.0 +$(PKG)_CHECKSUM := 7d6fab70cf844bf6769077bd5d7a74893f8ffd4dfb42861745750c63c2a5c92c $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$($(PKG)_FILE) From f85626a84c5d3c3bb2b90890622c09fc33c55ac2 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 5 Aug 2025 00:47:45 +0200 Subject: [PATCH 19/53] libwebp: update 1.5.0 -> 1.6.0 --- src/libwebp.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libwebp.mk b/src/libwebp.mk index a463532951..ac6c537550 100644 --- a/src/libwebp.mk +++ b/src/libwebp.mk @@ -3,8 +3,8 @@ PKG := libwebp $(PKG)_WEBSITE := https://developers.google.com/speed/webp/ $(PKG)_IGNORE := -$(PKG)_VERSION := 1.5.0 -$(PKG)_CHECKSUM := 7d6fab70cf844bf6769077bd5d7a74893f8ffd4dfb42861745750c63c2a5c92c +$(PKG)_VERSION := 1.6.0 +$(PKG)_CHECKSUM := e4ab7009bf0629fd11982d4c2aa83964cf244cffba7347ecd39019a9e38c4564 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$($(PKG)_FILE) From 2744dabf288f122c629c4efb6d305590068be1f8 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 18 Sep 2024 12:41:01 +0200 Subject: [PATCH 20/53] tiff: update 4.6.0 -> 4.7.0 --- src/tiff.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tiff.mk b/src/tiff.mk index 2fed7f6f43..0af384ab3e 100644 --- a/src/tiff.mk +++ b/src/tiff.mk @@ -4,8 +4,8 @@ PKG := tiff $(PKG)_WEBSITE := http://simplesystems.org/libtiff/ $(PKG)_DESCR := LibTIFF $(PKG)_IGNORE := -$(PKG)_VERSION := 4.6.0 -$(PKG)_CHECKSUM := e178649607d1e22b51cf361dd20a3753f244f022eefab1f2f218fc62ebaf87d2 +$(PKG)_VERSION := 4.7.0 +$(PKG)_CHECKSUM := 273a0a73b1f0bed640afee4a5df0337357ced5b53d3d5d1c405b936501f71017 $(PKG)_SUBDIR := tiff-$($(PKG)_VERSION) $(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://download.osgeo.org/libtiff/$($(PKG)_FILE) From 1ed1dc81fbe0f2d1ecfb9b031a2da54a14dc15e7 Mon Sep 17 00:00:00 2001 From: Tomas Kalibera Date: Wed, 12 Mar 2025 19:34:30 +0100 Subject: [PATCH 21/53] Update download location. --- src/tiff.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/tiff.mk b/src/tiff.mk index 0af384ab3e..34d15d6f39 100644 --- a/src/tiff.mk +++ b/src/tiff.mk @@ -1,7 +1,7 @@ # This file is part of MXE. See LICENSE.md for licensing information. PKG := tiff -$(PKG)_WEBSITE := http://simplesystems.org/libtiff/ +$(PKG)_WEBSITE := https://download.osgeo.org/libtiff/ $(PKG)_DESCR := LibTIFF $(PKG)_IGNORE := $(PKG)_VERSION := 4.7.0 @@ -12,9 +12,10 @@ $(PKG)_URL := https://download.osgeo.org/libtiff/$($(PKG)_FILE) $(PKG)_DEPS := cc libjpeg-turbo libwebp zlib define $(PKG)_UPDATE - $(WGET) -q -O- 'http://simplesystems.org/libtiff/' | \ - $(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \ - head -1 + $(WGET) -q -O- 'https://download.osgeo.org/libtiff/' | \ + $(SED) -n 's,.*>tiff-\([0-9][^<]*\)\.tar\.xz<.*,\1,p' | \ + grep -v 'alpha\|beta\|rc\|sig' | \ + tail -1 endef define $(PKG)_BUILD From db5fb5c67338547f29bf66a21d4c7a0e927accdf Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 18 Sep 2025 22:14:04 +0200 Subject: [PATCH 22/53] tiff: update 4.7.0 -> 4.7.1 --- src/tiff.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tiff.mk b/src/tiff.mk index 34d15d6f39..14f246b8d2 100644 --- a/src/tiff.mk +++ b/src/tiff.mk @@ -4,8 +4,8 @@ PKG := tiff $(PKG)_WEBSITE := https://download.osgeo.org/libtiff/ $(PKG)_DESCR := LibTIFF $(PKG)_IGNORE := -$(PKG)_VERSION := 4.7.0 -$(PKG)_CHECKSUM := 273a0a73b1f0bed640afee4a5df0337357ced5b53d3d5d1c405b936501f71017 +$(PKG)_VERSION := 4.7.1 +$(PKG)_CHECKSUM := b92017489bdc1db3a4c97191aa4b75366673cb746de0dce5d7a749d5954681ba $(PKG)_SUBDIR := tiff-$($(PKG)_VERSION) $(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://download.osgeo.org/libtiff/$($(PKG)_FILE) From e12f256d4478795f50749ef6f783b4c32db73af5 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 22 Oct 2024 12:15:19 +0200 Subject: [PATCH 23/53] sqlite: update 3460100 -> 3470000 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 5ff9f31573..a017e582a0 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3460100 -$(PKG)_CHECKSUM := 67d3fe6d268e6eaddcae3727fce58fcc8e9c53869bdd07a0c61e38ddf2965071 +$(PKG)_VERSION := 3470000 +$(PKG)_CHECKSUM := 83eb21a6f6a649f506df8bd3aab85a08f7556ceed5dbd8dea743ea003fc3a957 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2024/$($(PKG)_FILE) From c861d0a1e6ea64479207b9965b83db801b7d98d5 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 26 Nov 2024 08:55:12 +0100 Subject: [PATCH 24/53] sqlite: update 3470000 -> 3470100 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index a017e582a0..01e099122c 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3470000 -$(PKG)_CHECKSUM := 83eb21a6f6a649f506df8bd3aab85a08f7556ceed5dbd8dea743ea003fc3a957 +$(PKG)_VERSION := 3470100 +$(PKG)_CHECKSUM := 416a6f45bf2cacd494b208fdee1beda509abda951d5f47bc4f2792126f01b452 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2024/$($(PKG)_FILE) From 7912b5a58560790c8aa93445684ea995010c57f9 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Mon, 9 Dec 2024 10:26:31 +0100 Subject: [PATCH 25/53] sqlite: update 3470100 -> 3470200 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 01e099122c..1cf217f7b7 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3470100 -$(PKG)_CHECKSUM := 416a6f45bf2cacd494b208fdee1beda509abda951d5f47bc4f2792126f01b452 +$(PKG)_VERSION := 3470200 +$(PKG)_CHECKSUM := f1b2ee412c28d7472bc95ba996368d6f0cdcf00362affdadb27ed286c179540b $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2024/$($(PKG)_FILE) From 1ebdc2e562324208b654ef8779311465c73abf9c Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 14 Jan 2025 17:36:23 +0100 Subject: [PATCH 26/53] sqlite: update 3470200 -> 3480000 --- src/sqlite.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 1cf217f7b7..09938ca955 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,11 +4,11 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3470200 -$(PKG)_CHECKSUM := f1b2ee412c28d7472bc95ba996368d6f0cdcf00362affdadb27ed286c179540b +$(PKG)_VERSION := 3480000 +$(PKG)_CHECKSUM := ac992f7fca3989de7ed1fe99c16363f848794c8c32a158dafd4eb927a2e02fd5 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := https://www.sqlite.org/2024/$($(PKG)_FILE) +$(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) $(PKG)_DEPS := cc define $(PKG)_UPDATE From e97c5cfacb319870b61bc387db3fb24f62241d0d Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 6 Feb 2025 17:00:04 +0100 Subject: [PATCH 27/53] sqlite: update 3480000 -> 3490000 --- src/sqlite.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 09938ca955..399c428c72 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3480000 -$(PKG)_CHECKSUM := ac992f7fca3989de7ed1fe99c16363f848794c8c32a158dafd4eb927a2e02fd5 +$(PKG)_VERSION := 3490000 +$(PKG)_CHECKSUM := 4d8bfa0b55e36951f6e5a9fb8c99f3b58990ab785c57b4f84f37d163a0672759 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) @@ -19,7 +19,12 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - $(MXE_CONFIGURE_OPTS) \ + --host='$(TARGET)' \ + --build='$(BUILD)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + $(if $(BUILD_STATIC), \ + --enable-static --disable-shared , \ + --disable-static --enable-shared ) \ --disable-readline \ CFLAGS="-Os -g -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA" $(SED) -i 's:^/\*\+ Begin file \([^ ]\+\) \*\+/:#line 1 "\1":;s:^/\*\+ Continuing where we left off in \([^ ]\+\) \*\+/:#line xxx "\1":' $(1)/sqlite3.c From 75f4a8d287c4185e0105443aac080ff90aa491a4 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 18 Feb 2025 16:08:49 +0100 Subject: [PATCH 28/53] sqlite: update 3490000 -> 3490100 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 399c428c72..b9d0116934 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3490000 -$(PKG)_CHECKSUM := 4d8bfa0b55e36951f6e5a9fb8c99f3b58990ab785c57b4f84f37d163a0672759 +$(PKG)_VERSION := 3490100 +$(PKG)_CHECKSUM := 106642d8ccb36c5f7323b64e4152e9b719f7c0215acf5bfeac3d5e7f97b59254 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From b5d25ca68b772a1b5f3ff9fd22c2175002aa7bd4 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 22 Feb 2025 15:37:43 +0100 Subject: [PATCH 29/53] sqlite: fix missing import library for shared build Sqlite's new autosetup system does not build or install the import library libsqlite3.dll.a without an explicit --out-implib. --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index b9d0116934..20cf7515eb 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -23,8 +23,8 @@ define $(PKG)_BUILD --build='$(BUILD)' \ --prefix='$(PREFIX)/$(TARGET)' \ $(if $(BUILD_STATIC), \ - --enable-static --disable-shared , \ - --disable-static --enable-shared ) \ + --disable-shared , \ + --disable-static --out-implib ) \ --disable-readline \ CFLAGS="-Os -g -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA" $(SED) -i 's:^/\*\+ Begin file \([^ ]\+\) \*\+/:#line 1 "\1":;s:^/\*\+ Continuing where we left off in \([^ ]\+\) \*\+/:#line xxx "\1":' $(1)/sqlite3.c From c0b13f2f8aab11bd55a2e7c5af915a917ae652f9 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 11 Apr 2025 11:22:18 +0200 Subject: [PATCH 30/53] sqlite: fix dll location --- src/sqlite.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sqlite.mk b/src/sqlite.mk index 20cf7515eb..1429a280c2 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -49,4 +49,5 @@ define $(PKG)_BUILD ) $(MAKE) -C '$(1)' -j 1 install + $(if $(BUILD_SHARED),mv $(PREFIX)/$(TARGET)/lib/libsqlite3.dll $(PREFIX)/$(TARGET)/bin/,) endef From d7ca039d1794c64e263b603be9a88209450377e7 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 8 May 2025 13:36:41 +0200 Subject: [PATCH 31/53] sqlite: update 3490100 -> 3490200 --- src/sqlite.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 1429a280c2..4251721e69 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3490100 -$(PKG)_CHECKSUM := 106642d8ccb36c5f7323b64e4152e9b719f7c0215acf5bfeac3d5e7f97b59254 +$(PKG)_VERSION := 3490200 +$(PKG)_CHECKSUM := 5c6d8697e8a32a1512a9be5ad2b2e7a891241c334f56f8b0fb4fc6051e1652e8 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) @@ -49,5 +49,4 @@ define $(PKG)_BUILD ) $(MAKE) -C '$(1)' -j 1 install - $(if $(BUILD_SHARED),mv $(PREFIX)/$(TARGET)/lib/libsqlite3.dll $(PREFIX)/$(TARGET)/bin/,) endef From 92292ffe1ec1a0d221bd78db062815ef615139b2 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 29 May 2025 18:43:31 +0200 Subject: [PATCH 32/53] sqlite: update 3490200 -> 3500000 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 4251721e69..d997c05e1f 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3490200 -$(PKG)_CHECKSUM := 5c6d8697e8a32a1512a9be5ad2b2e7a891241c334f56f8b0fb4fc6051e1652e8 +$(PKG)_VERSION := 3500000 +$(PKG)_CHECKSUM := 3bc776a5f243897415f3b80fb74db3236501d45194c75c7f69012e4ec0128327 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From c62632ccd8652207885c5b25d8566ab86cd9d579 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 6 Jun 2025 23:58:24 +0200 Subject: [PATCH 33/53] sqlite: update 3500000 -> 3500100 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index d997c05e1f..eef346f6fd 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3500000 -$(PKG)_CHECKSUM := 3bc776a5f243897415f3b80fb74db3236501d45194c75c7f69012e4ec0128327 +$(PKG)_VERSION := 3500100 +$(PKG)_CHECKSUM := 00a65114d697cfaa8fe0630281d76fd1b77afcd95cd5e40ec6a02cbbadbfea71 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From cfdcf473f0ee4c6754e21e59b3329ef2e2c5e5b1 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 28 Jun 2025 22:23:57 +0200 Subject: [PATCH 34/53] sqlite: update 3500100 -> 3500200 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index eef346f6fd..6f84cd0c20 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3500100 -$(PKG)_CHECKSUM := 00a65114d697cfaa8fe0630281d76fd1b77afcd95cd5e40ec6a02cbbadbfea71 +$(PKG)_VERSION := 3500200 +$(PKG)_CHECKSUM := 84a616ffd31738e4590b65babb3a9e1ef9370f3638e36db220ee0e73f8ad2156 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From e0bd2d7287a67a0fb140332710383c550ad3417d Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 17 Jul 2025 19:05:22 +0200 Subject: [PATCH 35/53] sqlite: update 3500200 -> 3500300 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 6f84cd0c20..162b716e7a 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3500200 -$(PKG)_CHECKSUM := 84a616ffd31738e4590b65babb3a9e1ef9370f3638e36db220ee0e73f8ad2156 +$(PKG)_VERSION := 3500300 +$(PKG)_CHECKSUM := ec5496cdffbc2a4adb59317fd2bf0e582bf0e6acd8f4aae7e97bc723ddba7233 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From f431aa87c64e4b54dbfc021ca8dd75643bab8627 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 5 Aug 2025 00:48:55 +0200 Subject: [PATCH 36/53] sqlite: update 3500300 -> 3500400 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 162b716e7a..7a773ae770 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3500300 -$(PKG)_CHECKSUM := ec5496cdffbc2a4adb59317fd2bf0e582bf0e6acd8f4aae7e97bc723ddba7233 +$(PKG)_VERSION := 3500400 +$(PKG)_CHECKSUM := a3db587a1b92ee5ddac2f66b3edb41b26f9c867275782d46c3a088977d6a5b18 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From 84c7e9bc2abb91750e5251834203d9c2f70706e8 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 4 Nov 2025 23:51:16 +0100 Subject: [PATCH 37/53] sqlite: update 3500400 -> 3510000 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 7a773ae770..8e111aac85 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3500400 -$(PKG)_CHECKSUM := a3db587a1b92ee5ddac2f66b3edb41b26f9c867275782d46c3a088977d6a5b18 +$(PKG)_VERSION := 3510000 +$(PKG)_CHECKSUM := 2c37c3678df79612b79af6948c5bea4250eac8c0f4840820414c18f5af5aa4a1 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From a1f3eda09aefb7aec81920fb3afa1fc955d9f275 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Mon, 10 Nov 2025 12:32:03 +0100 Subject: [PATCH 38/53] sqlite: update checksum --- src/sqlite.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 8e111aac85..0cacd1d795 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -5,7 +5,7 @@ $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := $(PKG)_VERSION := 3510000 -$(PKG)_CHECKSUM := 2c37c3678df79612b79af6948c5bea4250eac8c0f4840820414c18f5af5aa4a1 +$(PKG)_CHECKSUM := 42e26dfdd96aa2e6b1b1be5c88b0887f9959093f650d693cb02eb9c36d146ca5 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From 092081e667154ebd21e02770ea10a2f284f7c75b Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 29 Nov 2025 07:31:56 +0100 Subject: [PATCH 39/53] sqlite: update 3510000 -> 3510100 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 0cacd1d795..887f1b24c8 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3510000 -$(PKG)_CHECKSUM := 42e26dfdd96aa2e6b1b1be5c88b0887f9959093f650d693cb02eb9c36d146ca5 +$(PKG)_VERSION := 3510100 +$(PKG)_CHECKSUM := 4f2445cd70479724d32ad015ec7fd37fbb6f6130013bd4bfbc80c32beb42b7e0 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) From a02c1044ec9d14f6c476d9511eaf53b523ffc3fa Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 15 Jan 2026 15:14:50 +0100 Subject: [PATCH 40/53] sqlite: update 3510100 -> 3510200 --- src/sqlite.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 887f1b24c8..8b5c65994a 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,11 +4,11 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3510100 -$(PKG)_CHECKSUM := 4f2445cd70479724d32ad015ec7fd37fbb6f6130013bd4bfbc80c32beb42b7e0 +$(PKG)_VERSION := 3510200 +$(PKG)_CHECKSUM := fbd89f866b1403bb66a143065440089dd76100f2238314d92274a082d4f2b7bb $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := https://www.sqlite.org/2025/$($(PKG)_FILE) +$(PKG)_URL := https://www.sqlite.org/2026/$($(PKG)_FILE) $(PKG)_DEPS := cc define $(PKG)_UPDATE From 51a07c904770de54be481da46804e264b8fa453f Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 7 Mar 2026 11:56:42 +0100 Subject: [PATCH 41/53] sqlite: update 3510200 -> 3520000 --- src/sqlite-1-fixes.patch | 24 ++++++++++++++++++++++++ src/sqlite.mk | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 src/sqlite-1-fixes.patch diff --git a/src/sqlite-1-fixes.patch b/src/sqlite-1-fixes.patch new file mode 100644 index 0000000000..7413aff2e6 --- /dev/null +++ b/src/sqlite-1-fixes.patch @@ -0,0 +1,24 @@ +This file is part of MXE. See LICENSE.md for licensing information. + +Contains ad hoc patches for cross building. + +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Mark Brand +Date: Sat, 7 Mar 2026 11:53:29 +0100 +Subject: [PATCH 1/1] fix shell build for MINGW + +https://sqlite.org/forum/forumpost/086cb1ef66 + +diff --git a/shell.c b/shell.c +index 1111111..2222222 100644 +--- a/shell.c ++++ b/shell.c +@@ -36188,7 +36188,7 @@ static int vfstraceOut(const char *z, void *pArg){ + ** UTF8, then invoke the traditional main() entry point which is + ** renamed using a #define to utf8_main() . + */ +-#if defined(_WIN32) && !defined(main) ++#if defined(_WIN32) && !defined(__MINGW32__) && !defined(main) + # define main utf8_main /* Rename entry point to utf_main() */ + int SQLITE_CDECL utf8_main(int,char**); /* Forward declaration */ + int SQLITE_CDECL wmain(int argc, wchar_t **wargv){ diff --git a/src/sqlite.mk b/src/sqlite.mk index 8b5c65994a..dd3a69dfe5 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3510200 -$(PKG)_CHECKSUM := fbd89f866b1403bb66a143065440089dd76100f2238314d92274a082d4f2b7bb +$(PKG)_VERSION := 3520000 +$(PKG)_CHECKSUM := f6b50b0c103392af32a8be15b2b9d25959de9a00a70c3979128aafeaa5338b3f $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2026/$($(PKG)_FILE) From c716f05e0a444d25c7efd899b752cbe19ee9213b Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 7 Mar 2026 13:29:42 +0100 Subject: [PATCH 42/53] sqlite: build out-of-tree and allow parallelism --- src/sqlite.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index dd3a69dfe5..a7c7a65561 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -18,7 +18,7 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - cd '$(1)' && ./configure \ + cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \ --host='$(TARGET)' \ --build='$(BUILD)' \ --prefix='$(PREFIX)/$(TARGET)' \ @@ -27,8 +27,8 @@ define $(PKG)_BUILD --disable-static --out-implib ) \ --disable-readline \ CFLAGS="-Os -g -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA" - $(SED) -i 's:^/\*\+ Begin file \([^ ]\+\) \*\+/:#line 1 "\1":;s:^/\*\+ Continuing where we left off in \([^ ]\+\) \*\+/:#line xxx "\1":' $(1)/sqlite3.c - grep -n ^#line $(1)/sqlite3.c | $(SED) 's/:#line//;s/"//g;s/\./____/g' | ( \ + $(SED) -i 's:^/\*\+ Begin file \([^ ]\+\) \*\+/:#line 1 "\1":;s:^/\*\+ Continuing where we left off in \([^ ]\+\) \*\+/:#line xxx "\1":' $(SOURCE_DIR)/sqlite3.c + grep -n ^#line $(SOURCE_DIR)/sqlite3.c | $(SED) 's/:#line//;s/"//g;s/\./____/g' | ( \ fixup="" ; \ prev="" ; \ prevdelta=0 ; \ @@ -45,8 +45,9 @@ define $(PKG)_BUILD prevdelta="$$((a+1-b))" ; \ prev="$$c" ; \ done ; \ - $(SED) -i "$$fixup" $(1)/sqlite3.c \ + $(SED) -i "$$fixup" $(SOURCE_DIR)/sqlite3.c \ ) - $(MAKE) -C '$(1)' -j 1 install + $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' + $(MAKE) -C '$(BUILD_DIR)' -j 1 install endef From 98d4ce5a7a1708e7cbf3a13d9a2f73c9d2d3b67e Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 13 Mar 2026 14:05:05 +0100 Subject: [PATCH 43/53] sqlite: update 3520000 -> 3510300 Version 3.52.0 has been withdrawn and 3.51.3 released. https://sqlite.org/releaselog/3_52_0.html --- src/sqlite-1-fixes.patch | 24 ------------------------ src/sqlite.mk | 4 ++-- 2 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 src/sqlite-1-fixes.patch diff --git a/src/sqlite-1-fixes.patch b/src/sqlite-1-fixes.patch deleted file mode 100644 index 7413aff2e6..0000000000 --- a/src/sqlite-1-fixes.patch +++ /dev/null @@ -1,24 +0,0 @@ -This file is part of MXE. See LICENSE.md for licensing information. - -Contains ad hoc patches for cross building. - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Mark Brand -Date: Sat, 7 Mar 2026 11:53:29 +0100 -Subject: [PATCH 1/1] fix shell build for MINGW - -https://sqlite.org/forum/forumpost/086cb1ef66 - -diff --git a/shell.c b/shell.c -index 1111111..2222222 100644 ---- a/shell.c -+++ b/shell.c -@@ -36188,7 +36188,7 @@ static int vfstraceOut(const char *z, void *pArg){ - ** UTF8, then invoke the traditional main() entry point which is - ** renamed using a #define to utf8_main() . - */ --#if defined(_WIN32) && !defined(main) -+#if defined(_WIN32) && !defined(__MINGW32__) && !defined(main) - # define main utf8_main /* Rename entry point to utf_main() */ - int SQLITE_CDECL utf8_main(int,char**); /* Forward declaration */ - int SQLITE_CDECL wmain(int argc, wchar_t **wargv){ diff --git a/src/sqlite.mk b/src/sqlite.mk index a7c7a65561..12f7065c51 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3520000 -$(PKG)_CHECKSUM := f6b50b0c103392af32a8be15b2b9d25959de9a00a70c3979128aafeaa5338b3f +$(PKG)_VERSION := 3510300 +$(PKG)_CHECKSUM := 81f5be397049b0cae1b167f2225af7646fc0f82e4a9b3c48c9ea3a533e21d77a $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2026/$($(PKG)_FILE) From f6768c461699591ed40b2f0f25553ae09839198e Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 9 Apr 2026 19:33:13 +0200 Subject: [PATCH 44/53] sqlite: update 3510300 -> 3530000 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index 12f7065c51..f29bc00712 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3510300 -$(PKG)_CHECKSUM := 81f5be397049b0cae1b167f2225af7646fc0f82e4a9b3c48c9ea3a533e21d77a +$(PKG)_VERSION := 3530000 +$(PKG)_CHECKSUM := 851e9b38192fe2ceaa65e0baa665e7fa06230c3d9bd1a6a9662d02380d73365a $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2026/$($(PKG)_FILE) From 2f1acd8defa37eca56fa1dd52d428145e914491e Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 5 May 2026 18:59:20 +0200 Subject: [PATCH 45/53] sqlite: update 3530000 -> 3530100 --- src/sqlite.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite.mk b/src/sqlite.mk index f29bc00712..2821f42674 100644 --- a/src/sqlite.mk +++ b/src/sqlite.mk @@ -4,8 +4,8 @@ PKG := sqlite $(PKG)_WEBSITE := https://www.sqlite.org/ $(PKG)_DESCR := SQLite $(PKG)_IGNORE := -$(PKG)_VERSION := 3530000 -$(PKG)_CHECKSUM := 851e9b38192fe2ceaa65e0baa665e7fa06230c3d9bd1a6a9662d02380d73365a +$(PKG)_VERSION := 3530100 +$(PKG)_CHECKSUM := 83e6b2020a034e9a7ad4a72feea59e1ad52f162e09cbd26735a3ffb98359fc4f $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.sqlite.org/2026/$($(PKG)_FILE) From 3e4892c55b33d5dbb801c0e1a0b23768d0725f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 16 May 2026 19:03:21 +0200 Subject: [PATCH 46/53] sdl2: update to 2.32.10 --- src/sdl2-1-fixes.patch | 49 ++++++++++++---------------------- src/sdl2-2-stabs.patch | 6 ++--- src/sdl2-3-nodynamicbase.patch | 4 +-- src/sdl2.mk | 4 +-- 4 files changed, 24 insertions(+), 39 deletions(-) diff --git a/src/sdl2-1-fixes.patch b/src/sdl2-1-fixes.patch index e52bb0bf49..45a71a24ea 100644 --- a/src/sdl2-1-fixes.patch +++ b/src/sdl2-1-fixes.patch @@ -17,10 +17,10 @@ These fix compiles in a strictly shared build (with --disable-static) by always building libSDL2main.a and libSDL2_test.a staticly diff --git a/Makefile.in b/Makefile.in -index d4eeee4..ec3c205 100644 +index 27e0bbbf3..4429abf45 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -158,13 +158,13 @@ update-revision: +@@ -159,13 +159,13 @@ update-revision: .PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d) $(objects)/$(TARGET): $(GEN_HEADERS) $(GEN_OBJECTS) $(OBJECTS) $(VERSION_OBJECTS) @@ -47,28 +47,13 @@ Bug-MXE: https://github.com/mxe/mxe/issues/1961 Bug: https://bugzilla.libsdl.org/show_bug.cgi?id=3944 diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h -index 0ba8912..ff7a587 100644 +index c6250d131..239a651d8 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h -@@ -1,6 +1,6 @@ - /* - Simple DirectMedia Layer -- Copyright (C) 1997-2023 Sam Lantinga -+ Copyright (C) 1997-2014 Sam Lantinga - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages -@@ -25,2108 +25,63 @@ - * This is a simple file to encapsulate the OpenGL API headers. +@@ -26,2101 +26,63 @@ + * to disable the version included in SDL_opengl.h. */ --/** -- * \def NO_SDL_GLEXT -- * -- * Define this if you have your own version of glext.h and want to disable the -- * version included in SDL_opengl.h. -- */ -- -#ifndef SDL_opengl_h_ -#define SDL_opengl_h_ +#ifndef _SDL_opengl_h @@ -77,7 +62,8 @@ index 0ba8912..ff7a587 100644 #include "SDL_config.h" -#ifndef __IPHONEOS__ /* No OpenGL on iOS. */ -- ++#ifndef __IPHONEOS__ + -/* - * Mesa 3-D graphics library - * @@ -106,8 +92,7 @@ index 0ba8912..ff7a587 100644 - -#ifndef __gl_h_ -#define __gl_h_ -+#ifndef __IPHONEOS__ - +- -#if defined(USE_MGL_NAMESPACE) -#include "gl_mangle.h" -#endif @@ -183,6 +168,10 @@ index 0ba8912..ff7a587 100644 - -#ifndef GLAPIENTRY -#define GLAPIENTRY +-#endif +- +-#ifndef APIENTRY +-#define APIENTRY GLAPIENTRY +#if defined(__MACOSX__) +#include /* Header File For The OpenGL Library */ +#define __X_GL_H @@ -190,17 +179,13 @@ index 0ba8912..ff7a587 100644 +#include /* Header File For The OpenGL Library */ #endif - --#ifndef APIENTRY --#define APIENTRY GLAPIENTRY +-/* "P" suffix to be used for a pointer to a function */ +-#ifndef APIENTRYP +-#define APIENTRYP APIENTRY * +#ifdef _SDL_CLEAR_GLEXT_HEADERGUARD +#undef __glext_h_ #endif --/* "P" suffix to be used for a pointer to a function */ --#ifndef APIENTRYP --#define APIENTRYP APIENTRY * --#endif -- -#ifndef GLAPIENTRYP -#define GLAPIENTRYP GLAPIENTRY * -#endif @@ -2210,10 +2195,10 @@ Subject: [PATCH 3/3] libsamplerate support for windows diff --git a/configure.ac b/configure.ac -index 5f4fd16..53d9468 100644 +index ba2f8acde..d573acd0c 100644 --- a/configure.ac +++ b/configure.ac -@@ -4034,6 +4034,7 @@ case "$host" in +@@ -4047,6 +4047,7 @@ case "$host" in CheckVulkan CheckDIRECTX CheckHIDAPI diff --git a/src/sdl2-2-stabs.patch b/src/sdl2-2-stabs.patch index aa60ecc42c..f248f63c8a 100644 --- a/src/sdl2-2-stabs.patch +++ b/src/sdl2-2-stabs.patch @@ -8,10 +8,10 @@ Subject: [PATCH] Use stabs debugging info on 32 bit Windows 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index 5f4fd16d8..13c10f8e4 100644 +index d573acd0c..ae78b18f1 100644 --- a/configure.ac +++ b/configure.ac -@@ -1514,6 +1514,26 @@ CheckGDwarf4() +@@ -1530,6 +1530,26 @@ CheckGDwarf4() fi } @@ -38,7 +38,7 @@ index 5f4fd16d8..13c10f8e4 100644 dnl See if GCC's -fvisibility=hidden is supported (gcc4 and later, usually). dnl Details of this flag are here: http://gcc.gnu.org/wiki/Visibility CheckVisibilityHidden() -@@ -4021,7 +4041,14 @@ case "$host" in +@@ -4034,7 +4054,14 @@ case "$host" in if test x$enable_loadso = xyes; then have_loadso=yes fi diff --git a/src/sdl2-3-nodynamicbase.patch b/src/sdl2-3-nodynamicbase.patch index 4216e5bddc..502bbb64c7 100644 --- a/src/sdl2-3-nodynamicbase.patch +++ b/src/sdl2-3-nodynamicbase.patch @@ -1,8 +1,8 @@ diff --git a/configure.ac b/configure.ac -index d3c7236..ed13b98 100644 +index ae78b18f1..1ccfefaed 100644 --- a/configure.ac +++ b/configure.ac -@@ -274,7 +274,7 @@ case "$host" in +@@ -275,7 +275,7 @@ case "$host" in *) save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -Wl,--dynamicbase" diff --git a/src/sdl2.mk b/src/sdl2.mk index 85a339b2dd..315649b52f 100644 --- a/src/sdl2.mk +++ b/src/sdl2.mk @@ -4,8 +4,8 @@ PKG := sdl2 $(PKG)_WEBSITE := https://www.libsdl.org/ $(PKG)_DESCR := SDL2 $(PKG)_IGNORE := -$(PKG)_VERSION := 2.26.5 -$(PKG)_CHECKSUM := ad8fea3da1be64c83c45b1d363a6b4ba8fd60f5bde3b23ec73855709ec5eabf7 +$(PKG)_VERSION := 2.32.10 +$(PKG)_CHECKSUM := 5f5993c530f084535c65a6879e9b26ad441169b3e25d789d83287040a9ca5165 $(PKG)_SUBDIR := SDL2-$($(PKG)_VERSION) $(PKG)_FILE := SDL2-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.libsdl.org/release/$($(PKG)_FILE) From e25ead1ec883cf371c2389f3bcb4f647d0fd3146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 16 May 2026 18:17:46 +0200 Subject: [PATCH 47/53] sdl2_image: update to 2.8.12 --- src/sdl2_image-1-no-webp-anim.patch | 22 +++++++++++++--------- src/sdl2_image.mk | 4 ++-- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/sdl2_image-1-no-webp-anim.patch b/src/sdl2_image-1-no-webp-anim.patch index c0ba355f61..512d93a4be 100644 --- a/src/sdl2_image-1-no-webp-anim.patch +++ b/src/sdl2_image-1-no-webp-anim.patch @@ -8,44 +8,48 @@ Subject: [PATCH] Remove webp animation support 1 file changed, 8 insertions(+) diff --git a/src/IMG_webp.c b/src/IMG_webp.c -index 2bf6443..aa920af 100644 +index 932061ab..2a0501e9 100644 --- a/src/IMG_webp.c +++ b/src/IMG_webp.c -@@ -49,10 +49,12 @@ static struct { +@@ -57,12 +57,14 @@ static struct { VP8StatusCode (*WebPGetFeaturesInternal) (const uint8_t *data, size_t data_size, WebPBitstreamFeatures* features, int decoder_abi_version); uint8_t* (*WebPDecodeRGBInto) (const uint8_t* data, size_t data_size, uint8_t* output_buffer, size_t output_buffer_size, int output_stride); uint8_t* (*WebPDecodeRGBAInto) (const uint8_t* data, size_t data_size, uint8_t* output_buffer, size_t output_buffer_size, int output_stride); +#if 0 WebPDemuxer* (*WebPDemuxInternal)(const WebPData* data, int allow_partial, WebPDemuxState* state, int version); - int (*WebPDemuxGetFrame)(const WebPDemuxer* dmux, int frame_number, WebPIterator* iter); + int (*WebPDemuxGetFrame)(const WebPDemuxer *dmux, int frame_number, WebPIterator *iter); + int (*WebPDemuxNextFrame)(WebPIterator *iter); + void (*WebPDemuxReleaseIterator)(WebPIterator *iter); uint32_t (*WebPDemuxGetI)(const WebPDemuxer* dmux, WebPFormatFeature feature); void (*WebPDemuxDelete)(WebPDemuxer* dmux); +#endif } lib; #if defined(LOAD_WEBP_DYNAMIC) && defined(LOAD_WEBPDEMUX_DYNAMIC) -@@ -91,10 +93,12 @@ int IMG_InitWEBP() +@@ -101,12 +103,14 @@ int IMG_InitWEBP() FUNCTION_LOADER_LIBWEBP(WebPGetFeaturesInternal, VP8StatusCode (*) (const uint8_t *data, size_t data_size, WebPBitstreamFeatures* features, int decoder_abi_version)) FUNCTION_LOADER_LIBWEBP(WebPDecodeRGBInto, uint8_t * (*) (const uint8_t* data, size_t data_size, uint8_t* output_buffer, size_t output_buffer_size, int output_stride)) FUNCTION_LOADER_LIBWEBP(WebPDecodeRGBAInto, uint8_t * (*) (const uint8_t* data, size_t data_size, uint8_t* output_buffer, size_t output_buffer_size, int output_stride)) +#if 0 FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxInternal, WebPDemuxer* (*)(const WebPData*, int, WebPDemuxState*, int)) - FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxGetFrame, int (*)(const WebPDemuxer* dmux, int frame_number, WebPIterator* iter)) - FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxGetI, uint32_t (*)(const WebPDemuxer* dmux, WebPFormatFeature feature)); + FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxGetFrame, int (*)(const WebPDemuxer *dmux, int frame_number, WebPIterator *iter)) + FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxNextFrame, int (*)(WebPIterator *iter)) + FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxReleaseIterator, void (*)(WebPIterator *iter)) + FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxGetI, uint32_t (*)(const WebPDemuxer* dmux, WebPFormatFeature feature)) FUNCTION_LOADER_LIBWEBPDEMUX(WebPDemuxDelete, void (*)(WebPDemuxer* dmux)) +#endif } ++lib.loaded; -@@ -257,6 +261,7 @@ error: +@@ -269,6 +273,7 @@ error: IMG_Animation *IMG_LoadWEBPAnimation_RW(SDL_RWops *src) { +#if 0 Sint64 start; const char *error = NULL; - Uint32 format; -@@ -371,6 +376,9 @@ error: + WebPBitstreamFeatures features; +@@ -454,6 +459,9 @@ error: IMG_SetError("%s", error); } SDL_RWseek(src, start, RW_SEEK_SET); diff --git a/src/sdl2_image.mk b/src/sdl2_image.mk index 13e087e961..0f755fccc9 100644 --- a/src/sdl2_image.mk +++ b/src/sdl2_image.mk @@ -4,8 +4,8 @@ PKG := sdl2_image $(PKG)_WEBSITE := https://www.libsdl.org/ $(PKG)_DESCR := SDL2_image $(PKG)_IGNORE := -$(PKG)_VERSION := 2.8.2 -$(PKG)_CHECKSUM := 8fd59b2c17772d7ac1192b11c645be8d7874f595c1714f4b200ee70b7cc38f3e +$(PKG)_VERSION := 2.8.12 +$(PKG)_CHECKSUM := 26f07b431d09a9fb2cd759268030a1c34de44328d17f2a304f0612703a0d8cab $(PKG)_GH_CONF := libsdl-org/SDL_image/releases/tag,release-,, $(PKG)_DEPS := cc libjpeg-turbo libpng libwebp sdl2 tiff From 5f0a5ad6ef7610ac3a256a71e2ba9cb081d86653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 16 May 2026 16:27:52 +0200 Subject: [PATCH 48/53] lua: update to 5.4.8 --- src/lua-1-fixes.patch | 4 ++-- src/lua.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lua-1-fixes.patch b/src/lua-1-fixes.patch index 930be21a51..8ceeb22e59 100644 --- a/src/lua-1-fixes.patch +++ b/src/lua-1-fixes.patch @@ -9,7 +9,7 @@ Subject: [PATCH 1/1] disable readline on linux, macosx and freebsd diff --git a/src/Makefile b/src/Makefile -index 1111111..2222222 100644 +index b771196..45b8569 100644 --- a/src/Makefile +++ b/src/Makefile @@ -113,7 +113,7 @@ c89: @@ -21,7 +21,7 @@ index 1111111..2222222 100644 generic: $(ALL) -@@ -126,7 +126,7 @@ linux-readline: +@@ -129,7 +129,7 @@ linux-readline: $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX -DLUA_USE_READLINE" SYSLIBS="-Wl,-E -ldl -lreadline" Darwin macos macosx: diff --git a/src/lua.mk b/src/lua.mk index b9e5a13fce..21e09275a6 100644 --- a/src/lua.mk +++ b/src/lua.mk @@ -4,11 +4,11 @@ PKG := lua $(PKG)_WEBSITE := https://www.lua.org/ $(PKG)_DESCR := Lua $(PKG)_IGNORE := -$(PKG)_VERSION := 5.4.7 +$(PKG)_VERSION := 5.4.8 # Shared version and luarocks subdir $(PKG)_SHORTVER := $(call SHORT_PKG_VERSION,$(PKG)) $(PKG)_DLLVER := $(subst .,,$($(PKG)_SHORTVER)) -$(PKG)_CHECKSUM := 9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30 +$(PKG)_CHECKSUM := 4f18ddae154e793e46eeab727c59ef1c0c0c2b744e7b94219710d76f530629ae $(PKG)_SUBDIR := lua-$($(PKG)_VERSION) $(PKG)_FILE := lua-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://www.lua.org/ftp/$($(PKG)_FILE) From 15f24a423ec8f5a4072c88089a29e4b32a76b2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 16 May 2026 16:37:25 +0200 Subject: [PATCH 49/53] dav1d: update to 1.5.3 --- src/dav1d-1-nodynamicbase.patch | 4 ++-- src/dav1d.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dav1d-1-nodynamicbase.patch b/src/dav1d-1-nodynamicbase.patch index 9ff1ca21ba..ba2dbdcd6e 100644 --- a/src/dav1d-1-nodynamicbase.patch +++ b/src/dav1d-1-nodynamicbase.patch @@ -1,8 +1,8 @@ diff --git a/meson.build b/meson.build -index 2e2974d..b6791fb 100644 +index 2168b6a..0ebd0d7 100644 --- a/meson.build +++ b/meson.build -@@ -109,13 +109,13 @@ if host_machine.system() == 'windows' +@@ -122,13 +122,13 @@ if host_machine.system() == 'windows' if host_machine.cpu_family() == 'x86_64' if cc.get_argument_syntax() != 'msvc' diff --git a/src/dav1d.mk b/src/dav1d.mk index 3beaaba497..1033c1f86a 100644 --- a/src/dav1d.mk +++ b/src/dav1d.mk @@ -4,8 +4,8 @@ PKG := dav1d $(PKG)_WEBSITE := https://code.videolan.org/videolan/dav1d/ $(PKG)_DESCR := dav1d $(PKG)_IGNORE := -$(PKG)_VERSION := 1.4.3 -$(PKG)_CHECKSUM := 42fe524bcc82ea3a830057178faace22923a79bad3d819a4962d8cfc54c36f19 +$(PKG)_VERSION := 1.5.3 +$(PKG)_CHECKSUM := 732010aa5ef461fa93355ed2c6c5fedb48ddc4b74e697eaabe8907eaeb943011 $(PKG)_SUBDIR := dav1d-$($(PKG)_VERSION) $(PKG)_FILE := dav1d-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://ftp.videolan.org/pub/videolan/dav1d/$($(PKG)_VERSION)/$($(PKG)_FILE) From 9a4b24f4cbd52b380801d345326f286c444503ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 16 May 2026 16:49:32 +0200 Subject: [PATCH 50/53] ffmpeg: update to 8.1.1 --- build.sh | 2 +- src/ffmpeg-1-fixes.patch | 10 +++++----- src/ffmpeg-2-image-base.patch | 16 ++++++++-------- src/ffmpeg.mk | 9 ++++----- 4 files changed, 18 insertions(+), 19 deletions(-) diff --git a/build.sh b/build.sh index 0530b76b17..5d30099f1b 100755 --- a/build.sh +++ b/build.sh @@ -58,7 +58,7 @@ add_dll() { fi ) } -for i in avcodec-61 avformat-61 avutil-59 swresample-5 swscale-8 libdav1d libjpeg-8 libpng16-16 libtiff-6 libwebp-7 libsharpyuv-0 SDL2 SDL2_image zlib1 lua54:lua libsqlite3-0:sqlite3 libfreetype-6 libportaudio-2:$PORTAUDIO_NAME libbz2 libdl libgcc_s_seh-1 libstdc++-6 libwinpthread-1; do +for i in avcodec-62 avformat-62 avutil-60 swresample-6 swscale-9 libdav1d libjpeg-8 libpng16-16 libtiff-6 libwebp-7 libsharpyuv-0 SDL2 SDL2_image zlib1 lua54:lua libsqlite3-0:sqlite3 libfreetype-6 libportaudio-2:$PORTAUDIO_NAME libbz2 libdl libgcc_s_seh-1 libstdc++-6 libwinpthread-1; do j=${i##*:} i=${i%%:*} DLL_PATH="$MXE/usr/$TARGET/bin/$i.dll" diff --git a/src/ffmpeg-1-fixes.patch b/src/ffmpeg-1-fixes.patch index bba5d4fde7..7d5a1288d7 100644 --- a/src/ffmpeg-1-fixes.patch +++ b/src/ffmpeg-1-fixes.patch @@ -11,10 +11,10 @@ Subject: [PATCH 2/2] avoid warning: cast from pointer to integer of different when checking opus diff --git a/configure b/configure -index 4f5353f84b..492b3c84a0 100755 +index 1759694274..089a030112 100755 --- a/configure +++ b/configure -@@ -1390,7 +1390,7 @@ check_func_headers(){ +@@ -1479,7 +1479,7 @@ check_func_headers(){ done echo "#include " for func in $funcs; do @@ -23,15 +23,15 @@ index 4f5353f84b..492b3c84a0 100755 done echo "int main(void) { int ret = 0;" # LTO could optimize out the test functions without this -@@ -2359,7 +2359,6 @@ SYSTEM_FUNCS=" +@@ -2503,7 +2503,6 @@ SYSTEM_FUNCS=" access aligned_malloc arc4random_buf - clock_gettime closesocket CommandLineToArgvW - fcntl -@@ -2391,7 +2390,6 @@ SYSTEM_FUNCS=" + elf_aux_info +@@ -2536,7 +2535,6 @@ SYSTEM_FUNCS=" mkstemp mmap mprotect diff --git a/src/ffmpeg-2-image-base.patch b/src/ffmpeg-2-image-base.patch index fd799bc77e..2457963a3c 100644 --- a/src/ffmpeg-2-image-base.patch +++ b/src/ffmpeg-2-image-base.patch @@ -1,8 +1,8 @@ diff --git a/configure b/configure -index 492b3c84a0..dfa7faf6dd 100755 +index 089a030112..cbd03a94eb 100755 --- a/configure +++ b/configure -@@ -5799,12 +5799,13 @@ case $target_os in +@@ -6162,12 +6162,13 @@ case $target_os in SLIB_INSTALL_EXTRA_SHLIB='$(SLIBNAME:$(SLIBSUF)=.lib)' SLIB_INSTALL_EXTRA_LIB='lib$(SLIBNAME:$(SLIBSUF)=.dll.a) $(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.def)' SLIB_CREATE_DEF_CMD='EXTERN_PREFIX="$(EXTERN_PREFIX)" AR="$(AR_CMD)" NM="$(NM_CMD)" $(SRC_PATH)/compat/windows/makedef $(SUBDIR)lib$(NAME).ver $(OBJS) > $$(@:$(SLIBSUF)=.def)' @@ -19,7 +19,7 @@ index 492b3c84a0..dfa7faf6dd 100755 # ld will strip relocations from executables even though we need them # for dynamicbase (ASLR). Using -pie does retain the reloc section diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile -index 21c5e9b0d4..6c3a508150 100644 +index bf723ed1a6..5adc627056 100644 --- a/libavcodec/x86/Makefile +++ b/libavcodec/x86/Makefile @@ -1,3 +1,6 @@ @@ -30,7 +30,7 @@ index 21c5e9b0d4..6c3a508150 100644 # subsystems diff --git a/libswresample/x86/Makefile b/libswresample/x86/Makefile -index fa0641f03f..e354bc491a 100644 +index c0655bb8a8..5ee470ba16 100644 --- a/libswresample/x86/Makefile +++ b/libswresample/x86/Makefile @@ -1,3 +1,7 @@ @@ -38,11 +38,11 @@ index fa0641f03f..e354bc491a 100644 +IMAGEBASE_swresample = 0x6E000000 +endif + - X86ASM-OBJS += x86/audio_convert.o\ - x86/rematrix.o\ - x86/resample.o\ + X86ASM-OBJS += x86/audio_convert.o \ + x86/audio_convert_init.o \ + x86/rematrix.o \ diff --git a/libswscale/x86/Makefile b/libswscale/x86/Makefile -index 68391494be..f2ba7b53fc 100644 +index 9c9d286600..574dcbac58 100644 --- a/libswscale/x86/Makefile +++ b/libswscale/x86/Makefile @@ -1,3 +1,7 @@ diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index 302644c0c6..c001e61c9f 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -3,12 +3,12 @@ PKG := ffmpeg $(PKG)_WEBSITE := https://ffmpeg.org/ $(PKG)_IGNORE := -$(PKG)_VERSION := 7.0.2 -$(PKG)_CHECKSUM := 8646515b638a3ad303e23af6a3587734447cb8fc0a0c064ecdb8e95c4fd8b389 +$(PKG)_VERSION := 8.1.1 +$(PKG)_CHECKSUM := b6863adde98898f42602017462871b5f6333e65aec803fdd7a6308639c52edf3 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_URL := https://ffmpeg.org/releases/$($(PKG)_FILE) -$(PKG)_DEPS := cc dav1d yasm zlib +$(PKG)_DEPS := cc dav1d $(BUILD)~nasm zlib # DO NOT ADD fdk-aac OR openssl SUPPORT. # Although they are free softwares, their licenses are not compatible with @@ -33,7 +33,7 @@ define $(PKG)_BUILD $(if $(BUILD_STATIC), \ --enable-static --disable-shared , \ --disable-static --enable-shared ) \ - --x86asmexe='$(TARGET)-yasm' \ + --x86asmexe=nasm \ --enable-debug \ --disable-stripping \ --disable-pthreads \ @@ -54,7 +54,6 @@ define $(PKG)_BUILD --disable-network \ --disable-indevs \ --disable-outdevs \ - --disable-postproc \ --disable-muxers \ --disable-bsfs \ --disable-filters \ From adb02aacd0bf62174825b2129c6485f4cab9febe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 16 May 2026 16:21:19 +0200 Subject: [PATCH 51/53] opencv: update to 4.13.0 --- src/opencv-1-fixes.patch | 26 +++++++++++++------------- src/opencv.mk | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/opencv-1-fixes.patch b/src/opencv-1-fixes.patch index a8ff6bf9b7..cb2109a2d8 100644 --- a/src/opencv-1-fixes.patch +++ b/src/opencv-1-fixes.patch @@ -9,10 +9,10 @@ Subject: [PATCH 1/1] MinGW build fixes diff --git a/cmake/OpenCVCompilerOptions.cmake b/cmake/OpenCVCompilerOptions.cmake -index 1111111..2222222 100644 +index 512e6d1abd..d4d088ac47 100644 --- a/cmake/OpenCVCompilerOptions.cmake +++ b/cmake/OpenCVCompilerOptions.cmake -@@ -126,8 +126,6 @@ if(CV_GCC OR CV_CLANG) +@@ -144,8 +144,6 @@ if(CV_GCC OR CV_CLANG OR CV_ICX) add_extra_compiler_option(-Wformat) add_extra_compiler_option(-Wformat-security -Wformat) add_extra_compiler_option(-Wmissing-declarations) @@ -22,7 +22,7 @@ index 1111111..2222222 100644 add_extra_compiler_option(-Winit-self) add_extra_compiler_option(-Wpointer-arith) diff --git a/cmake/OpenCVFindLibsGrfmt.cmake b/cmake/OpenCVFindLibsGrfmt.cmake -index 1111111..2222222 100644 +index c3c358f6fc..9139d10494 100644 --- a/cmake/OpenCVFindLibsGrfmt.cmake +++ b/cmake/OpenCVFindLibsGrfmt.cmake @@ -2,6 +2,11 @@ @@ -35,10 +35,10 @@ index 1111111..2222222 100644 +endif() + # --- zlib (required) --- - if(BUILD_ZLIB) - ocv_clear_vars(ZLIB_FOUND) + if(WITH_ZLIB_NG) + ocv_clear_vars(ZLIB_LIBRARY ZLIB_LIBRARIES ZLIB_INCLUDE_DIR) diff --git a/cmake/OpenCVFindLibsVideo.cmake b/cmake/OpenCVFindLibsVideo.cmake -index 1111111..2222222 100644 +index a4e52e13cf..fd998147d6 100644 --- a/cmake/OpenCVFindLibsVideo.cmake +++ b/cmake/OpenCVFindLibsVideo.cmake @@ -1,6 +1,6 @@ @@ -50,10 +50,10 @@ index 1111111..2222222 100644 if(WITH_VA) diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake -index 1111111..2222222 100644 +index 84e8216fe0..e56ea45d82 100644 --- a/cmake/OpenCVModule.cmake +++ b/cmake/OpenCVModule.cmake -@@ -602,12 +602,16 @@ function(__ocv_resolve_dependencies) +@@ -625,12 +625,16 @@ function(__ocv_resolve_dependencies) # process private deps foreach(m ${OPENCV_MODULES_BUILD}) foreach(d ${OPENCV_MODULE_${m}_PRIVATE_REQ_DEPS}) @@ -73,10 +73,10 @@ index 1111111..2222222 100644 list(APPEND deps_${m} ${d}) endif() diff --git a/modules/core/src/lapack.cpp b/modules/core/src/lapack.cpp -index 1111111..2222222 100644 +index 83adeeabc3..9ba5b1cb07 100644 --- a/modules/core/src/lapack.cpp +++ b/modules/core/src/lapack.cpp -@@ -628,7 +628,7 @@ void hal::SVD32f(float* At, size_t astep, float* W, float* U, size_t ustep, floa +@@ -578,7 +578,7 @@ void hal::SVD32f(float* At, size_t astep, float* W, float* U, size_t ustep, floa void hal::SVD64f(double* At, size_t astep, double* W, double* U, size_t ustep, double* Vt, size_t vstep, int m, int n, int n1) { CALL_HAL(SVD64f, cv_hal_SVD64f, At, astep, W, U, ustep, Vt, vstep, m, n, decodeSVDParameters(U, Vt, m, n, n1)) @@ -86,7 +86,7 @@ index 1111111..2222222 100644 /* y[0:m,0:n] += diag(a[0:1,0:m]) * x[0:m,0:n] */ diff --git a/modules/core/src/precomp.hpp b/modules/core/src/precomp.hpp -index 1111111..2222222 100644 +index 1b0945d412..e6845060f7 100644 --- a/modules/core/src/precomp.hpp +++ b/modules/core/src/precomp.hpp @@ -63,7 +63,7 @@ @@ -99,10 +99,10 @@ index 1111111..2222222 100644 #include #include diff --git a/modules/dnn/CMakeLists.txt b/modules/dnn/CMakeLists.txt -index 1111111..2222222 100644 +index 641beb71ad..e1bc2394cf 100644 --- a/modules/dnn/CMakeLists.txt +++ b/modules/dnn/CMakeLists.txt -@@ -67,7 +67,7 @@ if(MSVC) +@@ -73,7 +73,7 @@ if(MSVC) ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4592) # symbol will be dynamically initialized (implementation limitation) endif() else() diff --git a/src/opencv.mk b/src/opencv.mk index f301937324..a7541764c8 100644 --- a/src/opencv.mk +++ b/src/opencv.mk @@ -4,8 +4,8 @@ PKG := opencv $(PKG)_WEBSITE := https://opencv.org/ $(PKG)_DESCR := OpenCV $(PKG)_IGNORE := -$(PKG)_VERSION := 4.6.0 -$(PKG)_CHECKSUM := 1ec1cba65f9f20fe5a41fda1586e01c70ea0c9a6d7b67c9e13edf0cfe2239277 +$(PKG)_VERSION := 4.13.0 +$(PKG)_CHECKSUM := 1d40ca017ea51c533cf9fd5cbde5b5fe7ae248291ddf2af99d4c17cf8e13017d $(PKG)_GH_CONF := opencv/opencv/releases $(PKG)_DEPS := cc libjpeg-turbo From 873a2215146d30feec8599058625e13f7302be47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sun, 17 May 2026 19:36:51 +0200 Subject: [PATCH 52/53] create config for USDX --- build.sh | 2 + makeconfig.sh | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 207 insertions(+) create mode 100755 makeconfig.sh diff --git a/build.sh b/build.sh index 5d30099f1b..77f313f26c 100755 --- a/build.sh +++ b/build.sh @@ -70,3 +70,5 @@ for dll in "$MXE/usr/$TARGET/bin"/opencv_*.dll "$MXE/usr/$TARGET/bin"/libopencv_ base=$(basename "$dll" .dll) add_dll "$dll" "$base" done + +$MXE/makeconfig.sh $MXE $TARGET > $DLL_DIR/config-win.inc diff --git a/makeconfig.sh b/makeconfig.sh new file mode 100755 index 0000000000..5ef69b9326 --- /dev/null +++ b/makeconfig.sh @@ -0,0 +1,205 @@ +#!/bin/bash +MXE=${1:-.} +TARGET=${2:-x86_64-w64-mingw32.shared} +CC=$MXE/usr/bin/$TARGET-gcc +NM=$MXE/usr/bin/$TARGET-nm +OBJCOPY=$MXE/usr/bin/$TARGET-objcopy +DLLTOOL=$MXE/usr/bin/$TARGET-dlltool +PKGCONFIG=$MXE/usr/bin/$TARGET-pkg-config + +get_dll() +{ + symbol="$1" + shift + for lib ; do + for implib in $lib.dll.a $lib.a ; do + for dir in $MXE/usr/lib/gcc/$TARGET/*/ $MXE/usr/$TARGET/lib/ ; do + if [ -e $dir/$implib ] ; then + if $NM -C -g --defined-only $dir/$implib | grep -q " $symbol$" ; then + if $DLLTOOL --identify-strict -I $dir/$implib ; then + return + fi + fi + fi + done + done + done +} + +pkg_libs() +{ + set -- `$PKGCONFIG --libs "$@"` + for arg ; do + case "$arg" in + -l*) echo lib${arg#-l} + esac + done +} + +pkg_version() +{ + ver=`$PKGCONFIG --modversion $1` + eval "$2=$ver" + ver=$ver.0.0 + i=0 + for part in MAJOR MINOR RELEASE ; do + v=${ver%%.*} + ver=${ver#*.} + i=$((i*1000+v)) + eval "${2}_$part=$v" + done + eval "${2}_INT=$i" +} + +get_c_bool() +{ + exp="$1" + shift + file=/tmp/conftest-$$.c + while [ $# -gt 0 ] ; do + if [ "$1" == -- ] ; then + shift + break; + fi + echo "$1" + shift + done > $file + echo "struct x {unsigned a:($exp)?1:-1;};" >> $file + $CC "$@" -S -o - $file >/dev/null 2>/dev/null + ret=$? + rm -f $file + return $ret +} + +get_c_uinteger() +{ + num="$1" + shift + cur=0 + bit=1 + while get_c_bool "($num) > ${cur}UL" "$@"; do + while ! get_c_bool "($num) & ${bit}UL" "$@"; do + bit=$((bit*2)) + done + cur=$((cur+bit)) + bit=$((bit*2)) + done + echo $cur +} + +LUA_LIB_NAME=$(get_dll luaL_newstate $(pkg_libs lua)) +pkg_version lua LUA_VERSION + +av__codec=$(get_dll avcodec_version $(pkg_libs libavcodec)) +pkg_version libavcodec LIBAVCODEC_VERSION + +av__format=$(get_dll avformat_version $(pkg_libs libavformat)) +pkg_version libavformat LIBAVFORMAT_VERSION + +av__util=$(get_dll avutil_version $(pkg_libs libavutil)) +pkg_version libavutil LIBAVUTIL_VERSION + +sw__resample=$(get_dll swr_convert $(pkg_libs libswresample)) +pkg_version libswresample LIBSWRESAMPLE_VERSION + +sw__scale=$(get_dll sws_scale $(pkg_libs libswscale)) +pkg_version libswscale LIBSWSCALE_VERSION + +pkg_version libprojectM PROJECTM_VERSION +pkg_version portaudio-2.0 PORTAUDIO_VERSION + +# Works for all FFmpeg version supported by current USDX +FFMPEG_DIR="ffmpeg-$(($LIBAVUTIL_VERSION_MAJOR-52)).0" + +LUA_INTEGER_BYTES=$(get_c_uinteger "sizeof(lua_Integer)" "#include " -- $($PKGCONFIG --cflags lua)) +LUA_INTEGER_BITS=$(($LUA_INTEGER_BYTES*8)) + +cat < Date: Sun, 17 May 2026 21:46:05 +0200 Subject: [PATCH 53/53] build.sh: no need to rename the lua dll since we write the correct name into config-win.inc --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 77f313f26c..f1354e40e9 100755 --- a/build.sh +++ b/build.sh @@ -58,7 +58,7 @@ add_dll() { fi ) } -for i in avcodec-62 avformat-62 avutil-60 swresample-6 swscale-9 libdav1d libjpeg-8 libpng16-16 libtiff-6 libwebp-7 libsharpyuv-0 SDL2 SDL2_image zlib1 lua54:lua libsqlite3-0:sqlite3 libfreetype-6 libportaudio-2:$PORTAUDIO_NAME libbz2 libdl libgcc_s_seh-1 libstdc++-6 libwinpthread-1; do +for i in avcodec-62 avformat-62 avutil-60 swresample-6 swscale-9 libdav1d libjpeg-8 libpng16-16 libtiff-6 libwebp-7 libsharpyuv-0 SDL2 SDL2_image zlib1 lua54 libsqlite3-0:sqlite3 libfreetype-6 libportaudio-2:$PORTAUDIO_NAME libbz2 libdl libgcc_s_seh-1 libstdc++-6 libwinpthread-1; do j=${i##*:} i=${i%%:*} DLL_PATH="$MXE/usr/$TARGET/bin/$i.dll"