From 0ebd2ce1cde1c51d1d944ff9f3b265b6a164b128 Mon Sep 17 00:00:00 2001 From: Bruno Date: Sun, 18 Aug 2024 11:13:16 -0300 Subject: [PATCH] build/windows: Always use latest commit in luajit and lua-lgi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit luajit download server to tarballs stopped to work, which is expected, since it was advised by the team in https://luajit.org/download.html: "Please do not use obsolete versions from older tarballs or zip files. Please remove any outdated links to these downloads — these links will cease to work soon." --- lua-lgi, on the other hand, is mostly abandonware right now, so it's safe to use latest master. See: https://github.com/lgi-devs/lgi/issues/225 --- build/linux/flatpak/org.gimp.GIMP-nightly.json | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/build/linux/flatpak/org.gimp.GIMP-nightly.json b/build/linux/flatpak/org.gimp.GIMP-nightly.json index 95934a78540..c56807386e6 100644 --- a/build/linux/flatpak/org.gimp.GIMP-nightly.json +++ b/build/linux/flatpak/org.gimp.GIMP-nightly.json @@ -658,15 +658,9 @@ "name": "luajit", "sources": [ { - "type": "archive", - "url": "https://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz", - "sha256": "1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3", - "x-checker-data": { - "type": "anitya", - "project-id": 6444, - "stable-only": false, - "url-template": "https://luajit.org/download/LuaJIT-$version.tar.gz" - } + "type": "git", + "url": "https://luajit.org/git/luajit.git", + "branch": "v2.1" }, { "type": "shell", @@ -680,7 +674,7 @@ "DEFAULT_CC=ccache clang" ], "post-install": [ - "ln -s /app/bin/luajit-2.1.0-beta3 /app/bin/luajit" + "ln -s /app/bin/luajit-2.1.0 /app/bin/luajit" ], "cleanup": [ "/include", @@ -693,8 +687,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/pavouk/lgi.git", - "commit": "c21f35fccae87fd4e3625d4c878f584b7255d6f6" + "url": "https://github.com/lgi-devs/lgi.git", + "branch": "master" } ], "buildsystem": "meson",