2 # -*- coding: utf-8 -*-
5 # X.Org JHBuild Configuration File Sample
7 # Edit this sample file to match your settings and copy it to ~/.config/jhbuildrc
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/
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['HOME'], 'xorg/util/modular/xorg.modules')
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' ]
24 # A string specifying the directory to unpack source trees to.
25 checkoutroot = os.path.join(os.environ['HOME'])
27 # A string specifying the prefix to install modules to.
28 # The prefix must be an absolute path. This directory must be writable
29 prefix = os.path.join(os.environ['HOME'], 'xorg-build')
31 # The following is required to make aclocal find our .m4 macros
32 os.environ['ACLOCAL'] = 'aclocal -I ' + os.path.join(prefix, 'share/aclocal')
34 # The following is required to make pkg-config find our .pc metadata files
35 os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib/pkgconfig') \
36 + ':' + os.path.join(prefix, 'share/pkgconfig')
38 # A boolean value that specifies whether to install libraries to lib64 directories.
39 # Defaults to 1 on Debian but now obsolete, using multi-arch nomenclature
42 # Extra configure options to pass to all autogen.sh scripts, e.g. --enable-xxx
43 # If commented out, the GNOME defaults are used which are not used in xorg
46 # custom CFLAGS / environment pieces for the build
47 # os.environ['CFLAGS'] = '-Wall -g -O0'
49 # A string listing additional arguments to be passed to make.
50 # Set makeargs to 'V=1' for verbose build output.