On Wed, Mar 18, 2015 at 05:49:26PM +0100, Matteo F. Vescovi wrote:
> Hi again!
> 
> On 2015-03-18 at 16:53 (CET), Matteo F. Vescovi wrote:
> > But now it fails about libentangle-backend and libentangle-frontend
> > libraries; have you add those shared libraries to the program?
> 
> Entangle builds again; but I had to force the package to bundle
> those two shared libs and the sanity-check tools we use in Debian (like
> litian) complain that the libs should be split from the main package.
> 
> Now, my question is: are these libs worth new binary packages for both
> of them (then I should add two shared libs named libentangle-backend0
> and libentangle-frontend0)? This would lead to a quite different source
> package that needs to go through the NEW queue process for Debian, where
> new binary packages get added to the original source package.
> 
> Let me know if the beneficts worth the trouble.

Entangle has always built its code as a library, but previously it
statically linked this into the final binary. I found that this was
causing problems for plugins though, because the linker will drop
any functions which are not used by the main program. It was dropping
a bunch of code from the static library, which was none the less
wanted by the plugins.  Switching to a shared library ensured that
the code was always available to plugins, at the cost that the libs
become visible.

These libraries cannot be used in isolation at this time though. For
a start we don't include the header files, nor do I intend to promise
any kind of API stability. So IMHO, splitting them into a -libs
package is a waste of time, and gives a misleading impression to
users that the libraries are useful on their own. It is purely an
internal detail of the app right now.

Also note it is possible these libraries will go away again in the
future if I figure out a better way to avoid the linker problems.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
Entangle-devel mailing list
Entangle-devel@gna.org
https://mail.gna.org/listinfo/entangle-devel

Reply via email to