-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/23/11 5:39 AM, Viv Kendon wrote:
>>> Many thanks, that worked.  (The way it built all of octave
>>> then threw most of it away brought back memories of epic builds
>>> of OpenOffice.org and its language packs...)
>> 
>> Yeah, sorry about that. :-)  I wanted to allow users to be able
>> to select either the X11 or Aqua interfaces, and the build system
>> wasn't modular enough for just that.  I actually do cut out a lot
>> of the build, though.
>> 
>> Unfortunately, Octave 3.4.3 (to be released in Fink soon) has a 
>> different system, and so its fltk-backend packages currently do
>> build literally all of Octave and throw almost all of it away.
> 
> Hmmm.  Does it have to be one or the other?  Can you install both
> backends at the same time?  Say if you wanted to compare them, or
> had users of the same machine with different preferences? (Could
> really happen for my macs.)
> 

The relevant source file chooses either Aqua or X11, but not both,
depending on configure-time options, since fltk doesn't have a way to
support both aqua and X11 simultaneously.

However, it is currently possible to extract the oct-file from one of
the fltk-backend-debs and users can install it in their home directory
and have it override the global one.

And, in principle, I can modify the packaging such that both backends
could be installed, and then swapped in and out of the octave load
path at the system level via update-alternatives, or at the user level
by appropriate setting of Octave's paths.  Now that I think about it,
that actually sounds potentially useful, although one still has to
build Octave twice to get both options.

> I won't ask whether it would be more efficient to split octave into
> X11 and Aqua variants, rather than the backend, because I'm sure
> you've considered that...
> 
> -- Viv ________________________________________________ Dr Viv
> Kendon    http://quantum.leeds.ac.uk/~viv tel: +44 113 343 4864
> Physics and Astronomy Quantum Information Group    University of
> Leeds
> 
> 

I went with a disk-space optimization.

Since only one oct-file (two in Octave-3.4.6) actually cares about
fltk and X11, I decided just to pull that out and allow users to pick
the interface they wanted, and toggle between the two choices via
installing just the FLTK backends from their small .deb files rather
than swapping the whole, larger, octave324 package.

I like the idea of saving a build by allowing the two options to
coexist.  I do have to pick which one to default to, however, by our
policy, and I'm prejudiced towards Aqua. :-)
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6kBxEACgkQB8UpO3rKjQ+3kwCgor7i3SJZLjOFPP/27MNN5yUp
wpoAoIJkfVPIBswA+Eu55DOkmUgG1vUl
=EinF
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to