Changeset 218344 in webkit


Ignore:
Timestamp:
Jun 15, 2017 11:44:42 AM (7 years ago)
Author:
clopez@igalia.com
Message:

[WPE] The run-minibrowser script should allow to execute also a WPE launcher
https://bugs.webkit.org/show_bug.cgi?id=173061

Reviewed by Žan Doberšek.

Launch dyz <https://github.com/Igalia/dyz> with the script
run-minibrowser for the wpe port. It is now built as part of the
WPE dependencies with JHBuild.

  • Scripts/run-minibrowser:
  • Scripts/webkitdirs.pm:

(launcherPath):
(launcherName):

  • wpe/install-dependencies: Luajit is needed for building dyz.
  • wpe/jhbuild.modules: Add dyz and update the revision for WPEBackend-mesa.
Location:
trunk/Tools
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r218343 r218344  
     12017-06-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        [WPE] The run-minibrowser script should allow to execute also a WPE launcher
     4        https://bugs.webkit.org/show_bug.cgi?id=173061
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Launch dyz <https://github.com/Igalia/dyz> with the script
     9        run-minibrowser for the wpe port. It is now built as part of the
     10        WPE dependencies with JHBuild.
     11
     12        * Scripts/run-minibrowser:
     13        * Scripts/webkitdirs.pm:
     14        (launcherPath):
     15        (launcherName):
     16        * wpe/install-dependencies: Luajit is needed for building dyz.
     17        * wpe/jhbuild.modules: Add dyz and update the revision for WPEBackend-mesa.
     18
    1192017-06-15  Wenson Hsieh  <wenson_hsieh@apple.com>
    220
  • trunk/Tools/Scripts/run-minibrowser

    r215758 r218344  
    3838use webkitdirs;
    3939
     40my $launcherName;
    4041my $launcherPath;
    4142my @jhbuildWrapper;
     
    5354    print "Starting MiniBrowser.\n";
    5455    exec @jhbuildWrapper, $launcherPath, @ARGV or die;
     56} elsif (isWPE()) {
     57    # Check to see that all the frameworks are built.
     58    checkFrameworks();
     59
     60    $launcherName = launcherName();
     61    @jhbuildWrapper = wrapperPrefixIfNeeded();
     62    $ENV{"WEBKIT_EXEC_PATH"} = catdir(productDir(), "bin");
     63    $ENV{"LD_LIBRARY_PATH"} = catdir(productDir(), "lib") . (defined $ENV{"LD_LIBRARY_PATH"} ? ":" . $ENV{"LD_LIBRARY_PATH"} : "" );
     64    print "Starting $launcherName \n";
     65    exec @jhbuildWrapper, $launcherName, @ARGV or die;
    5566} elsif (isAppleCocoaWebKit()) {
    5667    printHelpAndExitForRunAndDebugWebKitAppIfNeeded();
  • trunk/Tools/Scripts/webkitdirs.pm

    r217605 r218344  
    15301530{
    15311531    my $relativeScriptsPath = relativeScriptsDir();
    1532     if (isGtk()) {
     1532    if (isGtk() || isWPE()) {
    15331533        return "$relativeScriptsPath/run-minibrowser";
    15341534    } elsif (isAppleWebKit()) {
    15351535        return "$relativeScriptsPath/run-safari";
    1536     } elsif (isWPE()) {
    1537         return "$relativeScriptsPath/run-wpe";
    15381536    }
    15391537}
     
    15481546        return "MiniBrowser";
    15491547    } elsif (isWPE()) {
    1550         return "WPELauncher";
     1548        return "dyz";
    15511549    }
    15521550}
  • trunk/Tools/wpe/install-dependencies

    r217825 r218344  
    106106        libgbm-dev \
    107107        libgles2-mesa-dev \
     108        libluajit-5.1-dev \
    108109        libopus-dev \
    109110        liborc-0.4-dev \
     
    115116        libvorbis-dev \
    116117        libvpx-dev \
    117         libxcb-xkb-dev"
     118        libxcb-xkb-dev \
     119        luajit"
    118120
    119121    # These are dependencies necessary for using webkit-patch
     
    193195        libvpx \
    194196        libxcb \
     197        luajit \
    195198        mesa \
    196199        mesa-libgl \
     
    264267        libvpx-devel \
    265268        libxcb-devel \
     269        luajit \
     270        luajit-devel \
    266271        mesa-libgbm-devel \
    267272        mesa-libGLES-devel \
  • trunk/Tools/wpe/jhbuild.modules

    r217792 r218344  
    2525      <dep package="libgpg-error"/>
    2626      <dep package="libgcrypt"/>
     27      <dep package="dyz"/>
    2728    </dependencies>
    2829  </metamodule>
     
    247248    </dependencies>
    248249    <branch repo="github.com" module="WebPlatformForEmbedded/WPEBackend-mesa.git"
    249             tag="daaee710314404cc84fcfd17cb963961d64abfba" />
     250            tag="de843e2536f3a445737ce39ab643516a23531d5e" />
    250251  </cmake>
    251252
     
    269270    </dependencies>
    270271  </autotools>
     272
     273  <autotools id="dyz" supports-non-srcdir-builds="no">
     274    <branch repo="github.com" module="Igalia/dyz" tag="0880252bac243add39ea54c0797ceb167d775ce9"/>
     275  </autotools>
     276
    271277</moduleset>
Note: See TracChangeset for help on using the changeset viewer.