What would be needed for it to become an Octave package?
On 01/18/2019 09:04 PM, Ankur Sinha wrote:
> I'm looking at including SPM12 as part of NeuroFedora. It's primarily
> written for Matlab, but it works on Octave as well. SPM upstream also
> works with Octave upstream to improve Matlab compatibility etc.
> Unfortunately, as a more Matlab centric package, SPM is not set up to be
> set up to be installed as an Octave package like ones hosted at Octave
> forge. Currently, one simply runs `make && make install` in the src
> directory anywhere on one's system, and then either uses the
> "spm12-octave" script to run the "standalone" version of SPM, or
> from octave using "addpath (/path/to/spm12/build)". The source does not
> contain the required files to use `pkg build, pkg install` etc. as the
> template spec and octave macros suggest.
> So, how should one approach this?
> - Should I stick to `make && make install` and then manually install the
> files (so, not use `pkg ...` at all)?
> * If so, where should the files be installed? Should they be installed
> in the standard octave directories, or in the general FHS locations?
> - Should I add the bits to make it a package (locally in the spec), and
> then use the rpm macros (and so treat it like a standard octave
> package)? This will need a little bit of work downstream, and
> upstream will most likely not accept these Octave specific bits.
>  https://www.fil.ion.ucl.ac.uk/spm/software/spm12/
>  https://github.com/spm/spm12
>  https://neuro.fedoraproject.org
>  https://docs.fedoraproject.org/en-US/packaging-guidelines/Octave
> scitech mailing list -- scitech(a)lists.fedoraproject.org
> To unsubscribe send an email to scitech-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: