freetype-harfbuzz, pango, atk, gtk+3, gdk-pixbuf: enable introspection
[kiss-trunc88.git] / gtk+3 / build
blob74ea837b4e5d5f7de2711058267a415b96d95762
1 #!/bin/sh -e
3 patch -p1 < no-fribidi.patch
5 # Remove configure check for atk-bridge and fribidi.
6 sed -e 's/\(ATK_PACKAGES="atk\) atk-bridge-2.0"/\1"/' \
7 -e 's/fribidi >= 0\.19\.7//g' \
8 configure > _
9 mv -f _ configure
10 chmod +x configure
12 # Remove atk-bridge code.
13 sed '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
14 gtk/a11y/gtkaccessibility.c > _
15 mv -f _ gtk/a11y/gtkaccessibility.c
17 # Don't build GTK examples/demos/testsuite.
18 sed 's/demos tests testsuite examples//;s/docs \(m4macros\)/\1/' Makefile.in > _
19 mv -f _ Makefile.in
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --enable-xkb \
26 --enable-xinerama \
27 --enable-xrandr \
28 --enable-xfixes \
29 --enable-xcomposite \
30 --enable-xdamage \
31 --enable-x11-backend \
32 --disable-schemas-compile \
33 --disable-cups \
34 --disable-papi \
35 --disable-cloudprint \
36 --disable-glibtest \
37 --disable-nls \
38 --disable-installed-tests \
39 --enable-introspection=yes \
40 --enable-colord=no \
41 --enable-gtk-doc-html=no
43 make
44 make DESTDIR="$1" install
46 # We don't compile with librsvg which leads to this
47 # utility solely causing compiler errors for some
48 # packages. It has no use at all.
49 rm -f "$1/usr/bin/gtk-encode-symbolic-svg"