Csound Csound-dev Csound-tekno Search About

[Cs-dev] Moving towards release

Date2005-09-25 11:49
Fromjpff@codemist.co.uk
Subject[Cs-dev] Moving towards release
A problem i foresee with Linux is that we use FLTK with threads, but
the main distributions seem to provide the non-thread version.  I
suspect that means that we need to provide a statically linked library
for a packaged system.  Is that feasible/desirable?
==John ffitch


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-09-25 12:06
FromIstvan Varga
SubjectRe: [Cs-dev] Moving towards release
jpff@codemist.co.uk wrote:

> A problem i foresee with Linux is that we use FLTK with threads, but
> the main distributions seem to provide the non-thread version.  I
> suspect that means that we need to provide a statically linked library
> for a packaged system.  Is that feasible/desirable?

It should be possible to statically link against FLTK, but then
we probably need to move the FLTK displays out of the main library
and integrate with the widgets plugin, or move the widgets back
into libcsound, to avoid loading two copies of FLTK at the same
time. In the first case, the static FLTK library should be compiled
with -fPIC.
Alternatively, the package of Csound binaries could include a shared
FLTK library that is installed to a standard directory like /usr/lib
or /usr/local/lib, but has a special name not to conflict with the
library included with the distribution. Yet another option is to
install the custom FLTK lib to a separate directory, and use a shell
script to start Csound after setting LD_LIBRARY_PATH; it may be
necessary to have scripts for the utilities as well, though.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-09-27 09:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] Moving towards release
I would suggest that the display code be moved  out of the library, keeping
only the fail-safe ASCII in it. We then should provide a static FLTK to
go in the distribution. That should make the distros uniform across
linux, windows and OSX.

Victor

At 12:06 25/09/2005, you wrote:
>jpff@codemist.co.uk wrote:
>
>>A problem i foresee with Linux is that we use FLTK with threads, but
>>the main distributions seem to provide the non-thread version.  I
>>suspect that means that we need to provide a statically linked library
>>for a packaged system.  Is that feasible/desirable?
>
>It should be possible to statically link against FLTK, but then
>we probably need to move the FLTK displays out of the main library
>and integrate with the widgets plugin, or move the widgets back
>into libcsound, to avoid loading two copies of FLTK at the same
>time. In the first case, the static FLTK library should be compiled
>with -fPIC.
>Alternatively, the package of Csound binaries could include a shared
>FLTK library that is installed to a standard directory like /usr/lib
>or /usr/local/lib, but has a special name not to conflict with the
>library included with the distribution. Yet another option is to
>install the custom FLTK lib to a separate directory, and use a shell
>script to start Csound after setting LD_LIBRARY_PATH; it may be
>necessary to have scripts for the utilities as well, though.
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by:
>Tame your development challenges with Apache's Geronimo App Server. Download
>it for free - -and be entered to win a 42" plasma tv or your very own
>Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net