Merge branch 'master' into selenium
[slapos.git] / component / xorg / buildout.cfg
1 [buildout]
2 extends =
3   ../freetype/buildout.cfg
4   ../libxml2/buildout.cfg
5   ../libxslt/buildout.cfg
6   ../pkgconfig/buildout.cfg
7   ../zlib/buildout.cfg
8   ../openssl/buildout.cfg
9
10 parts =
11   libXdmcp
12   libXext
13   libXau
14   libX11
15
16 [xorg-aclocal]
17 ACLOCAL=${xorg-util-macros:location}/share/aclocal
18
19 [xorg-util-macros]
20 recipe = hexagonit.recipe.cmmi
21 url = http://www.x.org/releases/X11R7.6/src/util/util-macros-1.11.0.tar.bz2
22 md5sum = 22d5cdff672450cb6902e0d68c200dcb
23
24 [xproto]
25 recipe = hexagonit.recipe.cmmi
26 url = http://www.x.org/releases/X11R7.6/src/proto/xproto-7.0.20.tar.bz2
27 md5sum = 65633168e5315c19defb4652cd3d83c1
28 configure-options =
29   --disable-specs
30   --without-xmlto
31   --without-fop
32
33 [xextproto]
34 recipe = hexagonit.recipe.cmmi
35 url = http://www.x.org/releases/X11R7.6/src/proto/xextproto-7.1.2.tar.bz2
36 md5sum = 263ae968b223c23b2986603d84e5c30e
37 configure-options =
38   --disable-specs
39   --without-xmlto
40   --without-fop
41
42 [xtrans]
43 recipe = hexagonit.recipe.cmmi
44 url = http://www.x.org/releases/X11R7.6/src/lib/xtrans-1.2.6.tar.bz2
45 md5sum = c66f9ffd2da4fb012220c6c40ebc7609
46 configure-options =
47   --disable-docs
48   --without-xmlto
49   --without-fop
50
51 [libXau]
52 recipe = hexagonit.recipe.cmmi
53 url = http://www.x.org/releases/X11R7.6/src/lib/libXau-1.0.6.tar.bz2
54 md5sum = 4a2cbd83727682f9ee1c1e719bac6adb
55 configure-options =
56   --disable-static
57 environment =
58   PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig
59   LD_LIBRARY_PATH=${xproto:location}/lib
60   LD_RUN_PATH=${xproto:location}/lib
61   PATH=${pkgconfig:location}/bin:%(PATH)s
62
63 [xcbproto]
64 recipe = hexagonit.recipe.cmmi
65 url = http://www.x.org/releases/X11R7.6/src/xcb/xcb-proto-1.6.tar.bz2
66 md5sum = 04313e1d914b44d0e457f6c494fc178b
67 environment =
68   PATH=${libxml2:location}/bin:%(PATH)s
69   PYTHON=${buildout:executable}
70
71 [xorg-libpthread-stubs]
72 recipe = hexagonit.recipe.cmmi
73 url = http://www.x.org/releases/X11R7.6/src/xcb/libpthread-stubs-0.3.tar.bz2
74 md5sum = e8fa31b42e13f87e8f5a7a2b731db7ee
75
76 [libxcb]
77 recipe = hexagonit.recipe.cmmi
78 url = http://www.x.org/releases/X11R7.6/src/xcb/libxcb-1.7.tar.bz2
79 md5sum = 925699df361b99491165ebc12068056b
80 configure-options =
81   --disable-static
82   --disable-build-docs
83 environment =
84   PKG_CONFIG_PATH=${xcbproto:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig
85   LD_LIBRARY_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${libxslt:location}/lib
86   LD_RUN_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${libxslt:location}/lib
87   PATH=${pkgconfig:location}/bin:${libxslt:location}/bin:%(PATH)s
88   PYTHON=${buildout:executable}
89 # Python note: libxcb requires python with ElementTree. In case of appliance
90 # non system python is used, and this binary contains ElementTree. In case of
91 # using this profile outside appliance it is required to provide python with
92 # suitable library.
93
94 [libXext]
95 recipe = hexagonit.recipe.cmmi
96 url = http://www.x.org/releases/X11R7.6/src/lib/libXext-1.2.0.tar.bz2
97 md5sum = 9bb236ff0193e9fc1c1fb504dd840331
98 environment =
99   PKG_CONFIG_PATH=${xcbproto:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig
100   LD_LIBRARY_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${xextproto:location}/lib:${libX11:location}/lib:${libxcb:location}/lib
101   LD_RUN_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${xextproto:location}/lib:${libX11:location}/lib:${libxcb:location}/lib
102   PATH=${pkgconfig:location}/bin:%(PATH)s
103 # Warning: do *not* enable -fPIC CFLAGS for this library. Even if it fails and ld asks you to enable it. This will not solve your problem, and create an unexpected (by build chain) setup (all .o will be position-independant code).
104 # CFLAGS=-fPIC
105 configure-options =
106   --disable-static
107   --disable-specs
108   --without-xmlto
109   --without-fop
110 patches =
111   ${libXext-patch-link-error:location}/${libXext-patch-link-error:filename}
112 patch-options = -p1
113
114 [libXext-patch-link-error]
115 # Fixes libXext.la link error
116 recipe = hexagonit.recipe.download
117 #url = http://cgit.freedesktop.org/xorg/lib/libXext/patch/?id=700c7896b832d6e4fb0185f0d5382b01f94e7141
118 url = ${:_profile_base_location_}/${:filename}
119 download-only = true
120 filename = 700c7896b832d6e4fb0185f0d5382b01f94e7141.patch
121 md5sum = 52635ef694ee6f1acb642a77ee8eb010
122
123 [libX11]
124 recipe = hexagonit.recipe.cmmi
125 url = http://www.x.org/releases/X11R7.6/src/lib/libX11-1.4.0.tar.bz2
126 md5sum = b63d9f7493a61df51d0c0be04ac435e4
127 configure-options =
128   --disable-static
129   --enable-loadable-i18n
130   --disable-composecache
131   --disable-xcms
132   --disable-xf86bigfont
133   --disable-specs
134   --without-xmlto
135   --without-fop
136
137 environment =
138   PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig:${libxcb:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${inputproto:location}/lib/pkgconfig:${kbproto:location}/lib/pkgconfig
139   LD_LIBRARY_PATH=${xproto:location}/lib:${xextproto:location}/lib:${libxcb:location}/lib
140   LD_RUN_PATH=${xproto:location}/lib:${xextproto:location}/lib:${libxcb:location}/lib
141   PATH=${pkgconfig:location}/bin:%(PATH)s
142   CFLAGS=-I${xproto:location}/include
143   CPPFLAGS=-I${xproto:location}/include
144
145 [inputproto]
146 recipe = hexagonit.recipe.cmmi
147 url = http://www.x.org/releases/X11R7.6/src/everything/inputproto-2.0.1.tar.bz2
148
149 [kbproto]
150 recipe = hexagonit.recipe.cmmi
151 url = http://www.x.org/releases/X11R7.6/src/everything/kbproto-1.0.5.tar.bz2
152
153 [libXdmcp]
154 recipe = hexagonit.recipe.cmmi
155 url = http://www.x.org/releases/X11R7.6/src/lib/libXdmcp-1.1.0.tar.bz2
156 md5sum = 762b6bbaff7b7d0831ddb4f072f939a5
157 environment =
158   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig
159   LD_LIBRARY_PATH=${xproto:location}/lib
160   LD_RUN_PATH=${xproto:location}/lib
161   PATH=${pkgconfig:location}/bin:%(PATH)s
162 configure-options =
163   --disable-static
164   --without-xmlto
165   --without-fop
166
167 [xserver]
168 recipe = hexagonit.recipe.cmmi
169 url = http://www.x.org/releases/X11R7.6/src/xserver/xorg-server-1.9.3.tar.bz2
170 configure-options =
171   --enable-xvfb
172   --disable-aiglx
173   --disable-composite
174   --disable-screensaver
175   --disable-glx
176   --disable-dri
177   --disable-dri2
178   --disable-xorg
179   --with-xkb-bin-directory=${xkbcomp:location}/bin
180   --with-xkb-path=${xkeyboard-config:location}/share/X11/xkb
181 environment =
182   PKG_CONFIG_PATH=${pixman:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${xorg-util-macros:location}/share/pkgconfig:${fixesproto:location}/lib/pkgconfig:${damageproto:location}/lib/pkgconfig:${xcmiscproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig:${bigreqsproto:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${randrproto:location}/lib/pkgconfig:${renderproto:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${inputproto:location}/lib/pkgconfig:${kbproto:location}/lib/pkgconfig:${fontsproto:location}/lib/pkgconfig:${videoproto:location}/lib/pkgconfig:${recordproto:location}/lib/pkgconfig:${resourceproto:location}/lib/pkgconfig:${xineramaproto:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libxkbfile:location}/lib/pkgconfig:${libXfont:location}/lib/pkgconfig
183   CPPFLAGS=-I${xproto:location}/include -I${pixman:location}/include/pixman-1 -I${xextproto:location}/include -I${inputproto:location}/include -I${fontsproto:location}/include -I${kbproto:location}/include -I${xineramaproto:location}/include -I${renderproto:location}/include -I${bigreqsproto:location}/include -I${videoproto:location}/include -I${resourceproto:location}/include -I${xcmiscproto:location}/include -I${xtrans:location}/include -I${libXau:location}/include -I${randrproto:location}/include -I${libxkbfile:location}/include -I${recordproto:location}/include -I${fixesproto:location}/include -I${damageproto:location}/include
184   PATH=${pkgconfig:location}/bin:%(PATH)s
185
186 [fixesproto]
187 recipe = hexagonit.recipe.cmmi
188 url = http://www.x.org/releases/X11R7.6/src/everything/fixesproto-4.1.2.tar.bz2
189
190 [bigreqsproto]
191 recipe = hexagonit.recipe.cmmi
192 url = http://www.x.org/releases/X11R7.6/src/everything/bigreqsproto-1.1.1.tar.bz2
193
194 [xcmiscproto]
195 recipe = hexagonit.recipe.cmmi
196 url = http://www.x.org/releases/X11R7.6/src/everything/xcmiscproto-1.2.1.tar.bz2
197
198 [damageproto]
199 recipe = hexagonit.recipe.cmmi
200 url = http://www.x.org/releases/X11R7.6/src/everything/damageproto-1.2.1.tar.bz2
201
202 [randrproto]
203 recipe = hexagonit.recipe.cmmi
204 url = http://www.x.org/releases/X11R7.6/src/everything/randrproto-1.3.2.tar.bz2
205
206 [renderproto]
207 recipe = hexagonit.recipe.cmmi
208 url = http://www.x.org/releases/X11R7.6/src/everything/renderproto-0.11.1.tar.bz2
209
210 [videoproto]
211 recipe = hexagonit.recipe.cmmi
212 url = http://www.x.org/releases/X11R7.6/src/everything/videoproto-2.3.1.tar.bz2
213
214 [fontsproto]
215 recipe = hexagonit.recipe.cmmi
216 url = http://www.x.org/releases/X11R7.6/src/everything/fontsproto-2.1.1.tar.bz2
217
218 [recordproto]
219 recipe = hexagonit.recipe.cmmi
220 url = http://www.x.org/releases/X11R7.6/src/everything/recordproto-1.14.1.tar.bz2
221
222 [resourceproto]
223 recipe = hexagonit.recipe.cmmi
224 url = http://www.x.org/releases/X11R7.6/src/everything/resourceproto-1.1.1.tar.bz2
225
226 [xineramaproto]
227 recipe = hexagonit.recipe.cmmi
228 url = http://www.x.org/releases/X11R7.6/src/everything/xineramaproto-1.2.tar.bz2
229
230 [pixman]
231 recipe = hexagonit.recipe.cmmi
232 url = http://xorg.freedesktop.org/archive/individual/lib/pixman-0.23.2.tar.bz2 
233
234 [libxkbfile]
235 recipe = hexagonit.recipe.cmmi
236 url = http://www.x.org/releases/X11R7.6/src/everything/libxkbfile-1.0.7.tar.bz2
237 environment =
238   PKG_CONFIG_PATH=${kbproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
239   LD_LIBRARY_PATH=${kbproto:location}/lib:${libX11:location}/lib:${xproto:location}/lib/
240   LD_RUN_PATH=${kbproto:location}/lib:${libX11:location}/lib:${xproto:location}/lib/
241   CPPFLAGS=-I${xproto:location}/include/ -I${libX11:location}/include/ -I${kbproto:location}/include
242   PATH=${pkgconfig:location}/bin:%(PATH)s
243
244 [libXfont]
245 recipe = hexagonit.recipe.cmmi
246 url = http://www.x.org/releases/X11R7.6/src/everything/libXfont-1.4.3.tar.bz2
247 environment =
248   PKG_CONFIG_PATH=${fontsproto:location}/lib/pkgconfig:${libfontenc:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig:${freetype:location}/lib/pkgconfig
249   LD_LIBRARY_PATH=${fontsproto:location}/lib:${libfontenc:location}/lib:${xtrans:location}/include/:${xproto:location}/lib/:${freetype:location}/lib
250   LD_RUN_PATH=${fontsproto:location}/lib:${libfontenc:location}/lib:${xproto:location}/lib/:${xtrans:location}/include/:${freetype:location}/lib
251   LDFLAGS=-L${zlib:location}/lib
252   CPPFLAGS=-I${zlib:location}/include
253   PATH=${pkgconfig:location}/bin:%(PATH)s
254   
255 [libfontenc]
256 recipe = hexagonit.recipe.cmmi
257 url = http://www.x.org/releases/X11R7.6/src/everything/libfontenc-1.1.0.tar.bz2
258 environment =
259   PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig
260   LD_LIBRARY_PATH=${xproto:location}/lib/
261   LD_RUN_PATH=${xproto:location}/lib/
262   CPPFLAGS=-I${xproto:location}/include/ -I${zlib:location}/include
263   PATH=${pkgconfig:location}/bin:%(PATH)s
264
265 [xkeyboard-config]
266 recipe = hexagonit.recipe.cmmi
267 url = http://www.x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.3.tar.bz2
268
269 [xkbcomp]
270 recipe = hexagonit.recipe.cmmi
271 url = http://www.x.org/releases/X11R7.6/src/app/xkbcomp-1.2.0.tar.bz2
272 configure-options =
273   --with-xkb-config-root=${xkeyboard-config:location}/share/X11/xkb
274 environment =
275   PKG_CONFIG_PATH=${libxkbfile:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${kbproto:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig
276   LD_LIBRARY_PATH=${libxkbfile:location}/lib/:${libX11:location}/lib
277   LD_RUN_PATH=${libxkbfile:location}/lib/:${libX11:location}/lib
278   CPPFLAGS=-I${libxkbfile:location}/include/ -I${libX11:location}/include -I${xproto:location}/include -I${kbproto:location}/include
279   PATH=${pkgconfig:location}/bin:%(PATH)s
280
281
282 [render]
283 recipe = hexagonit.recipe.cmmi
284 url = http://xlibs.freedesktop.org/release/renderext-0.9.tar.bz2
285
286 [libXrender]
287 recipe = hexagonit.recipe.cmmi
288 url = http://xlibs.freedesktop.org/release/libXrender-0.9.0.tar.bz2
289 environment =
290   PKG_CONFIG_PATH=${render:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig
291   CPPFLAGS=-I${libX11:location}/include/ -I${xproto:location}/include -I${kbproto:location}/include
292   LD_LIBRARY_PATH=${render:location}/lib:${libX11:location}/lib
293   LD_RUN_PATH=${render:location}/lib
294   PATH=${pkgconfig:location}/bin:%(PATH)s
295