Skip to content

Commit 1a27f95

Browse files
committed
Updated brotli to 1.2.0
1 parent e36e670 commit 1a27f95

File tree

6 files changed

+7
-71
lines changed

6 files changed

+7
-71
lines changed

.github/workflows/wheels-dependencies.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ if [[ "$CIBW_PLATFORM" == "ios" ]]; then
3232
# or `build/deps/iphonesimulator`
3333
WORKDIR=$(pwd)/build/$IOS_SDK
3434
BUILD_PREFIX=$(pwd)/build/deps/$IOS_SDK
35-
PATCH_DIR=$(pwd)/patches/iOS
3635

3736
# GNU tooling insists on using aarch64 rather than arm64
3837
if [[ $PLAT == "arm64" ]]; then
@@ -90,9 +89,7 @@ fi
9089

9190
ARCHIVE_SDIR=pillow-depends-main
9291

93-
# Package versions for fresh source builds. Version numbers with "Patched"
94-
# annotations have a source code patch that is required for some platforms. If
95-
# you change those versions, ensure the patch is also updated.
92+
# Package versions for fresh source builds.
9693
if [[ -n "$IOS_SDK" ]]; then
9794
FREETYPE_VERSION=2.13.3
9895
else
@@ -110,7 +107,7 @@ ZLIB_NG_VERSION=2.2.5
110107
LIBWEBP_VERSION=1.6.0
111108
BZIP2_VERSION=1.0.8
112109
LIBXCB_VERSION=1.17.0
113-
BROTLI_VERSION=1.1.0 # Patched; next release won't need patching. See patch file.
110+
BROTLI_VERSION=1.2.0
114111
LIBAVIF_VERSION=1.3.0
115112

116113
function build_pkg_config {
@@ -168,7 +165,7 @@ function build_brotli {
168165
if [ -e brotli-stamp ]; then return; fi
169166
local out_dir=$(fetch_unpack https://github.com/google/brotli/archive/v$BROTLI_VERSION.tar.gz brotli-$BROTLI_VERSION.tar.gz)
170167
(cd $out_dir \
171-
&& cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_LIBDIR=$BUILD_PREFIX/lib -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib $HOST_CMAKE_FLAGS . \
168+
&& cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_LIBDIR=$BUILD_PREFIX/lib -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib -DCMAKE_MACOSX_BUNDLE=OFF $HOST_CMAKE_FLAGS . \
172169
&& make -j4 install)
173170
touch brotli-stamp
174171
}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
rev: v1.5.5
2222
hooks:
2323
- id: remove-tabs
24-
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$|\.patch$)
24+
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$)
2525

2626
- repo: https://github.com/pre-commit/mirrors-clang-format
2727
rev: v21.1.2
@@ -46,9 +46,9 @@ repos:
4646
- id: check-yaml
4747
args: [--allow-multiple-documents]
4848
- id: end-of-file-fixer
49-
exclude: ^Tests/images/|\.patch$
49+
exclude: ^Tests/images/
5050
- id: trailing-whitespace
51-
exclude: ^.github/.*TEMPLATE|^Tests/(fonts|images)/|\.patch$
51+
exclude: ^.github/.*TEMPLATE|^Tests/(fonts|images)/
5252

5353
- repo: https://github.com/python-jsonschema/check-jsonschema
5454
rev: 0.34.0

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ include tox.ini
1515
graft Tests
1616
graft Tests/images
1717
graft checks
18-
graft patches
1918
graft src
2019
graft depends
2120
graft winbuild

patches/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

patches/iOS/brotli-1.1.0.tar.gz.patch

Lines changed: 0 additions & 46 deletions
This file was deleted.

winbuild/build_prepare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def cmd_msbuild(
113113
}
114114

115115
V = {
116-
"BROTLI": "1.1.0",
116+
"BROTLI": "1.2.0",
117117
"FREETYPE": "2.14.1",
118118
"FRIBIDI": "1.0.16",
119119
"HARFBUZZ": "12.1.0",

0 commit comments

Comments
 (0)