Is there a way to "support" quarto without having to build this package with it?
I afraid, no. Quarto must be explicitly included or excluded at configuration time. If you include it, quarto will be called to create several internal RStudio modules and libraries during the build process.
I thought a bit of forking rstudio-desktop
to e.g. rstudio-desktop-full
and rstudio-desktop-no-quarto
, but ended up with current "solution".
At least I can see some logic here: configure => check module => available => include it : not available => not include.
P.S. If you believe you can make it better, you're welcome to adopt this package (but don't forget to take quarto-cli
, quarto-cli-pre-release
and quarto-cli-git
as well)
:)
Pinned Comments
trap000d commented on 2022-07-05 20:32 (UTC) (edited on 2022-10-03 06:28 (UTC) by trap000d)
PLEASE READ THIS MESSAGE BEFORE COMPLAINING FOR LIBBOOST
When boost is updated to a new version and you see an error message about missing libboost*.so, you will need to rebuild and reinstall the rstudio-desktop package.
trap000d commented on 2022-02-19 06:20 (UTC) (edited on 2022-02-19 06:21 (UTC) by trap000d)
Build logic is slightly changed due to changes in upstream. As they've introduced new project format (quarto), it contradicted with standard Arch package base. In brief, quarto contains pandoc as part of itself, so it's pretty hard to keep together system pandoc and embedded quarto.
So I've "resolved" it such way: if there is "quarto*" package installed, then rstudio-desktop will pick it up and use. Otherwise (not installed), quarto support in rstudio will be disabled.
'quarto' is added as optional dependency.