[webkit-gtk] Deciding the deprecation path for WebKit1

Kalev Lember kalevlember at gmail.com
Fri May 30 08:44:41 PDT 2014


On 05/30/2014 05:29 PM, Carlos Garcia Campos wrote:
> In any case we would not rename /usr/include/webkitgtk-3.0/
> but /usr/include/webkitgtk-3.0/JavaScriptCore

Fair enough, but in that case there are two directories to rename:

/usr/include/webkitgtk-3.0/JavaScriptCore
/usr/include/webkitgtk-3.0/webkitdom

I still think it's cleaner to rename the top level directory to avoid
changes in apps -- if you rename the individual directories apps would
have to adapt to change from <webkitdom/foo.h> to <webkit2dom/foo.h> or
whatever the new directory name is.

If you change the top level directory instead and update the .pc file to
point to the new directory:

Cflags: -I${includedir}/webkit2gtk-3.0

... then apps could keep on using <webkitdom/foo.h> without needing to
adapt for the rename.

-- 
Kalev


More information about the webkit-gtk mailing list