--- /dev/null
+# -*- mode: python -*-
+
+# All of jhbuild is Python, so there are all sorts of interesting
+# things you can do to customize your build with python commands. This
+# file is treated like a python __init__ file, so you can do all sorts
+# of interesting things in it.
+
+# The URL for repositories can be overridden. This is how you'd set
+# your developer access to an SVN repo. It doesn't work, of course,
+# because gnome has migrated to git.
+#
+# repos["svn.gnome.org"] = "svn+ssh://myusername@svn.gnome.org/svn/"
+
+# You can set the default setup here.
+#
+# _gtk_osx_default_build = "fw-10.4"
+#
+# or set things up with an environment variable:
+
+_jhb = os.environ.get("JHB")
+if _jhb is None:
+ # The default setup...
+ # checkoutroot = os.path.expanduser("~/Source/gtk")
+ # prefix = "/opt/gtk"
+ pass
+elif _jhb == "FW":
+ # The framework build...
+ # checkoutroot = os.path.expanduser("~/Source/gtk-fw")
+ # prefix = "/opt/gtk-fw"
+ pass
+# Do note, though, that jhbuildrc-gtk-osx also uses $JHB to find
+# another customization file that is loaded after this one. You can,
+# of course, define your own environment variables for passing in
+# parameters.
+
+#<include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules"/>
+
+
+# The moduleset can be overridden.
+#
+# moduleset = ["gtk-osx"]
+
+# As can the default modules to build.
+#
+#modules = [ "meta-gtk-osx-core", "meta-gtk-osx-themes"]
+
+# modules = [ "libgee"]
+
+# You can skip modules.
+#
+# skip.append("libglade")
+#
+#or put them back:
+#
+# if "libglade" in skip:
+# skip.remove("libglade")
+
+# Set this to True/False if you want to force using or not building
+# and using python as part of jhbuild. If not set, the script will use
+# the system python when building on 10.5 or newer only.
+#
+# _gtk_osx_use_jhbuild_python = True
+
+
+# In addition, you can override _exec_prefix (used to set $M4 and
+# $LIBTOOLIZE); by default it's set to prefix. You might want to reset
+# it if you want to bootstrap to one directory and build in another
+# (or more likely, several others). Mind that this is fiddly and
+# requires tweaking a bunch of things to get autoconf to consistently
+# find the right m4 files. Not really recommended. Similarly, you can
+# override tarballdir so that you need download tarballs only once for
+# multiple builds. This works just as you'd expect and can save quite
+# a bit of time if you're maintaining several trees.
+
+# _exec_prefix = os.path.join(os.path.expanduser("~"), "Source", "bootstrap")
+# tarballdir = os.path.join(os.path.expanduser("~"), "Source", "Download")
+
+# .jhbuildrc has a master function, setup_sdk(target, sdk_version,
+# [architectures]) which sets up the build environment. You *must*
+# call it or one of the functions (setup_sdk_10_4(),
+# setup_ppc_build(), or setup_universal_build()) in jhbuildrc-custom.
+#
+# Target can be "10.4", "10.5", or "10.6". It sets
+# MACOS_DEPLOYMENT_TARGET and the -macosx-version-min CFLAG.
+#
+# Setup_sdk can be "10.4u", "10.5", "10.6" or "native". "Native" will
+# not set -sysroot in CFLAGS, so headers and dylibs will come from
+# /usr instead of /Developer/SDKs/MacOSX_sdk.10.foo. If you are
+# building for distribution, you probably want to use the lowest SDK
+# which will successfully build you modules. The exception is if you
+# are building under Tiger, because
+# a) You're already using the lowest compatible SDK
+# b) Cups 1.2.12, which you must install to build Gtk+, installs new
+# headers and libraries into /usr but not into
+# /Developer/SDKs/MacOSX_sdk_10.4u.
+#
+# Architectures is a list (pass the arguments in brackets) which can
+# include the values "ppc", "i386", "x86_64", and _default_arch. That
+# last one is a variable and doesn't get quotes. Don't pass multiple
+# arguments directly to setup_sdk, though, because that would build
+# universal and several packages need special handling to build
+# universal. Use setup_universal_build instead. Do note, though, that
+# while setup_universal_build will build successfully, the result will
+# usually crash because of endianness problems with icon caches. Help
+# is welcome to fix this. The special argument _default_arch is a
+# variable set by jhbuildrc depending on what platform you're on. It
+# doesn't set the -arch CFLAG at all, so your architecture will be
+# whatever you get that way. Note that on Snow Leopard, if you are
+# building on a 64-bit processor (Xeon, Core2duo, or one of the Core
+# iFoo procesors), the architecure is x86_64 by default; otherwise
+# it's i386, which is 32-bit. Be sure to read
+# http://sourceforge.net/apps/trac/gtk-osx/wiki/SnowLeopard.
+#
+# Set up a particular target and SDK: For default operation, set the
+# architecture and SDK for the native machine:
+_target = None;
+if _osx_version.startswith("8"):
+ _target = "10.4"
+elif _osx_version.startswith("9"):
+ _target = "10.5"
+elif _osx_version.startswith("10"):
+ _target = "10.6"
+elif _osx_version.startswith("11"):
+ _target = "10.7"
+
+#setup_sdk(target=_target, sdk_version="native", architectures=[_default_arch])
+#
+setup_sdk(target="10.6", sdk_version="10.6", architectures=["i386"])
+#
+# or set up to cross-compile a ppc build from an intel machine:
+#
+# setup_ppc_build()
+#
+# or a universal build:
+#
+# setup_universal_build(target="10.5", sdk_version="10.5",
+# architectures=["ppc", "i386"])
+
+
+# Modify the arguments passed to configure:
+#
+# autogenargs["libglade"] = "--enable-static"
+#
+# or simply add to them:
+#
+# append_autogenargs("libglade", "--enable-static")
+#
+# Note that in either case the args will be added *after* the args in
+# the module's autogenargs attribute.
+#
+# Tell Git to use a different module and branch (not tag!):
+#
+# branches["gtk-engines"] = ("gtk-css-engine", "bzr")
+#
+# Or just switch branches
+#
+# branches["gtk+"] = (None, "gtk-2-18")
+#
+# Tarballs take a whole URL for branches:
+#
+# branches["python"] = "http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2"
+#
+# Note that if the module has hash, md5sum, or size attributes and the
+# branch download doesn't match, jhbuild will error out. Open a shell,
+# untar the tarball yourself, quit the shell, and select "ignore
+# error". Don't try this with modules that need patches unless you're
+# sure that the updated version doesn't need them.
+#
+# Set an environment variable:
+#
+# os.environ["CC"] = "/usr/bin/gcc-4.0"
+
+
+# And more...
+#append_autogenargs ("dbus", "--with-x")
+
+#moduleset = "http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules"
+os.environ['MAKEFLAGS'] = '-j 4'
+moduleset=os.environ['HOME'] + '/moonshot/mac-client-installer/moonshot-mac.modules'
--- /dev/null
+<?xml version="1.0"?><!--*- mode: nxml; indent-tabs-mode: nil -*-->
+<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
+<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
+<moduleset>
+ <repository type="tarball" name="ftp.gnome.org" default="yes"
+ href="http://ftp.gnome.org/pub/GNOME/sources/"/>
+ <repository type="tarball" name="sourceforge"
+ href="http://downloads.sourceforge.net/sourceforge/"/>
+ <repository type="tarball" name="cairographics"
+ href="http://cairographics.org/releases/"/>
+ <repository type="tarball" name="ftp.gnu.org"
+ href="http://ftp.gnu.org/gnu/"/>
+ <repository type="tarball" name="sourceware.org"
+ href="ftp://sourceware.org/pub/"/>
+ <!-- This module set works a bit differently than for example the
+ GNOME ones do. It's split up in seperate pieces:
+
+ - gtk-osx-bootstrap: contains bootstrap-like modules that you
+ don't want to rebuild all the time.
+
+ - gtk-osx.modules: contains the core GTK+ stack. This does not
+ have a hard dependency on the bootstrap modules, in order to
+ make it easy to rebuild the whole core stack without redoing
+ the bootstrap parts. They have a soft, "after", depencency.
+
+ The remaining modules are mostly for testing and might not work
+ all the time:
+
+ - gtk-osx-python.modules: self explaining.
+ - gtk-osx-gtkmm.modules: self explaining.
+ - gtk-osx-gstreamer.modules: self explaining.
+ - gtk-osx-themes.modules: self explaining.
+
+ - gtk-osx-random.modules: "random stuff", has apps for testing GTK+.
+ - gtk-osx-unsupported.modules: more testing stuff, competely unsupported.
+ -->
+
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-bootstrap.modules"/>
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-gstreamer.modules"/>
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-gtkmm.modules"/>
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-python.modules"/>
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-random.modules"/>
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-themes.modules"/>
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-unsupported.modules"/>
+ <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx-universal.modules"/>
+
+ <metamodule id="meta-gtk-osx-core">
+ <dependencies>
+ <dep package="gtk+"/>
+ <dep package="gtk-mac-integration"/>
+ </dependencies>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </metamodule>
+
+ <metamodule id="meta-gtk-osx-gtk3">
+ <dependencies>
+ <dep package="gtk+-3.0"/>
+ <dep package="gtk-mac-integration"/>
+ </dependencies>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </metamodule>
+
+ <autotools id="glib" autogen-sh="configure">
+ <branch module="glib/2.28/glib-2.28.8.tar.bz2" version="2.28.8"
+ hash="sha256:222f3055d6c413417b50901008c654865e5a311c73f0ae918b0a9978d1f9466f"/>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ <dep package="gtk-doc"/>
+ </after>
+ </autotools>
+
+ <autotools id="glib-gtk3" autogen-sh="configure">
+ <branch module="glib/2.30/glib-2.30.1.tar.bz2" version="2.30.1"
+ hash="sha256:4e560319450f31d85b6cdb2b530c3324a510ca04817e360943d0774327d21804"/>
+ <dependencies>
+ <dep package="libffi"/>
+ <dep package="gtk-doc"/>
+ </dependencies>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+ <autotools id="libffi" autogenargs="--disable-builddir">
+ <branch module="libffi/libffi-3.0.10.tar.gz" repo="sourceware.org"
+ version="3.0.10" checkoutdir="atgreen-libffi-873d687"/>
+ </autotools>
+
+
+<!-- PangoFt2 and hence freetype and fontconfig are required by WebKitGtk. -->
+ <autotools id="pango" autogen-sh="configure"
+ autogenargs="--without-x --with-included-modules=basic-atsui"
+ makeargs="-k -C modules; make">
+ <!-- The last version that will build on Tiger is 1.24.5 -->
+ <branch version="1.28.4" module="pango/1.28/pango-1.28.4.tar.bz2"
+ hash="sha256:7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f">
+<!-- <branch version="1.24.5" module="pango/1.24/pango-1.24.5.tar.bz2"
+ hash="sha256:0f733d1ec3e8dafcae152d7ac58f1090bee1fd856176c8fee0e81b0e42392f4e">-->
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/pangoatsui-fontname.patch" strip="1"/>
+ </branch>
+ <dependencies>
+ <dep package="cairo"/>
+ <dep package="fontconfig"/>
+ </dependencies>
+ <after>
+ <dep package="glib"/>
+ <dep package="glib-gtk3"/>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+ <autotools id="pango-gtk3" autogen-sh="configure"
+ autogenargs="--without-x --with-included-modules=basic-atsui"
+ makeargs="-k -C modules; make">
+ <branch version="1.29.4" module="pango/1.29/pango-1.29.4.tar.bz2"
+ hash="sha256:f15deecaecf1e9dcb7db0e4947d12b5bcff112586434f8d30a5afd750747ff2b">
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/pangoatsui-fontname.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Make-ATSUI-backend-compile-again.patch" strip="1"/>
+ </branch>
+ <dependencies>
+ <dep package="cairo"/>
+ <dep package="fontconfig"/>
+ <dep package="glib-gtk3"/>
+ </dependencies>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+ <autotools id="atk" autogen-sh="configure">
+ <branch module="atk/2.2/atk-2.2.0.tar.bz2" version="2.2.0"
+ hash="sha256:d201e3f5808aef0b1aec2277bfa61074f68863e405428adb57a73aab5c838450"/>
+ <dependencies>
+ </dependencies>
+ <after>
+ <dep package="glib"/>
+ <dep package="glib-gtk3"/>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+ <autotools id="gdk-pixbuf">
+ <branch module="gdk-pixbuf/2.24/gdk-pixbuf-2.24.0.tar.bz2" version="2.24.0"
+ hash="sha256:38d2630314e6d91976bffd833236f84fefa440a9038f86dc422820a39f2e3700"/>
+ <after>
+ <dep package="pango"/>
+ </after>
+ </autotools>
+
+ <autotools id="gtk+" autogen-sh="configure"
+ autogenargs="--with-gdktarget=quartz"
+ autogen-template="autoreconf -fis && %(srcdir)s/%(autogen-sh)s --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s">
+ <branch module="gtk+/2.24/gtk+-2.24.6.tar.bz2" version="2.24.6"
+ hash="sha256:6f45bdbf9ea27eb3b5f977d7ee2365dede0d0ce454985680c26e5210163bbf37">
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Backport-acf1345-Fix-refresh-of-static-autorelease_p.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0002-Bug-628396-Gtk-build-fails-because-of-objective-c-el.patch" strip="1"/>
+ <Patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0003-Bug-658772-Implement-relocatable-paths-for-quartz-si.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0004-Bug-571582-GtkSelection-implementation-for-quartz.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0005-Bug-657770-Write-to-released-memory-in-gtkdnd-quartz.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0006-Bug-658722-Drag-and-Drop-sometimes-stops-working.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0007-Bug-658767-Drag-and-Drop-NSEvent-capture-is-racy.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0008-Implement-GtkDragSourceOwner-pasteboardChangedOwner.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0009-Implement-recent-items-in-Filechooser.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0010-Bug-617583-Dead-accents-keys-don-t-work-in-GTK-appli.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0011-bgo-514843-filechooser-Deal-with-corrupted-.gtk-book.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0012-Bug-605799-Option-MOD1-and-Command-SUPER-modifiers-a.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0013-Bug-659406-Abstract-what-triggers-a-context-menu.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0014-Bug-659907-gdk_quartz_draw_opaque_stippled_pattern-c.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0015-Bug-653450-gtkfilechooser-crashes-when-adding-favori.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/gtk+-Bug-655065-autotestkeywords-ldadd.patch" strip="1"/>
+ </branch>
+ <dependencies>
+ <dep package="glib"/>
+ <dep package="pango"/>
+ <dep package="atk"/>
+ <dep package="gdk-pixbuf"/>
+ </dependencies>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+ <autotools id="gtk+-3.0" autogen-sh="configure"
+ autogenargs="--enable-quartz-backend">
+ <branch module="gtk+/3.2/gtk+-3.2.0.tar.bz2" version="3.2.0"
+ hash="sha256:b285074ffefb4ff4364f6dd50fe68c7e85b11293e0c1dd3bdeac56052344dadb">
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug-628936-Minimal-change-to-pass-introspection.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug-658772-Directory-paths-for-resource-directories-.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0002-Quartz-Bug-655057-Eliminate-Compiler-Warning.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0003-Bug-657770-Write-to-released-memory-in-gtkdnd-quartz.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0004-Bug-658767-Drag-and-Drop-NSEvent-capture-is-racy.patch" strip="1"/>
+ <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug-571582-GtkSelection-implementation-for-quartz.patch" strip="1"/>
+ </branch>
+ <dependencies>
+ <dep package="glib-gtk3"/>
+ <dep package="pango-gtk3"/>
+ <dep package="atk"/>
+ <dep package="gdk-pixbuf"/>
+ </dependencies>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+ <autotools id="pixman" autogenargs="--disable-gtk" autogen-sh="configure">
+ <branch version="0.22.2" module="pixman-0.22.2.tar.gz"
+ repo="cairographics"
+ hash="sha1:b42a7aec5119b1e5ce8eed06452645fa3a4892ac"/>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+ <autotools id="cairo" autogen-sh="configure"
+ autogenargs="--enable-pdf --enable-quartz --enable-xlib=no --without-x">
+ <branch module="cairo-1.10.2.tar.gz" version="1.10.2"
+ repo="cairographics"
+ hash="sha1:ccce5ae03f99c505db97c286a0c9a90a926d3c6e"/>
+ <dependencies>
+ <dep package="pixman"/>
+ </dependencies>
+ <after>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ <dep package="fontconfig"/>
+ <dep package="freetype"/>
+ </after>
+ </autotools>
+
+ <autotools id="gtk-mac-integration" autogen-sh="configure"
+ autogenargs="--disable-python">
+ <branch module="gtk-mac-integration/1.0/gtk-mac-integration-1.0.1.tar.bz2"
+ version="1.0.1"
+ hash="sha256:417773d32be5304839f6f917a6ce4637d9a642829105ce8f9527f663830b8089">
+ </branch>
+ <dependencies>
+ </dependencies>
+ <after>
+ <dep package="gtk+"/>
+ <dep package="gtk+-3.0"/>
+ <dep package="meta-gtk-osx-bootstrap"/>
+ </after>
+ </autotools>
+
+</moduleset>