Once we have bug 87800 fixed, we should be able to remove the geoclue dependency from the API layer and write GeolocationClientGtk.cpp in terms of a geoclue-based geolocation provider in WebCore.
This bug is for that.
Created attachment 144665 [details]
Comment on attachment 144665 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=144665&action=review
> - $(GEOCLUE_CFLAGS) \
I'm pretty certain you need to keep these flags here. Note that libxslt is on the list.
> + RefPtr<WebCore::GeolocationProviderGeoclue> m_provider;
Instead of making this reference-counted and a pointer, it makes more sense, I think, to just make it a member, ie
You can then initialize it like this
Attachment 144665 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/gtk/ChangeLog', u'Source/Web..." exit_code: 1
Source/WebKit/gtk/ChangeLog:11: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] 
Total errors found: 1 in 3 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 145033 [details]
New patch, addressing issues raised by Martin
Thansk for the review, Martin. I will push it as soon as I get the dependencies ready too.
Note to myself: fix the following typo in this patch when landing:
-void GeolocationClient::notifyErrorOcurred(const char* message)
+void GeolocationClient::notifyErrorOccurred(const char* message)
Committed r119376: <http://trac.webkit.org/changeset/119376>