From b464a6c8cd548a2959fccce5712b253542092bbc Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sun, 7 Jun 2026 18:23:24 -0300 Subject: [PATCH] Add, update and move recipes --- .../wip/archives/{7-zip => 7zip}/recipe.toml | 0 recipes/wip/archives/cabextract/recipe.toml | 6 +++++ recipes/wip/archives/unrar/recipe.toml | 5 ++++ recipes/wip/archives/unzip-rs/recipe.toml | 10 +++++++ recipes/wip/archives/unzrip/recipe.toml | 9 ------- recipes/wip/emu/win/winetricks/recipe.toml | 26 +++++++++++++++++++ .../games/data/quake1-shareware/recipe.toml | 4 +-- .../{tls => security}/gnutls3/recipe.toml | 0 .../{tls => security}/gnutls3/redox.patch | 0 .../{tls => security}/mbedtls3/recipe.toml | 0 .../{tls => security}/mbedtls4/recipe.toml | 0 .../{tls => security}/wolfssl5/recipe.toml | 0 recipes/wip/math/grace/recipe.toml | 6 +++++ recipes/wip/net/monitor/ifmon/recipe.toml | 6 +++++ .../{other => vpn}/wireguard-rs/recipe.toml | 0 recipes/wip/rs/uutils-grep/recipe.toml | 6 +++++ recipes/wip/search/patent/recipe.toml | 6 +++++ recipes/wip/terminal/ttyd/recipe.toml | 12 +++++++++ recipes/wip/terminal/vhs/recipe.toml | 11 ++++++++ 19 files changed, 96 insertions(+), 11 deletions(-) rename recipes/wip/archives/{7-zip => 7zip}/recipe.toml (100%) create mode 100644 recipes/wip/archives/cabextract/recipe.toml create mode 100644 recipes/wip/archives/unrar/recipe.toml create mode 100644 recipes/wip/archives/unzip-rs/recipe.toml delete mode 100644 recipes/wip/archives/unzrip/recipe.toml create mode 100644 recipes/wip/emu/win/winetricks/recipe.toml rename recipes/wip/libs/{tls => security}/gnutls3/recipe.toml (100%) rename recipes/wip/libs/{tls => security}/gnutls3/redox.patch (100%) rename recipes/wip/libs/{tls => security}/mbedtls3/recipe.toml (100%) rename recipes/wip/libs/{tls => security}/mbedtls4/recipe.toml (100%) rename recipes/wip/libs/{tls => security}/wolfssl5/recipe.toml (100%) create mode 100644 recipes/wip/math/grace/recipe.toml create mode 100644 recipes/wip/net/monitor/ifmon/recipe.toml rename recipes/wip/net/{other => vpn}/wireguard-rs/recipe.toml (100%) create mode 100644 recipes/wip/rs/uutils-grep/recipe.toml create mode 100644 recipes/wip/search/patent/recipe.toml create mode 100644 recipes/wip/terminal/ttyd/recipe.toml create mode 100644 recipes/wip/terminal/vhs/recipe.toml diff --git a/recipes/wip/archives/7-zip/recipe.toml b/recipes/wip/archives/7zip/recipe.toml similarity index 100% rename from recipes/wip/archives/7-zip/recipe.toml rename to recipes/wip/archives/7zip/recipe.toml diff --git a/recipes/wip/archives/cabextract/recipe.toml b/recipes/wip/archives/cabextract/recipe.toml new file mode 100644 index 00000000..e2e0f008 --- /dev/null +++ b/recipes/wip/archives/cabextract/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +# build instructions: https://www.cabextract.org.uk/#install +[source] +tar = "https://www.cabextract.org.uk/cabextract-1.11.tar.gz" +[build] +template = "configure" diff --git a/recipes/wip/archives/unrar/recipe.toml b/recipes/wip/archives/unrar/recipe.toml new file mode 100644 index 00000000..a1a1e9de --- /dev/null +++ b/recipes/wip/archives/unrar/recipe.toml @@ -0,0 +1,5 @@ +#TODO missing script for gnu make, read the makefile in the tarball +[source] +tar = "https://www.rarlab.com/rar/unrarsrc-7.2.6.tar.gz" +[build] +template = "custom" diff --git a/recipes/wip/archives/unzip-rs/recipe.toml b/recipes/wip/archives/unzip-rs/recipe.toml new file mode 100644 index 00000000..c2407fdf --- /dev/null +++ b/recipes/wip/archives/unzip-rs/recipe.toml @@ -0,0 +1,10 @@ +# the rust reimplementation is prefered over c implementation, which is abandoned with security bugs: https://github.com/quininer/unzrip#safety +#TODO compile and test +[source] +git = "https://github.com/quininer/unzrip" +shallow_clone = true +[build] +template = "cargo" +dependencies = [ + "zstd", +] diff --git a/recipes/wip/archives/unzrip/recipe.toml b/recipes/wip/archives/unzrip/recipe.toml deleted file mode 100644 index 61d5cc2e..00000000 --- a/recipes/wip/archives/unzrip/recipe.toml +++ /dev/null @@ -1,9 +0,0 @@ -#TODO make zstd work (after cargo update) -[source] -git = "https://github.com/quininer/unzrip" -shallow_clone = true -[build] -template = "cargo" -dependencies = [ - "zstd", -] diff --git a/recipes/wip/emu/win/winetricks/recipe.toml b/recipes/wip/emu/win/winetricks/recipe.toml new file mode 100644 index 00000000..ef230a65 --- /dev/null +++ b/recipes/wip/emu/win/winetricks/recipe.toml @@ -0,0 +1,26 @@ +#TODO test +[source] +git = "https://github.com/Winetricks/winetricks" +rev = "20260125" +shallow_clone = true +[build] +template = "custom" +script = """ +mkdir -pv "${COOKBOOK_STAGE}/usr/bin" +cp -rv "${COOKBOOK_SOURCE}"/src/winetricks "${COOKBOOK_STAGE}/usr/bin" +#mkdir -pv "${COOKBOOK_STAGE}/usr/bin/winetricks-dir" +#cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/usr/bin/winetricks-dir" +#echo "/usr/bin/winetricks-dir/winetricks" > "${COOKBOOK_STAGE}"/usr/bin/winetricks +#chmod a+x "${COOKBOOK_STAGE}"/usr/bin/winetricks +""" +[package] +dependencies = [ + "dash", + "wget", + "xz", + "cabextract", + #"unrar", + "unzip-rs", + "7zip", + "zenity", +] diff --git a/recipes/wip/games/data/quake1-shareware/recipe.toml b/recipes/wip/games/data/quake1-shareware/recipe.toml index 2fdf0d80..8b01a363 100644 --- a/recipes/wip/games/data/quake1-shareware/recipe.toml +++ b/recipes/wip/games/data/quake1-shareware/recipe.toml @@ -4,8 +4,8 @@ template = "custom" dev-dependencies = [ "host:lhasa", - "host:unzrip", - "host:7-zip", + "host:unzip-rs", + "host:7zip", ] script = """ curl -O "https://github.com/Jason2Brownlee/QuakeOfficialArchive/raw/refs/heads/main/bin/quake106.zip" diff --git a/recipes/wip/libs/tls/gnutls3/recipe.toml b/recipes/wip/libs/security/gnutls3/recipe.toml similarity index 100% rename from recipes/wip/libs/tls/gnutls3/recipe.toml rename to recipes/wip/libs/security/gnutls3/recipe.toml diff --git a/recipes/wip/libs/tls/gnutls3/redox.patch b/recipes/wip/libs/security/gnutls3/redox.patch similarity index 100% rename from recipes/wip/libs/tls/gnutls3/redox.patch rename to recipes/wip/libs/security/gnutls3/redox.patch diff --git a/recipes/wip/libs/tls/mbedtls3/recipe.toml b/recipes/wip/libs/security/mbedtls3/recipe.toml similarity index 100% rename from recipes/wip/libs/tls/mbedtls3/recipe.toml rename to recipes/wip/libs/security/mbedtls3/recipe.toml diff --git a/recipes/wip/libs/tls/mbedtls4/recipe.toml b/recipes/wip/libs/security/mbedtls4/recipe.toml similarity index 100% rename from recipes/wip/libs/tls/mbedtls4/recipe.toml rename to recipes/wip/libs/security/mbedtls4/recipe.toml diff --git a/recipes/wip/libs/tls/wolfssl5/recipe.toml b/recipes/wip/libs/security/wolfssl5/recipe.toml similarity index 100% rename from recipes/wip/libs/tls/wolfssl5/recipe.toml rename to recipes/wip/libs/security/wolfssl5/recipe.toml diff --git a/recipes/wip/math/grace/recipe.toml b/recipes/wip/math/grace/recipe.toml new file mode 100644 index 00000000..ef5f1627 --- /dev/null +++ b/recipes/wip/math/grace/recipe.toml @@ -0,0 +1,6 @@ +#TODO determine minimum dependencies from configure log +# build instructions: https://plasma-gate.weizmann.ac.il/Grace/doc/UsersGuide.html#ss2.1 +[source] +tar = "https://plasma-gate.weizmann.ac.il/pub/grace/src/stable/grace-5.1.25.tar.gz" +[build] +template = "configure" diff --git a/recipes/wip/net/monitor/ifmon/recipe.toml b/recipes/wip/net/monitor/ifmon/recipe.toml new file mode 100644 index 00000000..405801b4 --- /dev/null +++ b/recipes/wip/net/monitor/ifmon/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://github.com/coder3101/ifmon" +shallow_clone = true +[build] +template = "cargo" diff --git a/recipes/wip/net/other/wireguard-rs/recipe.toml b/recipes/wip/net/vpn/wireguard-rs/recipe.toml similarity index 100% rename from recipes/wip/net/other/wireguard-rs/recipe.toml rename to recipes/wip/net/vpn/wireguard-rs/recipe.toml diff --git a/recipes/wip/rs/uutils-grep/recipe.toml b/recipes/wip/rs/uutils-grep/recipe.toml new file mode 100644 index 00000000..d3ba2d2a --- /dev/null +++ b/recipes/wip/rs/uutils-grep/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://github.com/uutils/grep" +shallow_clone = true +[build] +template = "cargo" diff --git a/recipes/wip/search/patent/recipe.toml b/recipes/wip/search/patent/recipe.toml new file mode 100644 index 00000000..80c03bb2 --- /dev/null +++ b/recipes/wip/search/patent/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://github.com/r14dd/patent" +shallow_clone = true +[build] +template = "cargo" diff --git a/recipes/wip/terminal/ttyd/recipe.toml b/recipes/wip/terminal/ttyd/recipe.toml new file mode 100644 index 00000000..0f0467d8 --- /dev/null +++ b/recipes/wip/terminal/ttyd/recipe.toml @@ -0,0 +1,12 @@ +#TODO compile and test +# build instructions: https://tsl0922.github.io/ttyd/ +[source] +git = "https://github.com/tsl0922/ttyd" +rev = "1.7.7" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "libwebsockets", + "json-c", +] diff --git a/recipes/wip/terminal/vhs/recipe.toml b/recipes/wip/terminal/vhs/recipe.toml new file mode 100644 index 00000000..0edc27a2 --- /dev/null +++ b/recipes/wip/terminal/vhs/recipe.toml @@ -0,0 +1,11 @@ +#TODO implement go template +# build instructions: https://github.com/charmbracelet/vhs#installation +[source] +tar = "https://github.com/charmbracelet/vhs/releases/download/v0.11.0/vhs-0.11.0.tar.gz" +[build] +template = "go" +[package] +dependencies = [ + "ffmpeg6", + "ttyd", +]