3 # Check for gettext. Looking to remove completely.
7 for t
in merge update extract perl
; do
8 ln -sf intltool
"intltool-$t"
10 export PATH
="$PWD:$PATH"
12 # Apply any bundled patches.
13 for patch in *.
patch; do
14 patch -Np1 -i "$patch"
17 # Fix the configure script because it likes to double check for intltool.
18 # Force xgettext to be found.
19 # Fix the versioning on mypaint-brushes.
20 sed -e "s/as_fn_error \$? \"XML::Parser.*/echo fixed/" \
21 -e "s/as_fn_error \$? \"itstool.*/echo fixed/" \
22 -e "s/have_required_xgettext=\"no\"/have_required_xgettext=\"yes\"/" \
23 -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' \
31 --libexecdir=/usr
/bin \
33 --mandir=/usr
/share
/man \
34 --enable-default-binary \
38 --disable-vector-icons \
39 --disable-check-update \
48 --without-libbacktrace \
51 --without-javascript \
67 rm -rf "$1/usr/share/gtk-doc"
68 find "$1" -name '*.la' -type f
-exec rm -rf {} +