Skip to content

build(engines): bump pandoc, 7zip, calibre, h2orestart, exiftool - #2109

Open
adnan-bhaldar wants to merge 7 commits into
KnifeLemon:mainfrom
adnan-bhaldar:chore/bump-engines-december-2026
Open

adnan-bhaldar wants to merge 7 commits into
KnifeLemon:mainfrom
adnan-bhaldar:chore/bump-engines-december-2026

Conversation

@adnan-bhaldar

@adnan-bhaldar adnan-bhaldar commented Dec 6, 2026 •

Copy link
Copy Markdown
Collaborator

Tip

Start the title with a prefix so the PR is labeled automatically: feat: fix: docs: ci: build: i18n:
Example: fix(hwp): keep tables when converting to DOCX

Note

Please write the title and description in English so reviewers and future contributors can follow the change. Code comments are in English too (see CONTRIBUTING.md).

What does this change?

Updates the pinned downloadable conversion engines in engines.json to newer releases. For every changed component, version, url, sha256 and size were changed together, and every platform block that shares a component was updated consistently. Also updates the Windows ARM64 7-Zip pin in build/fetch-engines.ps1 to match, and the exiftool version asserted in EngineInstallerTests.

Component Old New Platforms
pandoc 3.13 3.14 Windows, Linux x64/arm64, macOS x64/arm64
7zip 26.05 (macOS: 25.01) 26.06 Windows, Windows ARM64, Linux x64/arm64, macOS x64/arm64
calibre 9.17.0 9.20.0 Windows, Linux x64/arm64, macOS x64/arm64
h2orestart 0.8.0 0.8.1 Windows
exiftool 13.60 13.65 Windows, Linux x64/arm64, macOS x64/arm64

Not changed: rhwp (see below), jre, libreoffice, ghostscript, vcruntime, vcomp14, ffmpeg, weasyprint, tesseract, whisper, whisper-model, upscayl-bin.

rhwp 0.9.1 was tried and reverted
This PR first bumped rhwp 0.8.7 -> 0.9.1 (engines.json, RHWP_VERSION and RHWP_COMMIT in build/build-native.py, and THIRD-PARTY-NOTICES.md). That passed build-native.py check, but CI then failed in build/fetch-engines.ps1:

build/fetch-engines.ps1 pins rhwp 0.8.7 for win-arm64, but the x64 build uses 0.9.1.

rhwp has no Windows ARM64 release. Filee builds it in CI ("Windows ARM64 native" workflow) and hosts it on dl.filee.sh, so the ARM64 pin needs a new build uploaded to the mirror by a maintainer. I can't do that from a fork, so the last commit reverts rhwp to 0.8.7 everywhere (engines.json, build-native.py, THIRD-PARTY-NOTICES.md) to keep this PR passing. The rhwp bump can follow as a separate PR once the ARM64 build is rebuilt and uploaded.

I checked the rhwp 0.9.1 values for that follow-up: the tag v0.9.1 points to commit 981ce66b4183b13c1a3b5907e04a8969c8c42034, and its rust-toolchain.toml is still Rust 1.93.1, the same as 0.8.7.

Notes for reviewers

  • exiftool: SourceForge's /download URL returns a ~139 KB HTML redirect page to clients that don't follow the mirror redirect, which gives a wrong hash. The values here come from the real files (Windows zip 11,274,193 bytes; tarball 8,032,274 bytes).
  • exiftool tarball: Image-ExifTool-13.65.tar.gz is shared by linux-x64, linux-arm64, osx-x64 and osx-arm64, so those four entries carry the same sha256 and size.
  • h2orestart: hash recomputed from the downloaded .oxt (616,499 bytes).
  • 7zip ARM64: 7z2606-arm64.exe hash recomputed from the official release download (1,589,681 bytes).
  • macOS 7zip: the archive shrank from 1,876,264 to 965,712 bytes, likely an upstream packaging change.

Type of change

  • Bug fix
  • New feature or improvement
  • New format or engine
  • Translation
  • Documentation
  • Build, CI or dependencies

How was it tested?

  • dotnet format --verify-no-changes
  • dotnet test
  • Tried it in the app (what you converted or clicked, and on which OS): Windows 11

Checklist

  • New UI strings are in all src/Filee.App/Assets/i18n/*.json files (None Added)
  • New third-party code or binaries are listed in THIRD-PARTY-NOTICES.md (None Added)
  • The PR does one thing (unrelated changes go in a separate PR)

- rhwp 0.8.7 -> 0.9.1 (all platforms)
- 7zip 26.05 -> 26.06 (Windows, Linux); macOS 25.01 -> 26.06
- pandoc 3.13 -> 3.14 (all platforms)
- calibre 9.17.0 -> 9.20.0 (all platforms)
- h2orestart 0.8.0 -> 0.8.1 (Windows)
- exiftool 13.60 -> 13.65 (all platforms)

version, url, sha256 and size were updated together for each component.
exiftool and h2orestart hashes were computed from the real downloaded
files, not SourceForge's HTML redirect page or an empty file.

Co-Authored-By: Claude <noreply@anthropic.com>
@adnan-bhaldar adnan-bhaldar added the build Build and release label Dec 6, 2026
@adnan-bhaldar
adnan-bhaldar marked this pull request as draft December 6, 2026 06:54
adnan-bhaldar and others added 3 commits December 6, 2026 12:27
- build-native.py: RHWP_VERSION 0.8.7 -> 0.9.1 and RHWP_COMMIT to the
  v0.9.1 tag commit (981ce66b4183b13c1a3b5907e04a8969c8c42034).
  RUST_TOOLCHAIN is unchanged (1.93.1, same as the tag's
  rust-toolchain.toml).
- THIRD-PARTY-NOTICES.md: rhwp tag and commit updated to match.

Fixes the `build-native.py check` failure, which compares these pins
with the rhwp version in engines.json.

Co-Authored-By: Claude <noreply@anthropic.com>
- fetch-engines.ps1: win-arm64 7zip pin 26.05 -> 26.06
  (7z2606-arm64.exe, sha256 and URL updated to match the x64 build).
- EngineInstallerTests: expect exiftool 13.65, the version now pinned in
  engines.json.

Fixes the win-arm64 version check in fetch-engines.ps1, which requires
the ARM64 pins to match the x64 versions in engines.json.

Co-Authored-By: Claude <noreply@anthropic.com>
Undo the rhwp 0.9.1 bump for now:

- engines.json: rhwp back to 0.8.7 on all platforms (url, sha256, size).
- build-native.py: RHWP_VERSION and RHWP_COMMIT back to 0.8.7 and
  1a76570e833917d15817415a53c09ad61ab3203f.
- THIRD-PARTY-NOTICES.md: rhwp tag and commit back to v0.8.7.

The Windows ARM64 build of rhwp is hosted on dl.filee.sh and has to be
rebuilt and uploaded before fetch-engines.ps1 can pin 0.9.1, so the
version check for win-arm64 failed. rhwp 0.9.1 will be bumped in a
separate PR.

Co-Authored-By: Claude <noreply@anthropic.com>
@adnan-bhaldar adnan-bhaldar changed the title chore(engines): bump rhwp, 7zip, pandoc, calibre, h2orestart, exiftool build(engines): bump pandoc, 7zip, calibre, h2orestart, exiftool Dec 6, 2026
@adnan-bhaldar
adnan-bhaldar marked this pull request as ready for review December 6, 2026 07:15

@KnifeLemon KnifeLemon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the careful bump, and for backing out rhwp rather than leaving the ARM64 pin behind. I checked every new hash and size against the upstream records. pandoc, 7-Zip, H2Orestart and calibre match the published GitHub release digests. Both exiftool files match exiftool.org/checksums.txt. The URLs all point to the official release locations.

Two changes before this can go in:

  1. Keep macOS 7-Zip on 25.01. Both osx-x64 and osx-arm64 must stay on 7z2501-mac.tar.xz. From 26.00 on, the macOS 7zz is built for macOS 26 and won't start on the older macOS versions we support (#600). That's why main pinned macOS back to 25.01 in 4ecc99c while Windows and Linux moved on. 26.06 also splits the Mac build into 7z2606-mac.tar.xz and 7z2606-mac-x64.tar.xz, so the smaller archive you noticed is no longer the universal one. Windows, Windows ARM64 and Linux on 26.06 are fine.
  2. Undo the two whitespace-only leftovers from the rhwp revert. THIRD-PARTY-NOTICES.md loses its final newline, and build/build-native.py gains a trailing line of spaces. With those gone, the PR only touches what it bumps.

About timing: 2.6.0 is about to ship, so this will merge right after it for the next version. The rhwp 0.9.1 bump can follow once we've built and uploaded the ARM64 DLL. Thanks for checking the tag commit and toolchain for it already.

adnan-bhaldar and others added 3 commits December 6, 2026 12:50
Co-Authored-By: Claude <noreply@anthropic.com>
- pandoc 3.13 -> 3.14 (all platforms)
- 7zip 26.05 -> 26.06 (Windows, Windows ARM64, Linux); macOS stays on
  25.01 (26.00+ needs macOS 26)
- calibre 9.17.0 -> 9.20.0 (all platforms)
- h2orestart 0.8.0 -> 0.8.1 (Windows)
- exiftool 13.60 -> 13.65 (all platforms)
- fetch-engines.ps1: win-arm64 7zip pin 26.05 -> 26.06
- EngineInstallerTests: expect exiftool 13.65

version, url, sha256 and size were updated together for each component.
rhwp stays at 0.8.7 until its Windows ARM64 build is rebuilt.

docs(changelog): note the engine updates

Co-Authored-By: Claude <noreply@anthropic.com>
Undo the whitespace-only changes left over from the rhwp revert: the
missing final newline in THIRD-PARTY-NOTICES.md and the trailing line of
spaces in build/build-native.py. Both files are back to their original
content.

Co-Authored-By: Claude <noreply@anthropic.com>

@KnifeLemon KnifeLemon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, macOS 7-Zip is back on 25.01 and matches main exactly, and THIRD-PARTY-NOTICES.md is clean again. One small thing is left: build/build-native.py still lacks its final newline. I'll restore it at merge time, together with moving your CHANGELOG entry from "Unreleased" into the next version's section. Approving 76f6f7e; it merges right after 2.6.0 ships.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build and release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants