Please forgive me it's not a pure Netbeans question.

The next version of my Netbeans platform music app uses a native library, the 
software synth Fluidsynth 
https://github.com/FluidSynth/fluidsynth/wiki/Download which is available on 
Win/Linux/Mac. 

Would you have recommandations on the best way to package my app to continue 
distribution for Win/Linux/Mac ? ("best"=a trade-off between minimize work for 
me and end-user acceptability). 

What I understood so far:
Simpler for me is to bundle the native lib plus its few dependencies into the 
package. I did it on Windows, I can still use the NB packaging feature and it 
works OK.

But is it possible to do this for Linux ? When I checked on Ubuntu the 
fluidsynth lib dependencies using ldd, I found tons of libraries I would need 
to embed, and I guess they would work only for Ubuntu. I don't easily have 
access to a Mac, so not sure for Mac.
Another option is to create a package for my app (e.g.  deb Linux and brew for 
Mac) which declares a dependency so that the package manager takes care about 
installing fluidsynth. But there are many different package managers, not for 
all distros, same for Mac, with some restrictions...
I lack some experience on Linux and Mac and I'm lost. Any help welcome.

Thanks  Jerome










Reply via email to