FS#25913 - [octave] Add FLTK support
Attached to Project:
Arch Linux
Opened by Miguel (buo) - Wednesday, 07 September 2011, 02:10 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 27 October 2011, 12:13 GMT
Opened by Miguel (buo) - Wednesday, 07 September 2011, 02:10 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 27 October 2011, 12:13 GMT
|
Details
Current versions of Octave support the FLTK graphics toolkit
as an alternative to gnuplot. As I understand it, devolpment
will focus on FLTK given the limitations of gnuplot.
It would be nice if Arch's octave would support FLTK. All that is needed is add FLTK as a dependency and make sure configure finds it. As it stands now, trying to use the FLTK backend gives this result: octave:1> graphics_toolkit ('fltk') error: feval: function `__init_fltk__' not found error: called from: error: /usr/share/octave/3.4.2/m/plot/graphics_toolkit.m at line 56, column 5 octave:1> available_graphics_toolkits ans = { [1,1] = gnuplot } octave:3> |
This task depends upon
Closed by Ronald van Haren (pressh)
Thursday, 27 October 2011, 12:13 GMT
Reason for closing: Implemented
Additional comments about closing: octave 3.4.3
Thursday, 27 October 2011, 12:13 GMT
Reason for closing: Implemented
Additional comments about closing: octave 3.4.3
I understand if you prefer not to support fltk while it is marked experimental. If that's the case, feel free to close this request.
I would suggest (of course, that is only my wish) to add the fltk package (which resides in [extra]) to the makedepends and optdepends of octave. This way, users are not forced to install fltk. Then, even though a user has fltk installed, the gnuplot backend is still the default one. Indeed, I compiled octave with fltk installed and I get:
octave:1> available_graphics_toolkits
ans =
{
[1,1] = gnuplot
}
To use the FLTK backend, I need to explicitly type
octave:2> graphics_toolkit ("fltk")
In such a way, the FLTK backend is only used by users that want to use it. You give the possibility to use the FLTK backend to users that want to use it, with no harm to users that prefer to use the gnuplot backend.
This is just my opinion. In any case, I wish to thank you (and all the Arch developers) for maintaining such a great distro.