08659ba8efb3ee597c9c47e7a605c27c6f7c9608
[users/agx/jhbuild-deps-gnome.git] / jhbuildrc-gnome3
1 # -*- mode: python -*-
3 import os
4 import sys
6 # if you have a GNOME git account, uncomment this line
7 # repos['git.gnome.org'] = 'ssh://user@git.gnome.org/git/'
9 # what module set should be used.  The default at the moment is 'gnome-3.0',
10 # but it can be any of the files in the modulesets directory, or even
11 # the URL of a module set file on a web server.
12 moduleset = 'gnome-apps-3.0'
14 # A list of the modules to build.  Defaults to the Gnome Desktop and
15 # developer platform.
16 modules = [ 'meta-gnome-desktop' ]
18 # what directory should the source be checked out to?
19 checkoutroot = os.path.expanduser('~/gnome/checkout')
21 # the prefix to configure/install modules to (must have write access)
22 prefix = os.path.expanduser('~/gnome/install')
24 # custom CFLAGS / environment pieces for the build
25 # os.environ['CFLAGS'] = '-Wall -g -O0'
27 # extra arguments to pass to all autogen.sh scripts
28 # to speed up builds of GNOME, try '--disable-static --disable-gtk-doc'
29 autogenargs='--disable-static --disable-gtk-doc '
31 # On SMP systems you may use something like this to improve compilation time:
32 # be aware that not all modules compile correctly with make -j2
33 # You can also use 'make V=0' if you want less output while compiling.
34 makeargs = '-j4'
36 # do not build things that the distro can provide
38 skip.extend([
39     'dbus',
40     'dbus-glib',
41     'expat',
42     'fontconfig',
43     'gudev',
44     'gtk-doc',
45     'intltool',
46     'iso-codes',
47     'libcroco3-dev',
48     'libgpg-error',
49     'libgcrypt',
50     'libtasn1',
51     'libvolume_id',
52     'libxml2',
53     'libxslt',
54     'NetworkManager',
55     'nss',
56     'nspr',
57 #   'PolicyKit',
58 #   'polkit',
59     'poppler-data',
60     'pulseaudio',
61     'shared-mime-info',
62     'sqlite3',
63     'tracker',
64     'udev',
65     'udisks',
66     'upower',
67 ])
69 # Not needed but part of the standard moduleset
70 skip.extend([
71     # replaced by gnome-bluetooth
72     'bluez-gnome',
73     # replaced by udisks
74     'gnome-mount',
75     # No required by anything
76     'libipod-devcice'
77 ])
79 # HAL replaced by u* on linux
80 if sys.platform == 'linux2':
81     skip.append('hal')
83 # Only use WebKit based stuff
84 skip.extend(['mozilla', 'firefox'])
85 module_autogenargs['totem'] = autogenargs + '--disable-mozilla'
87 # Make sure we can build evince without building natilus first
88 module_autogenargs['evince'] = autogenargs + '--disable-nautilus'
90 # Not needed for now
91 skip.append('evolution-exchange')
93 # Check what the distro provides
94 addpath('PKG_CONFIG_PATH', '/usr/lib/pkgconfig')
95 addpath('PKG_CONFIG_PATH', '/usr/share/pkgconfig')
97 # Use ccache if available
98 if os.path.exists('/usr/lib/ccache/cc') and os.environ.has_key('CCACHE_DIR'):
99     addpath('PATH', '/usr/lib/ccache')