Changes between Version 109 and Version 110 of BuildingGtk


Ignore:
Timestamp:
Nov 21, 2013 8:11:17 AM (10 years ago)
Author:
Andres Gomez
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingGtk

    v109 v110  
    2020    1. '''Install the base WebKitGTK+ dependencies:'''
    2121{{{
     22#!sh
    2223$ Tools/gtk/install-dependencies
    2324}}}
     
    2526   2. '''Download and build all jhbuild modules:'''
    2627{{{
     28#!sh
    2729$ Tools/Scripts/update-webkitgtk-libs
    2830}}}
    2931
    3032=== Building WebKitGTK+ ===
     33
    3134{{{
     35#!sh
    3236$ Tools/Scripts/build-webkit --gtk
    3337}}}
    34 ''Note: You can add --makeargs="-jXX", where XX is an integer, to set the number of threads make will use. The default is one per logical CPU detected, but you might want fewer if it's bogging down your system.''
    3538
    36 == Notes ==
    37     * JHBuild configuration and module files are stored as `Tools/gtk/jhbuildrc` and `Tools/gtk/jhbuild.modules`.
    38     * If everything builds properly tests should typically pass on your system. Please file a bug if they do not.
    39     * If you get build errors saying a library could not be found but you have the appropriate packages installed make sure you have up-to-date multiarch-support and binutils (or binutils-gold) packages.
    40     * You can also [wiki:WebKitGtkExtendingJHBuild add more modules to the default WebKit JHBuild].
    41     * Wayland support has been under working. If you're interested in hacking on it, just use ./Tools/gtk/wayland-dependencies.modules. You can simply set up the dependencies by exporting WEBKIT_EXTRA_MODULESETS.
     39=== Notes ===
     40
     41 * You can pass parameters to the make command with the ''--makeargs'' argument.
     42   * For example, you can pass ''--makeargs="-jXX"'', where XX is an integer, to set the number of threads make will use. The default is one per logical CPU detected, but you might want fewer if it's bogging down your system.
     43 * JHBuild configuration and module files are stored as `Tools/gtk/jhbuildrc` and `Tools/gtk/jhbuild.modules`.
     44 * If everything builds properly tests should typically pass on your system. Please file a bug if they do not.
     45 * If you get build errors saying a library could not be found but you have the appropriate packages installed make sure you have up-to-date multiarch-support and binutils (or binutils-gold) packages.
     46 * You can also [wiki:WebKitGtkExtendingJHBuild add more modules to the default WebKit JHBuild].
     47 * Wayland support has been under working. If you're interested in hacking on it, just use ./Tools/gtk/wayland-dependencies.modules. You can simply set up the dependencies by exporting WEBKIT_EXTRA_MODULESETS.
    4248{{{
     49#!sh
    4350WEBKIT_EXTRA_MODULESETS=file:///webkit/directory/Tools/gtk/wayland-dependencies.modules
    4451}}}
     
    4956
    5057{{{
     58#!sh
    5159$ make install
    5260}}}
     
    5563
    5664{{{
     65#!sh
    5766$ ./configure --help
    5867}}}
     
    6473OS X: The code on Mac OS X should built like any Linux distribution, as long as you install the above build dependencies (in addition to an "ordinary build environment" that includes XCode Tools 2.3 or newer). [http://www.macports.org/ MacPorts] users can get the dependencies via:
    6574{{{
     75#!sh
    6676$ sudo port install webkit-gtk
    6777}}}