WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116374
[GTK] [CMake] Build the plugin process against GTK+ 2
https://bugs.webkit.org/show_bug.cgi?id=116374
Summary
[GTK] [CMake] Build the plugin process against GTK+ 2
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
Details
Formatted Diff
Diff
Patch fixing small dependency issue
(30.49 KB, patch)
2013-12-15 23:49 PST
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2013-12-12 02:17:28 PST
Created
attachment 219061
[details]
Patch
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
Committed
r160728
: <
http://trac.webkit.org/changeset/160728
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug