Bug 135754

Summary: [GTK] Child processes should be installed in a versioned directory
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, bunhere, commit-queue, gyuyoung.kim, rakuco, sergio
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch gustavo: review+

Description Carlos Garcia Campos 2014-08-08 02:25:05 PDT
To make it possible to install 2.4 and 2.6 in parallel.
Comment 1 Carlos Garcia Campos 2014-08-08 02:28:21 PDT
Created attachment 236273 [details]
Patch
Comment 2 Carlos Garcia Campos 2014-08-10 00:10:16 PDT
Committed r172376: <http://trac.webkit.org/changeset/172376>
Comment 3 Alberto Garcia 2014-08-19 04:45:23 PDT
I noticed we have a bit of a problem here, we are installing the
binaries in ${libexec}/webkitgtk-4.0/ (see LIBEXEC_INSTALL_DIR in
OptionsGTK.cmake) but we are also installing the injected bundle in
${libdir}/webkit2gtk-4.0/ (see PlatformGTK.cmake).

I suggest that we use webkit2gtk-4.0 in both cases.
Comment 4 Carlos Garcia Campos 2014-08-24 23:48:06 PDT
(In reply to comment #3)
> I noticed we have a bit of a problem here, we are installing the
> binaries in ${libexec}/webkitgtk-4.0/ (see LIBEXEC_INSTALL_DIR in
> OptionsGTK.cmake) but we are also installing the injected bundle in
> ${libdir}/webkit2gtk-4.0/ (see PlatformGTK.cmake).
> 
> I suggest that we use webkit2gtk-4.0 in both cases.

You are right, if we use ${libexec}/webkitgtk-4.0/ we should probably add another directory ${libexec}/webkitgtk-4.0/webkit2 or something like that, similar to what we do for header files. But it's very unlikely that we add another wk API layer that has extensions and processes, so it's simpler to use webkit2gtk-4.0 directly. Please, file a new bug report for this.