From 91e0399691f2dbbec0f6bcaa6ce418f5eb365791 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Fri, 20 Mar 2026 20:41:36 -0300 Subject: [PATCH] Improve many library recipes and update i2pd recipe --- recipes/wip/libs/other/krb5/recipe.toml | 9 +++++++-- recipes/wip/libs/other/lammps/recipe.toml | 12 +++++++++--- recipes/wip/libs/other/lib2geom/recipe.toml | 3 ++- recipes/wip/libs/other/libaom/recipe.toml | 3 ++- recipes/wip/libs/other/libargon2/recipe.toml | 3 ++- recipes/wip/libs/other/libass/recipe.toml | 9 ++++----- recipes/wip/libs/other/libbrotli/recipe.toml | 6 +++++- recipes/wip/libs/other/libcamera/recipe.toml | 10 +++++++++- recipes/wip/libs/other/libcap/recipe.toml | 2 +- recipes/wip/libs/other/libcdio-paranoia/recipe.toml | 7 +++---- recipes/wip/libs/other/libcdio/recipe.toml | 7 +++---- recipes/wip/libs/other/libcdr/recipe.toml | 4 ++-- recipes/wip/libs/other/libcups/recipe.toml | 2 +- recipes/wip/libs/other/libde265/recipe.toml | 13 +++++-------- recipes/wip/libs/other/libdecor/recipe.toml | 5 ++++- recipes/wip/libs/other/libdeflate/recipe.toml | 2 +- recipes/wip/libs/other/libdotconf/recipe.toml | 9 +++++++-- .../wip/libs/other/libdouble-conversion/recipe.toml | 7 ++++--- recipes/wip/libs/other/libebml/recipe.toml | 2 +- recipes/wip/libs/other/libeigen/recipe.toml | 6 +++++- recipes/wip/libs/other/libev/recipe.toml | 6 +----- recipes/wip/libs/other/libevdev/recipe.toml | 2 +- recipes/wip/libs/other/libevent/recipe.toml | 6 +++++- recipes/wip/libs/other/libfmt/recipe.toml | 7 ++++++- recipes/wip/libs/other/libfuse2/recipe.toml | 2 +- recipes/wip/libs/other/libfuse3/recipe.toml | 6 +++++- recipes/wip/net/onion-routing/i2pd/recipe.toml | 7 ++++++- 27 files changed, 102 insertions(+), 55 deletions(-) diff --git a/recipes/wip/libs/other/krb5/recipe.toml b/recipes/wip/libs/other/krb5/recipe.toml index b54d36e53..24cdc0a86 100644 --- a/recipes/wip/libs/other/krb5/recipe.toml +++ b/recipes/wip/libs/other/krb5/recipe.toml @@ -1,5 +1,10 @@ -#TODO missing script for building, lacking build instructions +#TODO not compiled or tested [source] -tar = "https://kerberos.org/dist/krb5/1.21/krb5-1.21.2.tar.gz" +tar = "https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz" [build] template = "custom" +script = """ +COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/src" +DYNAMIC_INIT +cookbook_configure +""" diff --git a/recipes/wip/libs/other/lammps/recipe.toml b/recipes/wip/libs/other/lammps/recipe.toml index 369e77267..78498cdff 100644 --- a/recipes/wip/libs/other/lammps/recipe.toml +++ b/recipes/wip/libs/other/lammps/recipe.toml @@ -1,7 +1,13 @@ #TODO not compiled or tested # build instructions: https://docs.lammps.org/Build_cmake.html [source] -git = "https://github.com/lammps/lammps" -rev = "27e8d0f19cfd60ff513828af74d07d2c8f3c4451" +tar = "https://github.com/lammps/lammps/releases/download/stable_22Jul2025_update3/lammps-src-22Jul2025_update3.tar.gz" [build] -template = "cmake" +template = "custom" +script = """ +DYNAMIC_INIT +COOKBOOK_CMAKE_FLAGS+=( + -DENABLE_TESTING=False +) +cookbook_cmake "${COOKBOOK_SOURCE}"/cmake +""" diff --git a/recipes/wip/libs/other/lib2geom/recipe.toml b/recipes/wip/libs/other/lib2geom/recipe.toml index b87f17ba2..fff217804 100644 --- a/recipes/wip/libs/other/lib2geom/recipe.toml +++ b/recipes/wip/libs/other/lib2geom/recipe.toml @@ -2,7 +2,8 @@ # build instructions: https://gitlab.com/inkscape/lib2geom#building [source] git = "https://gitlab.com/inkscape/lib2geom" -rev = "18fc32f9972dfaee597055b3226c5b7ef3bfbb4c" +branch = "1.4.x" +shallow_clone = true [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/libs/other/libaom/recipe.toml b/recipes/wip/libs/other/libaom/recipe.toml index b174ee2e0..35f35d7f2 100644 --- a/recipes/wip/libs/other/libaom/recipe.toml +++ b/recipes/wip/libs/other/libaom/recipe.toml @@ -2,6 +2,7 @@ # build instructions: https://aomedia.googlesource.com/aom/#basic-build [source] git = "https://aomedia.googlesource.com/aom" -rev = "aca387522ccc0a1775716923d5489dd2d4b1e628" +rev = "v3.13.2" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/libs/other/libargon2/recipe.toml b/recipes/wip/libs/other/libargon2/recipe.toml index c65d5ab30..299df5738 100644 --- a/recipes/wip/libs/other/libargon2/recipe.toml +++ b/recipes/wip/libs/other/libargon2/recipe.toml @@ -1,5 +1,6 @@ -#TODO missing script for "make", see https://github.com/P-H-C/phc-winner-argon2#usage +#TODO missing script for gnu make: https://github.com/P-H-C/phc-winner-argon2#usage [source] git = "https://github.com/P-H-C/phc-winner-argon2" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/libs/other/libass/recipe.toml b/recipes/wip/libs/other/libass/recipe.toml index bec43da49..8a26b244c 100644 --- a/recipes/wip/libs/other/libass/recipe.toml +++ b/recipes/wip/libs/other/libass/recipe.toml @@ -17,8 +17,7 @@ dependencies = [ "pcre2", "zlib", ] -template = "custom" -script = """ -DYNAMIC_INIT -cookbook_configure --disable-asm -""" +template = "configure" +configureflags = [ + "--disable-asm" +] diff --git a/recipes/wip/libs/other/libbrotli/recipe.toml b/recipes/wip/libs/other/libbrotli/recipe.toml index ea24704bd..0685a9221 100644 --- a/recipes/wip/libs/other/libbrotli/recipe.toml +++ b/recipes/wip/libs/other/libbrotli/recipe.toml @@ -2,6 +2,10 @@ # build instructions: https://github.com/google/brotli#cmake [source] git = "https://github.com/google/brotli" -rev = "ed738e842d2fbdf2d6459e39267a633c4a9b2f5d" +branch = "v1.2" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DBROTLI_DISABLE_TESTS=TRUE" +] \ No newline at end of file diff --git a/recipes/wip/libs/other/libcamera/recipe.toml b/recipes/wip/libs/other/libcamera/recipe.toml index c52109d67..6173b288f 100644 --- a/recipes/wip/libs/other/libcamera/recipe.toml +++ b/recipes/wip/libs/other/libcamera/recipe.toml @@ -1,9 +1,17 @@ -#TODO not compiled or tested +#TODO require authentication to fetch source, user and password is: libcamera # build instructions: https://libcamera.org/getting-started.html [source] git = "https://git.libcamera.org/libcamera/libcamera" +rev = "v0.7.0" +shallow_clone = true [build] template = "meson" +mesonflags = [ + "-Ddocumentation=false" + "-Dpycamera=false", + "-Dtracing=false", + "-Dudev=false", +] dependencies = [ "libyaml", "libevdev", diff --git a/recipes/wip/libs/other/libcap/recipe.toml b/recipes/wip/libs/other/libcap/recipe.toml index 8426663a1..4bdbc4d9d 100644 --- a/recipes/wip/libs/other/libcap/recipe.toml +++ b/recipes/wip/libs/other/libcap/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for "make" (maybe need the Go), see https://git.kernel.org/pub/scm/libs/libcap/libcap.git/tree/README#n20 +#TODO missing script for gnu make (maybe need Go compiler): https://git.kernel.org/pub/scm/libs/libcap/libcap.git/tree/README#n20 [source] tar = "https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.69.tar.xz" [build] diff --git a/recipes/wip/libs/other/libcdio-paranoia/recipe.toml b/recipes/wip/libs/other/libcdio-paranoia/recipe.toml index 71b44b421..cef37c3cf 100644 --- a/recipes/wip/libs/other/libcdio-paranoia/recipe.toml +++ b/recipes/wip/libs/other/libcdio-paranoia/recipe.toml @@ -1,6 +1,5 @@ -#TODO missing script for building +#TODO not compiled or tested [source] -git = "https://github.com/rocky/libcdio-paranoia" -rev = "db4dfff9e11c516ae35d87e568f511002ddae9d7" +tar = "https://github.com/libcdio/libcdio-paranoia/releases/download/release-10.2%2B2.0.2/libcdio-paranoia-10.2+2.0.2.tar.bz2" [build] -template = "custom" +template = "configure" diff --git a/recipes/wip/libs/other/libcdio/recipe.toml b/recipes/wip/libs/other/libcdio/recipe.toml index 6ac595527..349ddce4a 100644 --- a/recipes/wip/libs/other/libcdio/recipe.toml +++ b/recipes/wip/libs/other/libcdio/recipe.toml @@ -1,6 +1,5 @@ -#TODO missing script for building, see https://git.savannah.gnu.org/cgit/libcdio.git/tree/INSTALL +#TODO not compiled or tested [source] -git = "https://git.savannah.gnu.org/git/libcdio.git" -rev = "9c7a2779846da161279bc1501e83c849cf89a594" +tar = "https://github.com/libcdio/libcdio/releases/download/2.3.0/libcdio-2.3.0.tar.bz2" [build] -template = "custom" +template = "configure" diff --git a/recipes/wip/libs/other/libcdr/recipe.toml b/recipes/wip/libs/other/libcdr/recipe.toml index 61e163559..679d5e050 100644 --- a/recipes/wip/libs/other/libcdr/recipe.toml +++ b/recipes/wip/libs/other/libcdr/recipe.toml @@ -1,6 +1,6 @@ -#TODO make all dependencies work +#TODO not compiled or tested [source] -tar = "https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.7.tar.xz" +tar = "https://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.8.tar.xz" [build] template = "configure" dependencies = [ diff --git a/recipes/wip/libs/other/libcups/recipe.toml b/recipes/wip/libs/other/libcups/recipe.toml index d4137cf10..d1015b537 100644 --- a/recipes/wip/libs/other/libcups/recipe.toml +++ b/recipes/wip/libs/other/libcups/recipe.toml @@ -1,4 +1,4 @@ -#TODO make gnutls work +#TODO not compiled or tested [source] tar = "https://github.com/OpenPrinting/cups/releases/download/v2.4.7/cups-2.4.7-source.tar.gz" [build] diff --git a/recipes/wip/libs/other/libde265/recipe.toml b/recipes/wip/libs/other/libde265/recipe.toml index a8a013c28..91a7fed89 100644 --- a/recipes/wip/libs/other/libde265/recipe.toml +++ b/recipes/wip/libs/other/libde265/recipe.toml @@ -2,11 +2,8 @@ [source] tar = "https://github.com/strukturag/libde265/releases/download/v1.0.14/libde265-1.0.14.tar.gz" [build] -template = "custom" -script = """ -COOKBOOK_CONFIGURE_FLAGS+=( - --disable-dec265 - --disable-sherlock265 -) -cookbook_configure -""" +template = "configure" +configureflags = [ + "--disable-dec265", + "--disable-sherlock265", +] diff --git a/recipes/wip/libs/other/libdecor/recipe.toml b/recipes/wip/libs/other/libdecor/recipe.toml index 75aad337f..027588b69 100644 --- a/recipes/wip/libs/other/libdecor/recipe.toml +++ b/recipes/wip/libs/other/libdecor/recipe.toml @@ -1,9 +1,12 @@ #TODO not compiled or tested # build instructions: https://gitlab.freedesktop.org/libdecor/libdecor#build--install [source] -tar = "https://gitlab.freedesktop.org/libdecor/libdecor/uploads/ee5ef0f2c3a4743e8501a855d61cb397/libdecor-0.1.1.tar.xz" +tar = "https://gitlab.freedesktop.org/libdecor/libdecor/-/releases/0.2.5/downloads/libdecor-0.2.5.tar.xz" [build] template = "meson" +mesonflags = [ + "-Ddbus=disabled" +] dependencies = [ "pango", "libwayland", diff --git a/recipes/wip/libs/other/libdeflate/recipe.toml b/recipes/wip/libs/other/libdeflate/recipe.toml index f3b2e7907..012bbb54c 100644 --- a/recipes/wip/libs/other/libdeflate/recipe.toml +++ b/recipes/wip/libs/other/libdeflate/recipe.toml @@ -1,6 +1,6 @@ #TODO not compiled or tested # build instructions: https://github.com/ebiggers/libdeflate#building [source] -tar = "https://github.com/ebiggers/libdeflate/releases/download/v1.19/libdeflate-1.19.tar.gz" +tar = "https://github.com/ebiggers/libdeflate/releases/download/v1.25/libdeflate-1.25.tar.gz" [build] template = "cmake" diff --git a/recipes/wip/libs/other/libdotconf/recipe.toml b/recipes/wip/libs/other/libdotconf/recipe.toml index e8fa00624..4050b9d18 100644 --- a/recipes/wip/libs/other/libdotconf/recipe.toml +++ b/recipes/wip/libs/other/libdotconf/recipe.toml @@ -1,5 +1,10 @@ -#TODO missing "configure" file, see https://github.com/williamh/dotconf/blob/master/INSTALL +#TODO not compiled or tested [source] git = "https://github.com/williamh/dotconf" +rev = "v1.4.1" +shallow_clone = true +script = """ +autotools_recursive_regenerate +""" [build] -template = "custom" +template = "configure" diff --git a/recipes/wip/libs/other/libdouble-conversion/recipe.toml b/recipes/wip/libs/other/libdouble-conversion/recipe.toml index 97747a356..871ce537a 100644 --- a/recipes/wip/libs/other/libdouble-conversion/recipe.toml +++ b/recipes/wip/libs/other/libdouble-conversion/recipe.toml @@ -1,6 +1,7 @@ -#TODO missing script for building, see https://github.com/google/double-conversion#building +#TODO not compiled or tested [source] git = "https://github.com/google/double-conversion" -rev = "4f7a25d8ced8c7cf6eee6fd09d6788eaa23c9afe" +rev = "v3.4.0" +shallow_clone = true [build] -template = "custom" +template = "cmake" diff --git a/recipes/wip/libs/other/libebml/recipe.toml b/recipes/wip/libs/other/libebml/recipe.toml index 886d0e64d..b225746a9 100644 --- a/recipes/wip/libs/other/libebml/recipe.toml +++ b/recipes/wip/libs/other/libebml/recipe.toml @@ -1,6 +1,6 @@ #TODO not compiled or tested # build instructions: https://github.com/Matroska-Org/libebml#building-and-installing [source] -tar = "https://dl.matroska.org/downloads/libebml/libebml-1.4.4.tar.xz" +tar = "https://dl.matroska.org/downloads/libebml/libebml-1.4.5.tar.xz" [build] template = "cmake" diff --git a/recipes/wip/libs/other/libeigen/recipe.toml b/recipes/wip/libs/other/libeigen/recipe.toml index 7167c7a9f..acf9d1203 100644 --- a/recipes/wip/libs/other/libeigen/recipe.toml +++ b/recipes/wip/libs/other/libeigen/recipe.toml @@ -2,6 +2,10 @@ # build instructions: https://gitlab.com/libeigen/eigen/-/blob/master/INSTALL?ref_type=heads [source] git = "https://gitlab.com/libeigen/eigen" -rev = "3147391d946bb4b6c68edd901f2add6ac1f31f8c" +branch = "5.0" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DBUILD_TESTING=OFF" +] \ No newline at end of file diff --git a/recipes/wip/libs/other/libev/recipe.toml b/recipes/wip/libs/other/libev/recipe.toml index a3f544fb0..9962c185a 100644 --- a/recipes/wip/libs/other/libev/recipe.toml +++ b/recipes/wip/libs/other/libev/recipe.toml @@ -6,8 +6,4 @@ autotools_recursive_regenerate """ [build] -template = "custom" -script = """ -DYNAMIC_INIT -cookbook_configure -""" +template = "configure" diff --git a/recipes/wip/libs/other/libevdev/recipe.toml b/recipes/wip/libs/other/libevdev/recipe.toml index 841f7f26f..c7e0d4575 100644 --- a/recipes/wip/libs/other/libevdev/recipe.toml +++ b/recipes/wip/libs/other/libevdev/recipe.toml @@ -1,4 +1,4 @@ -#TODO compilation error +#TODO: promote [source] tar = "https://www.freedesktop.org/software/libevdev/libevdev-1.12.1.tar.xz" blake3 = "d4be83e6f6cb4972cf5052f5a046eb820aa529427202f043a9d95b945e73edcd" diff --git a/recipes/wip/libs/other/libevent/recipe.toml b/recipes/wip/libs/other/libevent/recipe.toml index 113bd2114..93d7b56ea 100644 --- a/recipes/wip/libs/other/libevent/recipe.toml +++ b/recipes/wip/libs/other/libevent/recipe.toml @@ -1,9 +1,13 @@ #TODO compiles, not tested [source] tar = "https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz" - [build] template = "cmake" +cmakeflags = [ + "-DEVENT__DISABLE_DEBUG_MODE=ON", + "-DEVENT__DISABLE_TESTS=ON", + "-DEVENT__DISABLE_REGRESS=ON", +] dependencies = [ "openssl3", ] diff --git a/recipes/wip/libs/other/libfmt/recipe.toml b/recipes/wip/libs/other/libfmt/recipe.toml index 718baa3c4..2651bd009 100644 --- a/recipes/wip/libs/other/libfmt/recipe.toml +++ b/recipes/wip/libs/other/libfmt/recipe.toml @@ -2,6 +2,11 @@ # build instructions: https://fmt.dev/latest/usage.html#building-the-library [source] git = "https://github.com/fmtlib/fmt" -rev = "f5e54359df4c26b6230fc61d38aa294581393084" +rev = "12.1.0" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DFMT_DOC=OFF", + "-DFMT_TEST=OFF", +] diff --git a/recipes/wip/libs/other/libfuse2/recipe.toml b/recipes/wip/libs/other/libfuse2/recipe.toml index e17f98df9..e774fdbc9 100644 --- a/recipes/wip/libs/other/libfuse2/recipe.toml +++ b/recipes/wip/libs/other/libfuse2/recipe.toml @@ -4,4 +4,4 @@ [source] tar = "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz" [build] -template = "meson" +template = "configure" diff --git a/recipes/wip/libs/other/libfuse3/recipe.toml b/recipes/wip/libs/other/libfuse3/recipe.toml index 8cd145ee5..b157725d1 100644 --- a/recipes/wip/libs/other/libfuse3/recipe.toml +++ b/recipes/wip/libs/other/libfuse3/recipe.toml @@ -2,6 +2,10 @@ # build instructions: https://github.com/libfuse/libfuse#installation #TODO require a redox daemon (userspace equivalent of the Linux kernel module) [source] -tar = "https://github.com/libfuse/libfuse/releases/download/fuse-3.16.2/fuse-3.16.2.tar.gz" +tar = "https://github.com/libfuse/libfuse/releases/download/fuse-3.18.2/fuse-3.18.2.tar.gz" [build] template = "meson" +mesonflags = [ + "-Dtests=false", + "-Denable-io-uring=false", +] diff --git a/recipes/wip/net/onion-routing/i2pd/recipe.toml b/recipes/wip/net/onion-routing/i2pd/recipe.toml index a36851fb5..69185df5d 100644 --- a/recipes/wip/net/onion-routing/i2pd/recipe.toml +++ b/recipes/wip/net/onion-routing/i2pd/recipe.toml @@ -5,9 +5,14 @@ git = "https://github.com/PurpleI2P/i2pd" rev = "2.59.0" shallow_clone = true [build] -template = "cmake" +template = "custom" dependencies = [ "boost", "openssl3", "zlib", ] +script = """ +COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/build" +DYNAMIC_INIT +cookbook_cmake +"""