buildout.cfg 5.71 KB
Newer Older
1
[buildout]
2
extends =
3 4
  ../autoconf/buildout.cfg
  ../automake/buildout.cfg
5
  ../bzip2/buildout.cfg
6
  ../fontconfig/buildout.cfg
7
  ../freetype/buildout.cfg
8
  ../gettext/buildout.cfg
9
  ../glib/buildout.cfg
10
  ../jbigkit/buildout.cfg
11
  ../libjpeg/buildout.cfg
12 13
  ../libpng/buildout.cfg
  ../libtiff/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
14
  ../libtool/buildout.cfg
15
  ../m4/buildout.cfg
16
  ../perl/buildout.cfg
17 18
  ../pkgconfig/buildout.cfg
  ../xorg/buildout.cfg
19
  ../xz-utils/buildout.cfg
20 21
  ../zlib/buildout.cfg

22 23 24 25
parts =
  gtk-2

[cairo]
26
recipe = slapos.recipe.cmmi
27 28 29
url = http://cairographics.org/releases/cairo-1.12.16.tar.xz
md5sum = a1304edcdc99282f478b995ee5f8f854
pkg_config_depends = ${libXext:location}/lib/pkgconfig:${libXext:pkg_config_depends}:${libpng:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${fontconfig:pkg_config_depends}:${pixman:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig
30 31 32 33 34
patch-options = -p1
patches =
  ${:_profile_base_location_}/cairo-fix_gcc4.9_ftbfs.patch#d4c843a655be8f1df548c9492d253359
pre-configure =
  autoreconf -vfi
35
configure-options =
36
  --disable-static
37
  --disable-gtk-doc-html
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
38
  --enable-tee=yes
39
  --enable-xlib=yes
40 41 42 43
  --disable-xlib-xrender
  --disable-xcb
  --enable-ft
  --enable-fc
44
  --disable-lto
45
environment =
46
  M4=${m4:location}/bin/m4
47
  PATH=${freetype:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:%(PATH)s
48 49
  PKG_CONFIG_PATH=${:pkg_config_depends}
  CPPFLAGS=-I${zlib:location}/include
50
  LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
51 52 53

[harfbuzz]
recipe = slapos.recipe.cmmi
54 55
url = http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.35.tar.bz2
md5sum = 531ee8650626ecddcd90b2a4637e31d4
56 57 58 59 60 61 62 63 64
pkg_config_depends = ${cairo:location}/lib/pkgconfig:${cairo:pkg_config_depends}
configure-options =
  --disable-static
  --disable-gtk-doc-html
  --with-cairo
  --with-freetype
environment =
  PATH=${glib:location}/bin:${freetype:location}/bin:${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${:pkg_config_depends}
65
  LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
66 67

[pango]
68
recipe = slapos.recipe.cmmi
69 70
url = http://ftp.gnome.org/pub/gnome/core/3.14/3.14.2/sources/pango-1.36.8.tar.xz
md5sum = 217a9a753006275215fa9fa127760ece
71 72
pkg_config_depends = ${harfbuzz:location}/lib/pkgconfig:${harfbuzz:pkg_config_depends}
configure-options =
73
  --disable-static
74 75 76 77 78 79
  --disable-gtk-doc-html
environment =
  PATH=${glib:location}/bin:${freetype:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${:pkg_config_depends}
  CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include
  LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
80 81

[gdk-pixbuf]
82
recipe = slapos.recipe.cmmi
83 84
url = http://ftp.gnome.org/pub/gnome/core/3.16/3.16.2/sources/gdk-pixbuf-2.31.4.tar.xz
md5sum = b4ce8f0d7548cb8cbdcb833e1c4d095e
85 86
pkg_config_depends = ${glib:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libX11:pkg_config_depends}
configure-options =
87
  --disable-static
88
  --disable-gtk-doc-html
89
  --without-libintl-prefix
90 91
  --with-x11
environment =
92
  PATH=${glib:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
93
  PKG_CONFIG_PATH=${:pkg_config_depends}
94
  CPPFLAGS=-I${libtiff:location}/include -I${libjpeg:location}/include -I${libpng:location}/include
95
  LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${libtiff:location}/lib -Wl,-rpath=${libtiff:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
96
  LD_LIBRARY_PATH=${glib:location}/lib:${gettext:location}/lib
97

98
[atk]
99
recipe = slapos.recipe.cmmi
100 101 102 103 104
url = http://ftp.gnome.org/pub/gnome/core/3.16/3.16.2/sources/atk-2.16.0.tar.xz
md5sum = c7c5002bd6e58b4723a165f1bf312116
configure-options =
  --with-python=${python2.7:location}/bin/python2.7
  --disable-gtk-doc-html
105 106
environment =
  PATH=${glib:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
107
  PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig
108
  LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${gettext:location}/lib
109 110 111
  LD_LIBRARY_PATH=${glib:location}/lib:${gettext:location}/lib

[gtk-2]
112
recipe = slapos.recipe.cmmi
113 114
url = http://ftp.gnome.org/pub/gnome/core/3.16/3.16.2/sources/gtk+-2.24.28.tar.xz
md5sum = bfacf87b2ea67e4e5c7866a9003e6526
115 116
pkg_config_depends = ${pango:location}/lib/pkgconfig:${pango:pkg_config_depends}:${atk:location}/lib/pkgconfig:${gdk-pixbuf:location}/lib/pkgconfig
configure-options =
117
  --disable-static
118
  --disable-glibtest
119 120 121
  --disable-cups
  --disable-papi
  --enable-explicit-deps
122
  --disable-xinerama
123
  --disable-gtk-doc-html
124
environment =
125
  PATH=${gdk-pixbuf:location}/bin:${glib:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
126 127 128
  PKG_CONFIG_PATH=${:pkg_config_depends}
# not taken from pkg-config result...
  CPPFLAGS=-I${libX11:location}/include/ -I${xproto:location}/include -I${kbproto:location}/include -I${libXrender:location}/include -I${render:location}/include -I${libXext:location}/include
129
  LDFLAGS=-L${libX11:location}/lib -L${libXext:location}/lib -L${libXrender:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib