From 15fea3522604fe5bfadcc5b797cc8516fe087a79 Mon Sep 17 00:00:00 2001 From: adnan-bhaldar Date: Sun, 6 Dec 2026 12:17:25 +0530 Subject: [PATCH 1/7] chore(engines): bump rhwp, 7zip, pandoc, calibre, h2orestart, exiftool - 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 --- src/Filee.Engines/Infrastructure/engines.json | 208 +++++++++--------- 1 file changed, 104 insertions(+), 104 deletions(-) diff --git a/src/Filee.Engines/Infrastructure/engines.json b/src/Filee.Engines/Infrastructure/engines.json index cd7b141e7..ef531ece5 100644 --- a/src/Filee.Engines/Infrastructure/engines.json +++ b/src/Filee.Engines/Infrastructure/engines.json @@ -2,24 +2,24 @@ "_comment": "Downloadable conversion engines: pinned URL + SHA-256. Used by the app (Settings > Engines, first-run setup) and by build/fetch-engines.ps1. Bumping a version = change url, sha256 and size together. minimumMacOS: the oldest macOS a macOS download runs on; older Macs are not offered it.", "components": { "rhwp": { - "version": "0.8.7", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-windows-x86_64.zip", - "sha256": "F7AC326E98F595AE8FECD8DA7A614EE9A37DB77BDF938782A8E07C9DA473EC6F", - "size": 19796112, + "version": "0.9.1", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-windows-x86_64.zip", + "sha256": "2214C5B07408F18417E450E6E8F44A9F0A4CD917B09839F3EC3577BA19945C9C", + "size": 32800623, "kind": "zip" }, "7zip": { - "version": "26.05", - "url": "https://github.com/ip7z/7zip/releases/download/26.05/7z2605-x64.msi", - "sha256": "3FE4AB99FA15629C652944309A2B2BC6E41FC933FC6B63F5DF1EBCF3AEA68263", - "size": 2008576, + "version": "26.06", + "url": "https://github.com/ip7z/7zip/releases/download/26.06/7z2606-x64.msi", + "sha256": "6DC822569E777D9A3ECD5FFCBC22B55600AF87E6C5D9810A64E8566CF5A4AF9F", + "size": 2003456, "kind": "msi" }, "pandoc": { - "version": "3.13", - "url": "https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-windows-x86_64.zip", - "sha256": "23E1F2E978A3DF80DB8BF65C9C59534F41A23140480CFB4F783A882AB7DC6A4E", - "size": 42983200, + "version": "3.14", + "url": "https://github.com/jgm/pandoc/releases/download/3.14/pandoc-3.14-windows-x86_64.zip", + "sha256": "0144B96E8C7B023FD382EC5EF5BDC475E873F1019D6FA72502492DF2C9A94A3B", + "size": 43614099, "kind": "zip" }, "jre": { @@ -37,10 +37,10 @@ "kind": "msi" }, "h2orestart": { - "version": "0.8.0", - "url": "https://github.com/ebandal/H2Orestart/releases/download/v0.8.0/H2Orestart.oxt", - "sha256": "F36C19FA6B7DFF1CF34114D926BDC088E6BCFA7FDC93D67EAAFD3F572BE1D62C", - "size": 611297, + "version": "0.8.1", + "url": "https://github.com/ebandal/H2Orestart/releases/download/v0.8.1/H2Orestart.oxt", + "sha256": "6CB8FB69B5A38B7DBA4BA3318D856A2A500037FBCC07BFC70AAC7DFBC836B5B0", + "size": 616499, "kind": "oxt" }, "ghostscript": { @@ -72,10 +72,10 @@ "kind": "zip" }, "calibre": { - "version": "9.17.0", - "url": "https://download.calibre-ebook.com/9.17.0/calibre-64bit-9.17.0.msi", - "sha256": "A91EA9B26AF6CD057D8B193B86EDB66D1535F7C5CB0A106965FA74F8168A6BD5", - "size": 240201728, + "version": "9.20.0", + "url": "https://download.calibre-ebook.com/9.20.0/calibre-64bit-9.20.0.msi", + "sha256": "BFC1E32611813F39241E297AD90C174CF80B27CDA0003CBDE904DBD19E20CA3B", + "size": 296718336, "kind": "msi" }, "weasyprint": { @@ -107,10 +107,10 @@ "kind": "model" }, "exiftool": { - "version": "13.60", - "url": "https://sourceforge.net/projects/exiftool/files/exiftool-13.60_64.zip/download", - "sha256": "548B1F4E0B713CD2A26824B34080C35DB4E2D2EDD166468EB38B1D55ADA90C2E", - "size": 11198064, + "version": "13.65", + "url": "https://sourceforge.net/projects/exiftool/files/exiftool-13.65_64.zip/download", + "sha256": "3ED377E69485924ABD624B5D6ECBE568D628E0471351D8F1CDE5AF77E2075DCE", + "size": 11274193, "kind": "zip" }, "upscayl-bin": { @@ -125,24 +125,24 @@ "linux-x64": { "components": { "rhwp": { - "version": "0.8.7", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-linux-x86_64.tar.gz", - "sha256": "F1E541A25CFE76B6BC1DAF18BF9C1F9A5AC5E03E2C01B188DAAF54107214F631", - "size": 14678662, + "version": "0.9.1", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-linux-x86_64.tar.gz", + "sha256": "9283DD9ECD3182DDB50EEBA9A2F26D2D23B5386E39DEFB081E52A3706916E65D", + "size": 32841912, "kind": "tar.gz" }, "7zip": { - "version": "26.05", - "url": "https://github.com/ip7z/7zip/releases/download/26.05/7z2605-linux-x64.tar.xz", - "sha256": "22CF82FCC6EB7474F1D5BB4F02C0F8EBD573A718089D6833DC30F8350A3B232E", - "size": 1579976, + "version": "26.06", + "url": "https://github.com/ip7z/7zip/releases/download/26.06/7z2606-linux-x64.tar.xz", + "sha256": "2B539CF067B2AD48E1BAA5093DBAA8818B73542D1222A0FFDE9DC5F2922EA62E", + "size": 1575552, "kind": "tar.xz" }, "pandoc": { - "version": "3.13", - "url": "https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-linux-amd64.tar.gz", - "sha256": "38AA33B325A2BC96A4C39409631212DB55702F564250BCDBEAD180B3BF646389", - "size": 36101020, + "version": "3.14", + "url": "https://github.com/jgm/pandoc/releases/download/3.14/pandoc-3.14-linux-amd64.tar.gz", + "sha256": "C5F4720CDEFB3F7BDC5D07202EF579FEEF0D1370773C873804DD8FDAA8C4F1B8", + "size": 36635549, "kind": "tar.gz" }, "ffmpeg": { @@ -153,17 +153,17 @@ "kind": "tar.xz" }, "calibre": { - "version": "9.17.0", - "url": "https://download.calibre-ebook.com/9.17.0/calibre-9.17.0-x86_64.txz", - "sha256": "953E4512A6482848CD803C88B6D942E6AFCA65DC3B67C7D1353AE048D616DE53", - "size": 201590724, + "version": "9.20.0", + "url": "https://download.calibre-ebook.com/9.20.0/calibre-9.20.0-x86_64.txz", + "sha256": "7627722D7357A35FA5BF5524EA5F9AE2F11A08B46A9EC58D3120AA6412FA700E", + "size": 249492196, "kind": "tar.xz" }, "exiftool": { - "version": "13.60", - "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.60.tar.gz/download", - "sha256": "C8E3C42576F46D862E4CD9C192989776E7363931E890C95056BCD6293E83EA36", - "size": 7941781, + "version": "13.65", + "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.65.tar.gz/download", + "sha256": "BF3B7B3AB7DA81A22245F53B77929CDDCB1C5D22AEB9D77BB55905E265338B01", + "size": 8032274, "kind": "tar.gz" }, "upscayl-bin": { @@ -178,24 +178,24 @@ "linux-arm64": { "components": { "rhwp": { - "version": "0.8.7", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-linux-aarch64.tar.gz", - "sha256": "C4A70F5ED11B99586EE89D1AC9069145D58A0831D00E87858BB01626E2EBF313", - "size": 13842675, + "version": "0.9.1", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-linux-aarch64.tar.gz", + "sha256": "85D17B51B96BADADAFD4A1F890C0D182A44D3100FF1A9F41C9235BF901F4CDD8", + "size": 30846587, "kind": "tar.gz" }, "7zip": { - "version": "26.05", - "url": "https://github.com/ip7z/7zip/releases/download/26.05/7z2605-linux-arm64.tar.xz", - "sha256": "0B71F6CFC34669B3BF69F2347EFD3429F77020665003A13B9CDC53B784270421", - "size": 1317128, + "version": "26.06", + "url": "https://github.com/ip7z/7zip/releases/download/26.06/7z2606-linux-arm64.tar.xz", + "sha256": "EDCC408AACCE77DA5223728F2ECEB5E9F6DC713B8A9DF934AD21E2A7F7560627", + "size": 1326668, "kind": "tar.xz" }, "pandoc": { - "version": "3.13", - "url": "https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-linux-arm64.tar.gz", - "sha256": "21E1D4BA09BD0B334590D204580FD4F6629B21BE4AB6A32B26CC98982E9E0C68", - "size": 38662042, + "version": "3.14", + "url": "https://github.com/jgm/pandoc/releases/download/3.14/pandoc-3.14-linux-arm64.tar.gz", + "sha256": "C692F3D78A415741BBBAC4CDBBBE26FA7EDCA1F43D2301B982FBF4009CC8CF7F", + "size": 39208196, "kind": "tar.gz" }, "ffmpeg": { @@ -206,17 +206,17 @@ "kind": "tar.xz" }, "calibre": { - "version": "9.17.0", - "url": "https://download.calibre-ebook.com/9.17.0/calibre-9.17.0-arm64.txz", - "sha256": "3C72BB26196F8339CFB0914224D824CCBACCBB635F0DF9C3A55540AE316199BD", - "size": 188047576, + "version": "9.20.0", + "url": "https://download.calibre-ebook.com/9.20.0/calibre-9.20.0-arm64.txz", + "sha256": "6C4EDC6946A2582281A8759E40B156AE22CF53DE357ACFC5D8C989205A98661B", + "size": 234198436, "kind": "tar.xz" }, "exiftool": { - "version": "13.60", - "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.60.tar.gz/download", - "sha256": "C8E3C42576F46D862E4CD9C192989776E7363931E890C95056BCD6293E83EA36", - "size": 7941781, + "version": "13.65", + "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.65.tar.gz/download", + "sha256": "BF3B7B3AB7DA81A22245F53B77929CDDCB1C5D22AEB9D77BB55905E265338B01", + "size": 8032274, "kind": "tar.gz" } } @@ -224,31 +224,31 @@ "osx-x64": { "components": { "rhwp": { - "version": "0.8.7", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-macos-x86_64.tar.gz", - "sha256": "07B1A5EA570E410D1B52B4D848A94F00C64674E84004883C62EFAD7DAAB61DA4", - "size": 14156825, + "version": "0.9.1", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-macos-x86_64.tar.gz", + "sha256": "15CE4148235377B02275FBE16929CB16FAAC8D151FCD755C6FACD58ECAFC4F2E", + "size": 31822721, "kind": "tar.gz" }, "7zip": { - "version": "25.01", - "url": "https://github.com/ip7z/7zip/releases/download/25.01/7z2501-mac.tar.xz", - "sha256": "26AA75BC262BB10BF0805617B95569C3035C2C590A99F7DB55C7E9607B2685E0", - "size": 1876264, + "version": "26.06", + "url": "https://github.com/ip7z/7zip/releases/download/26.06/7z2606-mac.tar.xz", + "sha256": "B6F17920B4240940461DAC8EF4009891881AC44D2A5EAD625EDE2EC8472185DD", + "size": 965712, "kind": "tar.xz" }, "pandoc": { - "version": "3.13", - "url": "https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-x86_64-macOS.zip", - "sha256": "1823278715AA405AAF21B59CDE5DC789346AA8D4FC307467F9A9EE84162BEDC5", - "size": 26891866, + "version": "3.14", + "url": "https://github.com/jgm/pandoc/releases/download/3.14/pandoc-3.14-x86_64-macOS.zip", + "sha256": "891708579061E7B1C1A6CE0DF30EBB3CB2B6D0CA045ED3C8554AB830C1E0C270", + "size": 27490795, "kind": "zip" }, "calibre": { - "version": "9.17.0", - "url": "https://download.calibre-ebook.com/9.17.0/calibre-9.17.0.dmg", - "sha256": "FDAB4BD1400996C381845B7A95026F96BD9F68BFEC68CF3D49AFD458B4717842", - "size": 357816630, + "version": "9.20.0", + "url": "https://download.calibre-ebook.com/9.20.0/calibre-9.20.0.dmg", + "sha256": "F8537B8C34F9694EECEAD09343683BA6F0CEBEE029926D376EA18C510F998FAF", + "size": 414933747, "kind": "dmg", "minimumMacOS": "14.0" }, @@ -260,10 +260,10 @@ "kind": "dmg" }, "exiftool": { - "version": "13.60", - "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.60.tar.gz/download", - "sha256": "C8E3C42576F46D862E4CD9C192989776E7363931E890C95056BCD6293E83EA36", - "size": 7941781, + "version": "13.65", + "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.65.tar.gz/download", + "sha256": "BF3B7B3AB7DA81A22245F53B77929CDDCB1C5D22AEB9D77BB55905E265338B01", + "size": 8032274, "kind": "tar.gz" }, "upscayl-bin": { @@ -278,31 +278,31 @@ "osx-arm64": { "components": { "rhwp": { - "version": "0.8.7", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-macos-aarch64.tar.gz", - "sha256": "6ED46AA63F6D10C447842999F73ABC59CF9586C5645FEFC5E763BD6A6D43662D", - "size": 12941874, + "version": "0.9.1", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-macos-aarch64.tar.gz", + "sha256": "A8217038F2D2EF33B1FCF215CC570FAACB09C8D53366F2AAA88701ECB245C125", + "size": 29670887, "kind": "tar.gz" }, "7zip": { - "version": "25.01", - "url": "https://github.com/ip7z/7zip/releases/download/25.01/7z2501-mac.tar.xz", - "sha256": "26AA75BC262BB10BF0805617B95569C3035C2C590A99F7DB55C7E9607B2685E0", - "size": 1876264, + "version": "26.06", + "url": "https://github.com/ip7z/7zip/releases/download/26.06/7z2606-mac.tar.xz", + "sha256": "B6F17920B4240940461DAC8EF4009891881AC44D2A5EAD625EDE2EC8472185DD", + "size": 965712, "kind": "tar.xz" }, "pandoc": { - "version": "3.13", - "url": "https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-arm64-macOS.zip", - "sha256": "F436D18BEBBFB3DDD326597686DACAB9FAC5DC23BD060495020F35A28A43A7C3", - "size": 43148194, + "version": "3.14", + "url": "https://github.com/jgm/pandoc/releases/download/3.14/pandoc-3.14-arm64-macOS.zip", + "sha256": "58D6593884FEC9D4424B641B92503C316D9C36DECB2891FF8D73AE74DD3B6304", + "size": 43712865, "kind": "zip" }, "calibre": { - "version": "9.17.0", - "url": "https://download.calibre-ebook.com/9.17.0/calibre-9.17.0.dmg", - "sha256": "FDAB4BD1400996C381845B7A95026F96BD9F68BFEC68CF3D49AFD458B4717842", - "size": 357816630, + "version": "9.20.0", + "url": "https://download.calibre-ebook.com/9.20.0/calibre-9.20.0.dmg", + "sha256": "F8537B8C34F9694EECEAD09343683BA6F0CEBEE029926D376EA18C510F998FAF", + "size": 414933747, "kind": "dmg", "minimumMacOS": "14.0" }, @@ -314,10 +314,10 @@ "kind": "dmg" }, "exiftool": { - "version": "13.60", - "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.60.tar.gz/download", - "sha256": "C8E3C42576F46D862E4CD9C192989776E7363931E890C95056BCD6293E83EA36", - "size": 7941781, + "version": "13.65", + "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.65.tar.gz/download", + "sha256": "BF3B7B3AB7DA81A22245F53B77929CDDCB1C5D22AEB9D77BB55905E265338B01", + "size": 8032274, "kind": "tar.gz" }, "upscayl-bin": { From 07cda04e159e260b04402bfd185a271881b21895 Mon Sep 17 00:00:00 2001 From: adnan-bhaldar Date: Sun, 6 Dec 2026 12:27:32 +0530 Subject: [PATCH 2/7] build(engines): pin rhwp 0.9.1 in build-native.py and update notices - 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 --- THIRD-PARTY-NOTICES.md | 6 +++--- build/build-native.py | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index d0a468a5b..e2816e269 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -61,8 +61,8 @@ Bundled with the installer: | 7-Zip (console: `7z.exe`, `7z.dll`) | GNU LGPL-2.1-or-later; parts of `7z.dll`: LGPL with the unRAR license restriction, BSD-3-Clause, BSD-2-Clause | https://www.7-zip.org | | Microsoft Visual C++ Redistributable (Windows: next to `Filee.exe` and `rhwp.exe`, conda-forge `vc14_runtime`) | Microsoft Visual C++ Redistributable license | https://github.com/conda-forge/vc-feedstock | -The Linux packages contain an rhwp built by Filee's CI from the unmodified source of the same release (tag `v0.8.7`, -commit `1a76570e833917d15817415a53c09ad61ab3203f`, `cargo build --release --locked --bin rhwp` on Ubuntu 22.04), so it +The Linux packages contain an rhwp built by Filee's CI from the unmodified source of the same release (tag `v0.9.1`, +commit `981ce66b4183b13c1a3b5907e04a8969c8c42034`, `cargo build --release --locked --bin rhwp` on Ubuntu 22.04), so it runs on older Linux systems than rhwp's own Linux build. The Windows ARM64 build contains an rhwp built the same way on Windows ARM64 (with the C runtime linked statically), as rhwp has no ARM64 release. Both are under the same MIT license; its `LICENSE` is next to them (`engines/rhwp`). Windows x64 and macOS use rhwp's release builds. @@ -147,4 +147,4 @@ to each service. The optional JSON recipes in `docs/themes/` adapt palette data from Catppuccin, Nord, Dracula and VS Code's classic Monokai theme. Their source links, colour adjustments and copyright/license notices are in -[docs/themes/NOTICE.md](docs/themes/NOTICE.md). These are documentation examples, not runtime dependencies. +[docs/themes/NOTICE.md](docs/themes/NOTICE.md). These are documentation examples, not runtime dependencies. \ No newline at end of file diff --git a/build/build-native.py b/build/build-native.py index 114b91ac7..5a3b46b40 100644 --- a/build/build-native.py +++ b/build/build-native.py @@ -39,9 +39,9 @@ # The rhwp release pinned in engines.json (`check` compares the versions). RUST_TOOLCHAIN is the one in the tag's # rust-toolchain.toml. Cargo.lock in the tag pins every dependency (--locked). -RHWP_VERSION = "0.8.7" +RHWP_VERSION = "0.9.1" RHWP_REPOSITORY = "https://github.com/edwardkim/rhwp" -RHWP_COMMIT = "1a76570e833917d15817415a53c09ad61ab3203f" +RHWP_COMMIT = "981ce66b4183b13c1a3b5907e04a8969c8c42034" RUST_TOOLCHAIN = "1.93.1" # The Unhwp NuGet package in Directory.Packages.props; its nuspec names the commit it was built from (repository @@ -305,3 +305,4 @@ def main(argv=None): if __name__ == "__main__": sys.exit(main()) + \ No newline at end of file From 704b49757d63c97e5ab92167ad6e61ad135834ac Mon Sep 17 00:00:00 2001 From: adnan-bhaldar Date: Sun, 6 Dec 2026 12:34:02 +0530 Subject: [PATCH 3/7] build(engines): pin 7-Zip 26.06 for Windows ARM64 and fix exiftool test - 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 --- build/fetch-engines.ps1 | 6 +++--- tests/Filee.Engines.Tests/EngineInstallerTests.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/fetch-engines.ps1 b/build/fetch-engines.ps1 index 7941a948f..eda4381b4 100644 --- a/build/fetch-engines.ps1 +++ b/build/fetch-engines.ps1 @@ -98,9 +98,9 @@ $arm64Pins = [ordered]@{ } # The official ARM64 installer, a 7z self-extracting archive; it is unpacked, never run. '7zip' = @{ - Version = '26.05' - Url = 'https://github.com/ip7z/7zip/releases/download/26.05/7z2605-arm64.exe' - Sha256 = '86D5790D5DD84CAB4636C3BB7FAB10D3ED7CD3E57E6119401BD2769E28165268' + Version = '26.06' + Url = 'https://github.com/ip7z/7zip/releases/download/26.06/7z2606-arm64.exe' + Sha256 = '036A00D478EF81F4B4B85FB37B0F934D558341F3F51AA7D36D2A26454740E625' } } diff --git a/tests/Filee.Engines.Tests/EngineInstallerTests.cs b/tests/Filee.Engines.Tests/EngineInstallerTests.cs index ea4ee15f6..70819e624 100644 --- a/tests/Filee.Engines.Tests/EngineInstallerTests.cs +++ b/tests/Filee.Engines.Tests/EngineInstallerTests.cs @@ -1080,7 +1080,7 @@ public void ExifTool_is_offered_on_every_platform_and_runs_the_Metadata_tools_co foreach (var runtime in new[] { "win-x64", "osx-arm64", "osx-x64", "linux-x64", "linux-arm64" }) { var component = EngineDownloads.ComponentsForRuntime(runtime)["exiftool"]; - Assert.Equal("13.60", component.Version); + Assert.Equal("13.65", component.Version); Assert.Equal(runtime == "win-x64" ? "zip" : "tar.gz", component.Kind); } } From 9fbadf8ba0cc2bc40e3850c57fcfafc6827aff74 Mon Sep 17 00:00:00 2001 From: adnan-bhaldar Date: Sun, 6 Dec 2026 12:41:38 +0530 Subject: [PATCH 4/7] build(engines): revert rhwp to 0.8.7 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 --- THIRD-PARTY-NOTICES.md | 4 +- build/build-native.py | 4 +- src/Filee.Engines/Infrastructure/engines.json | 40 +++++++++---------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index e2816e269..ca620c0fe 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -61,8 +61,8 @@ Bundled with the installer: | 7-Zip (console: `7z.exe`, `7z.dll`) | GNU LGPL-2.1-or-later; parts of `7z.dll`: LGPL with the unRAR license restriction, BSD-3-Clause, BSD-2-Clause | https://www.7-zip.org | | Microsoft Visual C++ Redistributable (Windows: next to `Filee.exe` and `rhwp.exe`, conda-forge `vc14_runtime`) | Microsoft Visual C++ Redistributable license | https://github.com/conda-forge/vc-feedstock | -The Linux packages contain an rhwp built by Filee's CI from the unmodified source of the same release (tag `v0.9.1`, -commit `981ce66b4183b13c1a3b5907e04a8969c8c42034`, `cargo build --release --locked --bin rhwp` on Ubuntu 22.04), so it +The Linux packages contain an rhwp built by Filee's CI from the unmodified source of the same release (tag `v0.8.7`, +commit `1a76570e833917d15817415a53c09ad61ab3203f`, `cargo build --release --locked --bin rhwp` on Ubuntu 22.04), so it runs on older Linux systems than rhwp's own Linux build. The Windows ARM64 build contains an rhwp built the same way on Windows ARM64 (with the C runtime linked statically), as rhwp has no ARM64 release. Both are under the same MIT license; its `LICENSE` is next to them (`engines/rhwp`). Windows x64 and macOS use rhwp's release builds. diff --git a/build/build-native.py b/build/build-native.py index 5a3b46b40..25189abf8 100644 --- a/build/build-native.py +++ b/build/build-native.py @@ -39,9 +39,9 @@ # The rhwp release pinned in engines.json (`check` compares the versions). RUST_TOOLCHAIN is the one in the tag's # rust-toolchain.toml. Cargo.lock in the tag pins every dependency (--locked). -RHWP_VERSION = "0.9.1" +RHWP_VERSION = "0.8.7" RHWP_REPOSITORY = "https://github.com/edwardkim/rhwp" -RHWP_COMMIT = "981ce66b4183b13c1a3b5907e04a8969c8c42034" +RHWP_COMMIT = "1a76570e833917d15817415a53c09ad61ab3203f" RUST_TOOLCHAIN = "1.93.1" # The Unhwp NuGet package in Directory.Packages.props; its nuspec names the commit it was built from (repository diff --git a/src/Filee.Engines/Infrastructure/engines.json b/src/Filee.Engines/Infrastructure/engines.json index ef531ece5..e59b6900c 100644 --- a/src/Filee.Engines/Infrastructure/engines.json +++ b/src/Filee.Engines/Infrastructure/engines.json @@ -2,10 +2,10 @@ "_comment": "Downloadable conversion engines: pinned URL + SHA-256. Used by the app (Settings > Engines, first-run setup) and by build/fetch-engines.ps1. Bumping a version = change url, sha256 and size together. minimumMacOS: the oldest macOS a macOS download runs on; older Macs are not offered it.", "components": { "rhwp": { - "version": "0.9.1", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-windows-x86_64.zip", - "sha256": "2214C5B07408F18417E450E6E8F44A9F0A4CD917B09839F3EC3577BA19945C9C", - "size": 32800623, + "version": "0.8.7", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-windows-x86_64.zip", + "sha256": "F7AC326E98F595AE8FECD8DA7A614EE9A37DB77BDF938782A8E07C9DA473EC6F", + "size": 19796112, "kind": "zip" }, "7zip": { @@ -125,10 +125,10 @@ "linux-x64": { "components": { "rhwp": { - "version": "0.9.1", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-linux-x86_64.tar.gz", - "sha256": "9283DD9ECD3182DDB50EEBA9A2F26D2D23B5386E39DEFB081E52A3706916E65D", - "size": 32841912, + "version": "0.8.7", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-linux-x86_64.tar.gz", + "sha256": "F1E541A25CFE76B6BC1DAF18BF9C1F9A5AC5E03E2C01B188DAAF54107214F631", + "size": 14678662, "kind": "tar.gz" }, "7zip": { @@ -178,10 +178,10 @@ "linux-arm64": { "components": { "rhwp": { - "version": "0.9.1", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-linux-aarch64.tar.gz", - "sha256": "85D17B51B96BADADAFD4A1F890C0D182A44D3100FF1A9F41C9235BF901F4CDD8", - "size": 30846587, + "version": "0.8.7", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-linux-aarch64.tar.gz", + "sha256": "C4A70F5ED11B99586EE89D1AC9069145D58A0831D00E87858BB01626E2EBF313", + "size": 13842675, "kind": "tar.gz" }, "7zip": { @@ -224,10 +224,10 @@ "osx-x64": { "components": { "rhwp": { - "version": "0.9.1", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-macos-x86_64.tar.gz", - "sha256": "15CE4148235377B02275FBE16929CB16FAAC8D151FCD755C6FACD58ECAFC4F2E", - "size": 31822721, + "version": "0.8.7", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-macos-x86_64.tar.gz", + "sha256": "07B1A5EA570E410D1B52B4D848A94F00C64674E84004883C62EFAD7DAAB61DA4", + "size": 14156825, "kind": "tar.gz" }, "7zip": { @@ -278,10 +278,10 @@ "osx-arm64": { "components": { "rhwp": { - "version": "0.9.1", - "url": "https://github.com/edwardkim/rhwp/releases/download/v0.9.1/rhwp-v0.9.1-macos-aarch64.tar.gz", - "sha256": "A8217038F2D2EF33B1FCF215CC570FAACB09C8D53366F2AAA88701ECB245C125", - "size": 29670887, + "version": "0.8.7", + "url": "https://github.com/edwardkim/rhwp/releases/download/v0.8.7/rhwp-v0.8.7-macos-aarch64.tar.gz", + "sha256": "6ED46AA63F6D10C447842999F73ABC59CF9586C5645FEFC5E763BD6A6D43662D", + "size": 12941874, "kind": "tar.gz" }, "7zip": { From 1515a4a7236e793471ef19f50cf67f28db5d95e7 Mon Sep 17 00:00:00 2001 From: adnan-bhaldar Date: Sun, 6 Dec 2026 12:50:58 +0530 Subject: [PATCH 5/7] docs(changelog): note the engine updates Co-Authored-By: Claude --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9a60804f..f3d1b059d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -596,6 +596,11 @@ zh: 修复了 HTML 和 Word 转 PDF、PDF/A 表单值、PDF 页面编辑的书 - **New language:** Українська (Ukrainian, by @prodbysanya, #1771), in the app and in Setup. +- **Newer engines: pandoc, 7-Zip, calibre, ExifTool and H2Orestart.** The engine downloads (first-run setup and + **Settings → Engines**) are now pandoc 3.14, 7-Zip 26.06 (macOS: up from 25.01, also on Windows on ARM), calibre + 9.20.0, ExifTool 13.65 and H2Orestart 0.8.1, the HWP filter LibreOffice uses. Every file is still checked against its + pinned SHA-256 before it is used. + ### Fixes - **Large TIFFs that ImageMagick can't read convert on Windows** (by @wskakuj, #1598). Some TIFFs, such as From 541b6872f13315d21d0b44463f51d4553186f416 Mon Sep 17 00:00:00 2001 From: adnan-bhaldar Date: Sun, 6 Dec 2026 12:59:57 +0530 Subject: [PATCH 6/7] build(engines): bump pandoc, 7zip, calibre, h2orestart, exiftool - 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 --- CHANGELOG.md | 22 ++++++++++++++----- src/Filee.Engines/Infrastructure/engines.json | 16 +++++++------- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3d1b059d..b50f6abe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,20 @@ change, a language may repeat; a language without lines shows the English ones): - `recommended`: bug fixes. The card shows once per version. - `optional`: new features only. No card, the sidebar button only. +## Unreleased + + + +### Updates + +- **Newer engines: pandoc, 7-Zip, calibre, ExifTool and H2Orestart.** The engine downloads (first-run setup and + **Settings → Engines**) are now pandoc 3.14, 7-Zip 26.06 (Windows, Windows on ARM and Linux), calibre 9.20.0, + ExifTool 13.65 and H2Orestart 0.8.1, the HWP filter LibreOffice uses. macOS stays on 7-Zip 25.01, because from 26.00 + on the Mac build needs macOS 26 (#600). Every file is still checked against its pinned SHA-256 before it is used. + ## 2.6.0