From 6828915a3ebd11d146974fcd3e2049ad5e4e65de Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sun, 1 Feb 2026 17:55:27 -0300 Subject: [PATCH] Improve more recipes --- recipes/wip/dev/lang/ghostscript/recipe.toml | 6 +++--- recipes/wip/dev/lang/goiaba/recipe.toml | 1 + recipes/wip/dev/lang/llvm-mingw/recipe.toml | 5 +++-- recipes/wip/dev/lang/perl5/recipe.toml | 4 ++-- recipes/wip/dev/lang/ristretto/recipe.toml | 4 +++- recipes/wip/dev/lang/ruby/recipe.toml | 4 ++-- recipes/wip/dev/lang/tsuki/recipe.toml | 1 + recipes/wip/dev/lang/tur/recipe.toml | 2 ++ recipes/wip/dev/lang/vala/recipe.toml | 10 ++++++++-- recipes/wip/dev/lang/wrecc/recipe.toml | 1 + recipes/wip/dev/lang/xylo/recipe.toml | 2 ++ 11 files changed, 28 insertions(+), 12 deletions(-) diff --git a/recipes/wip/dev/lang/ghostscript/recipe.toml b/recipes/wip/dev/lang/ghostscript/recipe.toml index feced6dbd..e12f0f0d1 100644 --- a/recipes/wip/dev/lang/ghostscript/recipe.toml +++ b/recipes/wip/dev/lang/ghostscript/recipe.toml @@ -1,6 +1,6 @@ -#TODO error on the libtiff configure script -#TODO customization - https://ghostscript.readthedocs.io/en/latest/Make.html +#TODO libtiff configure script error +# customization: https://ghostscript.readthedocs.io/en/latest/Make.html [source] -tar = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostscript-10.02.1.tar.gz" +tar = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10060/ghostscript-10.06.0.tar.xz" [build] template = "configure" diff --git a/recipes/wip/dev/lang/goiaba/recipe.toml b/recipes/wip/dev/lang/goiaba/recipe.toml index 9bbecea18..234c137cb 100644 --- a/recipes/wip/dev/lang/goiaba/recipe.toml +++ b/recipes/wip/dev/lang/goiaba/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/raphamorim/goiaba" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/lang/llvm-mingw/recipe.toml b/recipes/wip/dev/lang/llvm-mingw/recipe.toml index 93bef5ac7..de74f3ecc 100644 --- a/recipes/wip/dev/lang/llvm-mingw/recipe.toml +++ b/recipes/wip/dev/lang/llvm-mingw/recipe.toml @@ -1,8 +1,9 @@ -#TODO missing script, read the llvm18 recipe for reference +#TODO missing script, read the llvm21 recipe for reference # build instructions: https://github.com/mstorsjo/llvm-mingw#building-from-source [source] git = "https://github.com/mstorsjo/llvm-mingw" -rev = "40ccfd163eee35468c0cc5f356649d13029aec8b" +rev = "20251216" +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/dev/lang/perl5/recipe.toml b/recipes/wip/dev/lang/perl5/recipe.toml index 9c2f8568e..bd73f7c60 100644 --- a/recipes/wip/dev/lang/perl5/recipe.toml +++ b/recipes/wip/dev/lang/perl5/recipe.toml @@ -1,6 +1,6 @@ -#TODO compiles, works in a basic way, but needs figuring out why -ldl is ignored +#TODO compiles, works in a basic way but needs figuring out why -ldl is ignored #TODO also until new signal implementation gets to be the default, remove siginfo struct from relibc's include/bits/signal.h -# and modify relibc/src/header/signal/mod.rs sigtimedwait second parameter's type from siginfo_t to siginfo (cbindgen needs a reference) +# and modify relibc/src/header/signal/mod.rs sigtimedwait second parameter's type from siginfo_t to siginfo (cbindgen needs a reference) #TODO needs further testing [source] tar = "https://www.cpan.org/src/5.0/perl-5.40.0.tar.gz" diff --git a/recipes/wip/dev/lang/ristretto/recipe.toml b/recipes/wip/dev/lang/ristretto/recipe.toml index 5210a054f..2884ef797 100644 --- a/recipes/wip/dev/lang/ristretto/recipe.toml +++ b/recipes/wip/dev/lang/ristretto/recipe.toml @@ -1,8 +1,10 @@ -#TODO require rustc 1.87 or newer +#TODO discover current status [source] git = "https://github.com/theseus-rs/ristretto" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages ristretto_cli """ diff --git a/recipes/wip/dev/lang/ruby/recipe.toml b/recipes/wip/dev/lang/ruby/recipe.toml index ec3667183..dab053048 100644 --- a/recipes/wip/dev/lang/ruby/recipe.toml +++ b/recipes/wip/dev/lang/ruby/recipe.toml @@ -1,10 +1,10 @@ #TODO compilation error [source] -tar = "https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz" +tar = "https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.8.tar.gz" [build] template = "configure" dependencies = [ - "openssl1", + "openssl3", "zlib", "libyaml", "libffi", diff --git a/recipes/wip/dev/lang/tsuki/recipe.toml b/recipes/wip/dev/lang/tsuki/recipe.toml index 9aabdb16b..6bc68d737 100644 --- a/recipes/wip/dev/lang/tsuki/recipe.toml +++ b/recipes/wip/dev/lang/tsuki/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/ultimaweapon/tsuki" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/lang/tur/recipe.toml b/recipes/wip/dev/lang/tur/recipe.toml index 13ffc9d4c..9371088e6 100644 --- a/recipes/wip/dev/lang/tur/recipe.toml +++ b/recipes/wip/dev/lang/tur/recipe.toml @@ -1,8 +1,10 @@ #TODO not compiled or tested [source] git = "https://github.com/rezigned/tur" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages tur-cli tur-tui """ diff --git a/recipes/wip/dev/lang/vala/recipe.toml b/recipes/wip/dev/lang/vala/recipe.toml index b6cc898d8..e4201edd1 100644 --- a/recipes/wip/dev/lang/vala/recipe.toml +++ b/recipes/wip/dev/lang/vala/recipe.toml @@ -1,8 +1,14 @@ -#TODO missing script for building, see https://gitlab.gnome.org/GNOME/vala#building-vala +#TODO not compiled or tested +#TODO require bootstraping from another vala compiler +# build instructions: https://gitlab.gnome.org/GNOME/vala#building-vala [source] -tar = "https://download.gnome.org/sources/vala/0.56/vala-0.56.14.tar.xz" +tar = "https://download.gnome.org/sources/vala/0.56/vala-0.56.18.tar.xz" [build] template = "custom" dependencies = [ "glib", ] +script = """ +DYNAMIC_INIT +cookbook_configure +""" diff --git a/recipes/wip/dev/lang/wrecc/recipe.toml b/recipes/wip/dev/lang/wrecc/recipe.toml index d1ac6f534..a3606b1be 100644 --- a/recipes/wip/dev/lang/wrecc/recipe.toml +++ b/recipes/wip/dev/lang/wrecc/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/PhilippRados/wrecc" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/lang/xylo/recipe.toml b/recipes/wip/dev/lang/xylo/recipe.toml index 750f07dd5..bc7896d22 100644 --- a/recipes/wip/dev/lang/xylo/recipe.toml +++ b/recipes/wip/dev/lang/xylo/recipe.toml @@ -1,9 +1,11 @@ #TODO compiled but not tested [source] git = "https://github.com/giraffekey/xylo" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo mkdir -pv "${COOKBOOK_STAGE}/usr/share/xylo" cp -rv "${COOKBOOK_SOURCE}/example.xylo" "${COOKBOOK_STAGE}/usr/share/xylo"