On Tue, May 7, 2013 at 5:17 PM, A. Maitland Bottoms <[email protected]> wrote:
> But so far it's been easier for us to roll-our-own
> builds than to do the above patching. Although the
> wx-config bug is painful for us.
>
In reviewing wx-config --help I found an option for --linkdeps which
supposedly will cause the dependant libs to be linked statically as well.
I'm testing that now.
And with any luck, Richard's build is equally suited to
> building shared libraries for libctb, wxwidgets and
> codec2. These would then have to be shipped alongside
> the freedv binary. Other projects that engage in that
> behaviour often obfuscate the library names to keep
> things from colliding with legitimate library packages.
> (The Visualization Toolkit has libvtkftgl for its copy
> of libftgl, GNU Radio's libgnuradio-vocoder has the
> potential of embedding libgsm as well as libcodec2.)
>
My current assumption is that by default all the required deps are
available system wide. If this is not the case then you would use the
appropriate -DUSE_STATIC_XXX option to download, build, and statically
link against the dependency.
It's easy to download and build a dependency, it's hard to install it since
building should *ALWAYS* be done as a non-root user, so "make install" for
a dependent library is not really an option, HOWEVER, that being said I
wonder about any dependencies that are cmake based. It might be possible
for the freedv cmake config to inherit the install(... targets from the
child and install those at the same time freedv is installed, but at the
end of the day, you either have a system wide install, or you just need the
library for FreeDV, so statically linking shouldn't give you any heartburn.
The result is having a single binary package for freedv
> that "just works" on nearly every platform, and is
> easily upgraded and cleanly replaced as time goes on.
That's more or less what I'm going for. It would be nice if we could move
away from libctb sooner rather than later, then the only major dependency
missing is wxWidgets 2.9 since most distros are shipping 2.8. I have enough
packages I maintain for Fedora (Fldigi and chirp among them) I don't want
to take on more than necessary to get freedv into Fedora.
Thanks,
Richard
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2