All pastes #17541 Raw Edit

Mine

public text v1 · immutable
#17541 ·published 2005-07-12 14:08 UTC
rendered paste body
# -*- mode: python -*-
import glob
import re

# information about cvs server
#cvsroots['gnome.org'] = ':ext:morganj@cvs.gnome.org:/cvs/gnome'

# modules to build (deps are also built)
#moduleset = 'gnome-2.12'
#modules = ['meta-gnome-devel-platform', 'meta-gnome-devel-tools' ]
#modules = ['meta-gnome-desktop']
#modules = ['gcj']
#modules = ['java-gnome']

#moduleset = 'freedesktop'
#modules = ['meta-xlibs']

moduleset = 'gtk28'
modules = ['gtk+']

skip = [ ]

baseroot = os.path.expanduser('~/install')

# the root build directory for packages that support non-srcdir build
buildroot = os.path.expanduser('~/build')

# the prefix to install things to (user must have write access)
prefix = os.path.expanduser('~/jhbuild/install')

# where the sources are checked out to
checkoutroot = os.path.expanduser('~/jhbuild/sources')

# where to put downloaded tarballs.
tarballdir = os.path.join(checkoutroot, 'pkgs')

# arguments to pass to autogen script
autogenargs='--disable-static --disable-gtk-doc --enable-debug'

os.environ['INSTALL'] = os.path.expanduser('~/bin/install-check')

makeargs = 'CFLAGS="-g -O0" CPPFLAGS="-g -O0" CXXFLAGS="-g -O0" GCJFLAGS="-g -O0"'

# python doesn't support overriding CFLAGS
module_makeargs['python'] = ''
module_makeargs['gcj'] = 'CFLAGS="-g -O0" CFLAGS_FOR_TARGET="-g -O0" CPPFLAGS="-g -O0" CXXFLAGS="-g -O0" GCJFLAGS="-g -O0"'
module_makeargs['dbus'] = 'CFLAGS="-g -O0 -DDBUS_API_SUBJECT_TO_CHANGE"'

#branches['libglade'] = 'libglade-gobject-support-branch'
#branches['cairo'] = 'SNAPSHOT_0_3_0'
#branches['gcj'] = 'java-gui-20050128-branch'

module_autogenargs['gnome-vfs'] = autogenargs + ' --enable-hal'
module_autogenargs['totem'] = autogenargs + ' --disable-gstreamer'
module_autogenargs['gimp'] = autogenargs + ' --disable-print'
module_autogenargs['planner'] = autogenargs + ' --enable-database'
module_autogenargs['howl'] = ''
# GDB doesn't support --disable-static
module_autogenargs['gdb'] = ''
# build the GTK peers and the Cairo Graphics2D backend
module_autogenargs['gcj'] = '--enable-languages=c++,java --enable-java-awt=gtk --enable-gtk-cairo'

# build CLASSPATH for Java-GNOME
for jar in glob.glob(os.path.join(prefix, 'share', 'java', '*.jar')):
	if not re.search("-", os.path.basename(jar)):
		prependpath('CLASSPATH', jar)

# set the build directory pattern for those packages that support
# non-srcdir builds -- foo will be built in a directory called
# foo-bld
builddir_pattern = '%s-bld'

# points LD_LIBRARY_PATH at the build directory, to eliminate the need
# to re-install after every rebuild. 
#prependpath('LD_LIBRARY_PATH', os.path.join(buildroot, 'gcj-bld', 'i686-pc-linux-gnu', 'libjava', '.libs'))