On Sat, Apr 12, 2008 at 03:08:16PM +0200, Mike Hommey wrote:
> On Sat, Apr 12, 2008 at 01:55:57PM +0100, Ben Hutchings wrote:
> > On Sat, 2008-04-12 at 08:27 +0200, Mike Hommey wrote:
> > > On Sat, Apr 12, 2008 at 01:28:37AM +0100, Ben Hutchings wrote:
> > > > Package: xulrunner-dev
> > > > Version: 1.9~b4-1
> > > > Severity: important
> > > > 
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > > 
> > > > mozilla-gtkmozembed-embedding.pc specifies library flags
> > > > "-L/usr/lib/xulrunner-devel-1.9/lib -lxpcomglue".  libxpcomglue.so
> > > > does not define any of the gtk_moz_* symbols that are part of the
> > > > gtkmozembed API, which seems to make it useless.
> > > 
> > > The embedding API is different. You link against a glue that will load
> > > the correct libxul.so, and you get symbols through the glue.
> > > 
> > > See
> > > http://benjamin.smedbergs.us/blog/2005-12-23/whats-coming-for-gtkmozembed/
> > 
> > How is ld supposed to find these symbols?
> 
> You call a function that does something symilar to what dlsym does. ld
> doesn't see these symbols.
> 

To see those symbols you #include <gtkmozembed_glue.cpp>. There are a
few examples (which are a be a bit outdated) on how to port in
https://wiki.ubuntu.com/XulrunnerGecko. Remember that the gtk_ symbols
are considered not frozen and thus finally went into the internal
glue. So you need to load them explicitly by
GTKEmbedGlueStartupInternal();

 - Alexander




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to