Picard Qt/Mac Install Guide
From MusicBrainz Wiki
Jump to navigationJump to search
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.
- This guide lets you to compile a lot of libraries that are required to enable fingerprinting support in Picard, but in the final step it doesn't use them. If you don't want to use PUIDs, you can skip installing of expat, libofa and ffmpeg. Otherwise you will need to edit build.cfg after running "python setup.py config". If somebody has time to expand the FFmpeg installation step (for example with similar configuration as I use on Windows) and fix the Picard installation step to actually use it, please do so. -- LukasLalinsky 09:34, 06 June 2007 (UTC)
Installation Steps
Python
- download and open python-2.5.1c1-macosx.dmg [17.9 MB]
- run MacPython.mpkg and install Python
Qt4
- download the binary and install http://www.trolltech.com/download?target=ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-4.2.3.dmg [51 MB]
PyQt4
- download and extract sip-4.6.tar.gz [400 kB]
python configure.py make sudo make install
- download and extract PyQt-mac-gpl-4.2.tar.gz [5.4 MB]
python configure.py make sudo make install
Mutagen
- download and extract mutagen-1.10.1.tar.gz [484 kB]
python setup.py build sudo python setup.py install
LibDiscID
- download and extract libdiscid-0.1.1.tar.gz [325 kB]
./configure make sudo make install
Expat2
- download and extract expat-2.0.0.tar.gz [450 kB]
./configure --prefix=/usr/local 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
- You need either Fink or SVN to install ffmpeg. Instructions here: http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html
Note: The configure for ffmpeg in the above document didn't work, but it appears to work with this configure command: ./configure --enable-libmp3lame --enable-static --disable-vhook
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
- download and extract the latest PicardQT version (currently http://musicbrainz.org/ftpmirror/pub/musicbrainz/users/luks/picard-qt/picard-0.9.0alpha11.tar.gz)
python setup.py config -I /usr/local/include:/usr/local/include/ffmpeg/ python setup.py build_ext -i python setup.py install
And from now just type picard to run the app!
Contributions
- HUGE thanks to luks and warp in #musicbrainz for their help throughout this process.