| 3 | == Manual Steps (Tested on Yosemite VM) == |
| 4 | |
| 5 | 1. Install XCode |
| 6 | 1. https://wiki.gnome.org/Projects/GTK+/OSX/Building |
| 7 | {{{ |
| 8 | wget https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh |
| 9 | sh gtk-osx-build-setup.sh |
| 10 | export PATH=~/.local/bin:~/gtk/inst/bin:$PATH |
| 11 | jhbuild build bootstrap |
| 12 | jhbuild build python |
| 13 | }}} |
| 14 | 1. GTK Bootstrap: |
| 15 | {{{ |
| 16 | jhbuild build meta-gtk-osx-bootstrap |
| 17 | }}} |
| 18 | 1. [https://wiki.gnome.org/Projects/GTK+/OSX/Python PyGTK] (Includes `meta-gtk-osx-core`) |
| 19 | {{{ |
| 20 | jhbuild build libglade |
| 21 | jhbuild build meta-gtk-osx-python |
| 22 | }}} |
| 23 | 1. GTK OSX Themes: |
| 24 | {{{ |
| 25 | jhbuild build meta-gtk-osx-themes |
| 26 | jhbuild build gtk-quartz-engine |
| 27 | }}} |
| 28 | * ''Note:'' [https://www.xpra.org/trac/attachment/ticket/533/quartz-style-fix.patch Quartz patch] if build error: `'height' is uninitialized`. |
| 29 | 1. [https://wiki.gnome.org/Projects/GTK%2B/OSX/Bundling Bundling] |
| 30 | {{{ |
| 31 | wget http://ftp.gnome.org/pub/gnome/sources/gtk-mac-bundler/0.7/gtk-mac-bundler-0.7.4.tar.xz |
| 32 | tar xf gtk-mac-bundler-0.7.4.tar.xz |
| 33 | cd gtk-mac-bundler-0.7.4 |
| 34 | make install |
| 35 | }}} |
| 36 | 1. Build libtorrent and deps using [https://gist.github.com/cas--/d1df3758d6e794c0ca4e libtorrent.modules]: |
| 37 | {{{ |
| 38 | jhbuild -m libtorrent.modules build libtorrent |
| 39 | }}} |
| 40 | * Note 1: Openssl seems to have an issue building with `make -j 2` |
| 41 | * Note 2: Boost install dir issue |
| 42 | 1. [https://pip.pypa.io/en/latest/installing/ Install Python pip] and Deluge dependencies: |
| 43 | {{{ |
| 44 | jhbuild shell |
| 45 | wget https://bootstrap.pypa.io/get-pip.py |
| 46 | python get-pip.py |
| 47 | pip install twisted[tls] chardet mako pyxdg pillow setproctitle |
| 48 | }}} |
| 49 | * Need to check whether building as 'wheel' affects packaging for previous OSX versions. |
| 50 | |
| 51 | == Previous Semi-Automated Guide == |