Skip to content

Commit b8b0dd5

Browse files
committed
chore: update other libraries
Signed-off-by: Luca Foppiano <luca@foppiano.org>
1 parent 63cbb77 commit b8b0dd5

3 files changed

Lines changed: 21 additions & 13 deletions

File tree

.github/workflows/ci-build-libs.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ on:
1313
- master
1414

1515
env:
16-
LIBXML2_VERSION: 2.13.6
17-
FREETYPE2_VERSION: 2.13.3
16+
LIBXML2_VERSION: 2.15.2
17+
FREETYPE2_VERSION: 2.14.2
1818
LIBPNG16_VERSION: 1.6.56
1919
ZLIB_VERSION: 1.3.2
20+
# ICU_VERSION holds the full git tag (not just a semver), because the
21+
# upstream tag naming convention uses a dash for 76.x/77.x (release-76-1)
22+
# but a dot for 78.x (release-78.3). Treating it as an opaque tag string
23+
# keeps this robust across the naming-convention change.
24+
ICU_VERSION: release-78.3
2025

2126
jobs:
2227
build-libxml2:
@@ -291,7 +296,7 @@ jobs:
291296
- name: Download source
292297
run: |
293298
cd libs/icu
294-
wget -O source.tar.gz https://github.com/unicode-org/icu/archive/refs/tags/release-76-1.tar.gz
299+
wget -O source.tar.gz https://github.com/unicode-org/icu/archive/refs/tags/${{ env.ICU_VERSION }}.tar.gz
295300
tar -zxf source.tar.gz
296301
mv icu-release-* src
297302

Dependencies_INSTALL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ each [build](https://github.com/kermitt2/pdfalto/actions) under [Manual build st
1515

1616
- LibPNG: 1.6.56
1717
- zLib: 1.3.2
18-
- libxml2: 2.13.6
19-
- freetype: 2.13.3
20-
- ICU: 76-1
18+
- libxml2: 2.15.2
19+
- freetype: 2.14.2
20+
- ICU: 78.3
2121

2222
## LibPNG & zLib
2323

@@ -56,7 +56,7 @@ LibPNG and zLib sources are downloaded and built as part of the dependency build
5656

5757
## libxml2
5858

59-
1. Download the source from https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.13.6/libxml2-v2.13.6.tar.gz and unpack it.
59+
1. Download the source from https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.15.2/libxml2-v2.15.2.tar.gz and unpack it.
6060

6161
2. Access the directory and build:
6262

@@ -72,7 +72,7 @@ LibPNG and zLib sources are downloaded and built as part of the dependency build
7272

7373
## Freetype
7474

75-
1. Download the source from https://sourceforge.net/projects/freetype/files/freetype2/2.13.3/ and unpack it.
75+
1. Download the source from https://sourceforge.net/projects/freetype/files/freetype2/2.14.2/ and unpack it.
7676
2. Access the directory then build:
7777
```shell
7878
mkdir -p build/output
@@ -93,8 +93,8 @@ LibPNG and zLib sources are downloaded and built as part of the dependency build
9393

9494
## ICU
9595

96-
1. Download the sources (tested with version 76-1)
97-
from https://github.com/unicode-org/icu/archive/refs/tags/release-76-1.tar.gz
96+
1. Download the sources (tested with version 78.3)
97+
from https://github.com/unicode-org/icu/archive/refs/tags/release-78.3.tar.gz
9898

9999
2. Decompress the archive file. For example,
100100
```shell

install_deps.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,19 @@ fi
1717

1818
DEP_INSTALL_DIR=install
1919

20-
LIBXML2_VERSION=2.13.6
21-
FREETYPE2_VERSION=2.13.3
20+
LIBXML2_VERSION=2.15.2
21+
FREETYPE2_VERSION=2.14.2
2222
LIBPNG16_VERSION=1.6.56
2323
ZLIB_VERSION=1.3.2
24+
# ICU_VERSION is the full git tag (not just a semver) — upstream uses a dash
25+
# for 76.x/77.x (release-76-1) but a dot for 78.x (release-78.3).
26+
ICU_VERSION=release-78.3
2427

2528
LIBXML_URI="https://gitlab.gnome.org/GNOME/libxml2/-/archive/v${LIBXML2_VERSION}/libxml2-v${LIBXML2_VERSION}.tar.gz"
2629
FREETYPE_URI="https://sourceforge.net/projects/freetype/files/freetype2/${FREETYPE2_VERSION}/freetype-${FREETYPE2_VERSION}.tar.gz/download"
2730
LIBPNG_URI="https://sourceforge.net/projects/libpng/files/libpng16/${LIBPNG16_VERSION}/libpng-${LIBPNG16_VERSION}.tar.gz/download"
2831
ZLIB_URI="https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz"
29-
ICU_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-76-1.tar.gz"
32+
ICU_URI="https://github.com/unicode-org/icu/archive/refs/tags/${ICU_VERSION}.tar.gz"
3033

3134
ICU_FILENAME=$(basename "${ICU_URI}")
3235
ICU_DIR_NAME=icu

0 commit comments

Comments
 (0)