Version 9 (modified by Cas, 8 years ago) (diff)

-- for OSX

Manual Steps (Tested on Yosemite VM)

  1. Install XCode
  2. Jhbuild install and update Python:
    export PATH=~/.local/bin:~/gtk/inst/bin:$PATH
    jhbuild build bootstrap
    jhbuild build python
  3. GTK OSX Build:
    jhbuild build meta-gtk-osx-bootstrap
    1. PyGTK (Includes meta-gtk-osx-core)
      jhbuild build libglade
      jhbuild build meta-gtk-osx-python
    2. GTK OSX Themes:
      jhbuild build meta-gtk-osx-themes
      jhbuild build gtk-quartz-engine
  4. Bundler for Packaging Deluge.
    tar xf gtk-mac-bundler-0.7.4.tar.xz
    cd gtk-mac-bundler-0.7.4
    make install
  5. Build libtorrent and deps using libtorrent.modules:
    jhbuild -m libtorrent.modules build meta_libtorrent 
  • OpenSSL will require "Skip Module (2)" when they fail at the end of installing stage as they cannot take advantage of DESTDIR path.
  • Note on OpenSSL Error: 'libcrypto is a fat file' is due to mixing arch types (i386, x64) in build process.
  1. Install Python pip and Deluge dependencies:
    jhbuild shell
    pip install twisted[tls] chardet mako pyxdg setproctitle pillow py2app
    • Either uninstall pillow or patch `` when encountering error dyld_find() got an unexpected keyword argument 'loader'.
    • Verify whether building as 'wheel' affects packaging.
  2. Follow Build steps below, will require setup.cfg file and osx directory from git repo.

Previous Semi-Automated Guide

Error while retrieving file
HTTP Error 404: Not found