From 93ad71411ae338fc25a545338e7218eca49321c4 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Tue, 12 May 2026 06:48:20 -0300 Subject: [PATCH] Add recipes --- recipes/wip/dev/debug/openocd/recipe.toml | 11 ++++++++ recipes/wip/dev/lang/jimtcl/recipe.toml | 7 +++++ recipes/wip/hw/avrdude/recipe.toml | 15 +++++++++++ recipes/wip/libs/mem/jemalloc/recipe.toml | 7 +++++ recipes/wip/math/gnumeric/recipe.toml | 6 +++++ recipes/wip/math/octave/recipe.toml | 6 +++++ recipes/wip/math/scilab/recipe.toml | 11 ++++++++ recipes/wip/net/other/bind9/recipe.toml | 18 +++++++++++++ recipes/wip/science/openbabel/recipe.toml | 16 ++++++++++++ recipes/wip/services/modemmanager/recipe.toml | 20 ++++++++++++++ .../wip/services/networkmanager/recipe.toml | 26 +++++++++++++++++++ .../wip/services/wpa_supplicant/recipe.toml | 8 ++++++ 12 files changed, 151 insertions(+) create mode 100644 recipes/wip/dev/debug/openocd/recipe.toml create mode 100644 recipes/wip/dev/lang/jimtcl/recipe.toml create mode 100644 recipes/wip/hw/avrdude/recipe.toml create mode 100644 recipes/wip/libs/mem/jemalloc/recipe.toml create mode 100644 recipes/wip/math/gnumeric/recipe.toml create mode 100644 recipes/wip/math/octave/recipe.toml create mode 100644 recipes/wip/math/scilab/recipe.toml create mode 100644 recipes/wip/net/other/bind9/recipe.toml create mode 100644 recipes/wip/science/openbabel/recipe.toml create mode 100644 recipes/wip/services/modemmanager/recipe.toml create mode 100644 recipes/wip/services/networkmanager/recipe.toml create mode 100644 recipes/wip/services/wpa_supplicant/recipe.toml diff --git a/recipes/wip/dev/debug/openocd/recipe.toml b/recipes/wip/dev/debug/openocd/recipe.toml new file mode 100644 index 000000000..e78faa201 --- /dev/null +++ b/recipes/wip/dev/debug/openocd/recipe.toml @@ -0,0 +1,11 @@ +#TODO not compiled or tested +# build instructions: https://github.com/openocd-org/openocd/#building-openocd +[source] +tar = "https://sourceforge.net/projects/openocd/files/openocd/0.12.0/openocd-0.12.0.tar.bz2/download" +[build] +template = "configure" +dependencies = [ + "jimtcl", + #"libusb", + #"libftdi", +] diff --git a/recipes/wip/dev/lang/jimtcl/recipe.toml b/recipes/wip/dev/lang/jimtcl/recipe.toml new file mode 100644 index 000000000..466f258d0 --- /dev/null +++ b/recipes/wip/dev/lang/jimtcl/recipe.toml @@ -0,0 +1,7 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/msteveb/jimtcl" +rev = "0.83" +shallow_clone = true +[build] +template = "configure" diff --git a/recipes/wip/hw/avrdude/recipe.toml b/recipes/wip/hw/avrdude/recipe.toml new file mode 100644 index 000000000..9b2d1e6e7 --- /dev/null +++ b/recipes/wip/hw/avrdude/recipe.toml @@ -0,0 +1,15 @@ +#TODO not compiled or tested +#TODO discover minimum dependencies from cmake log +# dependencies reference: https://github.com/avrdudes/avrdude/wiki/General-Build-Instructions-Using-CMake +# freebsd build instructions: https://github.com/avrdudes/avrdude/wiki/Building-AVRDUDE-for-FreeBSD +# linux build instructions: https://github.com/avrdudes/avrdude/wiki/Building-AVRDUDE-for-Linux +[source] +tar = "https://github.com/avrdudes/avrdude/releases/download/v8.1/avrdude-8.1.tar.gz" +[build] +template = "cmake" +#dependencies = [ +# "libusb", +# "libhidapi", +# "libftdi", +# "elfutils", +#] diff --git a/recipes/wip/libs/mem/jemalloc/recipe.toml b/recipes/wip/libs/mem/jemalloc/recipe.toml new file mode 100644 index 000000000..abc8e7eb2 --- /dev/null +++ b/recipes/wip/libs/mem/jemalloc/recipe.toml @@ -0,0 +1,7 @@ +#TODO not compiled or tested +#TODO discover minimum dependencies from configure log +# build instructions: https://github.com/jemalloc/jemalloc/blob/dev/INSTALL.md +[source] +tar = "https://github.com/jemalloc/jemalloc/releases/download/5.3.1/jemalloc-5.3.1.tar.bz2" +[build] +template = "configure" diff --git a/recipes/wip/math/gnumeric/recipe.toml b/recipes/wip/math/gnumeric/recipe.toml new file mode 100644 index 000000000..35aa3e546 --- /dev/null +++ b/recipes/wip/math/gnumeric/recipe.toml @@ -0,0 +1,6 @@ +#TODO not compiled or tested +#TODO discover minimum dependencies from configure log +[source] +tar = "https://download.gnome.org/sources/gnumeric/1.12/gnumeric-1.12.61.tar.xz" +[build] +template = "configure" diff --git a/recipes/wip/math/octave/recipe.toml b/recipes/wip/math/octave/recipe.toml new file mode 100644 index 000000000..b202e3d11 --- /dev/null +++ b/recipes/wip/math/octave/recipe.toml @@ -0,0 +1,6 @@ +#TODO not compiled or tested +#TODO discover minimum dependencies from configure log +[source] +tar = "https://ftp.gnu.org/gnu/octave/octave-11.1.0.tar.lz" +[build] +template = "configure" diff --git a/recipes/wip/math/scilab/recipe.toml b/recipes/wip/math/scilab/recipe.toml new file mode 100644 index 000000000..60ba7f3d9 --- /dev/null +++ b/recipes/wip/math/scilab/recipe.toml @@ -0,0 +1,11 @@ +#TODO not compiled or tested +#TODO discover minimum dependencies from configure log +[source] +tar = "https://gitlab.com/scilab/scilab/-/archive/2026.0.1/scilab-2026.0.1.tar.bz2" +[build] +template = "custom" +script = """ +COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/scilab" +DYNAMIC_INIT +cookbook_configure +""" diff --git a/recipes/wip/net/other/bind9/recipe.toml b/recipes/wip/net/other/bind9/recipe.toml new file mode 100644 index 000000000..ee93e0164 --- /dev/null +++ b/recipes/wip/net/other/bind9/recipe.toml @@ -0,0 +1,18 @@ +#TODO not compiled or tested +# build instructions: https://bind9.readthedocs.io/en/latest/chapter10.html#build-bind +# requirements: https://bind9.readthedocs.io/en/latest/chapter2.html#resource-requirements +[source] +tar = "https://downloads.isc.org/isc/bind9/9.20.22/bind-9.20.22.tar.xz" +[build] +template = "meson" +mesonflags = [ + "-Ddoc=disabled", + "-Dcmocka=disabled", +] +dependencies = [ + "openssl3", + "liburcu", + "libuv", + "nghttp2", # DoH support + #"jemalloc", # enable to improve performance +] diff --git a/recipes/wip/science/openbabel/recipe.toml b/recipes/wip/science/openbabel/recipe.toml new file mode 100644 index 000000000..acda7ebd7 --- /dev/null +++ b/recipes/wip/science/openbabel/recipe.toml @@ -0,0 +1,16 @@ +#TODO not compiled or tested +# build instructions: https://openbabel.org/docs/Installation/install.html#compiling-open-babel +[source] +tar = "https://github.com/openbabel/openbabel/releases/download/openbabel-3-1-1/openbabel-3.1.1-source.tar.bz2" +[build] +template = "cmake" +cmakeflags = [ + "-DBUILD_GUI=OFF", + "-DENABLE_TESTS=OFF", +] +#dependencies = [ # optional dependencies, enable once the minimal feature set is working +# "libxml2", +# "zlib", +# "boost", +# "wxwidgets-gtk3", # gui +#] diff --git a/recipes/wip/services/modemmanager/recipe.toml b/recipes/wip/services/modemmanager/recipe.toml new file mode 100644 index 000000000..63ddc5cdc --- /dev/null +++ b/recipes/wip/services/modemmanager/recipe.toml @@ -0,0 +1,20 @@ +#TODO not compiled or tested +#TODO discover minimum dependencies from meson log +[source] +tar = "https://www.freedesktop.org/software/ModemManager/ModemManager-1.18.12.tar.xz" +[build] +template = "meson" +mesonflags = [ + "-Dudev=false", + "-Dtests=false", + "-Dsystemd_suspend_resume=false", + "-Dsystemd_journal=false", + "-Dpolkit=no", + "-Dintrospection=false", + "-Dman=false", +] +dependencies = [ + "glib", + "libmbim", + "libqmi", +] diff --git a/recipes/wip/services/networkmanager/recipe.toml b/recipes/wip/services/networkmanager/recipe.toml new file mode 100644 index 000000000..20c8dccd6 --- /dev/null +++ b/recipes/wip/services/networkmanager/recipe.toml @@ -0,0 +1,26 @@ +#TODO not compiled or tested +#TODO discover minimum dependencies from meson log +# build instructions: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md#building-from-source +[source] +tar = "https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/1.56.0/downloads/NetworkManager-1.56.0.tar.xz" +[build] +template = "meson" +mesonflags = [ + "-Dsession_tracking=no", + "-Dsuspend_resume=elogind", + "-Dpolkit=false", + "-Dselinux=false", + "-Dsystemd_journal=false", + "-Dwifi=false", + "-Dintrospection=false", + "-Dman=false", + "-Dtests=no", + "-Dfirewalld_zone=false", + "-Dcrypto=gnutls", + "-Dqt=false", +] +dependencies = [ + "libpsl", + "readline", + "gnutls3", +] diff --git a/recipes/wip/services/wpa_supplicant/recipe.toml b/recipes/wip/services/wpa_supplicant/recipe.toml new file mode 100644 index 000000000..218580f0c --- /dev/null +++ b/recipes/wip/services/wpa_supplicant/recipe.toml @@ -0,0 +1,8 @@ +#TODO missing script for gnu make: https://git.w1.fi/cgit/hostap/plain/wpa_supplicant/README +[source] +tar = "https://w1.fi/releases/wpa_supplicant-2.11.tar.gz" +[build] +template = "custom" +dependencies = [ + "openssl3", +]