[2.30] branch gnome-applets
[jhbuild/xnox.git] / jhbuild / defaults.jhbuildrc
blobd7afacc9b7039cc48b64e683a11d26390912bd4c
1 # -*- mode: python -*-
2 # This file holds the default values for the ~/.jhbuildrc file.
3 # Do not copy this to ~/.jhbuildrc
5 import os, sys
7 if 'GTK_PATH' in os.environ.keys():
8     del os.environ['GTK_PATH']
10 # module directory
11 modulesets_dir = os.path.join(SRCDIR, 'modulesets')
13 # what modules to build?
14 moduleset = 'gnome-2.30'
15 modules = [ 'meta-gnome-desktop' ]
17 # policy for modules to build, options are:
18 #  - all: build everything requested (default behaviour)
19 #  - updated: build only modules that have changed
20 #  - updated-deps: build modules that have changed, or their dependencies
21 #    have changed.
22 build_policy = 'all'
24 # skip modules installed before $min_time (in seconds since epoch)
25 # for example: min_time = time.time() - 3600 will skip modules that
26 # have been installed less than one hour ago.
27 min_time = None
29 # modules to skip during dependency expansion
30 skip = []
31 # tags used as module filters
32 tags = []
34 # directories
35 prefix = '/opt/gnome2'
36 checkoutroot = os.path.join(os.environ['HOME'], 'cvs', 'gnome2')
37 tarballdir = None    # will default to checkoutroot
38 buildroot = None     # if set, packages will be build with srcdir!=builddir
40 # When using srcdir!=builddir builds, this key allows you to use a
41 # different builddir name.  Some people like this because it reduces
42 # the chance of mixing the two up.  In the pattern, '%s' will be
43 # substituted with the srcdir base component.
44 builddir_pattern = '%s'
46 # override environment variables, command line arguments, etc
47 autogenargs = '--disable-static --disable-gtk-doc'
48 makeargs = ''
49 cflags = ''
51 # a alternative install program to use; the included install-check
52 # program won't update timestamps if the header hasn't changed
53 installprog = os.path.join(os.environ['HOME'], '.local/bin', 'install-check')
54 if not os.path.exists(installprog):
55     installprog = '/usr/bin/install-check'
56 if not os.path.exists(installprog):
57     installprog = None
59 # override cvs roots, branch tags, etc
60 repos = {}
61 cvsroots = {}
62 svnroots = {}
63 branches = {}
64 module_autogenargs = {}
65 module_makeargs = {}
66 module_extra_env = {}
67 module_makecheck = {}
68 module_nopoison = {}
70 # control parts of the build process
71 nonetwork     = False  # never touch the network
72 alwaysautogen = False  # call autogen.sh even if a makefile is found
73 nobuild       = False  # don't actually build the packages
74 makeclean     = False  # run make clean before building
75 makecheck     = False  # run make check after building
76 makedist      = False  # run make dist after building
77 makedistcheck = False  # run make distcheck after building
78 trycheckout   = False  # try to force checkout and autogen on failure
79 nopoison      = False  # don't poison modules on failure
80 forcecheck    = False  # run make check even when not building
82 build_targets = ['install']
84 makecheck_advisory = False # whether to pass over 'make check' failures
86 interact      = True   # whether to interact with the user.
87 quiet_mode    = False  # whether to display running commands output
88 progress_bar  = True   # whether to display a progress bar when running in quiet mode
90 # checkout modes. For VCS directories, it specifies how the checkout
91 # is done. We can also specify checkout modes for specific modules
92 checkout_mode = 'update'
93 module_checkout_mode = {}
95 # in case we use the copy checkout mode, we can set up a copy dir. Defaults to
96 # checkout dir
97 copy_dir = None
99 # whether to install to lib64 directories?  Currently this will default to
100 # True on Linux AMD64, PPC64 or S390x systems, and False everywhere else.
101 # Patches accepted to fix the default for other architectures.
102 try:
103     uname = os.uname()
104     use_lib64 = (uname[0], uname[4]) in [ ('Linux', 'x86_64'),
105                                           ('Linux', 'ppc64'),
106                                           ('Linux', 's390x') ]
107     del uname
108 except AttributeError:
109     # some platforms don't have os.uname (ie. Win32)
110     use_lib64 = False
112 # default buildscript.  You should probably leave this as the default.
113 # In particular, don't set it to 'gtk'.
114 buildscript = 'terminal'
116 # where to put tinderbox output
117 tinderbox_outputdir = None
119 # sticky date to perform historic checkouts
120 sticky_date = None
122 # whether to try and pretty print the output
123 pretty_print = True
125 # program to use for subversion support (supports svn or bzr)
126 svn_program = 'svn'
128 # program to use for cvs
129 cvs_program = 'cvs'
131 # try and use mirrors?
132 mirror_policy = ""
133 module_mirror_policy = {}
135 if sys.platform.startswith('win'):
136     notrayicon = True
137     nonotify = True
138 else:
139     # Show a tray icon using zenity
140     notrayicon = False
141     # whether not to emit notifications through the notification daemon
142     nonotify = False
144 # whether to run tests in real X and not in Xvfb
145 noxvfb = False
147 # arguments to pass to xvfb
148 xvfbargs = ''
150 # options for jhbuildbot slaves
151 jhbuildbot_master = 'build.gnome.org:9070'
152 jhbuildbot_slavename = None
153 jhbuildbot_password = None
155 # options for jhbuildbot master
156 jhbuildbot_svn_commits_box = None
157 try:
158     jhbuildbot_slaves_dir = os.path.abspath(".")
159 except OSError:
160     jhbuildbot_slaves_dir = '.'
161 jhbuildbot_dir = None
162 jhbuildbot_mastercfg = "master.cfg"
164 # whether to use a local copy of modulesets (instead of fetching them from svn)
165 use_local_modulesets = False
167 # whether to ignore soft dependencies
168 ignore_suggests = False
170 # local directory for DVCS mirror (git only atm)
171 dvcs_mirror_dir = None