[Freewx-maint] Bug#738849: Please enable webview support for wx3.0

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Wed Apr 30 07:45:47 UTC 2014





> Il Mercoledì 30 Aprile 2014 2:14, Olly Betts <olly at survex.com> ha scritto:
> > On Tue, Apr 29, 2014 at 07:24:15PM +0100, Gianfranco Costamagna wrote:
>>  If I understand correctly now the step is:
>>  see if they are really needed in the core (so they should be needed
>>  from some ifdef with webview code), if not this should be a bug, and
>>  they should be linked only against the webview package, right?
> 
> Most likely issue is that these libraries are listed when linking the
> core wx library, in which case not doing that should fix it.  A simpler
> option may be to pass -Wl,--as-needed when linking - this tells the
> linker to only actually link against libraries which contribute symbols,
> which usually works, but fails in some unusual cases.  We should see
> from the debdiffs what effects it has.
> 
> It could be there's actually some code which references these libraries
> which goes into the core wx library - in that case, we'll probably need
> to patch the upstream source so that code goes into the webview library.
> 
> 

Isn't the "-Wl,--as-needed" automatically passed by dh system? are you overriding LDFLAGS somewhere?

I'll rebuild and give you results soon, in the meanwhile I attach the two build logs

Last thing:
I installed in a sid chroot the wx-3 package, with also the webview support package.

After that I removed the libwebkitgtk-dev and dpkg didn't complain, also didn't complain about anything else.
So can we say libwebkitgtk-dev is just a build dep and not a runtime one? Can this simplify things?
(I think it doesn't simplify anything because the package brings other dependencies)

I'll try to pass the flags as requested

thanks,

Gianfranco

> Cheers,
>     Olly
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_operation.log
Type: text/x-log
Size: 1439861 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freewx-maint/attachments/20140430/b4607669/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_operation-3.log
Type: text/x-log
Size: 1901255 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freewx-maint/attachments/20140430/b4607669/attachment-0003.bin>


More information about the Freewx-maint mailing list