Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 2dac23e

Browse files
authored
Merge pull request #362 from radarhere/libxdmcp
2 parents d51893c + 76bd0ab commit 2dac23e

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11

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

1011
if [[ "$PLAT" == "arm64" ]]; then
1112
export MACOSX_DEPLOYMENT_TARGET="11.0"

config.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
ARCHIVE_SDIR=pillow-depends-main
55

66
# Package versions for fresh source builds
7-
if [[ -n "$IS_MACOS" ]] && [[ $MACOSX_DEPLOYMENT_TARGET == "10.10" ]]; then
8-
LIBXAU_VERSION=1.0.10
9-
else
10-
LIBXAU_VERSION=1.0.11
11-
fi
127
FREETYPE_VERSION=2.12.1
138
HARFBUZZ_VERSION=6.0.0
149
LIBPNG_VERSION=1.6.39
@@ -75,7 +70,7 @@ function pre_build {
7570
build_simple xcb-proto 1.15.2 https://xcb.freedesktop.org/dist
7671
if [ -n "$IS_MACOS" ]; then
7772
build_simple xorgproto 2022.2 https://www.x.org/pub/individual/proto
78-
build_simple libXau $LIBXAU_VERSION https://www.x.org/pub/individual/lib
73+
build_simple libXau 1.0.11 https://www.x.org/pub/individual/lib
7974
build_simple libpthread-stubs 0.4 https://xcb.freedesktop.org/dist
8075
cp venv/share/pkgconfig/xcb-proto.pc venv/lib/pkgconfig/xcb-proto.pc
8176
else

0 commit comments

Comments
 (0)