njsmith / partiwm

[defunct] Experiments with window managers in Python + GTK+, including the original version of xpra
GNU General Public License v2.0
22 stars 3 forks source link

anyone could compile xpra and provide a dmg for OSX ? #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. not many people compile stuff on OSX.
2. I'd like to use xpra with xquartz
3. anyone had success under OSX could provide an easy way to install it ?

thank you

Original issue reported on code.google.com by somek...@gmail.com on 28 Feb 2011 at 3:01

GoogleCodeExporter commented 9 years ago
I've been using this on OS X quite a lot (there are some minor issues), here 
are the steps to compile there:

    * Install xcode (macports install told me it required xcode)
    * Install macports
    * Install these things with macports:
          o $> sudo port install python26 py26-pyrex py26-gtk xorg-libXtst py26-nose py26-gobject xorg-libXdamage xorg-libXcomposite xorg-libXtst xorg-libXfixes
    * Download the xpra project files parti-all-0.0.6.tar.gz was the latest at the time of this writing
    * Compile xpra
          o First, setup some environment stuff:
                + $> alias python=/opt/local/bin/python2.6
                + $> export PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
                + $> export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pkgconfig
          o Second, expand the src and compile:
                + $> tar -xzvf parti-all-0.0.6.tar.gz
                + $> cd parti-all-0.0.6
                + $> do-build   ### hopefully this just works ;)
          o Third I copied this to a standard installation area:
                + $> sudo mv install /opt/xpra-0.0.6
                + $> sudo chown -R root:admin /opt/xpra-0.0.6
          o And then I setup the basic information that you need in the .bashrc file (if this is the first time you're doing this, you need to make sure to source this in your .bash_profile file):

#!/bin/bash

alias python=/opt/local/bin/python2.6

PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pytho
n2.6/site-packages
PYTHONPATH=$PYTHONPATH:/opt/xpra-0.0.6/lib/python
export PYTHONPATH

PATH=$PATH:/opt/xpra-0.0.6/bin
export PATH

Original comment by bluejek...@gmail.com on 11 Apr 2011 at 5:22