From 90900a8b843040df0e37d49b6656ebf8fbb563a4 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sun, 22 Mar 2026 17:36:16 -0300 Subject: [PATCH] Improve and update more recipes --- recipes/wip/libs/other/libgav1/recipe.toml | 6 +++++- recipes/wip/libs/other/libgcrypt/recipe.toml | 1 + recipes/wip/libs/other/libgdal/recipe.toml | 5 ++++- recipes/wip/libs/other/libgit2/recipe.toml | 10 +++++++--- recipes/wip/libs/other/libglm/recipe.toml | 5 +++-- recipes/wip/libs/other/libgloox/recipe.toml | 2 +- recipes/wip/libs/other/libgpg-error/recipe.toml | 1 + recipes/wip/libs/other/libgpm/recipe.toml | 4 +++- recipes/wip/libs/other/libgrantlee/recipe.toml | 3 +++ recipes/wip/libs/other/libgumbo/recipe.toml | 7 ++++--- recipes/wip/libs/other/libharu/recipe.toml | 11 ++++------- recipes/wip/libs/other/libhidapi/recipe.toml | 3 ++- recipes/wip/tests/gtest/recipe.toml | 3 +-- recipes/wip/tests/pjdfstest/recipe.toml | 8 ++++---- recipes/wip/tests/xfstests/recipe.toml | 3 ++- 15 files changed, 45 insertions(+), 27 deletions(-) diff --git a/recipes/wip/libs/other/libgav1/recipe.toml b/recipes/wip/libs/other/libgav1/recipe.toml index 37e502a1..5d8e3d98 100644 --- a/recipes/wip/libs/other/libgav1/recipe.toml +++ b/recipes/wip/libs/other/libgav1/recipe.toml @@ -2,6 +2,10 @@ # build instructions: https://chromium.googlesource.com/codecs/libgav1/#compile [source] git = "https://chromium.googlesource.com/codecs/libgav1" -rev = "e386d8f1fb983200972d159b9be47fd5d0776708" +rev = "v0.20.0" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DLIBGAV1_ENABLE_TESTS=OFF" +] diff --git a/recipes/wip/libs/other/libgcrypt/recipe.toml b/recipes/wip/libs/other/libgcrypt/recipe.toml index 40a72d6c..1ee3ec04 100644 --- a/recipes/wip/libs/other/libgcrypt/recipe.toml +++ b/recipes/wip/libs/other/libgcrypt/recipe.toml @@ -1,3 +1,4 @@ +#TODO: promote [source] tar = "https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.1.tar.bz2" blake3 = "68844e12b92960d66c4ce85a4c3db1df8377b232980f1218b4c5d904e9c02511" diff --git a/recipes/wip/libs/other/libgdal/recipe.toml b/recipes/wip/libs/other/libgdal/recipe.toml index ef303c13..6bdaccbb 100644 --- a/recipes/wip/libs/other/libgdal/recipe.toml +++ b/recipes/wip/libs/other/libgdal/recipe.toml @@ -1,6 +1,9 @@ #TODO not compiled or tested # build instructions: https://gdal.org/development/building_from_source.html [source] -tar = "https://github.com/OSGeo/gdal/releases/download/v3.8.4/gdal-3.8.4.tar.gz" +tar = "https://github.com/OSGeo/gdal/releases/download/v3.12.3/gdal-3.12.3.tar.xz" [build] template = "cmake" +cmakeflags = [ + "-DBUILD_TESTING=OFF" +] diff --git a/recipes/wip/libs/other/libgit2/recipe.toml b/recipes/wip/libs/other/libgit2/recipe.toml index f08d3e9a..737f5873 100644 --- a/recipes/wip/libs/other/libgit2/recipe.toml +++ b/recipes/wip/libs/other/libgit2/recipe.toml @@ -2,9 +2,13 @@ # build instructions: https://github.com/libgit2/libgit2#building-libgit2---using-cmake [source] git = "https://github.com/libgit2/libgit2" -rev = "a2bde63741977ca0f4ef7db2f609df320be67a08" +rev = "v1.9.2" +shallow_clone = true [build] template = "cmake" -dependencies = [ - "openssl1", +cmakeflags = [ + "-DBUILD_TESTS=OFF" +] +dependencies = [ + "openssl3", ] diff --git a/recipes/wip/libs/other/libglm/recipe.toml b/recipes/wip/libs/other/libglm/recipe.toml index 81d65935..83f27053 100644 --- a/recipes/wip/libs/other/libglm/recipe.toml +++ b/recipes/wip/libs/other/libglm/recipe.toml @@ -1,6 +1,7 @@ #TODO Needs to determine the script [source] git = "https://github.com/g-truc/glm" -rev = "bf71a834948186f4097caa076cd2663c69a10e1e" +rev = "1.0.3" +shallow_clone = true [build] -template = "custom" +template = "cmake" diff --git a/recipes/wip/libs/other/libgloox/recipe.toml b/recipes/wip/libs/other/libgloox/recipe.toml index ca7c6d0e..bd3ef3f3 100644 --- a/recipes/wip/libs/other/libgloox/recipe.toml +++ b/recipes/wip/libs/other/libgloox/recipe.toml @@ -1,4 +1,4 @@ -#TODO make gnutls work +#TODO not compiled or tested [source] tar = "https://camaya.net/download/gloox-1.0.27.tar.bz2" [build] diff --git a/recipes/wip/libs/other/libgpg-error/recipe.toml b/recipes/wip/libs/other/libgpg-error/recipe.toml index 41b7f48e..b1d6d748 100644 --- a/recipes/wip/libs/other/libgpg-error/recipe.toml +++ b/recipes/wip/libs/other/libgpg-error/recipe.toml @@ -1,3 +1,4 @@ +#TODO: promote [source] tar = "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.55.tar.bz2" blake3 = "6c363dd8c6bcf2601dd5ff3b11fa2f699baa2aae40de2acd92461af0fd8178f0" diff --git a/recipes/wip/libs/other/libgpm/recipe.toml b/recipes/wip/libs/other/libgpm/recipe.toml index 9b1f7114..23840297 100644 --- a/recipes/wip/libs/other/libgpm/recipe.toml +++ b/recipes/wip/libs/other/libgpm/recipe.toml @@ -1,6 +1,8 @@ #TODO undefined macro: AC_PROG_LIBTOOL [source] tar = "https://www.nico.schottelius.org/software/gpm/archives/gpm-1.20.7.tar.bz2" -script = "./autogen.sh" +script = """ +autotools_recursive_regenerate +""" [build] template = "configure" diff --git a/recipes/wip/libs/other/libgrantlee/recipe.toml b/recipes/wip/libs/other/libgrantlee/recipe.toml index 544697ad..c104087e 100644 --- a/recipes/wip/libs/other/libgrantlee/recipe.toml +++ b/recipes/wip/libs/other/libgrantlee/recipe.toml @@ -4,6 +4,9 @@ tar = "https://github.com/steveire/grantlee/releases/download/v5.3.1/grantlee-5.3.1.tar.gz" [build] template = "cmake" +cmakeflags = [ + "-DBUILD_TESTS=FALSE" +] dependencies = [ "qt5-base", ] diff --git a/recipes/wip/libs/other/libgumbo/recipe.toml b/recipes/wip/libs/other/libgumbo/recipe.toml index d8854254..99b15c77 100644 --- a/recipes/wip/libs/other/libgumbo/recipe.toml +++ b/recipes/wip/libs/other/libgumbo/recipe.toml @@ -1,7 +1,8 @@ #TODO compiled but not tested [source] -git = "https://codeberg.org/gumbo-parser/gumbo-parser" -rev = "23af2f7c5a9da7e7ea42fcc2c573df52e4a3a5be" -script = "./autogen.sh" +tar = "https://codeberg.org/gumbo-parser/gumbo-parser/archive/0.13.2.tar.gz" +script = """ +autotools_recursive_regenerate +""" [build] template = "configure" diff --git a/recipes/wip/libs/other/libharu/recipe.toml b/recipes/wip/libs/other/libharu/recipe.toml index 48171d07..a31595c0 100644 --- a/recipes/wip/libs/other/libharu/recipe.toml +++ b/recipes/wip/libs/other/libharu/recipe.toml @@ -1,10 +1,7 @@ -#TODO the git repository contents aren't copied to the "build" folder +#TODO not compiled or tested [source] git = "https://github.com/libharu/libharu" -rev = "0c598becaadaef8e3d12b883f9fc2864a118c12d" +rev = "v2.4.5" +shallow_clone = true [build] -template = "custom" -script = """ -./buildconf.sh -cookbook_configure -""" +template = "cmake" diff --git a/recipes/wip/libs/other/libhidapi/recipe.toml b/recipes/wip/libs/other/libhidapi/recipe.toml index bc5e83c4..950a26ce 100644 --- a/recipes/wip/libs/other/libhidapi/recipe.toml +++ b/recipes/wip/libs/other/libhidapi/recipe.toml @@ -2,7 +2,8 @@ # build instructions: https://github.com/libusb/hidapi/blob/master/BUILD.cmake.md [source] git = "https://github.com/libusb/hidapi" -rev = "d3013f0af3f4029d82872c1a9487ea461a56dee4" +rev = "hidapi-0.15.0" +shallow_clone = true [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/tests/gtest/recipe.toml b/recipes/wip/tests/gtest/recipe.toml index b9370e25..822359e9 100644 --- a/recipes/wip/tests/gtest/recipe.toml +++ b/recipes/wip/tests/gtest/recipe.toml @@ -1,7 +1,6 @@ #TODO not compiled or tested # build instructions: https://github.com/google/googletest/blob/main/googletest/README.md [source] -git = "https://github.com/google/googletest" -rev = "f8d7d77c06936315286eb55f8de22cd23c188571" +tar = "https://github.com/google/googletest/releases/download/v1.17.0/googletest-1.17.0.tar.gz" [build] template = "cmake" diff --git a/recipes/wip/tests/pjdfstest/recipe.toml b/recipes/wip/tests/pjdfstest/recipe.toml index c37f6a25..c8219daa 100644 --- a/recipes/wip/tests/pjdfstest/recipe.toml +++ b/recipes/wip/tests/pjdfstest/recipe.toml @@ -1,11 +1,11 @@ #TODO not compiled or tested [source] git = "https://github.com/pjd/pjdfstest" -[build] -template = "custom" +shallow_clone = true script = """ -mkdir -pv "${COOKBOOK_STAGE}/home/user/pjdfstest" -cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/pjdfstest" +autotools_recursive_regenerate """ +[build] +template = "configure" [package] dependencies = ["perl5"] diff --git a/recipes/wip/tests/xfstests/recipe.toml b/recipes/wip/tests/xfstests/recipe.toml index 81cf8077..293229d0 100644 --- a/recipes/wip/tests/xfstests/recipe.toml +++ b/recipes/wip/tests/xfstests/recipe.toml @@ -1,7 +1,8 @@ #TODO not compiled or tested [source] git = "https://github.com/kdave/xfstests" -rev = "2cba4b54e6ab21d9324000f3cd009dbe9cad9c19" +rev = "v2026.03.20" +shallow_clone = true [build] template = "custom" script = """