diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-08-06 23:42:56 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-08-07 00:15:50 +0200 |
| commit | 65e2484626b6789d80c6ca57aeb5797ee618c07f (patch) | |
| tree | 93bf8dd97c81c56a4807a09d997423f8d81a86ac | |
| parent | 8dcbfc4ed13401a2ee7578fa18fe9215091ff763 (diff) | |
.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.
| -rwxr-xr-x | .fmsbw/10-freebsd14-msys-sciteco | 12 |
1 files 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/ |
