| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
1) it is hardcoded to 32-bit C:\msys64\mingw32 2) current library version uses \mingw64\include\libimagequant.h directly
| mingw-w64-x86_64-libjpeg-turbo \ | ||
| mingw-w64-x86_64-zlib \ | ||
| mingw-w64-x86_64-libtiff \ | ||
| mingw-w64-x86_64-freetype \ | ||
| mingw-w64-x86_64-lcms2 \ | ||
| mingw-w64-x86_64-libwebp \ | ||
| mingw-w64-x86_64-openjpeg2 \ | ||
| mingw-w64-x86_64-libimagequant \ | ||
| mingw-w64-x86_64-libraqm |
There was a problem hiding this comment.
| mingw-w64-x86_64-libjpeg-turbo \ | |
| mingw-w64-x86_64-zlib \ | |
| mingw-w64-x86_64-libtiff \ | |
| mingw-w64-x86_64-freetype \ | |
| mingw-w64-x86_64-lcms2 \ | |
| mingw-w64-x86_64-libwebp \ | |
| mingw-w64-x86_64-openjpeg2 \ | |
| mingw-w64-x86_64-libimagequant \ | |
| mingw-w64-x86_64-libraqm | |
| mingw-w64-x86_64-freetype \ | |
| mingw-w64-x86_64-lcms2 \ | |
| mingw-w64-x86_64-libimagequant \ | |
| mingw-w64-x86_64-libjpeg-turbo \ | |
| mingw-w64-x86_64-libraqm | |
| mingw-w64-x86_64-libtiff \ | |
| mingw-w64-x86_64-libwebp \ | |
| mingw-w64-x86_64-openjpeg2 \ | |
| mingw-w64-x86_64-zlib \ |
Sorted
Sorry, something went wrong.
There was a problem hiding this comment.
The order is the same as in the External Libraries section above. I think it is more helpful to follow that order for easier cross-referencing if someone doesn't want a full install.
Sorry, something went wrong.
|
You could use https://github.com/marketplace/actions/setup-msys2 |
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
Backports from python-pillow/Pillow#4890 Fixes msys2#7136
Backports from python-pillow/Pillow#4890 Fixes #7136 Source: msys2/MINGW-packages@3f33941
| Back | FazBrowse Home | New Git URL |
Changes proposed in this pull request:
Remove old include directory C:\\msys64\\mingw32\\include\\libimagequant.
It uses a hardcoded path to MSYS2, it is hardcoded to 32-bit, and it is no longer necessary, as the include is now in C:\\msys64\\mingw32\\include\\libimagequant.h.
Remove GCC workaround for MSYS, see Replace distutils #4796 (comment)
Fix LibTiff support. The issue is that MSYS2 builds LibTiff with USE_WIN32_FILEIO, which changes the meaning of the fd parameter for TIFFFdOpen, see OSError: -2 when decoding a tiff_lzw file #4237 (comment). I've added a workaround by converting the parameter before passing it to LibTiff if building on MinGW.
It might be possible to detect the system version of LibTiff by including the tif_config.h header to fix OSError: -2 when decoding a tiff_lzw file #4237 (by enabling the workaround if USE_WIN32_FILEIO was enabled), but it appears to be a private header (while it is available in MSYS2, it is not available in Ubuntu). See also passing build using CMake on Windows from my branch nulano/Pillow@mingw-setup...nulano:tiff-test.
Another possible fix would involve absorbing TIFFFdOpen from tif_unix.c into Pillow to avoid this issue by using the stable TiffClientOpen.
Document installation on MSYS2