Build with poppler 23.10 instead of .12 to maybe prevent segfault in CI

This commit is contained in:
itsjunetime
2024-11-20 09:05:17 -07:00
parent 5465724062
commit cd0356a25b
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -29,9 +29,9 @@ jobs:
sudo apt-get install -y cmake libjpeg-dev libfontconfig1-dev libopenjp2-7-dev libglib2.0-dev libnss3-dev libunwind-dev libgoogle-perftools-dev
- name: Build newer poppler
run: |
wget https://poppler.freedesktop.org/poppler-23.12.0.tar.xz
tar xf poppler-23.12.0.tar.xz
cd poppler-23.12.0
wget https://poppler.freedesktop.org/poppler-23.10.0.tar.xz
tar xf poppler-23.10.0.tar.xz
cd poppler-23.10.0
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
+1 -1
View File
@@ -20,7 +20,7 @@ name = "tdf"
name = "tdf"
[dependencies]
poppler-rs = { version = "0.24.1", default-features = false, features = ["v23_7"] }
poppler-rs = { version = "0.24.1", default-features = false, features = ["v23_8"] }
cairo-rs = { version = "0.20.0", default-features = false, features = ["png"] }
# we're using this branch because it has significant performance fixes that I'm waiting on responses from the upstream devs to get upstreamed. See https://github.com/ratatui-org/ratatui/issues/1116
ratatui = { git = "https://github.com/itsjunetime/ratatui.git" }