[Scitech] Re: Packaging SPM12 for Octave

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
What would be needed for it to become an Octave package?
Regards,
Benson

On 01/18/2019 09:04 PM, Ankur Sinha wrote:
Hello,

I'm looking at including SPM12[1] as part of NeuroFedora[2]. 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[3]. 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 runs it
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[4].

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.


[1] https://www.fil.ion.ucl.ac.uk/spm/software/spm12/
[3] https://github.com/spm/spm12
[2] https://neuro.fedoraproject.org
[4] https://docs.fedoraproject.org/en-US/packaging-guidelines/Octave



_______________________________________________
scitech mailing list -- scitech@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to scitech-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/scitech@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
scitech mailing list -- scitech@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to scitech-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/scitech@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Deep Creek Hot Springs]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux