WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
94780
[EFL] Missing ENABLE(GLIB_SUPPORT) guard
https://bugs.webkit.org/show_bug.cgi?id=94780
Summary
[EFL] Missing ENABLE(GLIB_SUPPORT) guard
Gyuyoung Kim
Reported
2012-08-22 22:58:00 PDT
Some EFL port files don't use ENABLE(GLIB_SUPPORT) macro. EFL port needs to guard Glib usage in code level. However, files related to soup aren't handled by this patch because they have close glib dependency.
Attachments
Patch
(3.58 KB, patch)
2012-08-22 23:22 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2012-08-22 23:22:18 PDT
Created
attachment 160093
[details]
Patch
Gyuyoung Kim
Comment 2
2012-08-22 23:23:03 PDT
If there was discussion related to this issue before, please let me know.
Raphael Kubo da Costa (:rakuco)
Comment 3
2012-08-23 08:28:20 PDT
Do you know if disabling glib and using soup still works, as g_type_init() is not called?
Gyuyoung Kim
Comment 4
2012-08-23 23:11:18 PDT
(In reply to
comment #3
)
> Do you know if disabling glib and using soup still works, as g_type_init() is not called?
Frankly, if we disable glib, there are too many build breaks because of soup. So, I am not sure if we should fix them at once. Even if there is no build breaks, we can't navigate any website without soup. So, GLIB_SUPPORT macro is meaningless as long as we use libsoup. However, personally, I would wrap all glib dependencies up using GLIB_SUPPORT in order to remove Glib dependencies in future. How do you think about it ?
Raphael Kubo da Costa (:rakuco)
Comment 5
2012-08-25 23:35:09 PDT
(In reply to
comment #4
)
> Frankly, if we disable glib, there are too many build breaks because of soup. So, I am not sure if we should fix them at once. Even if there is no build breaks, we can't navigate any website without soup. So, GLIB_SUPPORT macro is meaningless as long as we use libsoup. However, personally, I would wrap all glib dependencies up using GLIB_SUPPORT in order to remove Glib dependencies in future. How do you think about it ?
That makes sense for consistency. These days, I guess it makes little sense to keep the GLIB_SUPPORT flag around, as libsoup is our only network backend and we thus always require glib to be present.
Laszlo Gombos
Comment 6
2012-12-07 14:32:31 PST
I removed the ENABLE(GLIB_SUPPORT) macro from files that are only used for EFL -
http://trac.webkit.org/changeset/136884
as it does not link in its current form and is confusing. I think we should only reintroduce this macro in EFL files if there is a desire to maintain it _and_ disabling GLIB would produce a successful build (it should at least link as a first step). As an example with the current dependencies if someone is using EFL WebKit to create an offline reader that does not need libsoup and gstreamer and that is something that the EFL port intend to support than this build flag would make sense, but in its current form it just another build flag that does not producer a successful build. Closing the bug as invalid (for now). If the situation changes we can re-open it. I also think we should rename the flag to USE(GLIB) - see
bug 104266
.
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