Changes between Version 3 and Version 4 of Development/Packaging/OSX


Ignore:
Timestamp:
09/14/2015 10:29:49 PM (9 years ago)
Author:
Cas
Comment:

add notes on manual build

Legend:

Unmodified
Added
Removed
Modified
  • Development/Packaging/OSX

    v3 v4  
    11= Deluge.app for OSX = 
    22 
     3== Manual Steps (Tested on Yosemite VM) == 
     4 
     5 1. Install XCode 
     6 1. https://wiki.gnome.org/Projects/GTK+/OSX/Building 
     7 {{{ 
     8wget https://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh 
     9sh gtk-osx-build-setup.sh 
     10export PATH=~/.local/bin:~/gtk/inst/bin:$PATH 
     11jhbuild build bootstrap 
     12jhbuild build python 
     13}}} 
     14 1. GTK Bootstrap: 
     15 {{{ 
     16jhbuild build meta-gtk-osx-bootstrap 
     17}}} 
     18 1. [https://wiki.gnome.org/Projects/GTK+/OSX/Python PyGTK] (Includes `meta-gtk-osx-core`) 
     19 {{{ 
     20jhbuild build libglade 
     21jhbuild build meta-gtk-osx-python 
     22}}} 
     23 1. GTK OSX Themes: 
     24 {{{ 
     25jhbuild build meta-gtk-osx-themes 
     26jhbuild 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 {{{ 
     31wget http://ftp.gnome.org/pub/gnome/sources/gtk-mac-bundler/0.7/gtk-mac-bundler-0.7.4.tar.xz 
     32tar xf gtk-mac-bundler-0.7.4.tar.xz 
     33cd gtk-mac-bundler-0.7.4 
     34make install 
     35}}}  
     36 1. Build libtorrent and deps using [https://gist.github.com/cas--/d1df3758d6e794c0ca4e libtorrent.modules]: 
     37 {{{ 
     38jhbuild -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 {{{ 
     44jhbuild shell 
     45wget https://bootstrap.pypa.io/get-pip.py 
     46python get-pip.py 
     47pip 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 == 
    352[[Include(http://git.deluge-torrent.org/deluge/plain/osx/README.rst?h=1.3-stable, text/x-rst)]] 
    453