Picard Qt/Mac Install Guide

From MusicBrainz Wiki
< Picard Qt
Revision as of 22:32, 6 May 2007 by RobertKaye (talk | contribs) ((Imported from MoinMoin))
Jump to navigationJump to search
This page is outdated, some of the steps are not required anymore, some are changed.

Notes

  • CAUTION: Proceed at your own risk. This isn't official yet and is not supported. This document is provided purely for informational purposes and should not be used if you don't know what you're doing.

Installation Steps

Python

Qt4

PyQt4

python configure.py  
make
sudo make install
sudo python configure.py 
sudo make
sudo make install

Mutagen

python setup.py build 
sudo python setup.py install

LibDiscID

./configure 
make
sudo make install

Expat2

./configure --prefix=/usr/local 
// I'm not sure why this is needed; it's working fine for me with the default Makefile; and, on the contrary, LibOfa compilation fails if I rename the library name. Leaving this in in case someone does need it though...
// vi Makefile
// *change ''LIBRARY = libexpat.la'' to ''LIBRARY = libexpatw.la'', save and quit (Esc, w, q, Enter)
make buildlib
sudo make installlib

LibOfa

  • download and extract libofa-0.9.3.tar.gz (direct link) [376 kB]
  • download and extract libtool-1.5.22.tar.gz [2.8 MB]
  • copy ltmain.sh from the libtool dir to the libofa dir (overwrite)
  • (if you tried configuring libofa without copying the libtool's ltmain.sh file, run make clean]
./configure --prefix=/usr/local 
make
sudo make install

ffmpeg

gettext

You need gettext for the localization support when compiling PicardQT

wget ftp://mirrors.kernel.org/gnu/gettext/gettext-0.16.tar.gz
tar -xzvf gettext-0.16.tar.gz
./configure --prefix=/usr/local
make
sudo make install

PicardQt

python setup.py config -I /usr/local/include/ofa1/ -I /usr/local/include/ffmpeg/
rm po/*.po
python setup.py install

And from now just type picard to run the app!

Discussion /Help

  • Does anyone know how to make a shortcut in OS-X to run the picard terminal command? --AaronCooper

Contributions

  • HUGE thanks to luks and warp in #musicbrainz for their help throughout this process.