Import http://git.erp5.org/gitweb/erp5.git/tree/HEAD:/slapos
[slapos.git] / component / xorg / buildout.cfg
1 # Minimalistict xorg
2 [buildout]
3 extends =
4   freetype.cfg
5   libxml2.cfg
6   libxslt.cfg
7   pkgconfig.cfg
8   zlib.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 download-only = true
119 filename = 700c7896b832d6e4fb0185f0d5382b01f94e7141.patch
120 md5sum = 52635ef694ee6f1acb642a77ee8eb010
121
122 [libX11]
123 recipe = hexagonit.recipe.cmmi
124 url = http://www.x.org/releases/X11R7.6/src/lib/libX11-1.4.0.tar.bz2
125 md5sum = b63d9f7493a61df51d0c0be04ac435e4
126 configure-options =
127   --disable-static
128   --enable-loadable-i18n
129   --disable-composecache
130   --disable-xcms
131   --disable-xf86bigfont
132   --disable-xkb
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
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 [libXdmcp]
146 recipe = hexagonit.recipe.cmmi
147 url = http://www.x.org/releases/X11R7.6/src/lib/libXdmcp-1.1.0.tar.bz2
148 md5sum = 762b6bbaff7b7d0831ddb4f072f939a5
149 environment =
150   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig
151   LD_LIBRARY_PATH=${xproto:location}/lib
152   LD_RUN_PATH=${xproto:location}/lib
153   PATH=${pkgconfig:location}/bin:%(PATH)s
154 configure-options =
155   --disable-static
156   --without-xmlto
157   --without-fop