1 | # -*- mode: python -*-
|
---|
2 | # -*- coding: utf-8 -*-
|
---|
3 |
|
---|
4 | #
|
---|
5 | # X.Org JHBuild Configuration File Sample
|
---|
6 | #
|
---|
7 | # Edit this sample file to match your settings and copy it to ~/.config/jhbuildrc
|
---|
8 | #
|
---|
9 | # This file comes from: http://cgit.freedesktop.org/xorg/util/modular/tree/jhbuildrc
|
---|
10 | # The modules file: http://cgit.freedesktop.org/xorg/util/modular/tree/xorg.modules
|
---|
11 | # JhBuild installation: https://developer.gnome.org/jhbuild/unstable/getting-started.html.en
|
---|
12 | # The specs for this file: https://developer.gnome.org/jhbuild/unstable/config-reference.html.en
|
---|
13 | # The build guide for X: http://www.x.org/wiki/Building_the_X_Window_System/
|
---|
14 |
|
---|
15 | # A string or list of strings specifying the name(s) of the module set(s) to use.
|
---|
16 | # It can be a full HTTP URL to an externally managed moduleset
|
---|
17 | moduleset = os.path.join(os.environ['BASE'], 'xorg.modules')
|
---|
18 |
|
---|
19 | # A list of strings specifying the modules to build.
|
---|
20 | # The list of modules actually built will be recursively expanded to include all the dependencies
|
---|
21 | # Run 'jhbuild build' to build all of X
|
---|
22 | modules = [ 'The X Window System' ]
|
---|
23 |
|
---|
24 | # A string specifying the directory to unpack source trees to.
|
---|
25 | #checkoutroot = os.path.join(os.environ['BASE'])
|
---|
26 | checkoutroot = os.path.join(os.environ['BASE'], 'xorg_sources')
|
---|
27 |
|
---|
28 | # A string specifying the prefix to install modules to.
|
---|
29 | # The prefix must be an absolute path. This directory must be writable
|
---|
30 | prefix = os.path.join(os.environ['BASE'], 'xorg_x86')
|
---|
31 |
|
---|
32 | # The following is required to make aclocal find our .m4 macros
|
---|
33 | os.environ['ACLOCAL'] = 'aclocal -I ' + os.path.join(prefix, 'share/aclocal')
|
---|
34 |
|
---|
35 | # The following is required to make pkg-config find our .pc metadata files
|
---|
36 | os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib/pkgconfig') \
|
---|
37 | + ':' + os.path.join(prefix, 'share/pkgconfig') \
|
---|
38 | + ':' + os.path.join(os.environ['PKG_CONFIG_PATH'])
|
---|
39 |
|
---|
40 | # A boolean value that specifies whether to install libraries to lib64 directories.
|
---|
41 | # Defaults to 1 on Debian but now obsolete, using multi-arch nomenclature
|
---|
42 | #use_lib64 = 0
|
---|
43 |
|
---|
44 | # Extra configure options to pass to all autogen.sh scripts, e.g. --enable-xxx
|
---|
45 | # If commented out, the GNOME defaults are used which are not used in xorg
|
---|
46 | autogenargs=''
|
---|
47 |
|
---|
48 | # custom CFLAGS / environment pieces for the build
|
---|
49 | # os.environ['CFLAGS'] = '-Wall -g -O0'
|
---|
50 |
|
---|
51 | # A string listing additional arguments to be passed to make.
|
---|
52 | # Set makeargs to 'V=1' for verbose build output.
|
---|
53 | #makeargs = ''
|
---|
54 |
|
---|
55 | # sticky_date
|
---|
56 | # JHBuild will update the source tree to the specified date before building.
|
---|
57 | # An ISO date format is required, e.g. 'yyyy-mm-dd'. Defaults to None.
|
---|
58 | #sticky_date = os.environ['XORG_VERSION_DATE']
|
---|
59 |
|
---|
60 | skip = os.environ['XORG_SKIP_SET']
|
---|
61 |
|
---|
62 | #repos['anongit.freedesktop.org'] = 'http://anongit.freedesktop.org/'
|
---|
63 |
|
---|
64 |
|
---|