Changes between Version 73 and Version 74 of BuildingGtk


Ignore:
Timestamp:
Jan 23, 2012 4:59:30 AM (12 years ago)
Author:
kov@webkit.org
Comment:

Add info on WEBKIT_EXTRA_MODULE{S,SETS}

Legend:

Unmodified
Added
Removed
Modified
  • BuildingGtk

    v73 v74  
    6262    * If everything builds properly tests should typically pass on your system. Please file a bug if they do not.
    6363
     64== Extending the jhbuild environment ==
     65
     66If for some reason you would like to have jhbuild build more modules, or simply newer versions of some of them - which is very useful if you are hacking Epiphany, you can extend the moduleset used by our jhbuild setup with a custom moduleset . To do that create your new moduleset file, it may look like this:
     67
     68{{{
     69<?xml version="1.0"?>
     70<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
     71<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
     72<moduleset>
     73
     74  <repository type="git" name="git.gnome.org"
     75      href="git://git.gnome.org/"/>
     76  <repository type="tarball" name="ftp.gnome.org"
     77      href="http://ftp.gnome.org"/>
     78
     79  <autotools id="gtk+">
     80    <dependencies>
     81      <dep package="glib"/>
     82      <dep package="cairo"/>
     83    </dependencies>
     84    <branch module="/pub/GNOME/sources/gtk+/3.0/gtk+-3.3.10.tar.xz" version="3.3.10"
     85            repo="ftp.gnome.org"
     86            hash="sha256:9808d509bfd42fce692b041a60f3fbb668e43324613c304724e7a727bb44a2a0"
     87            md5sum="5872bacb3778c954d3cc0eaf9cdc53ab"/>
     88  </autotools>
     89
     90  <autotools id="glib">
     91    <dependencies>
     92      <dep package="libffi"/>
     93    </dependencies>
     94    <branch module="/pub/GNOME/sources/glib/2.31/glib-2.31.8.tar.xz" version="2.31.8"
     95            repo="ftp.gnome.org"
     96            hash="sha256:1ce3d275189000e1c50e92efcdb6447bc260b1e5c41699b7a1959e3e1928fbaa"
     97            md5sum="6909664f29fae2f00cc3181c8c6a6aa7"/>
     98  </autotools>
     99
     100  <autotools id="libsoup">
     101    <dependencies>
     102      <dep package="glib-networking"/>
     103    </dependencies>
     104    <branch module="libsoup" version="2.37.5"
     105            repo="git.gnome.org"
     106            tag="5eddf1a9d2e041de95012ece3cf97fbc2236306d"/>
     107  </autotools>
     108
     109</moduleset>
     110}}}
     111
     112Then set the '''WEBKIT_EXTRA_MODULESETS''' to a file:// URI pointing to your file, like this:
     113
     114{{{
     115$ export WEBKIT_EXTRA_MODULESETS=/home/user/my.modules
     116}}}
     117
     118If you added new modules, set the '''WEBKIT_EXTRA_MODULES''' variable to a comma-separated list with their names.
     119
    64120=== Installation ===
    65121