From 739233d206a9849ca167d051bbc4a25868dc6e8d Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sun, 15 Mar 2026 10:23:46 -0300 Subject: [PATCH] Improve many library recipes --- .../libs/audio/libopenshot-audio/recipe.toml | 2 +- recipes/wip/libs/other/appstream/recipe.toml | 8 +++++-- recipes/wip/libs/other/babl/recipe.toml | 8 ++++++- .../wip/libs/other/bullet-physics/recipe.toml | 7 +++++- recipes/wip/libs/other/dcmtk/recipe.toml | 22 +++++++++++-------- recipes/wip/libs/other/fltk13/recipe.toml | 5 +++-- recipes/wip/libs/other/fltk14/recipe.toml | 2 +- recipes/wip/libs/other/freealut/recipe.toml | 4 ++++ recipes/wip/libs/other/gdbm/recipe.toml | 2 +- recipes/wip/libs/other/gflags/recipe.toml | 2 ++ recipes/wip/libs/other/glew/recipe.toml | 12 +++++----- recipes/wip/libs/other/glfw3/recipe.toml | 8 ++++++- recipes/wip/libs/other/gpgme/recipe.toml | 2 +- recipes/wip/libs/other/grpc/recipe.toml | 2 +- recipes/wip/libs/other/hdf5/recipe.toml | 3 ++- recipes/wip/libs/other/hwdata/recipe.toml | 2 +- recipes/wip/libs/other/hwloc/recipe.toml | 2 +- recipes/wip/libs/other/imlib2/recipe.toml | 7 ++---- recipes/wip/libs/other/inih/recipe.toml | 6 ++++- recipes/wip/libs/other/iniparser/recipe.toml | 6 +++-- recipes/wip/libs/other/json-c/recipe.toml | 3 ++- .../wip/libs/video/libopenshot/recipe.toml | 10 +++++++-- recipes/wip/libs/video/libvpx/recipe.toml | 5 +++-- 23 files changed, 87 insertions(+), 43 deletions(-) diff --git a/recipes/wip/libs/audio/libopenshot-audio/recipe.toml b/recipes/wip/libs/audio/libopenshot-audio/recipe.toml index 6a7b1ce59..617f54a63 100644 --- a/recipes/wip/libs/audio/libopenshot-audio/recipe.toml +++ b/recipes/wip/libs/audio/libopenshot-audio/recipe.toml @@ -2,7 +2,7 @@ #TODO determine minimum dependencies from cmake log [source] git = "https://github.com/OpenShot/libopenshot-audio" -rev = "v0.4.0" +rev = "v0.5.0" shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/libs/other/appstream/recipe.toml b/recipes/wip/libs/other/appstream/recipe.toml index 2508aa9ff..3941eb70a 100644 --- a/recipes/wip/libs/other/appstream/recipe.toml +++ b/recipes/wip/libs/other/appstream/recipe.toml @@ -2,12 +2,16 @@ # build instructions: https://github.com/ximion/appstream#build--install #TODO missing dependencies [source] -tar = "https://www.freedesktop.org/software/appstream/releases/AppStream-1.1.1.tar.xz" +tar = "https://www.freedesktop.org/software/appstream/releases/AppStream-1.1.2.tar.xz" [build] template = "meson" +mesonflags = [ + "-Dsystemd=false", + "-Dgir=false", + "-Dman=off", +] dependencies = [ "glib", - "gobject-introspection", "libxml2", "curl", ] diff --git a/recipes/wip/libs/other/babl/recipe.toml b/recipes/wip/libs/other/babl/recipe.toml index 55760166f..39154ba61 100644 --- a/recipes/wip/libs/other/babl/recipe.toml +++ b/recipes/wip/libs/other/babl/recipe.toml @@ -1,6 +1,12 @@ #TODO not compiled or tested # build instructions: https://gitlab.gnome.org/GNOME/babl/-/blob/master/INSTALL.in?ref_type=heads [source] -tar = "https://download.gimp.org/pub/babl/0.1/babl-0.1.106.tar.xz" +tar = "https://download.gimp.org/pub/babl/0.1/babl-0.1.124.tar.xz" [build] template = "meson" +mesonflags = [ + "-Dwith-docs=false", + "-Denable-gir=false", + "-Denable-vapi=false", + "-Dgi-docgen=false", +] diff --git a/recipes/wip/libs/other/bullet-physics/recipe.toml b/recipes/wip/libs/other/bullet-physics/recipe.toml index 9ebbf9300..69b21549f 100644 --- a/recipes/wip/libs/other/bullet-physics/recipe.toml +++ b/recipes/wip/libs/other/bullet-physics/recipe.toml @@ -2,6 +2,11 @@ # build instructions: https://github.com/bulletphysics/bullet3#build-instructions-for-bullet-using-premake-you-can-also-use-cmake-instead [source] git = "https://github.com/bulletphysics/bullet3" -rev = "2c204c49e56ed15ec5fcfa71d199ab6d6570b3f5" +rev = "3.25" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DBUILD_UNIT_TESTS=OFF", + "-DBUILD_EXTRAS=OFF", +] diff --git a/recipes/wip/libs/other/dcmtk/recipe.toml b/recipes/wip/libs/other/dcmtk/recipe.toml index 5ab1bfe9e..513d09db5 100644 --- a/recipes/wip/libs/other/dcmtk/recipe.toml +++ b/recipes/wip/libs/other/dcmtk/recipe.toml @@ -1,15 +1,19 @@ #TODO not compiled or tested +#TODO discover minimum dependencies from cmake log # build instructions: https://git.dcmtk.org/?p=dcmtk.git;a=blob;f=INSTALL;h=97087f9a05e65040264d90027912c736958e67f3;hb=HEAD#l667 [source] -tar = "https://dicom.offis.de/download/dcmtk/dcmtk367/dcmtk-3.6.7.tar.gz" +tar = "https://dicom.offis.de/download/dcmtk/dcmtk370/dcmtk-3.7.0.tar.gz" [build] template = "cmake" -dependencies = [ - "libiconv", - "libicu", - "libpng", - "libxml2", - "libtiff", - "zlib", - "openjpeg", +cmakeflags = [ + "-DDCMTK_WITH_DOXYGEN=OFF" ] +#dependencies = [ + #"libiconv", + #"libicu", + #"libpng", + #"libxml2", + #"libtiff", + #"zlib", + #"openjpeg", +#] diff --git a/recipes/wip/libs/other/fltk13/recipe.toml b/recipes/wip/libs/other/fltk13/recipe.toml index 58fe41205..d921aedc1 100644 --- a/recipes/wip/libs/other/fltk13/recipe.toml +++ b/recipes/wip/libs/other/fltk13/recipe.toml @@ -1,5 +1,6 @@ -#TODO probably wrong template, see https://github.com/fltk/fltk/blob/master/README.Unix.txt -# commented out recipes are optional but recommended, needs to be determined +#TODO: not compiled or tested +# probably wrong template, see https://github.com/fltk/fltk/blob/master/README.Unix.txt +# commented out dependencies are optional but recommended, needs to be determined [source] tar = "https://github.com/fltk/fltk/releases/download/release-1.3.11/fltk-1.3.11-source.tar.bz2" [build] diff --git a/recipes/wip/libs/other/fltk14/recipe.toml b/recipes/wip/libs/other/fltk14/recipe.toml index b77962382..c6c5ce665 100644 --- a/recipes/wip/libs/other/fltk14/recipe.toml +++ b/recipes/wip/libs/other/fltk14/recipe.toml @@ -1,5 +1,5 @@ #TODO probably wrong template, see https://github.com/fltk/fltk/blob/master/README.Unix.txt -# commented out recipes are optional but recommended, needs to be determined +# commented out dependencies are optional but recommended, needs to be determined [source] tar = "https://github.com/fltk/fltk/releases/download/release-1.4.4/fltk-1.4.4-source.tar.bz2" [build] diff --git a/recipes/wip/libs/other/freealut/recipe.toml b/recipes/wip/libs/other/freealut/recipe.toml index bf2d29a7f..ca28e62d0 100644 --- a/recipes/wip/libs/other/freealut/recipe.toml +++ b/recipes/wip/libs/other/freealut/recipe.toml @@ -1,7 +1,11 @@ [source] git = "https://github.com/vancegroup/freealut" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DBUILD_TESTS=OFF" +] dependencies = [ "openal" ] diff --git a/recipes/wip/libs/other/gdbm/recipe.toml b/recipes/wip/libs/other/gdbm/recipe.toml index 4703a3aef..3589e5cdb 100644 --- a/recipes/wip/libs/other/gdbm/recipe.toml +++ b/recipes/wip/libs/other/gdbm/recipe.toml @@ -1,5 +1,5 @@ [source] -tar="https://ftp.gnu.org/gnu/gdbm/gdbm-1.23.tar.gz" +tar= "https://ftp.gnu.org/gnu/gdbm/gdbm-1.23.tar.gz" patches = [ "redox.patch", ] diff --git a/recipes/wip/libs/other/gflags/recipe.toml b/recipes/wip/libs/other/gflags/recipe.toml index 8cd1fee75..b0e4c93ed 100644 --- a/recipes/wip/libs/other/gflags/recipe.toml +++ b/recipes/wip/libs/other/gflags/recipe.toml @@ -2,5 +2,7 @@ # build instructions: https://github.com/gflags/gflags/blob/master/INSTALL.md#compiling-the-source-code-with-cmake [source] git = "https://github.com/gflags/gflags" +rev = "v2.3.0" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/libs/other/glew/recipe.toml b/recipes/wip/libs/other/glew/recipe.toml index ec0fcb39b..2f0660117 100644 --- a/recipes/wip/libs/other/glew/recipe.toml +++ b/recipes/wip/libs/other/glew/recipe.toml @@ -1,12 +1,12 @@ -# TODO Needs testing, but it compiles now - +#TODO: compiled but not tested [source] -git = "https://github.com/nigels-com/glew" -# rev = "9fb23c3e61cbd2d581e33ff7d8579b572b38ee26" - +tar = "https://github.com/nigels-com/glew/releases/download/glew-2.3.1/glew-2.3.1.tgz" [build] template = "custom" -dependencies = ["mesa", "mesa-glu"] +dependencies = [ + "mesa", + "mesa-glu", +] script = """ # Build system is a standalone Makefile COOKBOOK_CONFIGURE="true" diff --git a/recipes/wip/libs/other/glfw3/recipe.toml b/recipes/wip/libs/other/glfw3/recipe.toml index 610162c0b..a54244977 100644 --- a/recipes/wip/libs/other/glfw3/recipe.toml +++ b/recipes/wip/libs/other/glfw3/recipe.toml @@ -2,9 +2,15 @@ # build instructions: https://www.glfw.org/docs/latest/compile.html [source] git = "https://github.com/glfw/glfw" -rev = "e2c92645460f680fd272fd2eed591efb2be7dc31" +rev = "3.4" +shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DGLFW_BUILD_TESTS=OFF", + "-DGLFW_BUILD_DOCS=OFF", + "-DGLFW_BUILD_WAYLAND=OFF", +] dependencies = [ "libxkbcommon", ] diff --git a/recipes/wip/libs/other/gpgme/recipe.toml b/recipes/wip/libs/other/gpgme/recipe.toml index dc3d7c678..acf6e5959 100644 --- a/recipes/wip/libs/other/gpgme/recipe.toml +++ b/recipes/wip/libs/other/gpgme/recipe.toml @@ -1,4 +1,4 @@ -#TODO wait the fix of libgcrypt compilation +#TODO not compiled or tested [source] tar = "https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.20.0.tar.bz2" [build] diff --git a/recipes/wip/libs/other/grpc/recipe.toml b/recipes/wip/libs/other/grpc/recipe.toml index c06250b64..7fa3e5b2c 100644 --- a/recipes/wip/libs/other/grpc/recipe.toml +++ b/recipes/wip/libs/other/grpc/recipe.toml @@ -2,7 +2,7 @@ # build instructions: https://github.com/grpc/grpc/blob/v1.76.x/BUILDING.md [source] git = "https://github.com/grpc/grpc" -branch = "v1.76.x" +branch = "v1.78.x" shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/libs/other/hdf5/recipe.toml b/recipes/wip/libs/other/hdf5/recipe.toml index c90f9ac71..37aea1b84 100644 --- a/recipes/wip/libs/other/hdf5/recipe.toml +++ b/recipes/wip/libs/other/hdf5/recipe.toml @@ -1,4 +1,5 @@ -#TODO in case of errors, see https://github.com/HDFGroup/hdf5/blob/develop/release_docs/INSTALL +#TODO not compiled or tested +# in case of errors, read: https://github.com/HDFGroup/hdf5/blob/develop/release_docs/INSTALL [source] tar = "https://github.com/HDFGroup/hdf5/releases/download/hdf5-1_14_3/hdf5-1_14_3.tar.gz" [build] diff --git a/recipes/wip/libs/other/hwdata/recipe.toml b/recipes/wip/libs/other/hwdata/recipe.toml index 2c03f946c..46edbd6c4 100644 --- a/recipes/wip/libs/other/hwdata/recipe.toml +++ b/recipes/wip/libs/other/hwdata/recipe.toml @@ -1,7 +1,7 @@ +#TODO: promote [source] tar = "https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.400.tar.gz" blake3 = "d56a0863502e528025ddb84b0968a87a713365d91927c92bfe35842d47387e77" - [build] template = "custom" script = """ diff --git a/recipes/wip/libs/other/hwloc/recipe.toml b/recipes/wip/libs/other/hwloc/recipe.toml index 3982d79ef..04fbd462e 100644 --- a/recipes/wip/libs/other/hwloc/recipe.toml +++ b/recipes/wip/libs/other/hwloc/recipe.toml @@ -1,4 +1,4 @@ -#TODO make libevdev work +#TODO not compiled or tested [source] tar = "https://download.open-mpi.org/release/hwloc/v2.9/hwloc-2.9.3.tar.bz2" [build] diff --git a/recipes/wip/libs/other/imlib2/recipe.toml b/recipes/wip/libs/other/imlib2/recipe.toml index 0b10b4f2b..70a9559a4 100644 --- a/recipes/wip/libs/other/imlib2/recipe.toml +++ b/recipes/wip/libs/other/imlib2/recipe.toml @@ -8,7 +8,8 @@ autotools_recursive_regenerate """ [build] -template = "custom" +template = "configure" +configureflags = ["--without-x-shm-fd"] dependencies = [ "freetype2", "libjpeg", @@ -21,7 +22,3 @@ dependencies = [ "x11proto", "zlib", ] -script = """ -DYNAMIC_INIT -cookbook_configure --without-x-shm-fd -""" diff --git a/recipes/wip/libs/other/inih/recipe.toml b/recipes/wip/libs/other/inih/recipe.toml index 5ac3bfdfb..6e950d061 100644 --- a/recipes/wip/libs/other/inih/recipe.toml +++ b/recipes/wip/libs/other/inih/recipe.toml @@ -2,6 +2,10 @@ # build instructions: https://github.com/benhoyt/inih#meson-notes [source] git = "https://github.com/benhoyt/inih" -rev = "9cecf0643da0846e77f64d10a126d9f48b9e05e8" +rev = "r62" +shallow_clone = true [build] template = "meson" +mesonflags = [ + "-Dtests=false" +] diff --git a/recipes/wip/libs/other/iniparser/recipe.toml b/recipes/wip/libs/other/iniparser/recipe.toml index 14630337b..1ade2cb64 100644 --- a/recipes/wip/libs/other/iniparser/recipe.toml +++ b/recipes/wip/libs/other/iniparser/recipe.toml @@ -1,5 +1,7 @@ -#TODO missing script for a "make", see https://github.com/ndevilla/iniparser#ii---building-project +#TODO not compiled or tested [source] git = "https://github.com/ndevilla/iniparser" +rev = "v4.2.6" +shallow_clone = true [build] -template = "custom" +template = "cmake" diff --git a/recipes/wip/libs/other/json-c/recipe.toml b/recipes/wip/libs/other/json-c/recipe.toml index b9f8853b8..35d878e19 100644 --- a/recipes/wip/libs/other/json-c/recipe.toml +++ b/recipes/wip/libs/other/json-c/recipe.toml @@ -2,6 +2,7 @@ # build instructions: https://github.com/json-c/json-c#build-instructions-- [source] git = "https://github.com/json-c/json-c" -rev = "b4c371fa0cbc4dcbaccc359ce9e957a22988fb34" +branch = "json-c-0.18" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/libs/video/libopenshot/recipe.toml b/recipes/wip/libs/video/libopenshot/recipe.toml index 6ca2501bb..e5bdedb16 100644 --- a/recipes/wip/libs/video/libopenshot/recipe.toml +++ b/recipes/wip/libs/video/libopenshot/recipe.toml @@ -3,10 +3,16 @@ # build instructions: https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions [source] git = "https://github.com/OpenShot/libopenshot" -rev = "v0.4.0" +rev = "v0.5.0" shallow_clone = true [build] template = "cmake" +cmakeflags = [ + "-DENABLE_PARALLEL_CTEST=OFF", + "-DENABLE_LIB_DOCS=OFF", + "-DUSE_HW_ACCEL=OFF", + "-DENABLE_OPENCV=OFF", +] # dependencies = [ # "libopenshot-audio", # "ffmpeg6", @@ -14,7 +20,7 @@ template = "cmake" # "qt5-svg", # "qt5-multimedia", # "libzmq", -# "opencv4", +# #"opencv4", # "protobuf", # "babl", # "imagemagick", diff --git a/recipes/wip/libs/video/libvpx/recipe.toml b/recipes/wip/libs/video/libvpx/recipe.toml index 977a6a1f5..ad17a64f6 100644 --- a/recipes/wip/libs/video/libvpx/recipe.toml +++ b/recipes/wip/libs/video/libvpx/recipe.toml @@ -1,6 +1,7 @@ -#TODO error with the redox target +#TODO redox target error [source] git = "https://chromium.googlesource.com/webm/libvpx" -rev = "10b9492dcf05b652e2e4b370e205bd605d421972" +rev = "v1.16.0" +shallow_clone = true [build] template = "configure"