Bug 126927

Summary: [GTK] Multiple definitions of PluginPackage symbols when only enabling Wayland target
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Severity: Normal CC: berto, cgarcia, gyuyoung.kim, mcatanzaro, tgergely.u-szeged
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 81456    
Description Flags
Patch mcatanzaro: review+

Description Zan Dobersek 2014-01-13 12:23:37 PST
[GTK] Multiple definitions of PluginPackage symbols when only enabling Wayland target
Comment 1 Zan Dobersek 2014-01-13 12:24:32 PST
Created attachment 221073 [details]
Comment 2 Alberto Garcia 2014-01-15 04:26:43 PST
*** Bug 126426 has been marked as a duplicate of this bug. ***
Comment 3 Alberto Garcia 2014-01-15 04:29:56 PST
(In reply to comment #1)
> Created an attachment (id=221073) [details]

This is a revert of r159999, so this would probably reopen bug 123997
Comment 4 Zan Dobersek 2014-01-15 07:33:16 PST
The GTK port doesn't support disabling ENABLE_NETSCAPE_PLUGIN_API because AFAIR the WK2 plugin process doesn't build, and the support for building without the plugin process was removed (at least for the GTK port).

That's why the GTK port always includes PluginPackage.cpp into the build, and then either uses PluginPackageGtk.cpp when the X11 target is enabled, PluginPackageWin.cpp when the Win32 target is enabled, and PluginPackageNone.cpp when only the Wayland target is enabled. The proposed patch works for us, but would probably indeed reopen bug #123997.

I won't force any port into specific configurations, so I'll add the ENABLE(NETSCAPE_PLUGIN_API) guards around the added code. This should work out OK for everyone.
Comment 5 Zan Dobersek 2014-01-15 23:42:47 PST
Created attachment 221337 [details]
Comment 6 Michael Catanzaro 2016-01-02 09:14:41 PST
This patch adds a FIXME relevant to the EFL port.
Comment 7 Carlos Garcia Campos 2016-09-02 22:53:36 PDT
Did this patch land? or is this still a problem with current trunk?
Comment 8 Carlos Garcia Campos 2016-09-06 05:03:02 PDT
I know some people are building wayland only and nobody else complained about this. Feel free to reopen if this is still a problem with current trunk.