RESOLVED LATER 42553
[EFL] Add GeolocationServiceEfl for WebKit-EFL
https://bugs.webkit.org/show_bug.cgi?id=42553
Summary [EFL] Add GeolocationServiceEfl for WebKit-EFL
Gyuyoung Kim
Reported 2010-07-18 23:09:09 PDT
There are no GeolocationService for WebKit-EFL
Attachments
patch (14.96 KB, patch)
2010-07-18 23:30 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2010-07-18 23:30:45 PDT
Created attachment 61928 [details] patch I make a patch by referencing GeolocationServiceGtk. However, I wonder if EFL port can use g_object. Is it possible ? And, I want to include Dbus, Geoclue when GEOLOCATION is only turned on. But, in this patch, the packages are always required. If you know how to configure the packages, please let me know.
Gustavo Sverzut Barbieri
Comment 2 2010-07-20 05:07:40 PDT
Hi Gyuyoung Kim, Although using Glib's geoclue client works given our ecore_glib integration, it is not the way to go. I know it works as I did include it in the cmake build myself, I don't want to see it in the official repository. As you may know EFL provides E_DBus to provide easy access to DBus services (HAL, Udisks, ConnMan, oFono, BlueZ...) and it should be extended to support Geoclue. I already discussed that with Rasterman and he also think it is the way to go. So first you need to implement an E_DBus sub-library called e_geoclue (see how it was done in e_connman) and let us know in e-devel mail list. After this library got in, you can easily provide the WebKit patch using it. Yes, it is not as easy as copy & paste the Gtk file, but it is the way to go. There are interested peers in having glib-free WebKit and last week we managed to build that using CURL instead of libsoup. I hope you understand my point, this will benefit EFL overall, as people can use the geolocation from their own C/EFL apps.
Lucas De Marchi
Comment 3 2010-07-20 05:12:23 PDT
If you look in bug 42286 and bug 42480, you will see that glib is almost an optional dependency now. Adding another place where we depend from glib is bad.
Gyuyoung Kim
Comment 4 2010-07-20 17:27:10 PDT
(In reply to comment #2) > Hi Gyuyoung Kim, > > Although using Glib's geoclue client works given our ecore_glib integration, it is not the way to go. I know it works as I did include it in the cmake build myself, I don't want to see it in the official repository. > > As you may know EFL provides E_DBus to provide easy access to DBus services (HAL, Udisks, ConnMan, oFono, BlueZ...) and it should be extended to support Geoclue. I already discussed that with Rasterman and he also think it is the way to go. > > So first you need to implement an E_DBus sub-library called e_geoclue (see how it was done in e_connman) and let us know in e-devel mail list. After this library got in, you can easily provide the WebKit patch using it. > > Yes, it is not as easy as copy & paste the Gtk file, but it is the way to go. There are interested peers in having glib-free WebKit and last week we managed to build that using CURL instead of libsoup. I hope you understand my point, this will benefit EFL overall, as people can use the geolocation from their own C/EFL apps. Hello Gustavo, Ok, I understand what your point. I will consider how to support geolocation according to your guys comments. I will update my suggesstions or new patch in here again. Thank you. :)
Lucas De Marchi
Comment 5 2010-09-20 15:55:24 PDT
Hi Gyuyoung Kim, (In reply to comment #4) > (In reply to comment #2) > Hello Gustavo, > Ok, I understand what your point. I will consider how to support geolocation according to your guys comments. I will update my suggesstions or new patch in here again. Thank you. :) Any news on this?
Gyuyoung Kim
Comment 6 2010-09-26 16:50:47 PDT
Now, I don't focus on this bug. When I have free time, I will report patches again. If you have any idea or patches, please upload them. :-)
Gyuyoung Kim
Comment 7 2010-09-28 00:22:46 PDT
I'd like to close this bug for now. When I have correct solution, I will reopen this bug. Thanks.
Note You need to log in before you can comment on or make changes to this bug.