From 0e245e86c1b3937b4bd8d9ca42e36984c47c68ae Mon Sep 17 00:00:00 2001 From: Bruno Date: Sun, 18 Aug 2024 11:13:16 -0300 Subject: [PATCH] build/linux: Always use latest commit in luajit and lua-lgi modules 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." We also will not use the official git server since it does not support all git clone features, which makes flatpak-builder cloning stage fail. --- Regarding lua-lgi, we will not use the latest commit since seems that our goat exercises or gobject-introspection or lua-lgi iteself is broken since lua-lgi commit: 3f47eb57ef5a84be878ce33c15b7ff037059b08d --- .../linux/flatpak/org.gimp.GIMP-nightly.json | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/build/linux/flatpak/org.gimp.GIMP-nightly.json b/build/linux/flatpak/org.gimp.GIMP-nightly.json index 97a8e4986f..75f83e92a3 100644 --- a/build/linux/flatpak/org.gimp.GIMP-nightly.json +++ b/build/linux/flatpak/org.gimp.GIMP-nightly.json @@ -650,15 +650,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://github.com/LuaJIT/LuaJIT.git", + "commit": "f725e44cda8f359869bf8f92ce71787ddca45618" }, { "type": "shell", @@ -671,9 +665,6 @@ "make-args": [ "DEFAULT_CC=ccache clang" ], - "post-install": [ - "ln -s /app/bin/luajit-2.1.0-beta3 /app/bin/luajit" - ], "cleanup": [ "/include", "/lib/pkgconfig", @@ -685,8 +676,8 @@ "sources": [ { "type": "git", - "url": "https://github.com/pavouk/lgi.git", - "commit": "c21f35fccae87fd4e3625d4c878f584b7255d6f6" + "url": "https://github.com/lgi-devs/lgi.git", + "commit": "48ff62e5bc63d69c00085909a09cc5c75267e1c6" } ], "buildsystem": "meson",