[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] making a standalone fluidsynth plugin on Mac

From: Ebrahim Mayat
Subject: Re: [fluid-dev] making a standalone fluidsynth plugin on Mac
Date: Sun, 11 Mar 2012 08:14:54 -0400

On Saturday 10 March 2012, Antoine Schmitt wrote:
Hi list,
I'm currently porting my fluidsynth Xtra (name for Adobe Director
plugin, i.e. a shared library that is dynamically loaded into the
final executable) to fluidsynth 1.1.5. Previously, it was on 1.0.7.
(visible on www.schmittmachine.com/fluidXtra.html).

The big change is in the build method of fluidsynth. I used cmake, as
indicated in the doc for MacOSX. I used fink to get all the needed
packages. This is the first time i deal with fink and cmake.
Interesting and sexy, but sometimes a bit obscure...

Good Day Antoine

Many thanks for your appreciation :-)

On Mar 11, 2012, at 3:16 AM, Pedro Lopez-Cabanillas wrote:

I've removed fink from my mac long time ago. It may be convenient at first, because it provides many packages and automatic dependencies, but after some time you will realize that you don't have a nice GUI front-end of cmake, or some packages are compiled without a feature that you want, or the versions of
some other packages are ancient and never get updated ...

I have maintained fink on my mac for a long time now and I am happy with it. Firstly, like many sysadmins and devs that I know, I prefer working with the command-line interface. (Scripts work well in such an environment.) Secondly, from my experience certain new software features can be so buggy as to completely disrupt my workflow. So for me "bleeding edge" is not necessarily better.

Fink users have the option of using the the "stable" and/or "unstable distributions". The "stable" tree can be easily implemented across a network because the packages just work while the "unstable" distribution is usually run on at most a couple of test machines where they can be thoroughly tested before being adopted in a smoothly functioning distribution. In addition, if a fink user feels that the adoption of a newer version of a software package is needed/justified, he/she is advised to request an update from the maintainer.

Finally, if anybody on this list would like to continue maintaining fluidsynth on fink please feel free to do so. Personally, my time is occupied with other things right now.

For cmake, there are nice native builds here:

My problem is that I end up with an Xtra (DLL) that depends on many
fink shared libraries, which are not available on the end-user system,
contrary to the standard shared libraries (Apple frameworks). So the
Xtra cannot load and run.

Here are all the dependencies (found with otool) :

glib and gthread are mandatory for fluidsynth >= 1.1.0, but the other
libraries can be avoided if you don't need the functionality. For instance, we use dbus in Linux to communicate with rtkit, but we don't use it in Mac for anything. Readline and libsndfile are very useful and interesting in all
platforms, but maybe your users can live without them ...

I tried looking for the static libraries for these fink packages but
they do not seem to have been built by the get-apt system. I don't
find them on my system. And I can't find how to build them.

Question : how do I build and use the static libraries of these fink
packages ? Or how do I include the static version of these libraries
in my shared library.

You need to download the sources, build and install them yourself. Or you may
look for alternatives to fink. Good luck.

I disagree with this viewpoint (see above).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]