buildout.cfg 22 KB
Newer Older
1 2
[buildout]
extends =
3 4
  ../freetype/buildout.cfg
  ../intltool/buildout.cfg
5
  ../libuuid/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
6 7 8 9
  ../libxml2/buildout.cfg
  ../libxslt/buildout.cfg
  ../pkgconfig/buildout.cfg
  ../zlib/buildout.cfg
10
  ../bzip2/buildout.cfg
11
  ../openssl/buildout.cfg
12 13 14 15 16
  ../gnutls/buildout.cfg
  ../autoconf/buildout.cfg
  ../automake/buildout.cfg
  ../libtool/buildout.cfg
  ../dash/buildout.cfg
17 18 19 20 21

parts =
  libXdmcp
  libXext
  libXau
22
  libXinerama
23
  libSM
24
  libXrender
25 26 27 28 29

[xorg-aclocal]
ACLOCAL=${xorg-util-macros:location}/share/aclocal

[xorg-util-macros]
30
recipe = slapos.recipe.cmmi
31 32 33 34
url = http://www.x.org/releases/X11R7.6/src/util/util-macros-1.11.0.tar.bz2
md5sum = 22d5cdff672450cb6902e0d68c200dcb

[xproto]
35
recipe = slapos.recipe.cmmi
36 37 38 39 40 41
url = http://www.x.org/releases/X11R7.6/src/proto/xproto-7.0.20.tar.bz2
md5sum = 65633168e5315c19defb4652cd3d83c1
configure-options =
  --disable-specs
  --without-xmlto
  --without-fop
42 43
environment =
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig
44
  PATH=${libxml2:location}/bin:${pkgconfig:location}/bin:%(PATH)s
45 46

[xextproto]
47
recipe = slapos.recipe.cmmi
48 49 50 51 52 53
url = http://www.x.org/releases/X11R7.6/src/proto/xextproto-7.1.2.tar.bz2
md5sum = 263ae968b223c23b2986603d84e5c30e
configure-options =
  --disable-specs
  --without-xmlto
  --without-fop
54 55 56
environment =
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig
  PATH=${pkgconfig:location}/bin:%(PATH)s
57

58 59 60 61 62 63 64
[xtrans-tmp-env-patch]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
filename = xtrans_tmp_env.patch
md5sum = 37d82a3b6009113023599632117a6855

65
[xtrans]
66
recipe = slapos.recipe.cmmi
67 68
url = http://www.x.org/releases/X11R7.6/src/lib/xtrans-1.2.6.tar.bz2
md5sum = c66f9ffd2da4fb012220c6c40ebc7609
69 70 71 72
patches =
  ${xtrans-tmp-env-patch:location}/${xtrans-tmp-env-patch:filename}
patches_md5sum = ${xtrans-tmp-env-patch:md5sum}
patch-options = -p1
73 74 75 76
configure-options =
  --disable-docs
  --without-xmlto
  --without-fop
77 78 79
environment =
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig
  PATH=${pkgconfig:location}/bin:%(PATH)s
80 81

[libXau]
82
recipe = slapos.recipe.cmmi
83 84 85 86 87
url = http://www.x.org/releases/X11R7.6/src/lib/libXau-1.0.6.tar.bz2
md5sum = 4a2cbd83727682f9ee1c1e719bac6adb
configure-options =
  --disable-static
environment =
88
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig
89 90 91
  PATH=${pkgconfig:location}/bin:%(PATH)s

[xcbproto]
92
recipe = slapos.recipe.cmmi
93 94 95 96 97 98 99
url = http://www.x.org/releases/X11R7.6/src/xcb/xcb-proto-1.6.tar.bz2
md5sum = 04313e1d914b44d0e457f6c494fc178b
environment =
  PATH=${libxml2:location}/bin:%(PATH)s
  PYTHON=${buildout:executable}

[xorg-libpthread-stubs]
100
recipe = slapos.recipe.cmmi
101 102 103
url = http://www.x.org/releases/X11R7.6/src/xcb/libpthread-stubs-0.3.tar.bz2
md5sum = e8fa31b42e13f87e8f5a7a2b731db7ee

104 105 106 107 108 109 110
[libxcb-tmp-env-patch]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
filename = xcb_tmp_env.patch
md5sum = 61f39878120ba434a169e24cae2af862

111
[libxcb]
112
recipe = slapos.recipe.cmmi
113 114
url = http://www.x.org/releases/X11R7.6/src/xcb/libxcb-1.7.tar.bz2
md5sum = 925699df361b99491165ebc12068056b
115 116 117 118
patches =
  ${libxcb-tmp-env-patch:location}/${libxcb-tmp-env-patch:filename}
patches_md5sum = ${libxcb-tmp-env-patch:md5sum}
patch-options = -p1
119 120 121 122
configure-options =
  --disable-static
  --disable-build-docs
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
123
  PKG_CONFIG_PATH=${libXau:location}/lib/pkgconfig:${xcbproto:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
124 125 126 127 128 129 130 131
  PATH=${pkgconfig:location}/bin:${libxslt:location}/bin:%(PATH)s
  PYTHON=${buildout:executable}
# Python note: libxcb requires python with ElementTree. In case of appliance
# non system python is used, and this binary contains ElementTree. In case of
# using this profile outside appliance it is required to provide python with
# suitable library.

[libXext]
132
recipe = slapos.recipe.cmmi
133 134 135
url = http://www.x.org/releases/X11R7.6/src/lib/libXext-1.2.0.tar.bz2
md5sum = 9bb236ff0193e9fc1c1fb504dd840331
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
136 137
  PKG_CONFIG_PATH=${kbproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
  LD_LIBRARY_PATH=${libX11:location}/lib
138 139 140 141 142 143 144 145
  PATH=${pkgconfig:location}/bin:%(PATH)s
# 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).
# CFLAGS=-fPIC
configure-options =
  --disable-static
  --disable-specs
  --without-xmlto
  --without-fop
146
  XEXT_LIBS=-lX11
147 148 149 150 151 152
patches =
  ${libXext-patch-link-error:location}/${libXext-patch-link-error:filename}
patch-options = -p1

[libXext-patch-link-error]
# Fixes libXext.la link error
153
# http://cgit.freedesktop.org/xorg/lib/libXext/patch/?id=700c7896b832d6e4fb0185f0d5382b01f94e7141
154
recipe = hexagonit.recipe.download
155
url = ${:_profile_base_location_}/${:filename}
156 157 158 159
download-only = true
filename = 700c7896b832d6e4fb0185f0d5382b01f94e7141.patch
md5sum = 52635ef694ee6f1acb642a77ee8eb010

160
[inputproto]
161
recipe = slapos.recipe.cmmi
162 163 164 165
url = http://www.x.org/releases/X11R7.6/src/everything/inputproto-2.0.1.tar.bz2
md5sum = da9bf9e5d174163f597d2d72757d9038

[kbproto]
166
recipe = slapos.recipe.cmmi
167 168 169
url = http://www.x.org/releases/X11R7.6/src/everything/kbproto-1.0.5.tar.bz2
md5sum = e7edb59a3f54af15f749e8f3e314ee62

170
[libX11]
171
recipe = slapos.recipe.cmmi
172 173 174 175 176 177 178 179 180 181 182 183
url = http://www.x.org/releases/X11R7.6/src/lib/libX11-1.4.0.tar.bz2
md5sum = b63d9f7493a61df51d0c0be04ac435e4
configure-options =
  --disable-static
  --enable-loadable-i18n
  --disable-composecache
  --disable-xcms
  --disable-xf86bigfont
  --disable-specs
  --without-xmlto
  --without-fop
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
184
  PKG_CONFIG_PATH=${inputproto:location}/lib/pkgconfig:${kbproto:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig
185 186
  PATH=${pkgconfig:location}/bin:%(PATH)s

187 188 189 190

# Below is stuff for xserver


191
[libXdmcp]
192
recipe = slapos.recipe.cmmi
193 194 195 196 197 198 199 200 201
url = http://www.x.org/releases/X11R7.6/src/lib/libXdmcp-1.1.0.tar.bz2
md5sum = 762b6bbaff7b7d0831ddb4f072f939a5
environment =
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig
  PATH=${pkgconfig:location}/bin:%(PATH)s
configure-options =
  --disable-static
  --without-xmlto
  --without-fop
202

203
[fixesproto]
204
recipe = slapos.recipe.cmmi
205 206 207 208
url = http://www.x.org/releases/X11R7.6/src/everything/fixesproto-4.1.2.tar.bz2
md5sum = bdb58ecc313b509247036d5c11fa99df

[bigreqsproto]
209
recipe = slapos.recipe.cmmi
210 211 212 213
url = http://www.x.org/releases/X11R7.6/src/everything/bigreqsproto-1.1.1.tar.bz2
md5sum = 6f6c24436c2b3ab235eb14a85b9aaacf

[xcmiscproto]
214
recipe = slapos.recipe.cmmi
215 216 217 218
url = http://www.x.org/releases/X11R7.6/src/everything/xcmiscproto-1.2.1.tar.bz2
md5sum = cd7372cd827bfd7ca7e9238f2ce274b1

[damageproto]
219
recipe = slapos.recipe.cmmi
220 221 222 223
url = http://www.x.org/releases/X11R7.6/src/everything/damageproto-1.2.1.tar.bz2
md5sum = 998e5904764b82642cc63d97b4ba9e95

[randrproto]
224
recipe = slapos.recipe.cmmi
225 226 227 228
url = http://www.x.org/releases/X11R7.6/src/everything/randrproto-1.3.2.tar.bz2
md5sum = 597491c0d8055e2a66f11350c4985775

[renderproto]
229
recipe = slapos.recipe.cmmi
230 231 232 233
url = http://www.x.org/releases/X11R7.6/src/everything/renderproto-0.11.1.tar.bz2
md5sum = a914ccc1de66ddeb4b611c6b0686e274

[videoproto]
234
recipe = slapos.recipe.cmmi
235 236 237 238
url = http://www.x.org/releases/X11R7.6/src/everything/videoproto-2.3.1.tar.bz2
md5sum = c3b348c6e2031b72b11ae63fc7f805c2

[fontsproto]
239
recipe = slapos.recipe.cmmi
240 241 242 243
url = http://www.x.org/releases/X11R7.6/src/everything/fontsproto-2.1.1.tar.bz2
md5sum = 37102ffcaa73f77d700acd6f7a25d8f0

[recordproto]
244
recipe = slapos.recipe.cmmi
245 246 247 248
url = http://www.x.org/releases/X11R7.6/src/everything/recordproto-1.14.1.tar.bz2
md5sum = 24541a30b399213def35f48efd926c63

[resourceproto]
249
recipe = slapos.recipe.cmmi
250 251 252 253
url = http://www.x.org/releases/X11R7.6/src/everything/resourceproto-1.1.1.tar.bz2
md5sum = 8ff0525ae7502b48597b78d00bc22284

[xineramaproto]
254
recipe = slapos.recipe.cmmi
255 256 257 258
url = http://www.x.org/releases/X11R7.6/src/everything/xineramaproto-1.2.tar.bz2
md5sum = a8aadcb281b9c11a91303e24cdea45f5

[pixman]
259
recipe = slapos.recipe.cmmi
260 261 262 263
url = http://xorg.freedesktop.org/archive/individual/lib/pixman-0.23.2.tar.bz2 
md5sum = 2e2805f5ca02edeb15a7862779670069

[libfontenc]
264
recipe = slapos.recipe.cmmi
265 266 267 268 269 270 271
url = http://www.x.org/releases/X11R7.6/src/everything/libfontenc-1.1.0.tar.bz2
md5sum = 11d3c292f05a90f6f67840a9e9c3d9b8
environment =
  PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig
  LD_LIBRARY_PATH=${xproto:location}/lib/
  LD_RUN_PATH=${xproto:location}/lib/
  CPPFLAGS=-I${xproto:location}/include/ -I${zlib:location}/include
272
  LDFLAGS=-L${xproto:location}/lib -Wl,-rpath=${xproto:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib 
273 274 275
  PATH=${pkgconfig:location}/bin:%(PATH)s

[libXfont]
276
recipe = slapos.recipe.cmmi
277 278 279 280 281 282
url = http://www.x.org/releases/X11R7.6/src/everything/libXfont-1.4.3.tar.bz2
md5sum = 6fb689cfe13d8d9460f4abb5bd88588d
environment =
  PKG_CONFIG_PATH=${fontsproto:location}/lib/pkgconfig:${libfontenc:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig:${freetype:location}/lib/pkgconfig
  LD_LIBRARY_PATH=${fontsproto:location}/lib:${libfontenc:location}/lib:${xtrans:location}/include/:${xproto:location}/lib/:${freetype:location}/lib
  LD_RUN_PATH=${fontsproto:location}/lib:${libfontenc:location}/lib:${xproto:location}/lib/:${xtrans:location}/include/:${freetype:location}/lib
283 284
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${libfontenc:location}/lib -Wl,-rpath=${libfontenc:location}/lib 
  CPPFLAGS=-I${zlib:location}/include -I${bzip2:location}/include -I${libfontenc:location}/include
285 286 287
  PATH=${pkgconfig:location}/bin:%(PATH)s

[libxkbfile]
288
recipe = slapos.recipe.cmmi
289 290 291 292 293 294 295 296 297 298
url = http://www.x.org/releases/X11R7.6/src/everything/libxkbfile-1.0.7.tar.bz2
md5sum = 59b4fe0bdf8d9b05e45b59e8fe9e7516
environment =
  PKG_CONFIG_PATH=${kbproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
  LD_LIBRARY_PATH=${kbproto:location}/lib:${libX11:location}/lib:${xproto:location}/lib/
  LD_RUN_PATH=${kbproto:location}/lib:${libX11:location}/lib:${xproto:location}/lib/
  CPPFLAGS=-I${xproto:location}/include/ -I${libX11:location}/include/ -I${kbproto:location}/include
  PATH=${pkgconfig:location}/bin:%(PATH)s

[xkeyboard-config]
299
recipe = slapos.recipe.cmmi
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
url = http://www.x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.1.tar.bz2
md5sum = 57ecc78bacd8ecc398d8ed6588f4d04b
depends =
  ${perl:version}
  ${perl-XML-Parser:location}
configure-options =
  --disable-static
  --enable-shared
  --enable-compat-rules
  --with-xkb-rules-symlink=xfree86
environment =
  PATH=${gettext:location}/bin:${intltool:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xkbcomp:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${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

[xkbcomp]
315
recipe = slapos.recipe.cmmi
316 317 318 319 320 321 322 323 324 325 326 327 328 329
url = http://www.x.org/releases/X11R7.6/src/app/xkbcomp-1.2.0.tar.bz2
md5sum = 0f55995cd8da9b2d88553e1a2e17cd0a
# Hardcoded location for xkeyboard-config, needed during compile time
xkeyboard-config-location = ${libxkbfile:location}/../xkeyboard-config/share/X11/xkb
configure-options =
  --with-xkb-config-root=${:xkeyboard-config-location}
environment =
  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
  LD_LIBRARY_PATH=${libxkbfile:location}/lib/:${libX11:location}/lib
  LD_RUN_PATH=${libxkbfile:location}/lib/:${libX11:location}/lib
  CPPFLAGS=-I${libxkbfile:location}/include/ -I${libX11:location}/include -I${xproto:location}/include -I${kbproto:location}/include
  PATH=${pkgconfig:location}/bin:%(PATH)s

[render]
330
recipe = slapos.recipe.cmmi
331 332 333 334
url = http://xlibs.freedesktop.org/release/renderext-0.9.tar.bz2
md5sum = d43c2afc69937655d13c02588c9ff974

[libXrender]
335
recipe = slapos.recipe.cmmi
336 337
url = http://xlibs.freedesktop.org/release/libXrender-0.9.0.tar.bz2
md5sum = ce7cda009aa0b10a73637941d44ae789
338 339
configure-options =
  --disable-static
340
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
341
  PKG_CONFIG_PATH=${kbproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${render:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
342 343 344
  PATH=${pkgconfig:location}/bin:%(PATH)s

[libXinerama]
345
recipe = slapos.recipe.cmmi
346 347 348
url = http://www.x.org/releases/X11R7.6/src/lib/libXinerama-1.1.1.tar.bz2
md5sum = ecd4839ad01f6f637c6fb5327207f89b
environment =
349
  PKG_CONFIG_PATH=${kbproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${libXext:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${xineramaproto:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig
350 351 352 353
  PATH=${pkgconfig:location}/bin:%(PATH)s
configure-options =
  --disable-static

354
[libICE]
355
recipe = slapos.recipe.cmmi
356 357 358 359 360 361 362
url = http://www.x.org/releases/X11R7.6/src/lib/libICE-1.0.7.tar.bz2
md5sum = bb72a732b15e9dc25c3036559387eed5
configure-options =
  --disable-static
  --without-xmlto
  --without-fop
environment =
363
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig
364 365 366
  PATH=${pkgconfig:location}/bin:%(PATH)s

[libSM]
367
recipe = slapos.recipe.cmmi
368 369 370 371 372 373 374
url = http://www.x.org/releases/X11R7.6/src/lib/libSM-1.2.0.tar.bz2
md5sum = e78c447bf1790552b644eca81b542742
configure-options =
  --disable-static
  --without-xmlto
  --without-fop
environment =
375
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${libICE:location}/lib/pkgconfig:${libuuid:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig
376 377
  PATH=${pkgconfig:location}/bin:%(PATH)s
  LIBUUID_CFLAGS=-I${libuuid:location}/include
378

379
[libXt]
380
recipe = slapos.recipe.cmmi
381 382 383 384
url = http://www.x.org/releases/X11R7.6/src/lib/libXt-1.0.9.tar.bz2
md5sum = 8a414f8f2327aaa616ca2dcac1f5d8c3
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
385 386
  PKG_CONFIG_PATH=${libSM:location}/lib/pkgconfig:${kbproto:location}/lib/pkgconfig:${libICE:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig
  CPPFLAGS=-I${libSM:location}/include -I${kbproto:location}/include -I${libICE:location}/include -I${xproto:location}/include -I${libX11:location}/include
387 388

[dri2proto]
389
recipe = slapos.recipe.cmmi
390 391 392 393 394 395 396 397 398 399
url = http://xorg.freedesktop.org/releases/individual/proto/dri2proto-2.6.tar.gz
md5sum = 873142af5db695537cfe05e01d13541f
configure-options = 
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${xorg-libpthread-stubs:location}/lib/pkgconfig


[pciaccess]
400
recipe = slapos.recipe.cmmi
401 402 403 404 405 406 407 408
url = http://www.x.org/releases/X11R7.6/src/lib/libpciaccess-0.12.0.tar.bz2
md5sum = 285e07976274572e1f1e68edee09b70a
configure-options = 
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s

[makedepend]
409
recipe = slapos.recipe.cmmi
410 411 412 413 414 415 416 417 418
url = http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.3.tar.bz2
md5sum = 4e6cb97bbecfbb34f3f644a75e513093
configure-options = 
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig

[glproto]
419
recipe = slapos.recipe.cmmi
420 421 422 423 424 425 426 427 428
url = http://xorg.freedesktop.org/releases/individual/proto/glproto-1.4.14.tar.bz2
md5sum = f48257daf0017f7a7667e5bf48ca3578
configure-options = 
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig

[xfixes]
429
recipe = slapos.recipe.cmmi
430 431 432 433 434 435 436 437 438 439
url = http://xorg.freedesktop.org/releases/individual/lib/libXfixes-4.0.5.tar.bz2
md5sum = 1b4b8386bd5d1751b2c7177223ad4629
configure-options = 
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${xproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${fixesproto:location}/lib/pkgconfig:${xorg-util-macros:location}/share/pkgconfig
  CPPFLAGS=-I${libX11:location}/include -I${xproto:location}/include -I${fixesproto:location}/include -I${xextproto:location}/include

[xdamage]
440
recipe = slapos.recipe.cmmi
441 442 443 444 445 446 447 448 449
url = http://xorg.freedesktop.org/releases/individual/lib/libXdamage-1.1.3.tar.bz2
md5sum = 44774e1a065158b52f1a0da5100cebec
configure-options = 
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${damageproto:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${fixesproto:location}/lib/pkgconfig:${xextproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig
  CPPFLAGS=-I${libX11:location}/include -I${xproto:location}/include -I${fixesproto:location}/include -I${xextproto:location}/include -I${damageproto:location}/include -I${xfixes:location}/include 

450 451 452 453 454 455 456
[xorg-tmp-env-patch]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
filename = tmp_env.patch
md5sum = 8b60ab8121f0564a681fc00d03101696

457
[libxmu]
458
recipe = slapos.recipe.cmmi
459 460 461 462 463 464 465 466
url = http://www.x.org/releases/X11R7.6/src/lib/libXmu-1.1.0.tar.gz
md5sum = 15e1cb9aaf97eae169bfe6944e0a541e
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${xextproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libXext:location}/lib/pkgconfig:${libXt:location}/lib/pkgconfig
  CPPFLAGS=-I${libX11:location}/include -I${xextproto:location}/include

[libXcursor]
467
recipe = slapos.recipe.cmmi
468 469 470 471
url = http://www.x.org/releases/X11R7.6/src/lib/libXcursor-1.1.11.tar.gz
md5sum = 55558a41d0bcf9210636858844fa4d2f
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
Romain Courteaud's avatar
Romain Courteaud committed
472 473
  PKG_CONFIG_PATH=${render:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${fixesproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${xfixes:location}/lib/pkgconfig:${libXrender:location}/lib/pkgconfig
  CPPFLAGS=-I${render:location}/include -I${xproto:location}/include -I${fixesproto:location}/include -I${libX11:location}/include -I${xfixes:location}/include -I${libXrender:location}/include
474 475

[xwd]
476
recipe = slapos.recipe.cmmi
477 478 479 480 481 482 483 484
url = http://www.x.org/releases/X11R7.6/src/app/xwd-1.0.4.tar.gz
md5sum = f8da771069756210833524b5afa1832c
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${libxkbfile:location}/lib/pkgconfig
  CPPFLAGS=-I${xproto:location}/include -I${libX11:location}/include -I${libxkbfile:location}/include# -I${xfixes:location}/include -I${libXrender:location}/include
  LDFLAGS=-L${xproto:location}/lib -Wl,-rpath=${xproto:location}/lib -L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${libxkbfile:location}/lib -Wl,-rpath=${libxkbfile:location}/lib -lX11

485 486
[xserver]
# Adds Xvfb functionnality
487
recipe = slapos.recipe.cmmi
488 489
url = http://www.x.org/releases/X11R7.6/src/xserver/xorg-server-1.9.3.tar.bz2
md5sum = 5bef6839a76d029204ab31aa2fcb5201
490 491 492 493
patches =
  ${xorg-tmp-env-patch:location}/${xorg-tmp-env-patch:filename}
patches_md5sum = ${xorg-tmp-env-patch:md5sum}
patch-options = -p1
494 495 496 497 498 499 500 501 502 503
configure-options =
  --enable-xvfb
  --disable-aiglx
  --disable-composite
  --disable-screensaver
  --disable-glx
  --disable-dri
  --disable-dri2
  --disable-xorg
  --disable-config-hal
504
  --disable-tcp-transport
505 506
  --with-xkb-bin-directory=${xkbcomp:location}/bin
  --with-xkb-path=${xkeyboard-config:location}/share/X11/xkb
507
  --with-sha1=libgcrypt
508
environment =
509 510
  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:${gpg-error:location}/lib/pkgconfig
  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 -I${bzip2:location}/include -I${gcrypt:location}/include -I${zlib:location}/include -I${libfontenc:location}/include -I${gpg-error:location}/include
511
  PATH=${pkgconfig:location}/bin:%(PATH)s
512
  LDFLAGS=-L${gcrypt:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${gcrypt:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${libfontenc:location}/lib -Wl,-rpath=${libfontenc:location}/lib -L${libXau:location}/lib -Wl,-rpath=${libXau:location}/lib -L${gpg-error:location}/lib -Wl,-rpath=${gpg-error:location}/lib