From f2840329f33128a43dfbcd24f06c3fdee18ae5ad Mon Sep 17 00:00:00 2001 From: Dino Maric Date: Sat, 15 Aug 2026 17:51:10 +0200 Subject: [PATCH] Bump PlutoBook from v0.18.0 to v0.19.0 Vendored native gems and CI now build against PlutoBook v0.19.0. The C API is unchanged, so the Ruby extension did not need updates. This picks up security fixes, tighter CSS parsing, table `nowrap` support, and drops PlutoBook's icu-i18n link. We still need icu-uc, so ICU stays in the build dependency list. https://github.com/plutoprint/plutobook/releases/tag/v0.19.0 --- .github/workflows/ci.yml | 12 ++++++------ README.md | 2 +- rakelib/package_darwin.rake | 2 +- rakelib/package_linux.rake | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4cfc7e..e83db2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,14 +37,14 @@ jobs: id: plutobook-cache with: path: tmp/plutobook-ci-install - key: plutobook-v0.18.0-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }} + key: plutobook-v0.19.0-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }} restore-keys: | - plutobook-v0.18.0-${{ runner.os }}- + plutobook-v0.19.0-${{ runner.os }}- - name: Build PlutoBook if: steps.plutobook-cache.outputs.cache-hit != 'true' run: | - git clone --depth 1 --branch v0.18.0 https://github.com/plutoprint/plutobook.git tmp/plutobook-ci-src + git clone --depth 1 --branch v0.19.0 https://github.com/plutoprint/plutobook.git tmp/plutobook-ci-src meson setup tmp/plutobook-ci-build tmp/plutobook-ci-src \ --prefix="$PWD/tmp/plutobook-ci-install" \ --libdir=lib \ @@ -130,14 +130,14 @@ jobs: id: plutobook-cache-macos with: path: tmp/plutobook-ci-install - key: plutobook-v0.18.0-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }} + key: plutobook-v0.19.0-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }} restore-keys: | - plutobook-v0.18.0-${{ runner.os }}- + plutobook-v0.19.0-${{ runner.os }}- - name: Build PlutoBook if: steps.plutobook-cache-macos.outputs.cache-hit != 'true' run: | - git clone --depth 1 --branch v0.18.0 https://github.com/plutoprint/plutobook.git tmp/plutobook-ci-src + git clone --depth 1 --branch v0.19.0 https://github.com/plutoprint/plutobook.git tmp/plutobook-ci-src meson setup tmp/plutobook-ci-build tmp/plutobook-ci-src \ --prefix="$PWD/tmp/plutobook-ci-install" \ --libdir=lib \ diff --git a/README.md b/README.md index 2d6fd3c..f7a12ef 100644 --- a/README.md +++ b/README.md @@ -277,7 +277,7 @@ Build an Apple Silicon macOS platform gem with a vendored PlutoBook library: bundle exec rake package:darwin_arm64 ``` -These tasks check out PlutoBook `v0.18.0`, build it into `lib/page_print/vendor/`, and write a platform gem to `pkg/`. Platform gems compile the Ruby extension during gem install to avoid tying the gem to the build machine's Ruby version. +These tasks check out PlutoBook `v0.19.0`, build it into `lib/page_print/vendor/`, and write a platform gem to `pkg/`. Platform gems compile the Ruby extension during gem install to avoid tying the gem to the build machine's Ruby version. Native gems bundle PlutoBook and its non-system shared library dependencies. Optional PlutoBook features for curl, TurboJPEG, and WebP are disabled to keep the bundled dependency set smaller. diff --git a/rakelib/package_darwin.rake b/rakelib/package_darwin.rake index 47770fe..abf7b2b 100644 --- a/rakelib/package_darwin.rake +++ b/rakelib/package_darwin.rake @@ -3,7 +3,7 @@ require "bundler" require "rbconfig" require "shellwords" -PAGE_PRINT_PLUTOBOOK_VERSION = "v0.18.0" unless defined?(PAGE_PRINT_PLUTOBOOK_VERSION) +PAGE_PRINT_PLUTOBOOK_VERSION = "v0.19.0" unless defined?(PAGE_PRINT_PLUTOBOOK_VERSION) PAGE_PRINT_DARWIN_PLATFORM = "arm64-darwin" PAGE_PRINT_DARWIN_SYSTEM_PREFIXES = [ "/System/Library/", diff --git a/rakelib/package_linux.rake b/rakelib/package_linux.rake index 2711ef9..c86385b 100644 --- a/rakelib/package_linux.rake +++ b/rakelib/package_linux.rake @@ -4,7 +4,7 @@ require "rbconfig" require "rubygems/package_task" require "shellwords" -PAGE_PRINT_PLUTOBOOK_VERSION = "v0.18.0" unless defined?(PAGE_PRINT_PLUTOBOOK_VERSION) +PAGE_PRINT_PLUTOBOOK_VERSION = "v0.19.0" unless defined?(PAGE_PRINT_PLUTOBOOK_VERSION) PAGE_PRINT_LINUX_PLATFORM = "x86_64-linux" PAGE_PRINT_LINUX_SYSTEM_LIBRARIES = %w[ ld-linux