Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] SupportLibs package

Date2008-04-06 13:17
Fromvictor
SubjectRe: [Cs-dev] SupportLibs package
If users are concerned about this, they can run the Jack installer
again after installing Csound, which will reinstall the dylib.
But it's not a problem, because the dylibs are likely to be the same
as well. And libsndfile should go in /usr/local/lib, not inside the
framework.

Believe me, I have thought long about this and what we are doing
at the moment is the best solution. Also since we released the software
in 2006, I have not had a single complaint that Csound installation
was breaking a Jack system.

Victor

----- Original Message ----- 
From: "Jonatan Liljedahl" 
To: "Developer discussions" 
Sent: Sunday, April 06, 2008 12:49 PM
Subject: Re: [Cs-dev] SupportLibs package


>
> I don't own a Mac so I can't check right now what libs are provided by
> the SupportLibs package...
>
> I'm just wondering if there might be some better solution, right now
> there is a problem: There is no Libsndfile OSX package as far as I know,
> so if the user wants a working Csound installation he *has* to install
> the SupportLibs package, unless he wants to install XCode and Macports
> or something and compile libsndfile from source, which may be too much
> to ask from most Mac users. This means that if a user don't want to
> compile from source, but don't want to overwrite their existing Jack
> installation, then there's no option.
>
> Or is it possible for the SupportLibs package to either automatically
> check for an existing libjack and don't overwrite it if it exists? Or
> ask the user to select/unselect each lib in SupportLibs?
>
> Another thought is that libsndfile (and other small libs if there are
> any?) could be bundled right into the CsoundLib framework, and that the
> user could be asked to install the JackOSX package themselves.
>
> Another possible solution: Perhaps one could make a dummy libjack (or
> use a real copy) bundled with CsoundLib framework but set up in such a
> way that it's found *after* an existing libjack? I'm thinking in terms
> of $LD_LIBRARY_PATH but I don't know how this works on OS X.
> So if there's no libjack in /usr/lib or /usr/local/lib (or wherever it
> searches) it uses the one bundled with the framework.
>
> victor wrote:
>> Because if I don't  users will have to look for it and install it,
>> otherwise Csound will fail to start. If the user has Jack, he should
>> just unselect the support libs.
>>
>> The installer contains a list of what is provided and if users do not
>> want the installation to overwrite anything, they can unselect
>> the package.
>>
>> This was the simplest way to provide a complete Csound without
>> having people complaining that it doesn't work  because
>> dynamic libs are missing.
>>
>> I am happy to pass on the task of making the OSX binary installers to
>> anyone else that knows better.
>>
>> Victor
>>
>>
>> ----- Original Message ----- 
>> From: "Jonatan Liljedahl" 
>> To: "Developer discussions" 
>> Sent: Friday, April 04, 2008 7:22 PM
>> Subject: [Cs-dev] SupportLibs package
>>
>>
>>> What does the OS X csound SupportLibs package contain except libjack and
>>> libsndfile?
>>>
>>> Why do you include libjack? I would think that the point with JACK is to
>>> be able to connect software with other software and hardware, so if the
>>> user wants it she would have JackOSX installed already.
>>>
>>> It's not nice if the SupportLibs package overwrites existing JackOSX
>>> installation...
>>>
>>> And why not bundle libsndfile with the CsoundLib.framework?
>>>
>>> -- 
>>> /Jonatan         [ http://kymatica.com ]
>>>
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -- 
> /Jonatan         [ http://kymatica.com ]
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-04-06 14:55
FromJonatan Liljedahl
SubjectRe: [Cs-dev] SupportLibs package
What version of libjack is in the latest package?

What about this?
http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html

So it seems it should be possible to use -weak_library jack instead of
-ljack and it should run properly as long as jack isn't referenced?

(there's no point in using jack if you don't have jackd installed and
running, including a copy of libjack.dylib in SupportLibs is only a
workaround to prevent csound from not starting)

Also I fail to see why libsndfile "should" go in /usr/local/lib instead
of bundled with the CsoundLib framework (in
CsoundLib.framework/VERSION/Libraries). libsndfile has no connection to
other apps (like jack does) so it's no problem to bundle libsndfile with
csound, I would even say it would be the right thing to do.

Wouldn't it be great if the SupportLibs package could be skipped and
users only had to install the CsoundLib framework?

victor wrote:
> If users are concerned about this, they can run the Jack installer
> again after installing Csound, which will reinstall the dylib.
> But it's not a problem, because the dylibs are likely to be the same
> as well. And libsndfile should go in /usr/local/lib, not inside the
> framework.
> 
> Believe me, I have thought long about this and what we are doing
> at the moment is the best solution. Also since we released the software
> in 2006, I have not had a single complaint that Csound installation
> was breaking a Jack system.
> 
> Victor

-- 
/Jonatan         [ http://kymatica.com ]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net