Picard Qt / Macports Install

This page has not been reviewed by our documentation team (more info).

Notes

[Testing a new libofa release]

Installation steps

1. Install MacPorts, see [their website] for more information on this. 2. Run this to install some dependencies of PicardQt:

sudo port install expat ffmpeg fftw-3 gettext python_select python25 qt4-mac
3. Activate your newly-built version of Python 2.5, using python_select:
sudo python_select python25
4. Install more dependencies (it is important that you have run python_select before running this command!)
sudo port install py25-hashlib py25-mutagen py25-pyqt4

5. Install (and modify the source code in the process) libofa.

6. Download the PicardQt source, extract it, and apply [this change] if you are running OS X on a PowerPC processor. All it truly requires is replacing the string "OFA_LITTLE_ENDIAN" with the string "OFA_BIG_ENDIAN" in picard/musicdns/ofa.c. This change is required for Picard's PUID generation to work on PPC processors with versions 0.9.0 and 0.10.0rc1. 7. If you've made it this far, you're ready to build and install!

python setup.py config -I /opt/local/include
CFLAGS="-I/opt/local/include/ffmpeg" python setup.py build_ext -i
sudo python setup.py install