Re: Help packaging R Quarto Cli

2023-03-20 Thread Wojtek Kosior via
> Hi, > > Some news about *Quarto* Packaging : Hi! It's amazing to still see you pushing this forward ^^ > ## Packaging Quarto > > After running ./configure.sh i get the next step from conda recipe > (https://github.com/quarto-dev/quarto-cli/tree/main/package/conda-recipe/build.sh). > > Cond

Re: Help packaging R Quarto Cli

2023-03-20 Thread Rey-Coyrehourcq Sébastien
Hi, Some news about *Quarto* Packaging : # Deno [Done] - the first big/huge dependency of Quarto is Deno, packaged in december : Deno (https://deno.land/) # Deno-Dom [Done] The problem of deno_dom plugin of deno (https://github.com/b-fuze/deno-dom), provided as a rust virtual manifest is

Re: Help packaging R Quarto Cli

2022-12-22 Thread Sébastien Rey-Coyrehourcq
Hi, Wojtek Kosior writes: >> >> I found only one crate that use this method `git-fetch’ in the list : >> >> >> > >> > There are plenty in other package definition files, e.g. in >> > gnu/packages/python-xyz.scm.

Re: Help packaging R Quarto Cli

2022-12-15 Thread Wojtek Kosior via
> >> I found only one crate that use this method `git-fetch’ in the list : > >> > >> > > > > There are plenty in other package definition files, e.g. in > > gnu/packages/python-xyz.scm. It seems Rust is just that

Re: Help packaging R Quarto Cli

2022-12-15 Thread zimoun
Hi, On Thu, 15 Dec 2022 at 09:32, Sébastien Rey-Coyrehourcq wrote: > I’m happy to say, Deno is packaged (except the test, see the last conversion > on this thread) compile and run on my machine :D > > ┌ > │ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno > --vers

Re: Help packaging R Quarto Cli

2022-12-15 Thread Sébastien Rey-Coyrehourcq
Hi, I’m happy to say, Deno is packaged (except the test, see the last conversion on this thread) compile and run on my machine :D ┌ │ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno --version │ deno 1.25.2 (release, x86_64-unknown-linux-gnu) │ v8 10.6.194.5 │ types

Re: Help packaging R Quarto Cli

2022-12-14 Thread Sébastien Rey-Coyrehourcq
Wojtek Kosior writes: >> Yes, you’re right i correct this thing, but this is weird in all case, here i > clone all deno repository (at tag v1.25.2), and this is renamed as > `deno-test-util-checkout-0-1-0’ because i’m only interested by this folder >> >>

Re: Help packaging R Quarto Cli

2022-12-14 Thread Wojtek Kosior via
> Yes, you’re right i correct this thing, but this is weird in all case, here i > clone all deno repository (at tag v1.25.2), and this is renamed as > `deno-test-util-checkout-0-1-0' because i’m only interested by this folder > >

Re: Help packaging R Quarto Cli

2022-12-14 Thread Sébastien Rey-Coyrehourcq
Wojtek Kosior writes: > Hello again > > I am impressed with your determination :) > thx :D > I see most packages in Guix that use `(method git-fetch)` also use > `(file-name (git-file-name name version))` in `(origin)`. > > Note that this only affects the name under which the git checkout is >

Re: Help packaging R Quarto Cli

2022-12-14 Thread Wojtek Kosior via
Hello again I am impressed with your determination :) I see most packages in Guix that use `(method git-fetch)` also use `(file-name (git-file-name name version))` in `(origin)`. Note that this only affects the name under which the git checkout is saved. Whether the source checkout directory und

Re: Help packaging R Quarto Cli

2022-12-14 Thread Sébastien Rey-Coyrehourcq
Hi, After two weeks of suffering and pain with this complex rust packaging, and thanks to people on the libera #guix chat, my “rust packaging adventure” is near ending… at least with deno, i see quarto after that… Everything compile by parts, and i need a final help to merge things. I only hav

Re: Help packaging R Quarto Cli

2022-11-25 Thread Sébastien Rey-Coyrehourcq
Hi, Thanks a lot, that helps me to make one more step :) I set : ┌ │ (arguments │ `(#:phases │(modify-phases %standard-phases │ (add-before 'configure 'set-source │(lambda _ │ (setenv "V8_FROM_SOURCE" "1") │ (setenv "RUST

Re: Help packaging R Quarto Cli

2022-11-16 Thread Wojtek Kosior via
> Hi, > > You're both right, seems there is a flag to skip binary downloading and > compile the V8 lib. > > [...] Good to see you found it :) > So, my packaging friend :), what's the best way to push an "export > V8_FROM_SOURCE=1" or something like that into my rust-deno.scm ? > > Best, > >

Re: Help packaging R Quarto Cli

2022-11-16 Thread Sebastien Rey-Coyrehourcq
Hi, You're both right, seems there is a flag to skip binary downloading and compile the V8 lib. From the githubpage (https://github.com/denoland/rusty_v8) : "V8 is very large and takes a long time to compile. Many users will prefer to use a prebuilt version of V8. We publish static libs for

Re: Help packaging R Quarto Cli

2022-11-14 Thread Efraim Flashner
On Mon, Nov 14, 2022 at 11:30:47PM +0100, Sébastien Rey-Coyrehourcq wrote: > Hi, > > After some day of packaging rust crate, i progress and deno start to compile > … but after 1min i have this error when cargo start compiling *rust-v8-0.49* > . Any rust + guix help appreciated. > > I push the c

Re: Help packaging R Quarto Cli

2022-11-14 Thread Wojtek Kosior via
> Hi, > > After some day of packaging rust crate, i progress and deno start to > compile … but after 1min i have this error when cargo start compiling > *rust-v8-0.49* . Any rust + guix help appreciated. Your determination is extraordinary :) > note: run with `RUST_BACKTRACE=1` environment varia

Re: Help packaging R Quarto Cli

2022-11-14 Thread Sébastien Rey-Coyrehourcq
Hi, After some day of packaging rust crate, i progress and deno start to compile … but after 1min i have this error when cargo start compiling *rust-v8-0.49* . Any rust + guix help appreciated. I push the channel to reproduce the problem here : The rust scm repo : git.sr.ht:~reyman/rust-channe

Re: Help packaging R Quarto Cli

2022-11-03 Thread Wojtek Kosior via
> > I think I almost understand your approach. Just a quick question - what > > Guix command are you using to try building? With this setup I’d try > > something like > > > > guix shell -L ./export/ rust-deno > > > > Actually, from export folder i try : > i try *guix build -L . -f rust-deno-

Re: Help packaging R Quarto Cli

2022-10-28 Thread Sébastien Rey-Coyrehourcq
Wojtek Kosior writes: > I think I almost understand your approach. Just a quick question - what > Guix command are you using to try building? With this setup I’d try > something like > > guix shell -L ./export/ rust-deno > Actually, from export folder i try : i try *guix build -L . -f rust-d

Re: Help packaging R Quarto Cli

2022-10-28 Thread Wojtek Kosior via
I think I almost understand your approach. Just a quick question - what Guix command are you using to try building? With this setup I'd try something like guix shell -L ./export/ rust-deno and then I'd put (define-module (rust-ecdsa-0.14 rust-ecdsa-0.14) #:use-module (rust-serdect-

Re: Help packaging R Quarto Cli

2022-10-28 Thread Sébastien Rey-Coyrehourcq
Hi, Wojtek Kosior writes: >> Hi, >> >> I continue the packaging using guix import crate, this is a slow process, >> but everything goes well at this time. >> >> My file deno.scm contain 6000 line, with all packages imported, this is a >> problem because i need to remove duplicate. >> The best

Re: Help packaging R Quarto Cli

2022-10-27 Thread Wojtek Kosior via
> Hi, > > I continue the packaging using guix import crate, this is a slow process, but > everything goes well at this time. > > My file deno.scm contain 6000 line, with all packages imported, this is a > problem because i need to remove duplicate. > The best way was probably to export all `(de

Re: Help packaging R Quarto Cli

2022-10-27 Thread Sébastien Rey-Coyrehourcq
Hi, I continue the packaging using guix import crate, this is a slow process, but everything goes well at this time. My file deno.scm contain 6000 line, with all packages imported, this is a problem because i need to remove duplicate. The best way was probably to export all `(define public meth

Re: Help packaging R Quarto Cli

2022-10-25 Thread Wojtek Kosior via
> > Out of curiosity - what are the problems between Guix and JS? When I > > read this my first suspicion was that maybe TS is a self-hosted > > language and cannot be bootstrapped. However, when I ran `guix search > > typescript`, it revealed the existence of some TS->JS compiler called > > 'rust-

Re: Help packaging R Quarto Cli

2022-10-25 Thread zimoun
hi Sébastien, On Mon, 24 Oct 2022 at 18:00, "Sebastien Rey-Coyrehourcq" wrote: > Deno contain lot of packages dependencies actually, > here i comment all packages not packaged in rust after a simple run of guix > import ... Yeah! :-) Deno is not straightforward; “guix import crate -r deno” i

Re: Help packaging R Quarto Cli

2022-10-25 Thread zimoun
Hi, On Mon, 24 Oct 2022 at 20:40, Wojtek Kosior via wrote: > Out of curiosity - what are the problems between Guix and JS? When I > read this my first suspicion was that maybe TS is a self-hosted > language and cannot be bootstrapped. However, when I ran `guix search > typescript`, it revealed t

Re: Help packaging R Quarto Cli

2022-10-24 Thread Wojtek Kosior via
> Well, after a quick look I think it is not easy to package because it is > TypeScript and the story between JavaScript and Guix is not really > smooth. :-) Out of curiosity - what are the problems between Guix and JS? When I read this my first suspicion was that maybe TS is a self-hosted languag

Re: Help packaging R Quarto Cli

2022-10-24 Thread Csepp
zimoun writes: > Hi Sébastien, > > On lun., 24 oct. 2022 at 13:43, Sébastien Rey-Coyrehourcq > wrote: > >> I’m trying to package Quarto Cli ( >> ), used in combination with >> Pandoc to publish -reproducible- scientific document : website, blog, >> et

Re: Help packaging R Quarto Cli

2022-10-24 Thread zimoun
Hi Sébastien, On lun., 24 oct. 2022 at 13:43, Sébastien Rey-Coyrehourcq wrote: > I’m trying to package Quarto Cli ( > ), used in combination with > Pandoc to publish -reproducible- scientific document : website, blog, > etc. Well, after a quick look I

Re: Help packaging R Quarto Cli

2022-10-24 Thread Sebastien Rey-Coyrehourcq
Le Lundi, Octobre 24, 2022 13:43 CEST, Sébastien Rey-Coyrehourcq a écrit: > Hi, > > I’m trying to package Quarto Cli ( > ), used in combination with Pandoc to publish -reproducible- scientific > document : website, blog, etc. > > I first think this i

Help packaging R Quarto Cli

2022-10-24 Thread Sébastien Rey-Coyrehourcq
Hi, I’m trying to package Quarto Cli ( ), used in combination with Pandoc to publish -reproducible- scientific document : website, blog, etc. I first think this is a classic gnu build : ./configure && make && make install BUT, there is a problem becau