From 65e2484626b6789d80c6ca57aeb5797ee618c07f Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 6 Aug 2026 23:42:56 +0200 Subject: .fmsbw/10-freebsd14-msys-sciteco: fixed bundling DLLs quasi-msys2 apparently overwrites python3 with a win32 version. This no longer works without installing a 32-bit Wine version. Instead, I now force it to run with the native FreeBSD python3. --- .fmsbw/10-freebsd14-msys-sciteco | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.fmsbw/10-freebsd14-msys-sciteco b/.fmsbw/10-freebsd14-msys-sciteco index b7c9328..f3deeef 100755 --- a/.fmsbw/10-freebsd14-msys-sciteco +++ b/.fmsbw/10-freebsd14-msys-sciteco @@ -103,7 +103,9 @@ cp -r /mingw64/share/doc/sciteco/* ./ cp ../COPYING ../ChangeLog ./ cp /mingw64/bin/gspawn-win64-helper*.exe ./ # Collect DLLs for all included binaries -for f in *.exe; do ../contrib/mingw-bundledlls --copy $f; done +for f in *.exe; do + /usr/local/bin/python3 ../contrib/mingw-bundledlls --copy $f +done zip -9 -r ../sciteco-pdcurses_nightly_win64.zip . cd .. @@ -137,7 +139,9 @@ cp -r /mingw64/share/doc/sciteco/* ./ cp ../COPYING ../ChangeLog ./ cp /mingw64/bin/gspawn-win64-helper*.exe ./ # Collect DLLs for all included binaries -for f in *.exe; do ../contrib/mingw-bundledlls --copy $f; done +for f in *.exe; do + /usr/local/bin/python3 ../contrib/mingw-bundledlls --copy $f +done #mkdir share #cp /mingw64/share/loader.cache share/ #glib-compile-schemas /mingw64/share/glib-2.0/schemas @@ -155,7 +159,9 @@ wine64 /mingw64/bin/gtk-update-icon-cache-3.0.exe share/icons/Adwaita/ # This is important when somebody changes $SCITECOPATH. cp /mingw64/lib/gdk-pixbuf-2.0/2.10.0/loaders/{pixbufloader_svg.dll,libpixbufloader-png.dll} . # Collect DLLs for all pixbuf loaders into the root directory -for f in *pixbufloader*.dll; do ../contrib/mingw-bundledlls --copy $f; done +for f in *pixbufloader*.dll; do + /usr/local/bin/python3 ../contrib/mingw-bundledlls --copy $f +done mkdir -p lib/gdk-pixbuf-2.0/2.10.0/loaders/ mv *pixbufloader*.dll lib/gdk-pixbuf-2.0/2.10.0/loaders/ cp ../win32/loaders.cache lib/gdk-pixbuf-2.0/2.10.0/ -- cgit v1.2.3