# -*- mode: python -*- # modules to build (deps are also built) moduleset = 'gnome-2.24' modules = ['gtk+', 'meta-gnome-desktop', 'meta-gnome-devel-tools' ] # the prefix to configure/install modules to (must have write access) prefix = os.path.expanduser('/opt/gnome') # what directory should the source be checked out to? checkoutroot = os.path.expanduser('~/gnome') # where to put downloaded tarballs. tarballdir = os.path.join(checkoutroot, 'pkgs') # extra arguments to pass to all autogen.sh scripts autogenargs='--disable-static --enable-gtk-doc' # set CFLAGS: cflags = '-O1 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium-m -fasynchronous-unwind-tables -mmmx -msse2 -fPIC' module_autogenargs['gmp'] = autogenargs + ' ABI=32' module_autogenargs['guile'] = autogenargs + ' --disable-error-on-warning' module_autogenargs['pango'] = '--disable-static --disable-gtk-doc' module_autogenargs['dbus'] = autogenargs + ' --with-xml=expat' module_autogenargs['gnome-vfs'] = autogenargs + ' --disable-more-warnings' module_autogenargs['gnome-keyring'] = autogenargs + ' --disable-more-warnings' module_autogenargs['librsvg'] = autogenargs + ' --disable-more-warnings' module_autogenargs['eel'] = autogenargs + ' --disable-more-warnings' module_autogenargs['nautilus'] = autogenargs + ' --disable-more-warnings' module_autogenargs['evolution-data-server'] = autogenargs + ' --with-openldap' module_autogenargs['gnome-build'] = autogenargs + ' --enable-compile-warnings' addpath('CPPFLAGS', '-I/opt/gnome/include') addpath('LDFLAGS', '-L/opt/gnome/lib') # needed to find system freetype2.pc addpath('PKG_CONFIG_PATH', '/usr/lib/pkgconfig') addpath('PKG_CONFIG_PATH', '/usr/share/pkgconfig') makeargs = '-j2' os.environ['INSTALL'] = os.path.expanduser('~/bin/install-check')