Hello, I thought it would be nice to have a Raku (known as Perl 6 until 2019) implementation in T2, so I packaged Rakudo/MoarVM and its dependencies (MoarVM itself, NQP and dyncall).
I also packaged zef, Raku's module manager, along with adding support for Raku modules to scripts/functions.in (disabling zef's dependency autoinstallation to ensure they don't get pulled into the package). The Raku module support handles building zef, too, since it's also a Raku module (zef is run in-source to build and install itself via the setting of PATH and RAKULIB). As of modules I added Linenoise and its dependencies to enable line editing in the Rakudo REPL (T2 dependency autoresolution works with Raku modules as expected). Regarding module package naming I followed the convention used for Perl 5 modules, that is lowercase, language name prefix and dashes (e.g. raku-shell-command for Shell::Command, similarly to perl-html-parser for HTML::Parser). Adding more modules should be straightforward. Cross compiling is currently not possible, because libtommath, a dependency of MoarVM, does not cross compile correctly (I might patch this in the future). I expect it to work mostly fine once this is resolved, although modules with native code might not build properly. The patch is attached to this email. Cheers, Tomáš
Index: package/raku/moarvm/moarvm.cache =================================================================== --- package/raku/moarvm/moarvm.cache (nonexistent) +++ package/raku/moarvm/moarvm.cache (working copy) @@ -0,0 +1,24 @@ + +[TIMESTAMP] 1625935782 Sat Jul 10 18:49:42 2021 +[BUILDTIME] 100 (9) +[SIZE] 10.65 MB, 239 files + +[DEP] 00-dirtree +[DEP] automake +[DEP] binutils +[DEP] coreutils +[DEP] dash +[DEP] diffutils +[DEP] dyncall +[DEP] findutils +[DEP] gawk +[DEP] grep +[DEP] libatomic_ops +[DEP] libtommath +[DEP] libuv +[DEP] linux-header +[DEP] make +[DEP] perl +[DEP] pkgconfig +[DEP] sed +[DEP] tar Index: package/raku/moarvm/moarvm.conf =================================================================== --- package/raku/moarvm/moarvm.conf (nonexistent) +++ package/raku/moarvm/moarvm.conf (working copy) @@ -0,0 +1,21 @@ +# Raku toolchain doesn't use autotools, therefore the configure stage has to +# be modified to support its Configure.pl script + +# Note: The libraries specified in confopt are required for building MoarVM; if +# they are not present, MoarVM will build and statically link them to itself, +# in some cases alongside installing their headers globally, which is not good. +# +# (libsha1 is excluded, because it doesn't have a T2 package.) + +confopt="--prefix=$root/$prefix --has-libtommath --has-libuv --has-libatomic_ops --has-dyncall" + +# Optional dependencies +pkginstalled libffi && var_append confopt " " "--has-libffi" + +if [ "$arch_build" != "$arch_target" ] +then + var_append confopt " " "--build=$arch_build" + var_append confopt " " "--host=$arch_target" +fi + +hook_add preconf 2 "perl Configure.pl $confopt" Index: package/raku/moarvm/moarvm.desc =================================================================== --- package/raku/moarvm/moarvm.desc (nonexistent) +++ package/raku/moarvm/moarvm.desc (working copy) @@ -0,0 +1,34 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/moarvm.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] Metamodel On A Runtime + +[T] Short for "Metamodel On A Runtime", MoarVM is a modern virtual machine built +[T] for the Rakudo compiler implementing the Raku Programming Language, and the +[T] NQP Compiler Toolchain. + +[U] https://www.moarvm.org/ + +[A] Jonathan Worthington <jn...@jnthn.net> +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] Artistic +[S] Stable +[V] 2021.06 +[P] X -----5---9 209.701 + +[D] 15921b24428092fc433f2f9bd5f6ae58ef81f0840380d565e9d587c1 MoarVM-2021.06.tar.gz https://www.moarvm.org/releases/ Index: package/raku/nqp/nqp.cache =================================================================== --- package/raku/nqp/nqp.cache (nonexistent) +++ package/raku/nqp/nqp.cache (working copy) @@ -0,0 +1,24 @@ + +[TIMESTAMP] 1625944393 Sat Jul 10 21:13:13 2021 +[BUILDTIME] 100 (9) +[SIZE] 4.08 MB, 22 files + +[DEP] 00-dirtree +[DEP] binutils +[DEP] coreutils +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] libatomic_ops +[DEP] libffi +[DEP] libtommath +[DEP] libuv +[DEP] linux-header +[DEP] make +[DEP] moarvm +[DEP] perl +[DEP] sed +[DEP] tar Index: package/raku/nqp/nqp.conf =================================================================== --- package/raku/nqp/nqp.conf (nonexistent) +++ package/raku/nqp/nqp.conf (working copy) @@ -0,0 +1,12 @@ +# Raku toolchain doesn't use autotools, therefore the configure stage has to +# be modified to support its Configure.pl script + +confopt="--prefix=$root/$prefix --backends=moar" + +if [ "$arch_build" != "$arch_target" ] +then + var_append confopt " " "--build=$arch_build" + var_append confopt " " "--host=$arch_target" +fi + +hook_add preconf 2 "perl Configure.pl $confopt" Index: package/raku/nqp/nqp.desc =================================================================== --- package/raku/nqp/nqp.desc (nonexistent) +++ package/raku/nqp/nqp.desc (working copy) @@ -0,0 +1,36 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/nqp.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] Not Quite Perl + +[T] a lightweight Raku-like environment for virtual machines. The key feature of +[T] NQP is that it's designed to be a very small environment (as compared with, +[T] say, raku or Rakudo) and is focused on being a high-level way to create +[T] compilers and libraries for virtual machines like MoarVM [1], the JVM, and +[T] others. + +[U] https://github.com/Raku/nqp + +[A] The Perl Foundation +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] Artistic +[S] Stable +[V] 2021.06 +[P] X -----5---9 209.701 + +[D] 9a9b4487cf62c329afe2f267e8b211c851fd1deca042ab1ee6adde02 nqp-2021.06.tar.gz https://github.com/Raku/nqp/releases/download/2021.06/ Index: package/raku/raku-file-find/raku-file-find.cache =================================================================== --- package/raku/raku-file-find/raku-file-find.cache (nonexistent) +++ package/raku/raku-file-find/raku-file-find.cache (working copy) @@ -0,0 +1,22 @@ + +[TIMESTAMP] 1626005849 Sun Jul 11 14:17:29 2021 +[BUILDTIME] 100 (9) +[SIZE] 0.02 MB, 9 files + +[DEP] 00-dirtree +[DEP] coreutils +[DEP] curl +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] nqp +[DEP] openssl +[DEP] perl +[DEP] rakudo +[DEP] sed +[DEP] tar +[DEP] unzip +[DEP] zef Index: package/raku/raku-file-find/raku-file-find.desc =================================================================== --- package/raku/raku-file-find/raku-file-find.desc (nonexistent) +++ package/raku/raku-file-find/raku-file-find.desc (working copy) @@ -0,0 +1,32 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/raku-file-find.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] Get a lazy list of a directory tree + +[T] Get a lazy list of a directory tree + +[U] https://github.com/tadzik/File-Find + +[A] Tadeusz Sosnierz <tad...@tadzik.net> +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] MIT +[S] Stable +[V] 0.1.1 +[P] X -----5---9 209.701 + +[D] d55f71ca8f2aff387d00860a6e4666716ee61bf64e8762d1ac0d7f20 File-Find-89ad430.tar.gz !https://codeload.github.com/tadzik/File-Find/tar.gz/89ad430 Index: package/raku/raku-file-which/raku-file-which.cache =================================================================== --- package/raku/raku-file-which/raku-file-which.cache (nonexistent) +++ package/raku/raku-file-which/raku-file-which.cache (working copy) @@ -0,0 +1,23 @@ + +[TIMESTAMP] 1626005862 Sun Jul 11 14:17:42 2021 +[BUILDTIME] 100 (9) +[SIZE] 0.03 MB, 18 files + +[DEP] 00-dirtree +[DEP] coreutils +[DEP] curl +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] nqp +[DEP] openssl +[DEP] perl +[DEP] raku-file-find +[DEP] rakudo +[DEP] sed +[DEP] tar +[DEP] unzip +[DEP] zef Index: package/raku/raku-file-which/raku-file-which.desc =================================================================== --- package/raku/raku-file-which/raku-file-which.desc (nonexistent) +++ package/raku/raku-file-which/raku-file-which.desc (working copy) @@ -0,0 +1,36 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/raku-file-which.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] Perl 6 Object-oriented port of File::Which (CPAN) + +[T] File::Which finds the full or relative paths to an executable program on the +[T] system. This is normally the function of which utility which is typically +[T] implemented as either a program or a built in shell command. On some +[T] unfortunate platforms, such as Microsoft Windows it is not provided as part +[T] of the core operating system. + +[U] https://github.com/azawawi/perl6-file-which + +[A] Ahmad M. Zawawi +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] MIT +[S] Stable +[V] 1.0.1 +[P] X -----5---9 209.701 + +[D] f3d31c882f46eb8e47ecd39f2599f6588e497ec3d67588ccebf197bf File-Which-1dfbeba.tar.gz !https://codeload.github.com/azawawi/perl6-file-which/tar.gz/1dfbeba Index: package/raku/raku-librarymake/ld.patch =================================================================== --- package/raku/raku-librarymake/ld.patch (nonexistent) +++ package/raku/raku-librarymake/ld.patch (working copy) @@ -0,0 +1,16 @@ +--- P6-LibraryMake-7aae514/lib/LibraryMake.pm6.vanilla 2021-07-11 15:24:19.191000000 +0200 ++++ P6-LibraryMake-7aae514/lib/LibraryMake.pm6 2021-07-11 15:26:16.309000000 +0200 +@@ -184,7 +184,12 @@ + } + + for %vars.kv -> $k, $v { +- %vars{$k} [R//]= %*ENV{$k}; ++ if %*ENV<SDECFG_VERBOSE>:exists and $k eq 'LD' { ++ # Inside T2 %LD% should be set to $CC ++ %vars{$k} [R//]= %*ENV<CC>; ++ } else { ++ %vars{$k} [R//]= %*ENV{$k}; ++ } + } + + return %vars; Index: package/raku/raku-librarymake/raku-librarymake.cache =================================================================== --- package/raku/raku-librarymake/raku-librarymake.cache (nonexistent) +++ package/raku/raku-librarymake/raku-librarymake.cache (working copy) @@ -0,0 +1,32 @@ + +[TIMESTAMP] 1626010185 Sun Jul 11 15:29:45 2021 +[BUILDTIME] 100 (9) +[SIZE] 0.02 MB, 10 files + +[DEP] 00-dirtree +[DEP] binutils +[DEP] coreutils +[DEP] curl +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] libatomic_ops +[DEP] libffi +[DEP] libtommath +[DEP] libuv +[DEP] make +[DEP] nqp +[DEP] openssl +[DEP] patch +[DEP] perl +[DEP] raku-file-find +[DEP] raku-file-which +[DEP] raku-shell-command +[DEP] rakudo +[DEP] sed +[DEP] tar +[DEP] unzip +[DEP] zef Index: package/raku/raku-librarymake/raku-librarymake.desc =================================================================== --- package/raku/raku-librarymake/raku-librarymake.desc (nonexistent) +++ package/raku/raku-librarymake/raku-librarymake.desc (working copy) @@ -0,0 +1,34 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/raku-librarymake.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] An attempt to simplify building native code for a perl6 module + +[T] This is effectively a small configure script for a Makefile. It will allow +[T] you to use the same tools to build your native code that were used to build +[T] perl6 itself. + +[U] https://github.com/retupmoca/P6-LibraryMake + +[A] Andrew Egeler <and...@egeler.us> +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] MIT +[S] Stable +[V] 1.0.0 +[P] X -----5---9 209.701 + +[D] 70da9a4ae4154d3255a271b93f1247bcec33a68ca0af6f2fe06f4fa3 LibraryMake-7aae514.tar.gz !https://codeload.github.com/retupmoca/P6-LibraryMake/tar.gz/7aae514 Index: package/raku/raku-linenoise/raku-linenoise.cache =================================================================== --- package/raku/raku-linenoise/raku-linenoise.cache (nonexistent) +++ package/raku/raku-linenoise/raku-linenoise.cache (working copy) @@ -0,0 +1,33 @@ + +[TIMESTAMP] 1626010299 Sun Jul 11 15:31:39 2021 +[BUILDTIME] 100 (9) +[SIZE] 0.04 MB, 9 files + +[DEP] 00-dirtree +[DEP] binutils +[DEP] coreutils +[DEP] curl +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] libatomic_ops +[DEP] libffi +[DEP] libtommath +[DEP] libuv +[DEP] linux-header +[DEP] make +[DEP] nqp +[DEP] openssl +[DEP] perl +[DEP] raku-file-find +[DEP] raku-file-which +[DEP] raku-librarymake +[DEP] raku-shell-command +[DEP] rakudo +[DEP] sed +[DEP] tar +[DEP] unzip +[DEP] zef Index: package/raku/raku-linenoise/raku-linenoise.desc =================================================================== --- package/raku/raku-linenoise/raku-linenoise.desc (nonexistent) +++ package/raku/raku-linenoise/raku-linenoise.desc (working copy) @@ -0,0 +1,33 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/raku-linenoise.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] Linenoise + +[T] This module provides bindings to linenoise +[T] (https://github.com/antirez/linenoise) for Raku via NativeCall. + +[U] https://github.com/raku-community-modules/Linenoise + +[A] Rob Hoelz <r...@hoelz.ro> +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development + +[L] Artistic +[S] Stable +[V] 0.1.1 +[P] X -----5---9 209.701 + +[D] 99a043db5791106c49ae4d15b6ffe10d57c603b0ed75f67856eb9372 Linenoise-f64b59a.tar.gz !https://codeload.github.com/raku-community-modules/Linenoise/tar.gz/f64b59a + Index: package/raku/raku-shell-command/raku-shell-command.cache =================================================================== --- package/raku/raku-shell-command/raku-shell-command.cache (nonexistent) +++ package/raku/raku-shell-command/raku-shell-command.cache (working copy) @@ -0,0 +1,24 @@ + +[TIMESTAMP] 1626005872 Sun Jul 11 14:17:52 2021 +[BUILDTIME] 100 (9) +[SIZE] 0.02 MB, 9 files + +[DEP] 00-dirtree +[DEP] coreutils +[DEP] curl +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] nqp +[DEP] openssl +[DEP] perl +[DEP] raku-file-find +[DEP] raku-file-which +[DEP] rakudo +[DEP] sed +[DEP] tar +[DEP] unzip +[DEP] zef Index: package/raku/raku-shell-command/raku-shell-command.desc =================================================================== --- package/raku/raku-shell-command/raku-shell-command.desc (nonexistent) +++ package/raku/raku-shell-command/raku-shell-command.desc (working copy) @@ -0,0 +1,32 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/raku-shell-command.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] Provides cross-platform routines emulating common *NIX shell commands + +[T] Provides cross-platform routines emulating common *NIX shell commands + +[U] https://github.com/tadzik/Shell-Command + +[A] Tadeusz Sosnierz <tad...@tadzik.net> +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] MIT +[S] Stable +[V] 1145ea0 +[P] X -----5---9 209.701 + +[D] b735ace4f057e9494fe701b1001d40963fe8cab1f24f41e9e90f8456 Shell-Command-1145ea0.tar.gz !https://codeload.github.com/tadzik/Shell-Command/tar.gz/1145ea0 Index: package/raku/rakudo/parse-config =================================================================== --- package/raku/rakudo/parse-config (nonexistent) +++ package/raku/rakudo/parse-config (working copy) @@ -0,0 +1,6 @@ +# Lock is touched when building each package +var_append flistdel '|' "$prefix/share/perl6/site/repo.lock" + +# Precomp files are grouped into directories which may be shared between +# packages +var_append flistdel '|' "$prefix/share/perl6/site/precomp/.*" Index: package/raku/rakudo/rakudo.cache =================================================================== --- package/raku/rakudo/rakudo.cache (nonexistent) +++ package/raku/rakudo/rakudo.cache (working copy) @@ -0,0 +1,25 @@ + +[TIMESTAMP] 1625945435 Sat Jul 10 21:30:35 2021 +[BUILDTIME] 100 (9) +[SIZE] 43.96 MB, 204 files + +[DEP] 00-dirtree +[DEP] binutils +[DEP] coreutils +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] libatomic_ops +[DEP] libffi +[DEP] libtommath +[DEP] libuv +[DEP] linux-header +[DEP] make +[DEP] moarvm +[DEP] nqp +[DEP] perl +[DEP] sed +[DEP] tar Index: package/raku/rakudo/rakudo.conf =================================================================== --- package/raku/rakudo/rakudo.conf (nonexistent) +++ package/raku/rakudo/rakudo.conf (working copy) @@ -0,0 +1,12 @@ +# Raku toolchain doesn't use autotools, therefore the configure stage has to +# be modified to support its Configure.pl script + +confopt="--prefix=$root/$prefix --backends=moar" + +if [ "$arch_build" != "$arch_target" ] +then + var_append confopt " " "--build=$arch_build" + var_append confopt " " "--host=$arch_target" +fi + +hook_add preconf 2 "perl Configure.pl $confopt" Index: package/raku/rakudo/rakudo.desc =================================================================== --- package/raku/rakudo/rakudo.desc (nonexistent) +++ package/raku/rakudo/rakudo.desc (working copy) @@ -0,0 +1,33 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/rakudo.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] The most mature, production-ready implementation of the Raku language. + +[T] A Raku Programming Language compiler for the MoarVM, JVM and Javascript +[T] virtual machines. + +[U] https://www.rakudo.org/ + +[A] Yet Another Society +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] Artistic +[S] Stable +[V] 2021.06 +[P] X -----5---9 209.701 + +[D] 1004d1efbc2038533cb97ea05fd35c3b690de8292722fdbed0e3a55b rakudo-2021.06.tar.gz https://rakudo.org/dl/rakudo/ Index: package/raku/zef/zef.cache =================================================================== --- package/raku/zef/zef.cache (nonexistent) +++ package/raku/zef/zef.cache (working copy) @@ -0,0 +1,21 @@ + +[TIMESTAMP] 1625951521 Sat Jul 10 23:12:01 2021 +[BUILDTIME] 100 (9) +[SIZE] 5.00 MB, 278 files + +[DEP] 00-dirtree +[DEP] coreutils +[DEP] curl +[DEP] dash +[DEP] diffutils +[DEP] findutils +[DEP] gawk +[DEP] git +[DEP] grep +[DEP] nqp +[DEP] openssl +[DEP] perl +[DEP] rakudo +[DEP] sed +[DEP] tar +[DEP] unzip Index: package/raku/zef/zef.conf =================================================================== --- package/raku/zef/zef.conf (nonexistent) +++ package/raku/zef/zef.conf (working copy) @@ -0,0 +1,7 @@ +# Zef is not installed yet: set up PATH and RAKULIB to allow zef run directly +# from its source, bootstrapping itself +bootstrapdir=$builddir/$pkg-$ver +PATH=$PATH:$bootstrapdir/bin +export RAKULIB=$bootstrapdir/lib + +hook_add postmake 2 "ln -s $root/$prefix/share/perl6/site/bin/zef $root/$bindir/zef" Index: package/raku/zef/zef.desc =================================================================== --- package/raku/zef/zef.desc (nonexistent) +++ package/raku/zef/zef.desc (working copy) @@ -0,0 +1,32 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/.../raku/nqp.desc +[COPY] Copyright (C) 2004 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] Raku / Perl6 Module Management + +[T] Raku / Perl6 Module Management + +[U] https://github.com/ugexe/zef + +[A] Nick Logan <nlo...@gmail.com> +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] Artistic +[S] Stable +[V] 0.11.7 +[P] X -----5---9 209.701 + +[D] 9ee155e8b3e37061944f4c3f378362bcafd22921fd2d24c8aa93951f zef-0.11.7.tar.gz https://github.com/ugexe/zef/archive/v0.11.7/ Index: package/develop/dyncall/dyncall.desc =================================================================== --- package/develop/dyncall/dyncall.desc (nonexistent) +++ package/develop/dyncall/dyncall.desc (working copy) @@ -0,0 +1,36 @@ +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by scripts/Create-CopyPatch. +[COPY] +[COPY] T2 SDE: package/*/dyncall/dyncall.desc +[COPY] Copyright (C) 2010 - 2021 The T2 SDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- T2-COPYRIGHT-NOTE-END --- + +[I] A portable, high level programming interface to various calling conventions + +[T] The dyncall library encapsulates architecture-, OS- and compiler-specific +[T] function call semantics in a virtual bind argument parameters from left to +[T] right and then call interface allowing programmers to call C functions in +[T] a completely dynamic manner. + +[U] https://www.dyncall.org + +[A] Daniel Adler <dad...@uni-goettingen.de> +[A] Tassilo Philipp <tphil...@potion-studios.com> +[M] Tomas Glozar <tglo...@gmail.com> + +[C] extra/development +[F] CROSS + +[L] ISC +[S] Stable +[V] 1.2 +[P] X -----5---9 106.000 + +[D] 2e70e2a1e410f57e8c4c3f75d18c3d5ebcbf2f12544897b0070cff18 dyncall-1.2.tar.gz https://www.dyncall.org/r1.2/ Index: scripts/functions.in =================================================================== --- scripts/functions.in (revision 52726) +++ scripts/functions.in (working copy) @@ -1020,6 +1020,14 @@ hook_eval inmake eval "zig build install" hook_eval postmake + elif [ -f META6.json -a $runzef = 1 ]; then + hook_eval premake + var_append zefopt " " "--force-install --/depends --/test-depends --/build-depends" + var_append zefopt " " "--install-to=inst#$root/$prefix/share/perl6/site" + hook_eval inmake + eval echo "Running zef install . $zefopt" + eval "zef install . $zefopt" + hook_eval postmake else # styles that include a make run if [ ! -f Makefile -a ! -f makefile -a \ -f Makefile.PL -a $runmkpl = 1 ]; then @@ -1262,7 +1270,7 @@ sevenzipopt="x" mainfunction="build_this_package" - runconf=1; runxmkmf=1; runmkpl=1; runpysetup=1; runcmake=1; runmeson=1; runzig=1 + runconf=1; runxmkmf=1; runmkpl=1; runpysetup=1; runcmake=1; runmeson=1; runzig=1; runzef=1 autopatch=1; autoextract=1; chownsrcdir=1; nocvsinsrcdir=1; cleanconfopt=1 patchopt="-bfp1 -z .orig" createprefix=1; createdocs=""; rmemptydir=""
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to li...@t2-project.org with a subject of: unsubscribe t2