From b6eef1a6d8df9085cf3a9bcff58f38aaa7e92427 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 7 Feb 2021 14:14:39 +0300 Subject: gtk+3: move to extra --- extra/gtk+3/build | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 extra/gtk+3/build (limited to 'extra/gtk+3/build') diff --git a/extra/gtk+3/build b/extra/gtk+3/build new file mode 100755 index 00000000..cce3cd18 --- /dev/null +++ b/extra/gtk+3/build @@ -0,0 +1,37 @@ +#!/bin/sh -e + +sed_i() { + for file; do :; done + sed "$@" > _ + cat _ > "$file"; rm -f _ +} + +# Remove 'atk-bridge' dependency which removes the 'dbus' dependency. +sed_i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \ + configure + +sed_i '//d;/atk_bridge_adaptor_init/d' \ + gtk/a11y/gtkaccessibility.c + +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-xkb \ + --enable-xinerama \ + --enable-xrandr \ + --enable-xfixes \ + --enable-xcomposite \ + --enable-xdamage \ + --enable-x11-backend \ + --enable-debug=no \ + --disable-schemas-compile \ + --disable-cups \ + --disable-papi \ + --disable-cloudprint \ + --enable-introspection=no \ + --enable-colord=no \ + --enable-gtk-doc-html=no + +make +make DESTDIR="$1" install -- cgit v1.2.3