Picard Qt/Mac Install Guide: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
(ctypes not needed if you use python 2.5 (Imported from MoinMoin)) |
RobertKaye (talk | contribs) (starting to update for mac. switching to qt binaries (Imported from MoinMoin)) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
===Qt4=== |
===Qt4=== |
||
* download and |
* download and install [ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-4.2.3.dmg ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-4.2.3.dmg] [54.0 MB] |
||
<pre>./configure |
|||
⚫ | |||
⚫ | |||
===PyQt4=== |
===PyQt4=== |
||
Line 27: | Line 23: | ||
* download and extract [http://www.riverbankcomputing.com/Downloads/sip4/ sip-4.6.tar.gz] [400 kB] |
* download and extract [http://www.riverbankcomputing.com/Downloads/sip4/ sip-4.6.tar.gz] [400 kB] |
||
<pre>sudo python configure.py |
<pre>sudo python configure.py |
||
make |
make |
||
sudo make install</pre> |
sudo make install</pre> |
||
* download and extract [http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ PyQt-mac-gpl-4.2.tar.gz] [5.4 MB] |
* download and extract [http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ PyQt-mac-gpl-4.2.tar.gz] [5.4 MB] |
||
<pre>sudo python configure.py |
<pre>sudo python configure.py |
||
sudo make |
sudo make |
||
sudo make install</pre> |
sudo make install</pre> |
||
Line 38: | Line 34: | ||
===Mutagen=== |
===Mutagen=== |
||
* download and extract [http://www.sacredchao.net/~piman/software/ mutagen-1. |
* download and extract [http://www.sacredchao.net/~piman/software/ mutagen-1.10.1.tar.gz] [484 kB] |
||
<pre>python setup.py build |
<pre>python setup.py build |
||
Line 55: | Line 51: | ||
* download and extract [http://sourceforge.net/project/showfiles.php?group_id=10127&package_id=10780 expat-2.0.0.tar.gz] [450 kB] |
* download and extract [http://sourceforge.net/project/showfiles.php?group_id=10127&package_id=10780 expat-2.0.0.tar.gz] [450 kB] |
||
<pre>./configure --prefix=/usr |
<pre>./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 |
// vi Makefile |
||
// *change ''LIBRARY = libexpat.la'' to ''LIBRARY = libexpatw.la'', save and quit (Esc, w, q, Enter) |
|||
make buildlib |
|||
sudo make installlib</pre> |
sudo make installlib</pre> |
||
Line 69: | Line 65: | ||
* (if you tried configuring libofa without copying the libtool's ''ltmain.sh'' file, run '''make clean'''] |
* (if you tried configuring libofa without copying the libtool's ''ltmain.sh'' file, run '''make clean'''] |
||
<pre>./configure --prefix=/usr |
<pre>./configure --prefix=/usr/local |
||
make |
make |
||
sudo make install</pre> |
sudo make install</pre> |
||
=== |
===ffmpeg=== |
||
⚫ | |||
* dammit, it looks like we need Fink... :( |
|||
===gettext=== |
|||
⚫ | |||
You need gettext for the localization support when compiling PicardQT <pre>wget ftp://mirrors.kernel.org/gnu/gettext/gettext-0.16.tar.gz |
|||
tar -xzvf gettext-0.16.tar.gz |
|||
./configure --prefix=/usr/local |
|||
⚫ | |||
⚫ | |||
</pre> |
|||
===PicardQt=== |
===PicardQt=== |
||
* download and extract [http://ftp.musicbrainz.org/pub/musicbrainz/users/luks/picard-qt/ picard-0.9. |
* download and extract the latest PicardQT version (currently [http://ftp.musicbrainz.org/pub/musicbrainz/users/luks/picard-qt/ picard-0.9.0alpha8.tar.gz]) |
||
<pre>python setup.py config |
<pre>python setup.py config -I /usr/local/include/ofa1/ -I /usr/local/include/ffmpeg/ |
||
rm po/*.po |
|||
python setup.py install</pre> |
python setup.py install</pre> |
||
And from now just type picard to run the app! |
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? --[[User:AaronCooper|AaronCooper]] |
|||
==Contributions== |
==Contributions== |
Revision as of 23:54, 5 May 2007
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
- download and open python-2.5.1c1-macosx.dmg [17.9 MB]
- run MacPython.mpkg and install Python
Qt4
- download and install ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-4.2.3.dmg [54.0 MB]
PyQt4
- download and extract sip-4.6.tar.gz [400 kB]
sudo python configure.py make sudo make install
- download and extract PyQt-mac-gpl-4.2.tar.gz [5.4 MB]
sudo python configure.py sudo 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 // 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
- You need either Fink or SVN to install ffmpeg. Instructions here: http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html
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 picard-0.9.0alpha8.tar.gz)
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.