From a9851e70100803b4f0a9f05ddf772b0f8dd73ed7 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Tue, 24 Mar 2026 15:59:41 -0300 Subject: [PATCH] Improve and update many library recipes --- recipes/wip/libs/other/liblapack/recipe.toml | 7 ++++++- recipes/wip/libs/other/liblensfun/recipe.toml | 3 ++- recipes/wip/libs/other/libmypaint/recipe.toml | 2 +- recipes/wip/libs/other/libnlopt/recipe.toml | 7 ++++++- recipes/wip/libs/other/libonig/recipe.toml | 3 ++- recipes/wip/libs/other/libpcsclite/recipe.toml | 2 +- recipes/wip/libs/other/libplist/recipe.toml | 11 ++++------- recipes/wip/libs/other/libpoppler/recipe.toml | 2 +- recipes/wip/libs/other/libportaudio/recipe.toml | 4 ++-- recipes/wip/libs/other/libpugixml/recipe.toml | 7 +++++-- recipes/wip/libs/other/libqalculate/recipe.toml | 4 ++-- recipes/wip/libs/other/libqrcodegenc/recipe.toml | 8 ++++++-- recipes/wip/libs/other/libraptor2/recipe.toml | 3 ++- recipes/wip/libs/other/librasqal/recipe.toml | 2 +- recipes/wip/libs/other/librdf/recipe.toml | 2 +- recipes/wip/libs/other/librevenge/recipe.toml | 2 +- recipes/wip/libs/other/librist/recipe.toml | 6 ++++-- recipes/wip/libs/other/librkcommon/recipe.toml | 3 ++- recipes/wip/libs/other/libskia/recipe.toml | 2 ++ recipes/wip/libs/other/libslirp/recipe.toml | 2 +- recipes/wip/libs/other/libsndfile/recipe.toml | 7 ++----- recipes/wip/libs/other/libsoundio/recipe.toml | 9 ++++++++- recipes/wip/libs/other/libspdlog/recipe.toml | 2 ++ recipes/wip/libs/other/libsrt/recipe.toml | 6 ++++-- recipes/wip/libs/other/libssh/recipe.toml | 4 ++-- recipes/wip/libs/other/libtasn1/recipe.toml | 7 ++----- recipes/wip/libs/other/libtheora/recipe.toml | 7 ++----- recipes/wip/libs/other/libtickit/recipe.toml | 2 +- 28 files changed, 75 insertions(+), 51 deletions(-) diff --git a/recipes/wip/libs/other/liblapack/recipe.toml b/recipes/wip/libs/other/liblapack/recipe.toml index fd27e0d5f..696b64c50 100644 --- a/recipes/wip/libs/other/liblapack/recipe.toml +++ b/recipes/wip/libs/other/liblapack/recipe.toml @@ -2,6 +2,11 @@ # build instructions: https://github.com/Reference-LAPACK/lapack#installation [source] git = "https://github.com/Reference-LAPACK/lapack" -rev = "04b044e020a3560ccfa9988c8a80a1fb7083fc2e" +rev = "v3.12.1" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-D_is_coverage_build=0", + "-DLAPACK_TESTING_USE_PYTHON=OFF", +] diff --git a/recipes/wip/libs/other/liblensfun/recipe.toml b/recipes/wip/libs/other/liblensfun/recipe.toml index 428eff77a..4aabac5cf 100644 --- a/recipes/wip/libs/other/liblensfun/recipe.toml +++ b/recipes/wip/libs/other/liblensfun/recipe.toml @@ -2,7 +2,8 @@ # build instructions: https://github.com/lensfun/lensfun?tab=readme-ov-file#build-instructions [source] git = "https://github.com/lensfun/lensfun" -rev = "35b19fb38e7250ea646709ef9e528d54a6a79648" +branch = "release_0.3.x" +shallow_clone = true [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/libs/other/libmypaint/recipe.toml b/recipes/wip/libs/other/libmypaint/recipe.toml index 94ef67255..49968016c 100644 --- a/recipes/wip/libs/other/libmypaint/recipe.toml +++ b/recipes/wip/libs/other/libmypaint/recipe.toml @@ -1,4 +1,4 @@ -#TODO probably missing dependencies, see: https://github.com/mypaint/libmypaint/#dependencies +#TODO probably missing dependencies: https://github.com/mypaint/libmypaint/#dependencies [source] tar = "https://github.com/mypaint/libmypaint/releases/download/v1.6.0/libmypaint-1.6.0.tar.xz" [build] diff --git a/recipes/wip/libs/other/libnlopt/recipe.toml b/recipes/wip/libs/other/libnlopt/recipe.toml index 39fbb7180..8cf4d62e6 100644 --- a/recipes/wip/libs/other/libnlopt/recipe.toml +++ b/recipes/wip/libs/other/libnlopt/recipe.toml @@ -2,6 +2,11 @@ # build instructions: https://github.com/stevengj/nlopt#readme [source] git = "https://github.com/stevengj/nlopt" -rev = "09b3c2a6da71cabcb98d2c8facc6b83d2321ed71" +rev = "v2.10.1" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DNLOPT_GUILE=OFF", + "-DNLOPT_JAVA=OFF", +] diff --git a/recipes/wip/libs/other/libonig/recipe.toml b/recipes/wip/libs/other/libonig/recipe.toml index 81693ea21..f8e7c238f 100644 --- a/recipes/wip/libs/other/libonig/recipe.toml +++ b/recipes/wip/libs/other/libonig/recipe.toml @@ -1,9 +1,10 @@ +#TODO: promote [source] git = "https://github.com/kkos/oniguruma" rev = "f95747b462de672b6f8dbdeb478245ddf061ca53" +shallow_clone = true script = """ autotools_recursive_regenerate """ - [build] template = "configure" diff --git a/recipes/wip/libs/other/libpcsclite/recipe.toml b/recipes/wip/libs/other/libpcsclite/recipe.toml index 4c96c3a8e..155379361 100644 --- a/recipes/wip/libs/other/libpcsclite/recipe.toml +++ b/recipes/wip/libs/other/libpcsclite/recipe.toml @@ -1,4 +1,4 @@ -#TODO require POSIX threads support +#TODO not compiled or tested [source] tar = "https://pcsclite.apdu.fr/files/pcsc-lite-2.0.3.tar.bz2" [build] diff --git a/recipes/wip/libs/other/libplist/recipe.toml b/recipes/wip/libs/other/libplist/recipe.toml index 277784f3c..65ca209d3 100644 --- a/recipes/wip/libs/other/libplist/recipe.toml +++ b/recipes/wip/libs/other/libplist/recipe.toml @@ -2,10 +2,7 @@ [source] tar = "https://github.com/libimobiledevice/libplist/releases/download/2.6.0/libplist-2.6.0.tar.bz2" [build] -template = "custom" -script = """ -COOKBOOK_CONFIGURE_FLAGS+=( - --without-cython -) -cookbook_configure -""" +template = "configure" +configureflags = [ + "--without-cython" +] diff --git a/recipes/wip/libs/other/libpoppler/recipe.toml b/recipes/wip/libs/other/libpoppler/recipe.toml index 6c5f33f52..61e558e1c 100644 --- a/recipes/wip/libs/other/libpoppler/recipe.toml +++ b/recipes/wip/libs/other/libpoppler/recipe.toml @@ -1,4 +1,4 @@ -#TODO needs encoding data - https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz +#TODO needs encoding data: https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz [source] tar = "https://poppler.freedesktop.org/poppler-25.08.0.tar.xz" blake3 = "0732ef20594d084ae3c24cb75079a2be347df78acac80fdcbd6149b8dce197d4" diff --git a/recipes/wip/libs/other/libportaudio/recipe.toml b/recipes/wip/libs/other/libportaudio/recipe.toml index 3c0d52559..7849b7665 100644 --- a/recipes/wip/libs/other/libportaudio/recipe.toml +++ b/recipes/wip/libs/other/libportaudio/recipe.toml @@ -1,7 +1,7 @@ #TODO compilation error -#TODO require some Linux audio server [source] git = "https://github.com/PortAudio/portaudio" -rev = "147dd722548358763a8b649b3e4b41dfffbcfbb6" +rev = "v19.7.0" +shallow_clone = true [build] template = "configure" diff --git a/recipes/wip/libs/other/libpugixml/recipe.toml b/recipes/wip/libs/other/libpugixml/recipe.toml index 50d08d8e9..8a9291033 100644 --- a/recipes/wip/libs/other/libpugixml/recipe.toml +++ b/recipes/wip/libs/other/libpugixml/recipe.toml @@ -1,5 +1,8 @@ -#TODO missing script for building, see https://pugixml.org/docs/quickstart.html#install +#TODO missing script for compilation +# build instructions: +# https://pugixml.org/docs/quickstart.html#install +# https://pugixml.org/docs/manual.html#install.building [source] -tar = "https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz" +tar = "https://github.com/zeux/pugixml/releases/download/v1.15/pugixml-1.15.tar.gz" [build] template = "custom" diff --git a/recipes/wip/libs/other/libqalculate/recipe.toml b/recipes/wip/libs/other/libqalculate/recipe.toml index 361db8c4a..49d1a1aa2 100644 --- a/recipes/wip/libs/other/libqalculate/recipe.toml +++ b/recipes/wip/libs/other/libqalculate/recipe.toml @@ -1,6 +1,6 @@ -#TODO make libicu work +#TODO not compiled or tested [source] -tar = "https://github.com/Qalculate/libqalculate/releases/download/v4.9.0/libqalculate-4.9.0.tar.gz" +tar = "https://github.com/Qalculate/libqalculate/releases/download/v5.9.0/libqalculate-5.9.0.tar.gz" [build] template = "configure" dependencies = [ diff --git a/recipes/wip/libs/other/libqrcodegenc/recipe.toml b/recipes/wip/libs/other/libqrcodegenc/recipe.toml index a270b5c16..92c039819 100644 --- a/recipes/wip/libs/other/libqrcodegenc/recipe.toml +++ b/recipes/wip/libs/other/libqrcodegenc/recipe.toml @@ -1,6 +1,10 @@ -#TODO missing script to build the C implementation, see https://github.com/nayuki/QR-Code-generator/tree/master/c +#TODO missing script to build the C implementation: https://github.com/nayuki/QR-Code-generator/tree/master/c [source] git = "https://github.com/nayuki/QR-Code-generator" -rev = "720f62bddb7226106071d4728c292cb1df519ceb" +rev = "8329a7108fc22be3e1eec0a9f9318978579e3621" +shallow_clone = true [build] template = "custom" +script = """ +COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/c" +""" diff --git a/recipes/wip/libs/other/libraptor2/recipe.toml b/recipes/wip/libs/other/libraptor2/recipe.toml index 00795c49d..cc2a26839 100644 --- a/recipes/wip/libs/other/libraptor2/recipe.toml +++ b/recipes/wip/libs/other/libraptor2/recipe.toml @@ -1,5 +1,6 @@ -#TODO customization - https://librdf.org/raptor/INSTALL.html +#TODO not compiled or tested #TODO pending dependency configuration +# customization: https://librdf.org/raptor/INSTALL.html [source] tar = "http://download.librdf.org/source/raptor2-2.0.16.tar.gz" [build] diff --git a/recipes/wip/libs/other/librasqal/recipe.toml b/recipes/wip/libs/other/librasqal/recipe.toml index 420b35a78..92635fc28 100644 --- a/recipes/wip/libs/other/librasqal/recipe.toml +++ b/recipes/wip/libs/other/librasqal/recipe.toml @@ -1,5 +1,5 @@ -#TODO customization - https://librdf.org/rasqal/INSTALL.html #TODO compilation error +# customization: https://librdf.org/rasqal/INSTALL.html [source] tar = "http://download.librdf.org/source/rasqal-0.9.33.tar.gz" [build] diff --git a/recipes/wip/libs/other/librdf/recipe.toml b/recipes/wip/libs/other/librdf/recipe.toml index f4d6e5966..fd49726d4 100644 --- a/recipes/wip/libs/other/librdf/recipe.toml +++ b/recipes/wip/libs/other/librdf/recipe.toml @@ -1,5 +1,5 @@ -#TODO customization - https://librdf.org/INSTALL.html #TODO compilation error +# customization: https://librdf.org/INSTALL.html [source] tar = "http://download.librdf.org/source/redland-1.0.17.tar.gz" [build] diff --git a/recipes/wip/libs/other/librevenge/recipe.toml b/recipes/wip/libs/other/librevenge/recipe.toml index d380c0c43..5cfde9dfa 100644 --- a/recipes/wip/libs/other/librevenge/recipe.toml +++ b/recipes/wip/libs/other/librevenge/recipe.toml @@ -1,4 +1,4 @@ -#TODO make boost work +#TODO not compiled or tested [source] tar = "https://sourceforge.net/projects/libwpd/files/librevenge/librevenge-0.0.5/librevenge-0.0.5.tar.xz/download" [build] diff --git a/recipes/wip/libs/other/librist/recipe.toml b/recipes/wip/libs/other/librist/recipe.toml index 5757c5490..122ba0ee9 100644 --- a/recipes/wip/libs/other/librist/recipe.toml +++ b/recipes/wip/libs/other/librist/recipe.toml @@ -1,7 +1,9 @@ #TODO not compiled or tested # build instructions: https://code.videolan.org/rist/librist#compile-using-mesonninja-linux-osx-and-windows-mingw [source] -git = "https://code.videolan.org/rist/librist" -rev = "1e805500dc14a507598cebdd49557c32e514899f" +tar = "https://code.videolan.org/rist/librist/-/archive/v.0.2.11/librist-v.0.2.11.tar.bz2" [build] template = "meson" +mesonflags = [ + "-Dtest=false" +] diff --git a/recipes/wip/libs/other/librkcommon/recipe.toml b/recipes/wip/libs/other/librkcommon/recipe.toml index c7bb01c00..d806e289f 100644 --- a/recipes/wip/libs/other/librkcommon/recipe.toml +++ b/recipes/wip/libs/other/librkcommon/recipe.toml @@ -2,7 +2,8 @@ # build instructions: https://github.com/ospray/rkcommon#building [source] git = "https://github.com/ospray/rkcommon" -rev = "f15291d4789a53e5980fd9b3d2639f705d675dd7" +rev = "v1.15.2" +shallow_clone = true [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/libs/other/libskia/recipe.toml b/recipes/wip/libs/other/libskia/recipe.toml index 3a3665e52..8c8b9a84b 100644 --- a/recipes/wip/libs/other/libskia/recipe.toml +++ b/recipes/wip/libs/other/libskia/recipe.toml @@ -1,5 +1,7 @@ #TODO missing script for GN, see https://skia.org/docs/user/build/ [source] git = "https://skia.googlesource.com/skia" +rev = "canvaskit/0.41.0" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/libs/other/libslirp/recipe.toml b/recipes/wip/libs/other/libslirp/recipe.toml index 2722021bb..605c67147 100644 --- a/recipes/wip/libs/other/libslirp/recipe.toml +++ b/recipes/wip/libs/other/libslirp/recipe.toml @@ -1,6 +1,6 @@ #TODO not compiled or tested # build instructions: https://gitlab.freedesktop.org/slirp/libslirp#building [source] -tar = "https://gitlab.freedesktop.org/slirp/libslirp/uploads/60113f60cfd6abe2c16dde9f6c81b631/libslirp-4.7.0.tar.xz" +tar = "https://gitlab.freedesktop.org/-/project/2767/uploads/ed8eaeada090f91a640c8e8e01d704bc/libslirp-4.9.1.tar.xz" [build] template = "meson" diff --git a/recipes/wip/libs/other/libsndfile/recipe.toml b/recipes/wip/libs/other/libsndfile/recipe.toml index 804a00318..46e535885 100644 --- a/recipes/wip/libs/other/libsndfile/recipe.toml +++ b/recipes/wip/libs/other/libsndfile/recipe.toml @@ -1,3 +1,4 @@ +#TODO: promote [source] tar = "https://github.com/libsndfile/libsndfile/releases/download/1.2.0/libsndfile-1.2.0.tar.xz" blake3 = "7ec1be7cc47fdffc38cf0cbf02857e6a34a13df22d19f541f04215929e1d7684" @@ -11,8 +12,4 @@ dependencies = [ "libogg", "libvorbis", ] -template = "custom" -script = """ -DYNAMIC_INIT -cookbook_configure -""" +template = "configure" diff --git a/recipes/wip/libs/other/libsoundio/recipe.toml b/recipes/wip/libs/other/libsoundio/recipe.toml index 31c835d4d..68d96e17a 100644 --- a/recipes/wip/libs/other/libsoundio/recipe.toml +++ b/recipes/wip/libs/other/libsoundio/recipe.toml @@ -2,6 +2,13 @@ # build instructions: https://github.com/andrewrk/libsoundio#building [source] git = "https://github.com/andrewrk/libsoundio" -rev = "dc4f84339039ac518b6cd1c0e7683e88e25be470" +rev = "2.0.1-7" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DBUILD_TESTS=OFF" +] +dependencies = [ + "libpulse" +] diff --git a/recipes/wip/libs/other/libspdlog/recipe.toml b/recipes/wip/libs/other/libspdlog/recipe.toml index 295574a8c..d3eb45a37 100644 --- a/recipes/wip/libs/other/libspdlog/recipe.toml +++ b/recipes/wip/libs/other/libspdlog/recipe.toml @@ -1,5 +1,7 @@ #TODO not compiled or tested [source] git = "https://github.com/gabime/spdlog" +rev = "v1.17.0" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/libs/other/libsrt/recipe.toml b/recipes/wip/libs/other/libsrt/recipe.toml index cd8b2a748..e7728d2cb 100644 --- a/recipes/wip/libs/other/libsrt/recipe.toml +++ b/recipes/wip/libs/other/libsrt/recipe.toml @@ -1,10 +1,12 @@ #TODO CMake error # build instructions: https://github.com/Haivision/srt/blob/master/docs/build/build-linux.md +# build options: https://github.com/Haivision/srt/blob/master/docs/build/build-options.md [source] git = "https://github.com/Haivision/srt" -rev = "09f35c0f1743e23f514cb41444504a7faeacf89e" +rev = "v1.5.4" +shallow_clone = true [build] template = "configure" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/libs/other/libssh/recipe.toml b/recipes/wip/libs/other/libssh/recipe.toml index 013570f22..5d63751ee 100644 --- a/recipes/wip/libs/other/libssh/recipe.toml +++ b/recipes/wip/libs/other/libssh/recipe.toml @@ -1,10 +1,10 @@ #TODO not compiled or tested # build instructions: https://git.libssh.org/projects/libssh.git/tree/INSTALL#n36 [source] -tar = "https://www.libssh.org/files/0.10/libssh-0.10.6.tar.xz" +tar = "https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz" [build] template = "cmake" dependencies = [ "zlib", - "openssl1", + "openssl3", ] diff --git a/recipes/wip/libs/other/libtasn1/recipe.toml b/recipes/wip/libs/other/libtasn1/recipe.toml index ac350cbbf..8c1cc8993 100644 --- a/recipes/wip/libs/other/libtasn1/recipe.toml +++ b/recipes/wip/libs/other/libtasn1/recipe.toml @@ -1,3 +1,4 @@ +#TODO: promote [source] tar = "https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.20.0.tar.gz" blake3 = "374103da2b2ac47e18b57cb5d1d41f7e42f3725c269cf35fba8e4717f0c392b5" @@ -6,8 +7,4 @@ autotools_recursive_regenerate """ [build] -template = "custom" -script = """ -DYNAMIC_INIT -cookbook_configure -""" +template = "configure" diff --git a/recipes/wip/libs/other/libtheora/recipe.toml b/recipes/wip/libs/other/libtheora/recipe.toml index 2a44b49d4..a5668c5c2 100644 --- a/recipes/wip/libs/other/libtheora/recipe.toml +++ b/recipes/wip/libs/other/libtheora/recipe.toml @@ -1,3 +1,4 @@ +#TODO: promote [source] tar = "http://downloads.xiph.org/releases/theora/libtheora-1.2.0.tar.gz" blake3 = "b2413d6a29669063c30679eb46e09bd55b47d51e1516282bd1f5a752a8ecae91" @@ -6,12 +7,8 @@ autotools_recursive_regenerate """ [build] -template = "custom" +template = "configure" dependencies = [ "libogg", "libvorbis", ] -script = """ -DYNAMIC_INIT -cookbook_configure -""" diff --git a/recipes/wip/libs/other/libtickit/recipe.toml b/recipes/wip/libs/other/libtickit/recipe.toml index f20edf87f..517e0dba7 100644 --- a/recipes/wip/libs/other/libtickit/recipe.toml +++ b/recipes/wip/libs/other/libtickit/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for building, see https://github.com/leonerd/libtickit +#TODO verify current status [source] tar = "https://www.leonerd.org.uk/code/libtickit/libtickit-0.4.5.tar.gz" [build]