Picard Qt/Mac Install Guide: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
((Imported from MoinMoin))
 
((Imported from MoinMoin))
Line 3: Line 3:
* 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'''.
* 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 will not help you to compile picard with fingerprinting support. If you don't need it, you can skip installing of expat, libofa and ffmpeg. Otherwise you will need to edit build.cfg after running "python setup.py config". -- [[User:LukasLalinsky|LukasLalinsky]] 06:22, 06 June 2007 (UTC)
* This guide will not help you to compile picard with fingerprinting support. If you don't need it, you can skip installing of expat, libofa and ffmpeg. Otherwise you will need to edit build.cfg after running "python setup.py config". -- [[User:LukasLalinsky|LukasLalinsky]] 06:22, 06 June 2007 (UTC)
<ul><li style="list-style-type:none">This statement is not clear: does this guide help compiling picard *with* fingerprint support or not? There is some inconsistency between "this guide will *not* help" and "If you don't need it". [[Delete When Cooked|DeleteWhenCooked]]. -- [[User:murdos|murdos]]
</ul>


==Installation Steps==
==Installation Steps==
Line 79: Line 81:
===PicardQt===
===PicardQt===


* download and extract the latest PicardQT version (currently [http://ftp.musicbrainz.org/pub/musicbrainz/users/luks/picard-qt/ picard-0.9.0alpha9.tar.gz])
* download and extract the latest PicardQT version (currently [http://musicbrainz.org/ftpmirror/pub/musicbrainz/users/luks/picard-qt/picard-0.9.0alpha11.tar.gz http://musicbrainz.org/ftpmirror/pub/musicbrainz/users/luks/picard-qt/picard-0.9.0alpha11.tar.gz])


<pre>python setup.py config -I /usr/local/include:/usr/local/include/ffmpeg/
<pre>python setup.py config -I /usr/local/include:/usr/local/include/ffmpeg/

Revision as of 09:18, 6 June 2007

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 will not help you to compile picard with fingerprinting support. If you don't need it, you can skip installing of expat, libofa and ffmpeg. Otherwise you will need to edit build.cfg after running "python setup.py config". -- LukasLalinsky 06:22, 06 June 2007 (UTC)
  • This statement is not clear: does this guide help compiling picard *with* fingerprint support or not? There is some inconsistency between "this guide will *not* help" and "If you don't need it". DeleteWhenCooked. -- murdos

Installation Steps

Python

Qt4

PyQt4

python configure.py  
make
sudo make install
python configure.py 
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 
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

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

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.