Picard Qt

From MusicBrainz Wiki
Revision as of 19:01, 12 August 2007 by Dmppanda (talk | contribs) (Lenny w/o am64 notes (Imported from MoinMoin))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
File:picardqt-small.png

PicardQt is a new version of PicardTagger, written using Qt as the GUI toolkit. It also includes implementations of a few new ideas, such as IntuitivePicardInterface or TaggerScript.

Download

  • Alert.png This version has changes that are incompatible with the previous versions, see /ChangeLog before upgrading.

Latest Testing Release - 0.9.0alpha14

  • deb ftp://ftp.musicbrainz.org/pub/musicbrainz/users/luks/ubuntu feisty musicbrainzdeb-src ftp://ftp.musicbrainz.org/pub/musicbrainz/users/luks/ubuntu feisty musicbrainz
  • SUSE/openSUSE RPMs: see below

Development Source Code

The source code is maintained in a Bazaar branch at http://bazaar.launchpad.net/~luks/picard/qt-port/. To download it you need to install Bazaar and run:

bzr branch http://bazaar.launchpad.net/~luks/picard/qt-port/ picard-qt

If you already have the branch and want to update it, use:

bzr pull
  • Ubuntu Feisty: To get the right bazaar version, install package bzr, not bazaar. To build picard-qt from the source, you need to:
    • sudo apt-get install g++ python-dev libexpat-dev python-qt4 python-mutagen
    For all optional features (I think), add: sudo apt-get install libavformat-dev libofa0-dev libgstreamer0.10-dev gstreamer0.10-ffmpeg (This is from my experience, feel free to add anything else you notice. --Bogdanb)

Installation From Source Code

To run Picard you need at least:

Optionally also:

Once you have installed the requirements, you can compile the C extensions:

python setup.py config
<edit build.cfg if neccessary>
python setup.py build_ext -i
python setup.py build_locales -i

And now you can start Picard:

python tagger.py

Mac OS X Installation Notes

A rough installation guide is available here: /MacInstallGuide

The Apple supplied python 2.3 in OSX 10.4.x will not work with picard, and some of the dependencies listed above expect a framework version of python. http://pythonmac.org/packages/ provides a framework python 2.4 which seems to work.

OpenSUSE Installation Notes

For SUSE/OpenSUSE installation, you need to ensure two repositories are added to YAST/Smart/Zypper:

1) GURU's RPM repository. Select the correct repository for your version from the list at Guru's Website (Most SUSE users already have this repository.)

It contains the RPM for Picard-QT.

2) Go to the OpenSUSE Python repository and select the correct repository for your version.

It contains Python-QT4 and other Python RPMs you may need.

Other requirements should already be taken care of by default repositories and GURU's repository.

3) Select picard-qt in YAST/Smart/etc. and install.

4) Run Picard-QT using the command "picard".

Debian Lenny Installation Notes

The simplest installation path is to use the provided repository for sid (deb ftp://ftp.musicbrainz.org/pub/musicbrainz/users/luks/ubuntu sid musicbrainz) - either edit your /etc/apt/sources.list or grab the deb package from there and dpkg it manually). Note, though, that the sid repository is not updated as often as the ubuntu one (so, you may want to try the feisty repo with unpredictable results, or go the source way).

Obviously, you can't (yet) use it on a pure lenny, as some required dependencies are still in sid. Just add sid in your sources list (deb http://ftp.us.debian.org/debian sid main contrib non-free) and maintain a mixed distro. Be dead sure to pin it if you don't want to wake up on a fully-blowned sid!

At that time, the only failing dependency is on python-qt4, so pin it. Something like:

Package: python-qt4
Pin: release a=unstable
Pin-Priority: 2000

Package: *
Pin: release a=testing
Pin-Priority: 1000

Package: *
Pin: release a=unstable
Pin-Priority: 100

Technically, that should do it for the i386 binary package.

If you prefer to roll your own (or if you're on amd64 and have no choice), the same solution (is needed and) does the trick. For what it's worth, here's the full package dependency list:

python2.4, python-central (>= 0.5.8), python (<< 2.5), python (>= 2.4), fftw3, liba52-0.7.4, libavcodec0d (>= 0.cvs20060823), libavformat0d (>= 0.cvs20060823), libc6 (>= 2.5-5), libdc1394-13, libexpat1 (>= 1.95.8), libgcc1 (>= 1:4.2-20070516), libgsm1 (>= 1.0.10), libofa0 (>= 0.9.3), libogg0 (>= 1.1.3), libraw1394-8, libstdc++6 (>= 4.2-20070516), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), zlib1g (>= 1:1.2.1), python-qt4 (>= 4.1), libdiscid0, python-ctypes, python-mutagen (>= 1.9)

Note that you may experience random segfaults on amd64 (reason yet unknown).

See Also