Skip to content

Commit 342a4d9

Browse files
authored
wheel-build: pango disable xft backend by default (#74)
* wheel-build: Disable xft backend by default It's useless for us. Fixes #73 * CI: use a old version of mac to test It should detect issues like #73 * wheel-build: pin meson version * wheels-build: disable xlib backend on cairo also
2 parents 8e23a38 + 1628305 commit 342a4d9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
strategy:
8686
fail-fast: false
8787
matrix:
88-
os: [macos-latest, windows-2019]
88+
os: [macos-10.15, windows-2019]
8989
architecture: [x86, x64]
9090
python-version: ['3.7', '3.8', '3.9', '3.10']
9191
include:
@@ -95,11 +95,11 @@ jobs:
9595
- os: windows-2019
9696
architecture: x86
9797
platform_id: win32
98-
- os: macos-latest
98+
- os: macos-10.15
9999
architecture: x64
100100
platform_id: macosx_x86_64
101101
exclude:
102-
- os: macos-latest
102+
- os: macos-10.15
103103
architecture: x86
104104
steps:
105105
- uses: actions/checkout@v2

packing/build_pango_mac.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,18 @@ export PATH="$PATH:$PREFIX/bin"
4949

5050
echo "::group::Install Meson"
5151
echo "Installing Meson and Ninja"
52-
pip3 install -U meson ninja
52+
pip3 install -U meson==0.60.3 ninja
5353
echo "::endgroup::"
5454

5555
echo "::group::Removing the things from brew"
5656
brew uninstall --ignore-dependencies brotli
5757
brew uninstall --ignore-dependencies pcre
5858
brew uninstall --ignore-dependencies libpng
5959
brew uninstall --ignore-dependencies freetype
60+
brew uninstall --ignore-dependencies libxdmcp
61+
brew uninstall --ignore-dependencies libxcb
62+
brew uninstall --ignore-dependencies xorgproto
63+
brew uninstall --ignore-dependencies libxau
6064
echo "::endgroup::"
6165

6266
export CFLAGS=" -w" # warning are just noise. Ignore it.
@@ -104,6 +108,7 @@ meson setup \
104108
-Dfontconfig=enabled \
105109
-Dfreetype=enabled \
106110
-Dtests=disabled \
111+
-Dxlib=disabled \
107112
--force-fallback-for=expat,libpng,pixman \
108113
--default-library=shared \
109114
cairo_builddir cairo
@@ -135,6 +140,7 @@ meson setup \
135140
--prefix=$PREFIX \
136141
--buildtype=release \
137142
-Dintrospection=disabled \
143+
-Dxft=disabled \
138144
--default-library=shared \
139145
pango_builddir pango
140146
meson compile -C pango_builddir

0 commit comments

Comments
 (0)