Add Octave and R backends

This commit is contained in:
Yaakov Selkowitz 2025-05-19 18:25:02 -04:00
commit 3de5a1140c

View file

@ -13,14 +13,22 @@ flatpak:
packages:
- LabPlot
# cantor dependencies
- cantor-R
- gnuplot
- maxima
- octave
- python3-numpy
- python3-plotly
- qalculate
command: labplot
rename-icon: labplot
rename-mime-file: labplot.xml
add-extensions:
org.fedoraproject.Sdk.Extension.texlive:
directory: texlive
version: f42
add-ld-path: lib
no-autodownload: true
finish-args: |-
--device=dri
--filesystem=host
@ -29,8 +37,13 @@ flatpak:
--share=network
--share=ipc
--socket=x11
--own-name=org.kde.Cantor.*
--talk-name=org.kde.kconfig.notify
--talk-name=org.kde.KGlobalSettings
--env=PATH=/app/bin:/app/texlive/bin:/usr/bin
--env=PERL5LIB=/app/texlive/lib/perl5
--env=TEXMFROOT=/app/texlive
cleanup-commands: |
rm -fr /app/include/
rm -f /app/lib64/qt6/plugins/cantor/backends/cantor_{octave,sage,scilab}backend.so
rm -f /app/lib64/qt5/plugins/cantor/backends/cantor_{sage,scilab}backend.so
rm -f /app/share/knsrcfiles/cantor_{sage,scilab}.knsrc
rm -f /app/share/icons/hicolor/*/apps/{sage,scilab}backend.*