From db9551cee54fe6515cc7aeec697da590d87a2061 Mon Sep 17 00:00:00 2001 From: w4tchdoge Date: Wed, 15 Oct 2025 19:45:40 +0800 Subject: [PATCH 1/3] fontforge: fix checkver & autoupdate - Change checkver to use jsonpath, and update the regex to account for the "x64" in the filename of the latest release - Change autoupdate to use the new named captured variable --- bucket/fontforge.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bucket/fontforge.json b/bucket/fontforge.json index b5df4ef68d2841..3c60df024cf7da 100644 --- a/bucket/fontforge.json +++ b/bucket/fontforge.json @@ -1,10 +1,10 @@ { - "version": "20230101", + "version": "20251009", "description": "A free (libre) font editor, which can create, edit and convert fonts in OpenType, TrueType, UFO, CID-keyed, Multiple Master, and many other formats.", "homepage": "https://fontforge.github.io", "license": "GPL-3.0-or-later", - "url": "https://github.com/fontforge/fontforge/releases/download/20230101/FontForge-2023-01-01-Windows.exe", - "hash": "fc6eb57495e737025efb37ad6f1effad7fef47f19a8a5f2656705687e4f43162", + "url": "https://github.com/fontforge/fontforge/releases/download/20251009/FontForge-2025-10-09-Windows-x64.exe", + "hash": "548523f08834e344bda69abb759e30c0f84a1a5ef9a5e965eb946d86a11118a3", "innosetup": true, "shortcuts": [ [ @@ -21,11 +21,11 @@ "bin/ffpython.exe" ], "checkver": { - "github": "https://github.com/fontforge/fontforge", - "regex": "/download/(?[\\d]{8}/FontForge-(?[\\d]{4})-(?[\\d]{2})-(?[\\d]{2})-Windows(?[-r\\d]*?).exe)", - "replace": "${year}${month}${day}${release}" + "url": "https://api.github.com/repositories/5390156/releases/latest", + "jsonpath": "$..browser_download_url", + "regex": "(\\d{8})/(?FontForge-\\d{4}-\\d{2}-\\d{2}-Windows(?-(?:x86|x64))?(?[-r\\d]*?)?.exe)" }, "autoupdate": { - "url": "https://github.com/fontforge/fontforge/releases/download/$matchPath" + "url": "https://github.com/fontforge/fontforge/releases/download/$version/$matchFname" } } From 2d090e33756876fa45330bf16f900a36c6967759 Mon Sep 17 00:00:00 2001 From: w4tchdoge Date: Fri, 17 Oct 2025 09:35:10 +0800 Subject: [PATCH 2/3] fontforge: Specify architecture as 64bit --- bucket/fontforge.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bucket/fontforge.json b/bucket/fontforge.json index 3c60df024cf7da..5fffffe5f585c4 100644 --- a/bucket/fontforge.json +++ b/bucket/fontforge.json @@ -3,8 +3,12 @@ "description": "A free (libre) font editor, which can create, edit and convert fonts in OpenType, TrueType, UFO, CID-keyed, Multiple Master, and many other formats.", "homepage": "https://fontforge.github.io", "license": "GPL-3.0-or-later", - "url": "https://github.com/fontforge/fontforge/releases/download/20251009/FontForge-2025-10-09-Windows-x64.exe", - "hash": "548523f08834e344bda69abb759e30c0f84a1a5ef9a5e965eb946d86a11118a3", + "architecture": { + "64bit": { + "url": "https://github.com/fontforge/fontforge/releases/download/20251009/FontForge-2025-10-09-Windows-x64.exe", + "hash": "548523f08834e344bda69abb759e30c0f84a1a5ef9a5e965eb946d86a11118a3" + } + }, "innosetup": true, "shortcuts": [ [ @@ -26,6 +30,10 @@ "regex": "(\\d{8})/(?FontForge-\\d{4}-\\d{2}-\\d{2}-Windows(?-(?:x86|x64))?(?[-r\\d]*?)?.exe)" }, "autoupdate": { - "url": "https://github.com/fontforge/fontforge/releases/download/$version/$matchFname" + "architecture": { + "64bit": { + "url": "https://github.com/fontforge/fontforge/releases/download/$version/$matchFname" + } + } } } From 9a7f6aa85c065e251e8733912bf6113f4e5ae459 Mon Sep 17 00:00:00 2001 From: z-Fng <54583083+z-Fng@users.noreply.github.com> Date: Fri, 17 Oct 2025 10:10:44 -0400 Subject: [PATCH 3/3] Update checkver --- bucket/fontforge.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/fontforge.json b/bucket/fontforge.json index 5fffffe5f585c4..989a037dd81c5c 100644 --- a/bucket/fontforge.json +++ b/bucket/fontforge.json @@ -27,7 +27,7 @@ "checkver": { "url": "https://api.github.com/repositories/5390156/releases/latest", "jsonpath": "$..browser_download_url", - "regex": "(\\d{8})/(?FontForge-\\d{4}-\\d{2}-\\d{2}-Windows(?-(?:x86|x64))?(?[-r\\d]*?)?.exe)" + "regex": "(\\d{8})/(?FontForge-\\d{4}-\\d{2}-\\d{2}-Windows(?-x64)?(?[-r\\d]*?)?.exe)" }, "autoupdate": { "architecture": {