use our own perl in buidling components.
[slapos.git] / component / gtk-2 / buildout.cfg
1 [buildout]
2 extends =
3   ../bzip2/buildout.cfg
4   ../fontconfig/buildout.cfg
5   ../freetype/buildout.cfg
6   ../gettext/buildout.cfg
7   ../glib/buildout.cfg
8   ../libjpeg/buildout.cfg
9   ../libpng/buildout.cfg
10   ../libtiff/buildout.cfg
11   ../libxml2/buildout.cfg
12   ../perl/buildout.cfg
13   ../pkgconfig/buildout.cfg
14   ../xorg/buildout.cfg
15   ../xz-utils/buildout.cfg
16   ../zlib/buildout.cfg
17
18 parts =
19   gtk-2
20
21 [cairo]
22 recipe = slapos.recipe.cmmi
23 url = http://cairographics.org/releases/cairo-1.12.16.tar.xz
24 md5sum = a1304edcdc99282f478b995ee5f8f854
25 depends =
26   ${libpng:so_version}
27 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
28 configure-options =
29   --disable-static
30   --disable-gtk-doc-html
31   --enable-tee=yes
32   --enable-xlib=yes
33   --disable-xlib-xrender
34   --disable-xcb
35   --enable-ft
36   --enable-fc
37 environment =
38   PATH=${freetype:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
39   PKG_CONFIG_PATH=${:pkg_config_depends}
40   CPPFLAGS=-I${zlib:location}/include
41   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
42
43 [harfbuzz]
44 recipe = slapos.recipe.cmmi
45 url = http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.28.tar.bz2
46 md5sum = accbeb679f39d839038b95a87e40870e
47 pkg_config_depends = ${cairo:location}/lib/pkgconfig:${cairo:pkg_config_depends}
48 configure-options =
49   --disable-static
50   --disable-gtk-doc-html
51   --with-cairo
52   --with-freetype
53 environment =
54   PATH=${glib:location}/bin:${freetype:location}/bin:${pkgconfig:location}/bin:%(PATH)s
55   PKG_CONFIG_PATH=${:pkg_config_depends}
56   LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
57
58 [pango]
59 recipe = slapos.recipe.cmmi
60 url = http://ftp.gnome.org/pub/gnome/sources/pango/1.36/pango-1.36.1.tar.xz
61 md5sum = 9e0d3a1ea395172f8c39ba98a4d2081a
62 depends =
63   ${libpng:so_version}
64 pkg_config_depends = ${harfbuzz:location}/lib/pkgconfig:${harfbuzz:pkg_config_depends}
65 configure-options =
66   --disable-static
67   --disable-gtk-doc-html
68 environment =
69   PATH=${glib:location}/bin:${freetype:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
70   PKG_CONFIG_PATH=${:pkg_config_depends}
71   CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include
72   LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
73
74 [gdk-pixbuf]
75 recipe = slapos.recipe.cmmi
76 url = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.30/gdk-pixbuf-2.30.3.tar.xz
77 md5sum = 81161cc895eb43afd9ae7354b87e2261
78 pkg_config_depends = ${glib:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libX11:pkg_config_depends}
79 configure-options =
80   --disable-static
81   --without-libintl-prefix
82   --with-x11
83 environment =
84   PATH=${glib:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
85   PKG_CONFIG_PATH=${:pkg_config_depends}
86   CPPFLAGS=-I${libtiff:location}/include -I${libjpeg:location}/include -I${libpng:location}/include
87   LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib: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
88   LD_LIBRARY_PATH=${glib:location}/lib:${gettext:location}/lib
89
90 [atk]
91 recipe = slapos.recipe.cmmi
92 url = http://ftp.gnome.org/pub/gnome/sources/atk/2.11/atk-2.11.5.tar.xz
93 md5sum = 4981a8f1e4627c07b00905216889439b
94 environment =
95   PATH=${glib:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
96   PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig
97   LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${gettext:location}/lib
98   LD_LIBRARY_PATH=${glib:location}/lib:${gettext:location}/lib
99
100 [gtk-2]
101 recipe = slapos.recipe.cmmi
102 url = http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.22.tar.xz
103 md5sum = 5fbbfb7637bbd571a572a2dae0e736d2
104 depends =
105   ${libpng:so_version}
106 pkg_config_depends = ${pango:location}/lib/pkgconfig:${pango:pkg_config_depends}:${atk:location}/lib/pkgconfig:${gdk-pixbuf:location}/lib/pkgconfig
107 configure-options =
108   --disable-static
109   --disable-glibtest
110   --disable-cups
111   --disable-papi
112   --enable-explicit-deps
113   --disable-xinerama
114   --disable-gtk-doc-html
115 environment =
116   PATH=${gdk-pixbuf:location}/bin:${glib:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
117   PKG_CONFIG_PATH=${:pkg_config_depends}
118 # not taken from pkg-config result...
119   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
120   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