Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
- Add a dependency on mingw-w64-x86_64-pkg-config since the installer
  script depends on it.

- Fix libraw package build by removing an export to a directory
  that does not exist.

- Remove distutils from list of directories to copy in python zip
  since distutils was removed in python 3.12

- Add zipfile module to python zip since get-pip requires it now.
  • Loading branch information
acolwell committed Nov 28, 2024
1 parent de45046 commit 06e665b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/MINGW-packages/mingw-w64-libraw-gpl2/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ prepare() {
patch -Np1 -i "${srcdir}/LibRaw_wsock32.patch"
patch -Np1 -i "${srcdir}/LibRaw_obsolete-macros.patch"

export ACLOCAL_PATH="/msys64/usr/share/aclocal/"
#export ACLOCAL_PATH="/msys64/usr/share/aclocal/"
autoreconf -ifv
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ depends=(
"unzip"
"${MINGW_PACKAGE_PREFIX}-firebird"
"${MINGW_PACKAGE_PREFIX}-breakpad-git"
"${MINGW_PACKAGE_PREFIX}-pkgconf"
"${MINGW_PACKAGE_PREFIX}-python-sphinx"
"${MINGW_PACKAGE_PREFIX}-python-sphinx_rtd_theme"
"${MINGW_PACKAGE_PREFIX}-natron-setup"
Expand Down
2 changes: 1 addition & 1 deletion tools/MINGW-packages/windows_pacman_repo_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240717-1
20241126-1
2 changes: 1 addition & 1 deletion tools/jenkins/zip-python-mingw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ concurrent
ctypes
curses
dbm
distutils
email
encodings
html
Expand All @@ -43,6 +42,7 @@ urllib
wsgiref
xml
xmlrpc
zipfile
zoneinfo
"

Expand Down

0 comments on commit 06e665b

Please sign in to comment.