buildout.cfg 1.55 KB
Newer Older
1 2
[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
3
  ../gettext/buildout.cfg
4
  ../libffi/buildout.cfg
5
  ../pcre/buildout.cfg
6
  ../perl/buildout.cfg
7
  ../xz-utils/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
8
  ../zlib/buildout.cfg
9
  ../python-2.7/buildout.cfg
10 11
parts =
  glib
12

13 14 15 16 17 18 19 20
# --with-python=${buildout:executable} is simpler but we may end up with
# scripts whose shebang exceeds the kernel limit.
# And ${buildout:executable}/.. is not a valid $PATH part.
[glib-python]
recipe = collective.recipe.shelloutput
commands =
  bin-directory = dirname ${buildout:executable}

21
[glib]
22
recipe = slapos.recipe.cmmi
23 24 25
patches =
  ${:_profile_base_location_}/2a9ddc630341789c629c17c17565f5a7a7db8a8e.diff
patch-options = -p1
26
shared = true
27 28
url = https://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.4.tar.xz
md5sum = 17c3dca43d99a4882384f1a7b530b80b
29
configure-options =
30
  --with-python=python
31
  --disable-libmount
32 33 34 35
  --disable-static
  --disable-selinux
  --disable-fam
  --disable-xattr
36
  --disable-man
37
environment =
38
  PATH=${glib-python:bin-directory}:${gettext:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
39 40
  CPPFLAGS=-I${gettext:location}/include -I${zlib:location}/include
  LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
41
  LIBFFI_CFLAGS=-I${libffi:location}/include
42
  LIBFFI_LIBS= -L${libffi:location}/lib -Wl,-rpath=${libffi:location}/lib -lffi
43 44
  PCRE_CFLAGS=-I${pcre:location}/include
  PCRE_LIBS=-L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -lpcre
45 46 47 48

[x86-cygwin-glib]
patches =
  ${:_profile_base_location_}/cygwin-glib-2.28.8-src.patch