explicitly specify our own bzip2 location.
[slapos.git] / component / xorg / buildout.cfg
1 # Minimalistict xorg
2 [buildout]
3 extends =
4   ../libuuid/buildout.cfg
5   ../libxml2/buildout.cfg
6   ../libxslt/buildout.cfg
7   ../pkgconfig/buildout.cfg
8   ../zlib/buildout.cfg
9
10 parts =
11   libXdmcp
12   libXext
13   libXau
14   libSM
15   libXrender
16
17 [xorg-aclocal]
18 ACLOCAL=${xorg-util-macros:location}/share/aclocal
19
20 [xorg-util-macros]
21 recipe = hexagonit.recipe.cmmi
22 url = http://www.x.org/releases/X11R7.6/src/util/util-macros-1.11.0.tar.bz2
23 md5sum = 22d5cdff672450cb6902e0d68c200dcb
24
25 [xproto]
26 recipe = hexagonit.recipe.cmmi
27 url = http://www.x.org/releases/X11R7.6/src/proto/xproto-7.0.20.tar.bz2
28 md5sum = 65633168e5315c19defb4652cd3d83c1
29 configure-options =
30   --disable-specs
31   --without-xmlto
32   --without-fop
33 environment =
34   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig
35   PATH=${pkgconfig:location}/bin:%(PATH)s
36
37 [xextproto]
38 recipe = hexagonit.recipe.cmmi
39 url = http://www.x.org/releases/X11R7.6/src/proto/xextproto-7.1.2.tar.bz2
40 md5sum = 263ae968b223c23b2986603d84e5c30e
41 configure-options =
42   --disable-specs
43   --without-xmlto
44   --without-fop
45 environment =
46   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig
47   PATH=${pkgconfig:location}/bin:%(PATH)s
48
49 [xtrans]
50 recipe = hexagonit.recipe.cmmi
51 url = http://www.x.org/releases/X11R7.6/src/lib/xtrans-1.2.6.tar.bz2
52 md5sum = c66f9ffd2da4fb012220c6c40ebc7609
53 configure-options =
54   --disable-docs
55   --without-xmlto
56   --without-fop
57 environment =
58   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig
59   PATH=${pkgconfig:location}/bin:%(PATH)s
60
61 [libXau]
62 recipe = hexagonit.recipe.cmmi
63 url = http://www.x.org/releases/X11R7.6/src/lib/libXau-1.0.6.tar.bz2
64 md5sum = 4a2cbd83727682f9ee1c1e719bac6adb
65 configure-options =
66   --disable-static
67 environment =
68   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig
69   PATH=${pkgconfig:location}/bin:%(PATH)s
70
71 [xcbproto]
72 recipe = hexagonit.recipe.cmmi
73 url = http://www.x.org/releases/X11R7.6/src/xcb/xcb-proto-1.6.tar.bz2
74 md5sum = 04313e1d914b44d0e457f6c494fc178b
75 environment =
76   PATH=${libxml2:location}/bin:%(PATH)s
77   PYTHON=${buildout:executable}
78
79 [xorg-libpthread-stubs]
80 recipe = hexagonit.recipe.cmmi
81 url = http://www.x.org/releases/X11R7.6/src/xcb/libpthread-stubs-0.3.tar.bz2
82 md5sum = e8fa31b42e13f87e8f5a7a2b731db7ee
83
84 [libxcb]
85 recipe = hexagonit.recipe.cmmi
86 url = http://www.x.org/releases/X11R7.6/src/xcb/libxcb-1.7.tar.bz2
87 md5sum = 925699df361b99491165ebc12068056b
88 configure-options =
89   --disable-static
90   --disable-build-docs
91 environment =
92   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
93   PATH=${pkgconfig:location}/bin:${libxslt:location}/bin:%(PATH)s
94   PYTHON=${buildout:executable}
95 # Python note: libxcb requires python with ElementTree. In case of appliance
96 # non system python is used, and this binary contains ElementTree. In case of
97 # using this profile outside appliance it is required to provide python with
98 # suitable library.
99
100 [libXext]
101 recipe = hexagonit.recipe.cmmi
102 url = http://www.x.org/releases/X11R7.6/src/lib/libXext-1.2.0.tar.bz2
103 md5sum = 9bb236ff0193e9fc1c1fb504dd840331
104 environment =
105   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${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
106   PATH=${pkgconfig:location}/bin:%(PATH)s
107 # 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).
108 # CFLAGS=-fPIC
109 configure-options =
110   --disable-static
111   --disable-specs
112   --without-xmlto
113   --without-fop
114 patches =
115   ${libXext-patch-link-error:location}/${libXext-patch-link-error:filename}
116 patch-options = -p1
117
118 [libXext-patch-link-error]
119 # Fixes libXext.la link error
120 # http://cgit.freedesktop.org/xorg/lib/libXext/patch/?id=700c7896b832d6e4fb0185f0d5382b01f94e7141
121 recipe = hexagonit.recipe.download
122 url = ${:_profile_base_location_}/${:filename}
123 download-only = true
124 filename = 700c7896b832d6e4fb0185f0d5382b01f94e7141.patch
125 md5sum = 52635ef694ee6f1acb642a77ee8eb010
126
127 [libX11]
128 recipe = hexagonit.recipe.cmmi
129 url = http://www.x.org/releases/X11R7.6/src/lib/libX11-1.4.0.tar.bz2
130 md5sum = b63d9f7493a61df51d0c0be04ac435e4
131 configure-options =
132   --disable-static
133   --enable-loadable-i18n
134   --disable-composecache
135   --disable-xcms
136   --disable-xf86bigfont
137   --disable-xkb
138   --disable-specs
139   --without-xmlto
140   --without-fop
141 environment =
142   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${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
143   PATH=${pkgconfig:location}/bin:%(PATH)s
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   PATH=${pkgconfig:location}/bin:%(PATH)s
152 configure-options =
153   --disable-static
154   --without-xmlto
155   --without-fop
156
157 [libICE]
158 recipe = hexagonit.recipe.cmmi
159 url = http://www.x.org/releases/X11R7.6/src/lib/libICE-1.0.7.tar.bz2
160 md5sum = bb72a732b15e9dc25c3036559387eed5
161 configure-options =
162   --disable-static
163   --without-xmlto
164   --without-fop
165 environment =
166   PKG_CONFIG_PATH=${xorg-util-macros:location}/share/pkgconfig:${xproto:location}/lib/pkgconfig:${xtrans:location}/share/pkgconfig
167   PATH=${pkgconfig:location}/bin:%(PATH)s
168
169 [libSM]
170 recipe = hexagonit.recipe.cmmi
171 url = http://www.x.org/releases/X11R7.6/src/lib/libSM-1.2.0.tar.bz2
172 md5sum = e78c447bf1790552b644eca81b542742
173 configure-options =
174   --disable-static
175   --without-xmlto
176   --without-fop
177 environment =
178   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
179   PATH=${pkgconfig:location}/bin:%(PATH)s
180   LIBUUID_CFLAGS=-I${libuuid:location}/include
181
182 [renderproto]
183 recipe = hexagonit.recipe.cmmi
184 url = http://www.x.org/releases/X11R7.6/src/proto/renderproto-0.11.1.tar.bz2
185 md5sum = a914ccc1de66ddeb4b611c6b0686e274
186
187 [libXrender]
188 recipe = hexagonit.recipe.cmmi
189 url = http://www.x.org/releases/X11R7.6/src/lib/libXrender-0.9.6.tar.bz2
190 md5sum = 3b3b7d076c2384b6c600c0b5f4ba971f
191 configure-options =
192   --disable-static
193 environment =
194   PKG_CONFIG_PATH=${libX11:location}/lib/pkgconfig:${renderproto:location}/lib/pkgconfig:${xorg-util-macros:location}/share/pkgconfig
195   PATH=${pkgconfig:location}/bin:%(PATH)s
196   CPPFLAGS=-I${libX11:location}/include -I${renderproto:location}/include -I${xproto:location}/include