Changes between Version 10 and Version 11 of Development/Packaging/OSX


Ignore:
Timestamp:
09/19/2015 12:13:36 PM (9 years ago)
Author:
Cas
Comment:

tweaks to final steps

Legend:

Unmodified
Added
Removed
Modified
  • Development/Packaging/OSX

    v10 v11  
    3838 1. Build libtorrent and deps using [https://gist.github.com/cas--/d1df3758d6e794c0ca4e libtorrent.modules]: 
    3939 {{{ 
    40 wget https://gist.githubusercontent.com/cas--/d1df3758d6e794c0ca4e/raw/libtorrent.modules 
     40wget http://git.deluge-torrent.org/deluge/plain/osx/libtorrent.modules?h=1.3-stable 
    4141jhbuild -m libtorrent.modules build meta_libtorrent  
    4242}}}  
    4343 - OpenSSL will require "Skip Module (2)" when they fail at the end of installing stage as they cannot take advantage of DESTDIR path. 
    4444 - ''Note on OpenSSL Error:'' 'libcrypto is a fat file' is due to mixing arch types (i386, x64) in build process. 
    45  
    46  1. Install Python [https://pip.pypa.io/en/latest/installing/ pip] and Deluge dependencies: 
     45 1. Install Deluge dependencies using [https://pip.pypa.io/en/latest/installing/ pip]: 
    4746 {{{ 
    4847jhbuild shell 
     
    5150pip install twisted[tls] chardet mako pyxdg setproctitle pillow py2app 
    5251}}} 
    53   * Either uninstall `pillow` or [https://bitbucket.org/ronaldoussoren/macholib/pull-requests/10/ patch `MachOGraph.py`] when encountering error `dyld_find() got an unexpected keyword argument 'loader'`. 
    54   * Verify whether building as 'wheel' affects packaging. 
    55  1. Follow `Build Deluge.app` steps below, will require `setup.cfg` file and `osx` directory from git repo. 
     52 1. Install and package Deluge: 
     53  a. If using release tarball download required `setup.cfg` and `osx` directory from git, run commands in deluge source directory: 
     54  {{{ 
     55wget --content-disposition http://git.deluge-torrent.org/deluge/plain/setup.cfg?h=1.3-stable 
     56wget -rnd -np -e robots=off --reject "index.html*" --content-disposition http://git.deluge-torrent.org/deluge/plain/osx/?h=1.3-stable -P osx 
     57}}} 
     58  a. Build and install Deluge using py2app: 
     59 {{{ 
     60jhbuild shell 
     61python setup.py py2app 
     62python setup.py install 
     63}}}    
     64   * For error "dyld_find() got an unexpected keyword argument 'loader'", either uninstall `pillow` or [https://bitbucket.org/ronaldoussoren/macholib/pull-requests/10/ patch `MachOGraph.py`] 
     65  a. Package Deluge into app in `osx/app/` using gtk-mac-bundler script: 
     66 {{{ 
     67cd osx 
     68./make-app 
     69}}} 
     70 1. Optionally create a dmg image: 
     71 {{{ 
     72hdutil create -format UDBZ -subfolder Deluge.app deluge-installer.dmg 
     73}}} 
    5674 
    5775== Previous Semi-Automated Guide ==