Bug 116374

Summary: [GTK] [CMake] Build the plugin process against GTK+ 2
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: WebKitGTKAssignee: Martin Robinson <mrobinson>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, gustavo, gyuyoung.kim, rakuco
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 115966    
Attachments:
Description Flags
Patch
none
Patch fixing small dependency issue none

Martin Robinson
Reported 2013-05-17 19:29:58 PDT
The WebKit2 plugin process currently links against libwebkit2gtk which itself links against GTK+ 3. Since most plugins link against GTK+ 2 we need the plugin process to link against GTK+ 2.
Attachments
Patch (29.25 KB, patch)
2013-12-12 02:17 PST, Martin Robinson
no flags
Patch fixing small dependency issue (30.49 KB, patch)
2013-12-15 23:49 PST, Martin Robinson
no flags
Martin Robinson
Comment 1 2013-12-12 02:17:28 PST
Martin Robinson
Comment 2 2013-12-15 23:49:28 PST
Created attachment 219298 [details] Patch fixing small dependency issue
Gustavo Noronha (kov)
Comment 3 2013-12-17 04:33:45 PST
Comment on attachment 219298 [details] Patch fixing small dependency issue View in context: https://bugs.webkit.org/attachment.cgi?id=219298&action=review Not for review yet? > Source/WebKit2/PlatformGTK.cmake:484 > + # FIXME: We should figure out a way to avoid compiling files that are common between the plugin > + # process and WebKit2 only once instead of recompiling them for the plugin process. Maybe build them into an intermediate library that is linked by both?
Martin Robinson
Comment 4 2013-12-17 04:42:04 PST
(In reply to comment #3) > (From update of attachment 219298 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=219298&action=review > > Not for review yet? Oops! webkit-patch was broken recently and I uploaded it manually. > > Source/WebKit2/PlatformGTK.cmake:484 > > + # FIXME: We should figure out a way to avoid compiling files that are common between the plugin > > + # process and WebKit2 only once instead of recompiling them for the plugin process. > > Maybe build them into an intermediate library that is linked by both? I think that's the best solution. It requires removing the files from the shared source list and then adding them to an intermediate library. It seemed a bit too much for this patch, so I hope it can be tackled later.
Gustavo Noronha (kov)
Comment 5 2013-12-17 06:09:23 PST
Comment on attachment 219298 [details] Patch fixing small dependency issue View in context: https://bugs.webkit.org/attachment.cgi?id=219298&action=review >>> Source/WebKit2/PlatformGTK.cmake:484 >>> + # process and WebKit2 only once instead of recompiling them for the plugin process. >> >> Maybe build them into an intermediate library that is linked by both? > > I think that's the best solution. It requires removing the files from the shared source list and then adding them to an intermediate library. It seemed a bit too much for this patch, so I hope it can be tackled later. Absolutely!
Martin Robinson
Comment 6 2013-12-17 13:49:03 PST
Note You need to log in before you can comment on or make changes to this bug.