Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add extension/plugin support for Octave packages #134

Open
jbingram opened this issue Apr 1, 2021 · 6 comments
Open

add extension/plugin support for Octave packages #134

jbingram opened this issue Apr 1, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@jbingram
Copy link

jbingram commented Apr 1, 2021

See conversation with Octave maintainers here: https://savannah.gnu.org/bugs/index.php?60319

Original request to Octave maintainers:
"Hi there. Description of the request: Add possibility to install the extra Octave functions and packages as Flatpak add-on, right from the Flatpak install page of Octave. Thank you for considering my request and keep up the good work"

@mtmiller
Copy link
Collaborator

mtmiller commented Apr 1, 2021

I'm not sure that Flatpak supports this type of packaging. If you or someone else has insight into how that would work, please share that here.

@jbingram
Copy link
Author

jbingram commented Apr 2, 2021

sounds good, I will ask. Thx for your prompt reply. Much appreciated.

@mtmiller
Copy link
Collaborator

mtmiller commented Apr 2, 2021

FYI, if you are motivated to pursue this, resources include the Flatpak technical docs and the Flathub forum.

I am not a Flatpak core developer, but I've been building packages for a few years now, and as far as I know, I don't think that Flatpak wants to provide this kind of functionality. For what it's worth.

@jbingram
Copy link
Author

jbingram commented Apr 2, 2021

@mtmiller Thx for your answer. I am a simple bio-mathematician, not a software dev, so it would be more than hard for me to package that. Flatpak provides the possibility to build add-on and add them to the flatpk app straight from the gnome software center? See for instance on VLC here :

Screenshot from 2021-04-02 20-36-02

We could imagine the same thing for Octave, where add-on are extra octave packages/functions (e.g. octave-linear-algebra, octave-symbolic, octave-statistics), i.e. the same ones that we can download and add to octave on linux package managers (synaptic, pacman ...)

Screenshot from 2021-04-02 20-39-17

@mtmiller
Copy link
Collaborator

mtmiller commented Apr 2, 2021

I see, agree this does seem supported and possible. In Flatpak terminology, these are extensions. Each Octave Forge package could be built as its own extension on top of the base Octave application.

From what I can gather so far, this roughly involves

  1. add extension loading support to org.octave.Octave
  2. create a new repository to build a particular package as an extension
  3. get that extension added to Flathub
  4. repeat 2-3 for as many Octave Forge packages as one wants to support this way
  5. ideally, automate the process or come up with a template to turn any package into a new extension

@jbingram
Copy link
Author

jbingram commented Apr 2, 2021

That would be great. Thx Mike for the explanation.

@mtmiller mtmiller added the enhancement New feature or request label Apr 2, 2021
@mtmiller mtmiller changed the title add Flatpak add-on for Octave: Octave maintainers just told me that I should ask you not them to add add-on, is it true ? add extension/plugin support for Octave packages Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants