[Webkit-unassigned] [Bug 117275] [GTK][EFL] Use function jhbuildWrapperPrefixIfNeeded to run launcher

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 12 02:27:33 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=117275





--- Comment #8 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-06-12 02:26:09 PST ---
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > OK, I think the reason is because the function jhbuildWrapperPrefixIfNeeded() tests first if the jhbuildPath exists. If not, returns an empty path.
> > 
> > In case of empty path we need to use the launcher path directly.
> 
> OK, so regardless the path is empty or not, it seems the launcher path is always the same. If that's the case what I could do is to add a buildLauncherPath() method to webkitdirs.pm and make the function jhbuildWrapperPrefixIfNeeded() to use buildLauncherPath() if the path is not empty. The patch proposed will use buildLauncherPath() instead of jhbuildWrapperPrefixIfNeeded(). 
> 
> What do you think?

I don't think so, jhbuildWrapperPrefixIfNeeded() return the jhbuild prefix if needed. So we need to build the launcher path, Programs/GtkLauncher, for example, and if there's a jhbuild prefix, prepend it so what you run in the end is jhbuild run Programs/GtkLauncher and if there's not jhbuild prefix you run Programs/GtkLauncher directly.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list