Skip to content

Commit

Permalink
Merge pull request python-pillow#362 from radarhere/libxdmcp
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jan 16, 2023
2 parents d51893c + 76bd0ab commit 2dac23e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# webp, zstd, xz, libtiff, libxcb cause a conflict with building webp, libtiff, libxcb
# libxdmcp causes an issue on macOS < 11
# curl from brew requires zstd, use system curl
# if php is installed, brew tries to reinstall these after installing openblas
# remove lcms2 to fix building openjpeg on arm64
# remove xmlto to skip building giflib docs
brew remove --ignore-dependencies webp zstd xz libtiff libxcb curl php lcms2 xmlto ghostscript
brew remove --ignore-dependencies webp zstd xz libtiff libxcb libxdmcp curl php lcms2 xmlto ghostscript

if [[ "$PLAT" == "arm64" ]]; then
export MACOSX_DEPLOYMENT_TARGET="11.0"
Expand Down
7 changes: 1 addition & 6 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
ARCHIVE_SDIR=pillow-depends-main

# Package versions for fresh source builds
if [[ -n "$IS_MACOS" ]] && [[ $MACOSX_DEPLOYMENT_TARGET == "10.10" ]]; then
LIBXAU_VERSION=1.0.10
else
LIBXAU_VERSION=1.0.11
fi
FREETYPE_VERSION=2.12.1
HARFBUZZ_VERSION=6.0.0
LIBPNG_VERSION=1.6.39
Expand Down Expand Up @@ -75,7 +70,7 @@ function pre_build {
build_simple xcb-proto 1.15.2 https://xcb.freedesktop.org/dist
if [ -n "$IS_MACOS" ]; then
build_simple xorgproto 2022.2 https://www.x.org/pub/individual/proto
build_simple libXau $LIBXAU_VERSION https://www.x.org/pub/individual/lib
build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib
build_simple libpthread-stubs 0.4 https://xcb.freedesktop.org/dist
cp venv/share/pkgconfig/xcb-proto.pc venv/lib/pkgconfig/xcb-proto.pc
else
Expand Down

0 comments on commit 2dac23e

Please sign in to comment.