Re: Empathy must be compiled without support for GNOME Online Accounts in GNOME 3.16



Hey,

On Thu, Mar 05, 2015 at 02:24:02PM -0600, Michael Catanzaro wrote:
Since the original WebKit1 API was deleted from upstream WebKitGTK+ last
year, gnome-online-accounts 3.15.91 has been ported to use the WebKit2
API (pkg-config: webkit2gtk-4.0). Because applications may not link to
multiple versions of WebKit, this is problematic for apps that link to
both gnome-online-accounts and older versions of WebKitGTK+ (pkg-config:
webkitgtk-3.0), including Empathy.

I think empathy is shielded from this problem because it only links to
libgoa-1.0.so, which does not link to WebKit and is a wrapper for
goa-daemon's D-Bus API.

This is unlike gnome-initial-setup or gnome-control-center which also
link to libgoa-backend-1.0.so, which is a semi-private library that
has all the user interface bits to add, refresh and show an
account. It is libgoa-backend-1.0.so that links to WebKit for the
embedded web view, and most applications out there are not supposed to
(and don't) use it.

[rishi kolache ~]$ ldd /usr/libexec/gnome-initial-setup | grep goa
libgoa-backend-1.0.so.1 => /lib64/libgoa-backend-1.0.so.1 (0x00007fe4eb7cc000)
libgoa-1.0.so.0 => /lib64/libgoa-1.0.so.0 (0x00007fe4eb584000)
[rishi kolache ~]$ ldd /usr/bin/empathy | grep goa
libgoa-1.0.so.0 => /lib64/libgoa-1.0.so.0 (0x00007f2010e5f000)
[rishi kolache ~]$ ldd /usr/bin/empathy-accounts | grep goa
libgoa-1.0.so.0 => /lib64/libgoa-1.0.so.0 (0x00007f4c9cce2000)
[rishi kolache ~]$ ldd /usr/libexec/empathy-chat | grep goa
libgoa-1.0.so.0 => /lib64/libgoa-1.0.so.0 (0x00007fce6d618000)
[rishi kolache ~]$ ldd /usr/lib64/libgoa-1.0.so | grep webkit
[rishi kolache ~]$ ldd /usr/lib64/libgoa-backend-1.0.so | grep webkit
libwebkitgtk-3.0.so.0 => /lib64/libwebkitgtk-3.0.so.0 (0x00007f55c66e6000)
[rishi kolache ~]$

Therefore, we can keep building empathy with GOA support enabled for
3.16.

Cheers,
Debarshi

Attachment: pgpNa8a8AF7xk.pgp
Description: PGP signature



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