From 833c0e71c345d19026ec500ba4efe83e9ebe0777 Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Wed, 20 Apr 2011 18:27:17 +0800 Subject: [PATCH] osx: Use jhbuild Macports suck, hopefully it will be the final switch, OS X packaging sucks even more. --- dist/README | 3 ++- dist/osx/README | 46 +++++++++---------------------------------- dist/osx/spek.modules | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 38 deletions(-) create mode 100644 dist/osx/spek.modules diff --git a/dist/README b/dist/README index 4d68888..bcb184e 100644 --- a/dist/README +++ b/dist/README @@ -23,8 +23,9 @@ Spek release checklist * `git tag -a X.Y`. * Upload the tarball + OSX and WIN binaries. * Update the Ubuntu PPA. + * Request FreeBSD and Debian updates. * Upload the website using `web/upload`. * Publish the blog post. * Send an announcement to linux-audio-announce and vala-list. * Update the forum thread on what. - * Ping ArchLinux, Debian and FreeBSD maintainers. + * Ping ArchLinux and Gentoo maintainers. diff --git a/dist/osx/README b/dist/osx/README index f9e91c2..e912975 100644 --- a/dist/osx/README +++ b/dist/osx/README @@ -1,46 +1,18 @@ Building the OS X bundle ======================== -Spek bundle uses packages provided by MacPorts. After installing MacPorts build all dependencies: +Install and configure [jhbuild][1] and [ige-mac-bundler][2]. -$ sudo port install intltool -$ sudo port install vala -$ sudo port install cairo-devel +no_x11 +quartz -$ sudo port install pango +no_x11 +quartz -$ sudo port install gtk2 +no_x11 +quartz -$ sudo port install hicolor-icon-theme -$ sudo port install ffmpeg +no_x11 +no_nonfree -$ sudo port install ige-mac-integration -$ sudo port install ige-mac-bundler +Get the release tarball and unpack it somewhere. Also copy the tarball to ~/gtk/source/pkgs/. -Now make sure Spek builds by running `gmake && src/spek`. +Add this line to ~/.jhbuildrc-custom: -Note that these ports: + moduleset=os.environ['HOME'] + 'path/to/spek/dist/osx/spek.modules' - ige-mac-integration - ffmpeg - gtk2 +Run: -...require this line in their Portfile: + $ jhbuild build spek + $ dist/osx/bundle.sh - configure.ldflags-append -headerpad_max_install_names - -Also, by some reason MacPorts doesn't install /opt/local/lib/charset.alias, -copy it from your favourite Unix flavour. - -Finally, manually install gtk-quartz-engine into /opt/local: - -$ git clone git://github.com/jralls/gtk-quartz-engine.git -$ cd gtk-quartz-engine -$ glibtoolize --force --copy -$ aclocal -$ autoheader -$ automake --add-missing -$ autoconf -$ ./configure --prefix=/opt/local -$ gmake -$ sudo gmake install - -After all dependencies are built just run: - -$ osx/bundle.sh +[1]: http://sourceforge.net/apps/trac/gtk-osx/wiki/Build +[2]: http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle diff --git a/dist/osx/spek.modules b/dist/osx/spek.modules new file mode 100644 index 0000000..158819c --- /dev/null +++ b/dist/osx/spek.modules @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +