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