Commit babdfe72 authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

[osx] Improve automatic build system for OS X

parent 879f0d59
.build
.home
updater/.cache
updater/.gtk-osx
updater/modulesets
#!/bin/bash
pushd $(dirname $(dirname "$0")) > /dev/null
D=$(pwd -P)
popd > /dev/null
BASED="$D/.build"
HOMED="$D/.home"
SOURCED="$HOMED/source"
INSTALLD="$HOMED/.local"
GTK_OSX_BASE_URL="https://git.gnome.org/browse/gtk-osx/plain/"
JHBUILD_SOURCED="$SOURCED/jhbuild"
if [ -z "$GEDIT_SDK" ]; then
export GEDIT_SDK=10.7
fi
export PATH="$INSTALLD/bin:$PATH"
function do_exit() {
echo "$1"
exit 1
}
if [ ! which git &>/dev/null ]; then
do_exit "You need to have git installed to build gedit for OS X"
fi
if [ ! xcodebuild -version &>/dev/null ]; then
do_exit "You need to have Xcode installed to build gedit for OS X"
fi
function checkout_jhbuild() {
#JHBUILD_REVISION=$(curl -ks "$GTK_OSX_BASE_URL/jhbuild-revision")
#if test x"$JHBUILD_REVISION" = x; then
# do_exit "Could not find jhbuild revision to use."
#fi
mkdir -p $(dirname "$JHBUILD_SOURCED")
git clone git://git.gnome.org/jhbuild "$JHBUILD_SOURCED" || do_exit "Failed to clone jhbuild."
#git --work-tree "$JHBUILD_SOURCED" checkout -b stable $JHBUILD_REVISION || do_exit "Failed to checkout stable jhbuild revision."
}
function build_jhbuild() {
echo "Building jhbuild..."
(cd "$JHBUILD_SOURCED" && ./autogen.sh --prefix="$INSTALLD" && make -f Makefile.plain DISABLE_GETTEXT=1 install) >/dev/null || do_exit "Jhbuild installation failed";
rm -f "$INSTALLD/bin/python2"
cat << PYTHON2 > "$INSTALLD/bin/python2"
#!/bin/bash
exec /usr/bin/python "\$@"
PYTHON2
chmod +x "$INSTALLD/bin/python2"
}
function setup_jhbuildrc() {
echo "Installing jhbuild configuration..."
mkdir -p "$HOMED"
curl -ks "$GTK_OSX_BASE_URL/jhbuildrc-gtk-osx" | \
sed -e 's/^.*PYTHONPATH.*$//g' -e 's/^.*PYTHON_SITE_PACKAGES.*$//g' > "$HOMED/.jhbuildrc" || do_exit "Failed to get jhbuildrc."
rm -f "$HOMED/.jhbuildrc-gedit"
ln -s "$D/config/jhbuildrc-gedit" "$HOMED/.jhbuildrc-gedit" || exit 1
}
function cmd_init() {
mkdir -p "$SOURCED"
if [ ! -d "$JHBUILD_SOURCED" ]; then
checkout_jhbuild
fi
build_jhbuild
setup_jhbuildrc
}
function cmd_bootstrap() {
# Built python once
cmd_jh bootstrap -q python || exit 1
# Built python twice! There is a bug where python somehow manages to link
# its main binary to the system framework library, which then doesn't work...
# Building python again seems to resolve the issue...
cmd_jh bootstrap -q -f -t python python || exit 1
# Bootstrap all the rest
cmd_jh bootstrap -q || exit 1
}
function cmd_jh() {
# Setup our jhbuild environment
export GEDIT_OSX_SOURCE_BASE="$D"
export GEDIT_OSX_BUILD_BASE="$BASED"
export HOME="$HOMED"
export JHB=gedit
"$INSTALLD/bin/jhbuild" -f "$HOMED/.jhbuildrc" "$@"
}
function cmd_shell() {
cmd_jh shell
}
function cmd_all() {
if [ ! -d "$JHBUILD_SOURCED" ]; then
echo "init..."
cmd_init || exit 1
fi
if [ ! -f "$BASED/$GEDIT_SDK/inst/bin/python" ]; then
echo "bootstrap"
cmd_bootstrap || exit 1
fi
cmd_jh build -q
}
commands=()
while read line
do
cmd=${line#declare -f }
if [[ "$cmd" = cmd_* ]]; then
commands+=(${cmd#cmd_})
fi
done < <(declare -F)
cmds=$(printf ", %s" "${commands[@]}")
cmds=${cmds:2}
if [ -z "$1" ]; then
cmd_all
exit 0
fi
cmd="cmd_$1"
if [[ $(type -t "$cmd") != "function" ]]; then
do_exit "Invalid command $1, available commands are: $cmds"
fi
shift 1
"$cmd" "$@"
# -*- mode: python -*-
import sys, os
_gsdk = os.environ.get('GEDIT_SDK', None)
if not _gsdk:
sys.stderr.write("No GEDIT_SDK environment given. Please provide 10.x\n")
sys.exit(1)
_basedir = os.environ['GEDIT_OSX_BUILD_BASE']
if not _basedir:
sys.stderr.write("No GEDIT_OSX_BASE environment given. Please provide the base build directory\n")
sys.exit(1)
_sourcedir = os.environ['GEDIT_OSX_SOURCE_BASE']
if not _sourcedir:
sys.stderr.write("No GEDIT_OSX_SOURCE_BASE environment given. Please provide the base source directory\n")
sys.exit(1)
checkoutroot = os.path.join(_basedir, _gsdk, "source")
prefix = os.path.join(_basedir, _gsdk, "inst")
tarballdir = os.path.join(_basedir, "pkgs")
# Main setup
setup_sdk(target=_gsdk, sdk_version=_gsdk, architectures=['x86_64'])
# Main module set
modulesets_dir = os.path.join(_sourcedir, "modulesets")
moduleset = "gedit.modules"
modules = ["gedit"]
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<moduleset><repository type="tarball" name="xmlsoft.org" href="ftp://xmlsoft.org/libxml2/"/>
<repository type="tarball" name="intltool" href="http://launchpad.net/intltool/trunk/"/>
<repository type="tarball" name="cmake" href="http://www.cmake.org/files/"/>
<repository type="tarball" name="python" href="http://www.python.org/ftp/python/"/>
<repository type="tarball" name="apache.org" href="http://archive.apache.org/dist/"/>
<repository type="tarball" name="pkgconfig" href="http://pkgconfig.freedesktop.org/releases/"/>
<repository type="tarball" name="tukaani.org" href="http://tukaani.org/"/>
<repository type="tarball" name="itstool.org" href="http://files.itstool.org/itstool/"/>
<repository type="tarball" name="sourceforge" href="http://downloads.sourceforge.net/sourceforge/"/>
<repository type="tarball" name="cpan" href="http://search.cpan.org/CPAN/"/>
<repository type="tarball" name="ftp.gnome.org" default="yes" href="ftp://ftp.gnome.org/pub/gnome/sources/"/>
<repository type="tarball" name="oracle" href="http://download.oracle.com/"/>
<repository type="tarball" name="ftp.gnu.org" href="ftp://ftp.gnu.org/gnu/"/>
<autotools id="berkeleydb-nonsrctree" autogen-sh="configure" autogen-template="%(srcdir)s/dist/%(autogen-sh)s --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s">
<branch module="berkeley-db/db-4.8.30.NC.tar.gz" version="4.8.30" repo="oracle">
<patch file="berkeleydb-nonsrctree/atomic.patch" strip="1"/>
</branch>
</autotools>
<autotools id="berkeleydb" autogen-sh="configure" supports-non-srcdir-builds="no" makeargs="-C build_unix" autogen-template="cd build_unix; ../dist/%(autogen-sh)s --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s" makeinstallargs="-C build_unix install">
<branch module="berkeley-db/db-4.8.30.NC.tar.gz" version="4.8.30" repo="oracle">
<patch file="berkeleydb/atomic.patch" strip="1"/>
</branch>
</autotools>
<autotools id="readline" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="readline/readline-6.2.tar.gz" version="6.2">
<patch file="readline/readline62-001" strip="0"/>
<patch file="readline/readline62-002" strip="0"/>
<patch file="readline/readline62-003" strip="0"/>
<patch file="readline/readline62-004" strip="0"/>
</branch>
</autotools>
<autotools id="gettext-runtime" autogen-sh="configure" autogenargs="--without-emacs --disable-java --disable-native-java --disable-libasprintf --disable-csharp">
<branch repo="ftp.gnu.org" source-subdir="gettext-runtime" module="gettext/gettext-0.18.1.1.tar.gz" version="0.18.1.1" size="15139737" md5sum="3dd55b952826d2b32f51308f2f91aa89">
<patch file="gettext-runtime/gettext-bug33999-stpncpy.patch" strip="1"/>
</branch>
</autotools>
<autotools id="python" autogenargs="--enable-shared" autogen-sh="configure">
<branch repo="python" module="2.7.6/Python-2.7.6.tar.xz" version="2.7.6">
</branch>
<dependencies>
<dep package="gettext-runtime"/>
<dep package="readline"/>
</dependencies>
<after>
<dep package="berkeleydb"/>
<dep package="berkeleydb-nonsrctree"/>
</after>
</autotools>
<autotools id="itstool" autogen-sh="autoreconf">
<branch repo="itstool.org" module="itstool-2.0.2.tar.bz2" version="2.0.2" hash="sha256:bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a" size="96748">
<patch file="itstool/itstool.use-correct-libxml.patch" strip="1"/>
</branch>
</autotools>
<autotools id="yelp-xsl" autogen-sh="configure">
<branch module="yelp-xsl/3.12/yelp-xsl-3.12.0.tar.xz" version="3.12.0" hash="sha256:dd0b8af338b1cdae50444273d7c761e3f511224421487311103edc95a4493656" repo="ftp.gnome.org"/>
<dependencies>
<dep package="libxslt"/>
<dep package="libxml2"/>
<dep package="intltool"/>
<dep package="itstool"/>
</dependencies>
</autotools>
<autotools id="libxml2" autogen-sh="configure" autogenargs="--with-python">
<branch version="2.9.0" module="libxml2-2.9.0.tar.gz" repo="xmlsoft.org">
<patch file="libxml2/libxml2-Bug-686118-pthreads_once_init.patch" strip="1"/>
</branch>
<dependencies>
<dep package="python"/>
</dependencies>
</autotools>
<autotools id="apr">
<branch repo="apache.org" module="apr/apr-1.4.5.tar.bz2" version="1.4.5"/>
</autotools>
<autotools id="yelp-tools" autogen-sh="configure">
<branch module="yelp-tools/3.13/yelp-tools-3.13.3.tar.xz" version="3.13.3" hash="sha256:20067061736e3d4ec05fc364a71d8e5d06b230528b6b7a16cb41e03c9bf3b8c6" repo="ftp.gnome.org"/>
<dependencies>
<dep package="libxslt"/>
<dep package="libxml2"/>
<dep package="intltool"/>
<dep package="yelp-xsl"/>
<dep package="itstool"/>
</dependencies>
</autotools>
<autotools id="libxslt" autogen-sh="configure">
<branch version="1.1.27" module="libxslt-1.1.27.tar.gz" repo="xmlsoft.org"/>
<dependencies>
<dep package="libxml2"/>
</dependencies>
</autotools>
<autotools id="apr-util" autogenargs="--with-apr=$PREFIX/bin/apr-1-config">
<branch repo="apache.org" module="apr/apr-util-1.3.12.tar.bz2" version="1.3.12"/>
<dependencies>
<dep package="apr"/>
</dependencies>
</autotools>
<autotools id="intltool" autogen-sh="configure">
<branch repo="intltool" module="0.50.2/+download/intltool-0.50.2.tar.gz" version="0.50.2" hash="md5:23fbd879118253cb99aeac067da5f591"/>
<dependencies>
<dep package="gnome-common"/>
<dep package="perl-xml-parser"/>
</dependencies>
</autotools>
<autotools id="gnome-common">
<branch module="gnome-common/3.12/gnome-common-3.12.0.tar.xz" version="3.12.0" hash="sha256:18712bc2df6b2dd88a11b9f7f874096d1c0c6e7ebc9cfc0686ef963bd590e1d8" repo="ftp.gnome.org"/>
</autotools>
<autotools id="gtk-doc" autogenargs="--disable-scrollkeeper --with-xml-catalog=$JHBUILD_PREFIX/etc/xml/catalog" makeargs="-k -i" makeinstallargs="-k -i install" autogen-sh="configure">
<branch version="1.21" module="gtk-doc/1.21/gtk-doc-1.21.tar.xz" hash="sha256:5d934d012ee08edd1585544792efa80da271652587ba5b843d2cea8e8b80ee3e" repo="ftp.gnome.org"/>
<dependencies>
<dep package="libxslt"/>
<dep package="yelp-tools"/>
</dependencies>
</autotools>
<autotools id="gtk-osx-docbook" autogen-sh="configure" supports-non-srcdir-builds="no">
<branch repo="sourceforge" module="gtk-osx/gtk-osx-docbook-1.1.tar.gz" version="1.1"/>
</autotools>
<perl id="perl-xml-simple">
<branch repo="cpan" module="authors/id/G/GR/GRANTM/XML-Simple-2.20.tar.gz" version="2.20" size="75993" md5sum="4d10964e123b76eca36678464daa63cd"/>
<dependencies>
<dep package="perl-xml-parser"/>
</dependencies>
</perl>
<perl id="perl-xml-parser" makeargs="EXPATLIBPATH=${prefix}/lib EXPATINCPATH=${prefix}/include">
<branch repo="cpan" module="authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz" version="2.41"/>
<dependencies>
<dep package="expat"/>
</dependencies>
</perl>
<autotools id="expat" autogen-sh="configure">
<branch module="expat/expat-2.1.0.tar.gz" version="2.1.0" repo="sourceforge"/>
</autotools>
<autotools id="flex" autogen-sh="configure">
<branch repo="sourceforge" module="flex/flex-2.5.37.tar.bz2" version="2.5.37"/>
</autotools>
<autotools id="bison" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="bison/bison-2.6.3.tar.bz2" version="2.6.3"/>
</autotools>
<autotools id="pkg-config" autogen-sh="configure">
<branch repo="pkgconfig" module="pkg-config-0.25.tar.gz" version="0.25"/>
</autotools>
<autotools id="automake-1.13" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="automake/automake-1.13.1.tar.xz" version="1.13.1"/>
</autotools>
<autotools id="automake-1.12" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="automake/automake-1.12.6.tar.xz" version="1.12.6"/>
</autotools>
<autotools id="automake-1.11" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="automake/automake-1.11.6.tar.xz" version="1.11.6"/>
</autotools>
<autotools id="automake-1.10" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="automake/automake-1.10.3.tar.bz2" version="1.10.3" size="957505" md5sum="b8e67fb458da396bc35555af7ef2b49f"/>
</autotools>
<autotools id="libtool" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="libtool/libtool-2.4.2.tar.gz" version="2.4.2"/>
</autotools>
<autotools id="autoconf" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="autoconf/autoconf-2.69.tar.xz" version="2.69"/>
<dependencies>
<dep package="m4"/>
</dependencies>
</autotools>
<autotools id="m4" autogen-sh="configure">
<branch repo="ftp.gnu.org" module="m4/m4-1.4.16.tar.bz2" version="1.4.16"/>
</autotools>
<autotools id="cmake" autogen-sh="bootstrap" autogen-template="%(srcdir)s/%(autogen-sh)s --prefix=%(prefix)s %(autogenargs)s">
<branch repo="cmake" module="v2.8/cmake-2.8.12.tar.gz" version="2.8.12"/>
</autotools>
<autotools id="gettext-tools" autogen-sh="configure" autogenargs="--without-emacs --disable-java --disable-native-java --disable-libasprintf --disable-csharp --with-included-glib">
<branch repo="ftp.gnu.org" source-subdir="gettext-tools" module="gettext/gettext-0.18.1.1.tar.gz" version="0.18.1.1" size="15139737" md5sum="3dd55b952826d2b32f51308f2f91aa89">
<patch file="gettext-tools/gettext-bug33999-stpncpy.patch" strip="1"/>
</branch>
</autotools>
<autotools id="subversion">
<branch repo="apache.org" module="subversion/subversion-1.5.9.tar.bz2" version="1.5.9"/>
<dependencies>
<dep package="apr-util"/>
</dependencies>
</autotools>
<autotools id="make">
<branch repo="ftp.gnu.org" module="make/make-3.82.tar.gz" version="3.82"/>
</autotools>
<autotools id="xz" autogen-sh="configure">
<branch repo="tukaani.org" module="xz/xz-5.0.4.tar.bz2" version="5.0.4"/>
</autotools>
<metamodule id="meta-bootstrap">
<dependencies>
<dep package="xz"/>
<dep package="make"/> <!-- Needed for Tiger, skipped otherwise -->
<dep package="subversion"/> <!-- Needed for Tiger, skipped otherwise -->
<dep package="gettext-tools"/> <!-- Needed for 64-bit -->
<dep package="cmake"/>
<dep package="m4"/> <!-- Can be skipped for Leopard and later -->
<dep package="autoconf"/>
<dep package="libtool"/>
<dep package="automake-1.10"/>
<dep package="automake-1.11"/>
<dep package="automake-1.12"/>
<dep package="automake-1.13"/>
<dep package="pkg-config"/>
<dep package="bison"/> <!-- included for Tiger, skipped otherwise -->
<dep package="flex"/> <!-- included for Tiger, skipped otherwise -->
<dep package="expat"/>
<dep package="perl-xml-parser"/>
<dep package="perl-xml-simple"/>
<dep package="gtk-osx-docbook"/>
<dep package="gtk-doc"/>
<dep package="gnome-common"/>
<dep package="intltool"/>
</dependencies>
</metamodule>
</moduleset>
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<moduleset><repository type="tarball" name="xmlsoft.org" href="ftp://xmlsoft.org/libxml2/"/>
<repository type="tarball" name="icon-theme" href="http://icon-theme.freedesktop.org/releases/"/>
<repository type="tarball" name="harfbuzz" href="http://www.freedesktop.org/software/harfbuzz/release/"/>
<repository type="tarball" name="cups" href="http://ftp.easysw.com/pub/"/>
<repository type="tarball" name="iso-codes" href="http://pkg-isocodes.alioth.debian.org/downloads/"/>
<repository type="tarball" name="python" href="https://www.python.org/ftp/python/"/>
<repository type="tarball" name="libtiff" href="http://download.osgeo.org/"/>
<repository type="tarball" name="cairographics.org" href="http://cairographics.org/releases/"/>
<repository type="tarball" name="cairographics" href="http://cairographics.org/releases/"/>
<repository type="tarball" name="fontconfig" href="http://www.freedesktop.org/software/fontconfig/release/"/>
<repository type="tarball" name="tango.freedesktop.org" href="http://tango.freedesktop.org/releases/"/>
<repository type="tarball" name="ftp.gnu.org" href="ftp://ftp.gnu.org/gnu/"/>
<repository type="git" name="git.gnome.org" href="git://git.gnome.org/"/>
<repository type="tarball" name="hadess" href="http://freedesktop.org/~hadess/"/>
<repository type="tarball" name="ftp.gnome.org" default="yes" href="ftp://ftp.gnome.org/pub/gnome/sources/"/>
<repository type="tarball" name="abisource/enchant" href="http://www.abisource.com/downloads/enchant/"/>
<repository type="tarball" name="oracle" href="http://download.oracle.com/"/>
<repository type="tarball" name="jpeg" href="http://www.ijg.org/files/"/>
<repository type="tarball" name="sourceforge" href="http://downloads.sourceforge.net/sourceforge/"/>
<repository type="tarball" name="sourceware.org" href="ftp://sourceware.org/pub/"/>
<autotools id="zlib" autogen-sh="configure" skip-autogen="never" supports-non-srcdir-builds="no">
<branch repo="sourceforge" version="1.2.7" module="libpng/zlib-1.2.7.tar.gz"/>
</autotools>
<autotools id="libcroco" autogenargs="--disable-Bsymbolic" autogen-sh="configure">
<branch module="libcroco/0.6/libcroco-0.6.8.tar.xz" version="0.6.8" hash="sha256:ea6e1b858c55219cefd7109756bff5bc1a774ba7a55f7d3ccd734d6b871b8570" repo="ftp.gnome.org"/>
</autotools>
<autotools id="harfbuzz" autogen-sh="configure" autogenargs="--with-coretext">
<branch repo="harfbuzz" module="harfbuzz-0.9.26.tar.bz2" version="0.9.26"/>
<dependencies>
<dep package="freetype"/>
<dep package="fontconfig"/>
<dep package="glib"/>
</dependencies>
</autotools>
<autotools id="freetype" autogen-sh="configure" skip-autogen="never" autogenargs="--without-bzip2">
<branch module="freetype/freetype-2.5.2.tar.gz" version="2.5.2" repo="sourceforge">
</branch>
<dependencies>
<dep package="zlib"/>
</dependencies>
</autotools>
<autotools id="fontconfig" autogen-sh="autoreconf" autogenargs="--disable-docs">
<branch repo="fontconfig" version="2.11.0" module="fontconfig-2.11.0.tar.gz"/>
<dependencies>
<dep package="freetype"/>
</dependencies>
</autotools>
<autotools id="pixman" autogenargs="--disable-gtk" autogen-sh="configure">
<branch version="0.30.2" module="pixman-0.30.2.tar.gz" repo="cairographics" hash="sha1:59cc9cd91a2394b7c0aa90ffc7c141f06d75f066"/>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="gnome-icon-theme" autogen-sh="configure">
<branch module="gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz" version="3.12.0" hash="sha256:359e720b9202d3aba8d477752c4cd11eced368182281d51ffd64c8572b4e503a" repo="ftp.gnome.org"/>
<dependencies>
<dep package="hicolor-icon-theme"/>
<dep package="icon-naming-utils"/>
</dependencies>
</autotools>
<autotools id="librsvg" autogenargs="--disable-Bsymbolic">
<branch module="librsvg/2.40/librsvg-2.40.3.tar.xz" version="2.40.3" hash="sha256:eb2755fe8bf0aa5b439bcf94edc880f08396b4c79fd54c73147df0607c63c98f" repo="ftp.gnome.org"/>
<dependencies>
<dep package="libcroco"/>
</dependencies>
</autotools>
<metamodule id="meta-gtk-osx-freetype">
<dependencies>
<dep package="freetype"/>
<dep package="fontconfig"/>
<dep package="harfbuzz"/>
</dependencies>
</metamodule>
<autotools id="libxml2" autogen-sh="configure" autogenargs="--with-python">
<branch version="2.9.0" module="libxml2-2.9.0.tar.gz" repo="xmlsoft.org">
<patch file="libxml2/libxml2-Bug-686118-pthreads_once_init.patch" strip="1"/>
</branch>
<after>
<dep package="python"/>
<dep package="python3"/>
</after>
</autotools>
<autotools id="libffi" autogenargs="--disable-builddir" autogen-sh="configure">
<branch module="libffi/libffi-3.0.13.tar.gz" repo="sourceware.org" version="3.0.13" checkoutdir="atgreen-libffi-873d687"/>
</autotools>
<autotools id="python" autogenargs="--enable-shared" autogen-sh="configure">
<branch repo="python" module="2.7.6/Python-2.7.6.tar.xz" version="2.7.6">
</branch>
<dependencies>
<dep package="gettext-runtime"/>
<dep package="readline"/>
</dependencies>
<after>
<dep package="berkeleydb"/>
<dep package="berkeleydb-nonsrctree"/>
</after>
</autotools>
<autotools id="cairo" autogen-sh="configure" autogenargs="--enable-pdf --enable-quartz --enable-xlib=no --without-x">
<branch module="cairo-1.12.16.tar.xz" version="1.12.16" repo="cairographics" hash="sha1:4f6e337d5d3edd7ea79d1426f575331552b003ec">
</branch>
<dependencies>
<dep package="pixman"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
<dep package="fontconfig"/>
<dep package="freetype"/>
</after>
</autotools>
<autotools id="berkeleydb-nonsrctree" autogen-sh="configure" autogen-template="%(srcdir)s/dist/%(autogen-sh)s --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s">
<branch module="berkeley-db/db-4.8.30.NC.tar.gz" version="4.8.30" repo="oracle">
<patch file="berkeleydb-nonsrctree/atomic.patch" strip="1"/>
</branch>
</autotools>
<autotools id="berkeleydb" autogen-sh="configure" supports-non-srcdir-builds="no" makeargs="-C build_unix" autogen-template="cd build_unix; ../dist/%(autogen-sh)s --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s" makeinstallargs="-C build_unix install">
<branch module="berkeley-db/db-4.8.30.NC.tar.gz" version="4.8.30" repo="oracle">
<patch file="berkeleydb/atomic.patch" strip="1"/>
</branch>
</autotools>
<autotools id="adwaita-icon-theme" autogen-sh="configure">
<branch module="adwaita-icon-theme/3.13/adwaita-icon-theme-3.13.5.tar.xz" version="3.13.5" hash="sha256:e163f5f7e205b5f5345dd7f2c30d4104f19376217ca90def83b61a9459a62dbc" repo="ftp.gnome.org"/>
<dependencies>
<dep package="hicolor-icon-theme"/>
<dep package="icon-naming-utils"/>
<dep package="librsvg"/>
</dependencies>
</autotools>
<autotools id="gnome-themes-standard" autogen-sh="configure" autogenargs="--disable-gtk2-engine">
<branch module="gnome-themes-standard/3.13/gnome-themes-standard-3.13.4.tar.xz" version="3.13.4" hash="sha256:a1b55eb37c290f406b799572f0f3455fca7af1ec058b7ce36650a2e27af316b3" repo="ftp.gnome.org"/>
<dependencies>
<dep package="librsvg"/>
<dep package="gnome-icon-theme"/>
</dependencies>
</autotools>
<autotools id="icon-naming-utils" autogen-sh="configure">
<branch repo="tango.freedesktop.org" version="0.8.90" module="icon-naming-utils-0.8.90.tar.bz2" hash="md5:dd8108b56130b9eedc4042df634efa66"/>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="gtk+" autogen-sh="autoreconf" autogenargs="--with-gdktarget=quartz --enable-quartz-relocation --disable-introspection">
<branch module="gtk+/2.24/gtk+-2.24.21.tar.xz" version="2.24.21" hash="sha256:302e9216dd19ec4b5b9e2f77275e23758253f7e86b06287284d8e794ef38dce3" repo="ftp.gnome.org">
<!--patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0004-Bug-571582-GtkSelection-implementation-for-quartz.patch" strip="1"/-->
<patch file="gtk+/0008-Implement-GtkDragSourceOwner-pasteboardChangedOwner.patch" strip="1"/>
<patch file="gtk+/0006-Bug-658722-Drag-and-Drop-sometimes-stops-working.patch" strip="1"/>
<patch file="gtk+/gtk+-2-m4-creation.patch" strip="1"/>
</branch>
<dependencies>
<dep package="glib"/>
<dep package="pango"/>
<dep package="atk"/>
<dep package="gdk-pixbuf"/>
<dep package="gobject-introspection"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="gobject-introspection" autogen-sh="configure">
<branch module="gobject-introspection/1.41/gobject-introspection-1.41.4.tar.xz" version="1.41.4" hash="sha256:b26b41283073d8890afab6a64796d164d2a07bfa220daa554285ba0ad240acf9" repo="ftp.gnome.org">
<patch file="gobject-introspection/girscanner-objc.patch" strip="1"/>
</branch>
<dependencies>
<dep package="glib"/>
<dep package="cairo"/>
</dependencies>
<after>
<dep package="python"/>
</after>
</autotools>
<autotools id="gdk-pixbuf" autogen-sh="configure">
<branch module="gdk-pixbuf/2.31/gdk-pixbuf-2.31.0.tar.xz" version="2.31.0" hash="sha256:4121f4258af1a3fde70029396314d31ae54cf8fa2b4ea0bff842acf8f195bd78" repo="ftp.gnome.org"/>
<after>
<dep package="pango"/>
</after>
</autotools>
<autotools id="atk" autogen-sh="configure">
<branch module="atk/2.13/atk-2.13.90.tar.xz" version="2.13.90" hash="sha256:66a1ddf2ee3e8251012d428740549d7ac176135451927bcc4c332e3ed12dfc47" repo="ftp.gnome.org"/>
<dependencies>
</dependencies>
<after>
<dep package="glib"/>
<dep package="glib"/>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="pango" autogen-sh="autoreconf">
<branch version="1.36.6" module="pango/1.36/pango-1.36.6.tar.xz" hash="sha256:4c53c752823723875078b91340f32136aadb99e91c0f6483f024f978a02c8624" repo="ftp.gnome.org">
</branch>
<dependencies>
<dep package="cairo"/>
</dependencies>
<after>
<dep package="gobject-introspection"/>
<dep package="meta-gtk-osx-freetype"/>
<dep package="glib"/>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="libxslt" autogen-sh="configure">
<branch version="1.1.27" module="libxslt-1.1.27.tar.gz" repo="xmlsoft.org"/>
<dependencies>
<dep package="libxml2"/>
</dependencies>
</autotools>
<autotools id="glib" autogen-sh="autoreconf">
<branch module="glib/2.41/glib-2.41.3.tar.xz" version="2.41.3" hash="sha256:10ab9bdeb5c0bbe8ef0ce26ec79ce1887b6967b6ffcce86ee685e86c7c9c7b4f" repo="ftp.gnome.org">
<patch file="glib/0001-Bug-724590-GSlice-slab_stack-corruption.patch" strip="1"/>
</branch>
<dependencies>
<dep package="libffi"/>
</dependencies>
<after>
<dep package="meta-gtk-osx-bootstrap"/>
</after>
</autotools>
<autotools id="pygobject3" autogen-sh="configure --with-python=python3">
<branch version="3.13.90" module="pygobject/3.13/pygobject-3.13.90.tar.xz" hash="sha256:c4c8c62ba5e8c2444d39f501cf8c65ac7c866a73b69348384c9d5567c11d09e9" repo="ftp.gnome.org">
<patch file="pygobject3/pygobject-Merge-multiple-platform-case-statements.patch" strip="1"/>
</branch>
<dependencies>
<dep package="meta-gtk-osx-gtk3"/>
</dependencies>
<after>
<dep package="python"/>
<dep package="python3"/>
</after>
</autotools>
<waf id="pycairo-python3" autogen-sh="configure" python-command="python3">
<branch module="pycairo-1.10.0.tar.bz2" repo="cairographics.org" version="1.10.0" hash="sha1:b4283aa1cc9aafd12fd72ad371303a486da1d014"/>
<dependencies>
<dep package="python3"/>