[Pkg-octave-devel] Dynare status
rafael at debian.org
Wed Apr 22 19:08:50 UTC 2009
* Sébastien Villemot <sebastien.villemot at ens.fr> [2009-04-20 22:38]:
> Le lundi 20 avril 2009 à 21:52 +0200, Thomas Weber a écrit :
> > There are several options: we could add /usr/share/dynare/matlab to
> > Octave's path in /etc/octave3.0.conf.
> > I don't know what happens if the path doesn't exist, though.
> > We could change our way of adding paths similar to what Apache is doing
> > in Debian: create a directory under /etc, where every Octave related
> > package can drop a small file with just the necessary stuff for
> > initialization and /etc/octave3.0.conf just sources these files.
The pkg system does something similar to what you propose. I do not see
the point in duplicating the functionality. In this case, it would be
better to adapt Dynare to pkg.m.
> These two options are indeed interesting. The only problem is that, for
> the time being, a few functions of Dynare have name clashes with
> Octave's. This will be fixed in the next major upstream release, and it
> would also be possible to introduce a patch fixing this meanwhile.
I would really prefer that there are no name clashes, unless Dynare needs
really to override the behavior of some of the standard Octave functions.
This is the case, for instance, of the package octave-graceplot.
> > I'm surprised about the symlink option: is a sysmlink to dynare.m really
> > sufficient? No other paths needed?
> This indeed works provided that we add a
> "addpath /usr/share/dynare/matlab" line at the top of dynare.m :)
I think that the adding a symlink to dynare.m in $(MDIR) is indeed the best
solution for now.
Sébastien, could you implement this? Once it is done, I will test the
package and upload it to unstable.
More information about the Pkg-octave-devel