Bug 16927 - [Gtk] webkitgtk/autotools should use WebKitGtk instead of WebKit
Summary: [Gtk] webkitgtk/autotools should use WebKitGtk instead of WebKit
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2008-01-18 14:20 PST by Jan Alonzo
Modified: 2008-03-20 22:41 PDT (History)
2 users (show)

See Also:


Attachments
webkitgtk/autotools should use WebKitGtk in its include path (2.31 KB, patch)
2008-01-18 14:21 PST, Jan Alonzo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Alonzo 2008-01-18 14:20:57 PST
Lethalman found out that webkitgtk/autotools currently uses WebKit in its include path instead of WebKitGtk. The attached patch fixes it to use WebKitGtk, same as with the qmake build.
Comment 1 Jan Alonzo 2008-01-18 14:21:46 PST
Created attachment 18534 [details]
webkitgtk/autotools should use WebKitGtk in its include path
Comment 2 Alp Toker 2008-01-19 05:40:09 PST
Comment on attachment 18534 [details]
webkitgtk/autotools should use WebKitGtk in its include path

This change isn't wrong but I'd rather not change things again until we fix the header paths and the pkg-config package name for good.

If this issue is actually causing a problem for someone, please re-mark it for review and I'll land it, but otherwise I think it's redundant.
Comment 3 Jan Alonzo 2008-02-01 13:46:09 PST
alp, now that header paths and pkg-config changes are in, is this still something we want to consider for the gtk+ port? thanks.
Comment 4 Alp Toker 2008-02-01 14:35:51 PST
Yeah. (In reply to comment #3)
> alp, now that header paths and pkg-config changes are in, is this still
> something we want to consider for the gtk+ port? thanks.
> 

Yeah. We still need to rename the top-level include directory and library name to something like webkit-1.0

For the library renaming we should first have the WebCore build split out from the WebKit build, so there are separate libwebcore and libwebkit_1_0 automake targets.
Comment 5 Jan Alonzo 2008-02-04 02:23:46 PST
alp, do you think a unified top-level /usr/include/WebKit is something the other ports might want as well? (e.g, for gtk - WebKit/gtk/webkit, qt - WebKit/qt/, wx - WebKit/wx, etc...)
Comment 6 Alp Toker 2008-02-04 02:39:59 PST
(In reply to comment #5)
> alp, do you think a unified top-level /usr/include/WebKit is something the
> other ports might want as well? (e.g, for gtk - WebKit/gtk/webkit, qt -
> WebKit/qt/, wx - WebKit/wx, etc...)
> 

Nope. The APIs are each different, have separate release schedules etc. No sense in grouping them together. We hoped early on to share a base JSCore but that isn't going to happen soon either. So what we have now is the best we can do (apart from renaming as I mentioned previously).
Comment 7 Jan Alonzo 2008-03-20 22:41:50 PDT
This bug's already been fixed by http://trac.webkit.org/projects/webkit/changeset/30702