help-octave
[Top][All Lists]
Advanced

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

Re: Going to start Octave Package Management.


From: Sergei Steshenko
Subject: Re: Going to start Octave Package Management.
Date: Mon, 4 Feb 2019 16:45:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0


On 2/4/19 3:37 PM, Dildar Sk wrote:
The answer would help me a lot. Thanks for your time.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



I have a rough idea (which most easily can be implemented on Arch Linux - though I've never run an Arch type distro) how to "marry" Octave (and for that matter Julia) packaging with OS packaging. Gentoo is similar to Arch in this respect.


The idea is to split package building and installation into two stages:

1) Octave/Julia script creates a source package. And the package contains dependencies and its build method;

2) the source package is in the format supported by the OS.


As a result one first installs the Octave/Julia source package - which means installation of its dependencies first if the OS package manager is intelligent enough (nowadays they are).


Then as the source package is installed, the build method (typically a script) is called, and the usable package is built. At this stage Octave/Julia will be called to produce the corresponding files.


And a lot of disparate, but useful info can be found at https://fusion809.github.io/package-development/ . Pay attention to OBS there - maybe this infrastructure can be used to hide the GNU Bazaar complexity.


--Sergei.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]