<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lotjuh&#039;s notes &#187; install on slackware</title>
	<atom:link href="http://notes.lotjuh.winnipeg.nl/tag/install-on-slackware/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.lotjuh.winnipeg.nl</link>
	<description></description>
	<lastBuildDate>Mon, 05 Oct 2009 11:36:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to build Picard on Slackware</title>
		<link>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-picard-on-slackware/</link>
		<comments>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-picard-on-slackware/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 21:47:39 +0000</pubDate>
		<dc:creator>Lotjuh</dc:creator>
				<category><![CDATA[How to's]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install on slackware]]></category>
		<category><![CDATA[picard]]></category>

		<guid isPermaLink="false">http://notes.lotjuh.winnipeg.nl/?p=7</guid>
		<description><![CDATA[Since I&#8217;ve gone through this hell a couple of months ago already, and I&#8217;m about to go through it again, I figured I should write it down this time so I might be easier to do it the next time.
If you wonder what picard is, you can check it out here: PicardTagger
To install Picard, you&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;ve gone through this hell a couple of months ago already, and I&#8217;m about to go through it again, I figured I should write it down this time so I might be easier to do it the next time.</p>
<p>If you wonder what picard is, you can check it out here:<a title="WikiDocs: Picard Tagger" href="http://musicbrainz.org/doc/Picard_Tagger"> PicardTagger</a></p>
<p>To install Picard, you&#8217;ll need the following software</p>
<ul>
<li><a href="http://www.fftw.org/">fftw3</a></li>
<li><a href="https://launchpad.net/ubuntu/karmic/+source/libofa/0.9.3-3">libofa (0.9.2 or later)</a></li>
<li><a title="WikiDocs: libmusicbrainz Download" href="http://musicbrainz.org/doc/libmusicbrainz_Download">Libmusicbrainz 2</a></li>
<li><a href="http://code.google.com/p/mutagen/">mutagen</a></li>
<li><a href="http://ffmpeg.org/download.html">ffmpeg</a></li>
<li><a title="WikiDocs: Picard Download" href="http://musicbrainz.org/doc/Picard_Download">Picard</a></li>
</ul>
<p><span id="more-7"></span></p>
<h3>Building fftw3</h3>
<p>When you build fftw3, make sure you run configure with &#8211;enable-shared since it&#8217;s default set to &#8216;no&#8217;.</p>
<h3>Building libofa</h3>
<p>Building libofa is not as trivial as it seems. Since it&#8217;s quite old, it&#8217;ll need some patches. What I did, was downloading the libofa src from ubuntu and use the ubuntu patches to make it compile.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># wget --no-check-certificate https://launchpad.net/ubuntu/intrepid/+source/libofa/0.9.3-3/+files/libofa_0.9.3.orig.tar.gz<br />
# wget --no-check-certificate https://launchpad.net/ubuntu/intrepid/+source/libofa/0.9.3-3/+files/libofa_0.9.3-3.diff.gz<br />
# tar zxvf libofa_0.9.3.orig.tar.gz<br />
# gunzip libofa_0.9.3-3.diff.gz<br />
# patch -p0 &lt; libofa_0.9.3-3.diff<br />
# cd libofa-0.9.3/<br />
# patch -p1 &lt; debian/patches/01_gcc41.diff<br />
# patch -p1 &lt; debian/patches/02_example-open.diff<br />
# patch -p0 &lt; debian/patches/03_example-size_type.diff<br />
# patch -p0 &lt; debian/patches/04_libofa.pc-deps.diff<br />
# patch -p0 &lt; debian/patches/05_gcc43.diff<br />
# ./configure<br />
# make<br />
# make install</div></div>
<h3>Building libmusicbrainz</h3>
<p>For libmusicbrainz you&#8217;ll have to patch some files as well. A nice overview of files that need to be patched can be found <a href="http://bugs.musicbrainz.org/attachment/ticket/3492/musicbrainz-2.1.5-gcc43-includes.patch">here</a></p>
<p>You&#8217;ll also have to install the python library which you can find in the package it self in the python directory. Just run ./setup.py config ./setup.py build and ./setup.py install.</p>
<h3>Building mutagen</h3>
<p>I downloaded the latest version from mutagen from <a href="http://code.google.com/p/mutagen/downloads/list">the google code project site</a></p>
<p>Just unpack it and run ./setup.py install to install the package</p>
<h3>Building ffmpeg</h3>
<p>When you build ffmpeg, make sure you run configure with &#8211;enable-shared since it&#8217;s default set to &#8216;no&#8217;.</p>
<h3>Installing Picard</h3>
<p>Now you&#8217;ve finally installed all the dependencies, you can install Picard. In my case I&#8217;m installing Picard 0.11 which expect an older ffmpeg install so it needs to be patched as well to be able to find the avcodec.h and avformat.h files. Edit the setup.py file and search for  cfg.set(&#8217;avcodec&#8217;, &#8216;cflags&#8217;, cfg.get(&#8217;avcodec&#8217;, &#8216;cflags&#8217;) + &#8216; -DUSE_OLD_FFMPEG_LOCATIONS&#8217;). You&#8217;ll have to replace it with fg.set(&#8217;avcodec&#8217;, &#8216;cflags&#8217;, cfg.get(&#8217;avcodec&#8217;, &#8216;cflags&#8217;)) and all should be working.</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.lotjuh.winnipeg.nl/howto/how-to-build-picard-on-slackware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

