<?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>Linux für alle &#187; kubuntu</title>
	<atom:link href="http://www.simplylinux.ch/tag/kubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simplylinux.ch</link>
	<description>Jeder kann Linux beherrschen lernen...</description>
	<lastBuildDate>Thu, 08 Jul 2010 08:37:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Wenn der Netzwerk Manager streikt</title>
		<link>http://www.simplylinux.ch/wenn-der-netzwerk-manager-streikt</link>
		<comments>http://www.simplylinux.ch/wenn-der-netzwerk-manager-streikt#comments</comments>
		<pubDate>Mon, 07 Jun 2010 17:47:06 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[network manager]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=351</guid>
		<description><![CDATA[Ich war heute den ganzen Tage unterwegs und habe natürlich auch mein Netbook mitgehabt. Als ich dann schlussendlich fertig war, habe ich Kubuntu gesagt, es solle runterfahren und habe dann den Notebook-Deckel geschlossen. Zu Hause angekommen, merkte ich, dass es das Netbook noch nicht heruntergefahren hat und es erst mit dem Runterfahren weiterging als ich [...]]]></description>
			<content:encoded><![CDATA[<p>Ich war heute den ganzen Tage unterwegs und habe natürlich auch mein Netbook mitgehabt. Als ich dann schlussendlich fertig war, habe ich Kubuntu gesagt, es solle runterfahren und habe dann den Notebook-Deckel geschlossen. Zu Hause angekommen, merkte ich, dass es das Netbook noch nicht heruntergefahren hat und es erst mit dem Runterfahren weiterging als ich den Deckel wieder geöffnet habe. Nach dem Neustart hatte ich plötzlich keine Netwerkverbindung mehr. Das Netzwerk Applet sagt mir, dass der Manager deaktiviert sei. Mit <em>ifconfig</em> wurden ausser dem lo Interface auch nichts mehr angezeigt.</p>
<p><span id="more-351"></span></p>
<p>Gut, ich habe dann mal manuell in der <em>/etc/network/interfaces</em> manuell das eth0 Interface aktiviert und das Netzwerk neugestartet <em>/etc/init.d/networking restart</em>. So habe ich zumindest mal eine Internetverbindung wieder hergestellt.</p>
<p>Doch wie weiter? Das Ganze war ein richtiges Mysterium für mich. Also habe ich gemacht, was man in diesem Fall halt so macht: Konversation starten, auf Freenode einloggen, in zahlreiche Linux-orientierte Kanäle gehen und das Problem schildern (ich war gnädig und habe nur in #strigi, #konversation, #kde und #kubuntu nachgefragt). Der Grund für strigi und konversation war der, dass dort auch immer ein paar Leute aktiv sind mit grossem Wissen.</p>
<p>In #kubuntu konnte mir dann <em>james147</em> tatsächlich weiterhelfen. Er meint, dass ich mal die folgendes machen solle:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> service network-manager stop
<span class="kw2">sudo</span> <span class="kw2">rm</span> <span class="sy0">/</span>var<span class="sy0">/</span>lib<span class="sy0">/</span>NetworkManager<span class="sy0">/</span>NetworkManager.state
<span class="kw2">sudo</span> service network-manager start</pre></div></div>
<p>Siehe da, es klappt nun alles wieder einwandfrei.</p>
<p>Die Vermutung von <em>james147</em> war, dass der Suspend Modus zwischendurch mal Probleme mit dem Netwzerk gibt und dass der Netzwerk-Manager nicht korrekt gestartet wurde. Durch meine Schilderung was ich getan habe, hat sich dieser Verdacht dann auch bestätigt.</p>
<p>Soeben wurde ich noch auf diesen Bug aufmerksam gemacht: <a href="https://bugs.launchpad.net/kubuntu-de.org-website/+bug/514775">https://bugs.launchpad.net/kubuntu-de.org-website/+bug/514775</a>. Das Problem ist somit wohl bekannt <img src='http://www.simplylinux.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/wenn-der-netzwerk-manager-streikt/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RepoGen Update &#8211; jetzt auch mit Maverick!</title>
		<link>http://www.simplylinux.ch/repogen-update-jetzt-auch-mit-maverick</link>
		<comments>http://www.simplylinux.ch/repogen-update-jetzt-auch-mit-maverick#comments</comments>
		<pubDate>Mon, 07 Jun 2010 17:35:30 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[maverick]]></category>
		<category><![CDATA[RepoGen]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=347</guid>
		<description><![CDATA[Sollte nur kurz mitteilen, dass ich mein RepoGen Tool um Maverick erweitert habe. Natürlich sind dort bei weitem noch nicht alle Repos vorhanden wie unter Lucid, aber es gibt schon einige. Der guten Ordnung halber sei erwähnt, dass Maverick noch eine Alpha Version ist. Also nur zum Testen verwenden und nicht auf einem produktiven System. [...]]]></description>
			<content:encoded><![CDATA[<p>Sollte nur kurz mitteilen, dass ich mein RepoGen Tool um Maverick erweitert habe. Natürlich sind dort bei weitem noch nicht alle Repos vorhanden wie unter Lucid, aber es gibt schon einige.</p>
<p><span id="more-347"></span></p>
<p>Der guten Ordnung halber sei erwähnt, dass Maverick noch eine Alpha Version ist. Also nur zum Testen verwenden und nicht auf einem produktiven System.</p>
<p>Einfach <a href="http://repogen.simplylinux.ch">hier</a> reinschauen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/repogen-update-jetzt-auch-mit-maverick/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kubuntu Karmic 9.10 &amp; Sony Ericsson C905</title>
		<link>http://www.simplylinux.ch/kubuntu-karmic-9-10-sony-ericsson-c905</link>
		<comments>http://www.simplylinux.ch/kubuntu-karmic-9-10-sony-ericsson-c905#comments</comments>
		<pubDate>Wed, 02 Dec 2009 21:38:05 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[C905]]></category>
		<category><![CDATA[Ericsson]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Massenspeicher]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[Speicherkarte]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=291</guid>
		<description><![CDATA[Wie schon unter Jaunty habe ich wiederum Probleme auf die Speicherkarten in meinem Sony Ericsson C905 zugreifen zu können. Wenn ich den Massenspeicher anwähle, dann kann Karmic einfach nicht darauf zugreifen. Die Lösung ist dieselbe wie schon unter Jaunty, aber ich poste das nochmals. Das Problem liegt darin, dass die entsprechenden udev Rules nicht aktiviert [...]]]></description>
			<content:encoded><![CDATA[<p>Wie schon unter Jaunty habe ich wiederum Probleme auf die Speicherkarten in meinem Sony Ericsson C905 zugreifen zu können. Wenn ich den Massenspeicher anwähle, dann kann Karmic einfach nicht darauf zugreifen. Die Lösung ist dieselbe wie schon unter Jaunty, aber ich poste das nochmals.</p>
<p>Das Problem liegt darin, dass die entsprechenden udev Rules nicht aktiviert sind. Kubuntu Karmic kommt zwar mit einem Set <em>/lib/udev/rules.d/60-persistent-storage.rules</em> aber die sind einerseits nicht aktiviert, weil sie nicht in <em>/etc/udev/rules.d/</em> liegen und auch wenn ich es dort rüberkopiere hat es nicht geklappt..</p>
<p><span id="more-291"></span></p>
<p>Die Rules von Arch funktionieren wiederum. </p>
<p>Also zuerst mal schauen, ob überhaupt irgendwelche rules vorhanden sind:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cat</span> <span class="sy0">/</span>etc<span class="sy0">/</span>udev<span class="sy0">/</span>rules.d<span class="sy0">/</span><span class="nu0">60</span>-persistent-storage.rules</pre></div></div>
<p>Wenn da nichts angezeigt wird, dann sind noch keine Rules vorhanden und der folgende Schritt kann ausgeführt werden. Sollte etwas angezeigt werden, dann funktioniert wohl der Massenspeicher, dann zuerst überprüfen ob der Massenspeicher Modus schon funktioniert. Wenn nicht, zuerst ein Backup der Datei machen und dann folgendes ausführen:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">rm</span> <span class="sy0">/</span>etc<span class="sy0">/</span>udev<span class="sy0">/</span>rules.d<span class="sy0">/</span>60-persistent-storage.rules
<span class="kw2">sudo</span> <span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>udev<span class="sy0">/</span>rules.d<span class="sy0">/</span><span class="nu0">60</span>-persistent-storage.rules</pre></div></div>
<p>und in die leere Datei das hier einfügen:</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># do not edit this file, it will be overwritten on update</span>
&nbsp;
<span class="co0"># persistent storage links: /dev/disk/{by-id,by-uuid,by-label,by-path}</span>
<span class="co0"># scheme based on &quot;Linux persistent device names&quot;, 2004, Hannes Reinecke </span>
&nbsp;
<span class="co0"># forward scsi device event to corresponding block device</span>
<span class="co0">#ACTION==&quot;change&quot;, SUBSYSTEM==&quot;scsi&quot;, ENV{DEVTYPE}==&quot;scsi_device&quot;, TEST==&quot;block&quot;, ATTR{block/*/uevent}=&quot;change&quot;</span>
&nbsp;
ACTION<span class="sy0">!</span>=<span class="st0">&quot;add|change&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
SUBSYSTEM<span class="sy0">!</span>=<span class="st0">&quot;block&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># skip rules for inappropriate block devices</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># never access non-cdrom removable ide devices, the drivers are causing event loops on open()</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[!0-9]&quot;</span>, ATTR<span class="br0">&#123;</span>removable<span class="br0">&#125;</span>==<span class="st0">&quot;1&quot;</span>, <span class="re2">DRIVERS</span>==<span class="st0">&quot;ide-cs|ide-floppy&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[0-9]&quot;</span>, ATTRS<span class="br0">&#123;</span>removable<span class="br0">&#125;</span>==<span class="st0">&quot;1&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># ignore partitions that span the entire disk</span>
<span class="re2">TEST</span>==<span class="st0">&quot;whole_disk&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># /sys/class/block will export this</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, ATTR<span class="br0">&#123;</span>range<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>=<span class="st0">&quot;disk&quot;</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, ATTR<span class="br0">&#123;</span>start<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>=<span class="st0">&quot;partition&quot;</span>
&nbsp;
<span class="co0"># for partitions import parent information</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;partition&quot;</span>, IMPORT<span class="br0">&#123;</span>parent<span class="br0">&#125;</span>=<span class="st0">&quot;ID_*&quot;</span>
&nbsp;
<span class="co0"># by-id (hardware serial number)</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[!0-9]&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;ata_id --export <span class="es2">$tempnode</span>&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[!0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_MODEL}_<span class="es2">$env</span>{ID_SERIAL}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;hd*[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_MODEL}_<span class="es2">$env</span>{ID_SERIAL}-part%n&quot;</span>
&nbsp;
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ATTRS<span class="br0">&#123;</span>ieee1394_id<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$attr</span>{ieee1394_id}&quot;</span>, ENV<span class="br0">&#123;</span>ID_BUS<span class="br0">&#125;</span>=<span class="st0">&quot;ieee1394&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, <span class="re2">SUBSYSTEMS</span>==<span class="st0">&quot;usb&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;usb_id --export %p&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;scsi_id --export --whitelisted -d <span class="es2">$tempnode</span>&quot;</span>, ENV<span class="br0">&#123;</span>ID_BUS<span class="br0">&#125;</span>=<span class="st0">&quot;scsi&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;cciss?c[0-9]d[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;scsi_id --export --whitelisted -d <span class="es2">$tempnode</span>&quot;</span>, ENV<span class="br0">&#123;</span>ID_BUS<span class="br0">&#125;</span>=<span class="st0">&quot;cciss&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*|cciss?c[0-9]d[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/<span class="es2">$env</span>{ID_BUS}-<span class="es2">$env</span>{ID_SERIAL}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[0-9]|cciss*p[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/<span class="es2">$env</span>{ID_BUS}-<span class="es2">$env</span>{ID_SERIAL}-part%n&quot;</span>
&nbsp;
<span class="co0"># libata compat (links like hd*)</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[!0-9]|sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_VENDOR<span class="br0">&#125;</span>==<span class="st0">&quot;ATA&quot;</span>, <span class="re2">PROGRAM</span>=<span class="st0">&quot;ata_id <span class="es2">$tempnode</span>&quot;</span>, <span class="re2">RESULT</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_ATA_COMPAT<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$result</span>&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_ATA_COMPAT}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;sd*[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_ATA_COMPAT<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/ata-<span class="es2">$env</span>{ID_ATA_COMPAT}-part%n&quot;</span>
&nbsp;
<span class="re2">KERNEL</span>==<span class="st0">&quot;mmcblk[0-9]&quot;</span>, <span class="re2">SUBSYSTEMS</span>==<span class="st0">&quot;mmc&quot;</span>, ATTRS<span class="br0">&#123;</span>name<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ATTRS<span class="br0">&#123;</span>serial<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_NAME<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$attr</span>{name}&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>=<span class="st0">&quot;<span class="es2">$attr</span>{serial}&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/mmc-<span class="es2">$env</span>{ID_NAME}_<span class="es2">$env</span>{ID_SERIAL}&quot;</span>
<span class="re2">KERNEL</span>==<span class="st0">&quot;mmcblk[0-9]p[0-9]&quot;</span>, ENV<span class="br0">&#123;</span>ID_NAME<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, ENV<span class="br0">&#123;</span>ID_SERIAL<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-id/mmc-<span class="es2">$env</span>{ID_NAME}_<span class="es2">$env</span>{ID_SERIAL}-part%n&quot;</span>
&nbsp;
<span class="co0"># by-path (shortest physical path)</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;disk&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;path_id %p&quot;</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;disk&quot;</span>, ENV<span class="br0">&#123;</span>ID_PATH<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-path/<span class="es2">$env</span>{ID_PATH}&quot;</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;partition&quot;</span>, ENV<span class="br0">&#123;</span>ID_PATH<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-path/<span class="es2">$env</span>{ID_PATH}-part%n&quot;</span>
&nbsp;
<span class="co0"># skip unpartitioned removable media devices from drivers which do not send &quot;change&quot; events</span>
<span class="co0"># ENV{DEVTYPE}==&quot;disk&quot;, KERNEL!=&quot;sd*|sr*&quot;, ATTR{removable}==&quot;1&quot;, GOTO=&quot;persistent_storage_end&quot;</span>
<span class="co0"># skip optical drives without media</span>
&nbsp;
<span class="co0">#XXX</span>
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;partition&quot;</span>, IMPORT<span class="br0">&#123;</span>program<span class="br0">&#125;</span>=<span class="st0">&quot;vol_id --export <span class="es2">$tempnode</span>&quot;</span>
&nbsp;
ENV<span class="br0">&#123;</span>DEVTYPE<span class="br0">&#125;</span>==<span class="st0">&quot;disk&quot;</span>, <span class="re2">KERNEL</span>==<span class="st0">&quot;sr*&quot;</span>, ENV<span class="br0">&#123;</span>ID_CDROM_MEDIA_TRACK_COUNT<span class="br0">&#125;</span><span class="sy0">!</span>=<span class="st0">&quot;?*&quot;</span>, <span class="re2">GOTO</span>=<span class="st0">&quot;persistent_storage_end&quot;</span>
&nbsp;
<span class="co0"># import filesystem metadata</span>
<span class="co0">#IMPORT{program}=&quot;vol_id --export $tempnode&quot;</span>
&nbsp;
<span class="co0"># by-label/by-uuid links (filesystem metadata)</span>
ENV<span class="br0">&#123;</span>ID_FS_USAGE<span class="br0">&#125;</span>==<span class="st0">&quot;filesystem|other|crypto&quot;</span>, ENV<span class="br0">&#123;</span>ID_FS_UUID_ENC<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-uuid/<span class="es2">$env</span>{ID_FS_UUID_ENC}&quot;</span>
ENV<span class="br0">&#123;</span>ID_FS_USAGE<span class="br0">&#125;</span>==<span class="st0">&quot;filesystem|other&quot;</span>, ENV<span class="br0">&#123;</span>ID_FS_LABEL_ENC<span class="br0">&#125;</span>==<span class="st0">&quot;?*&quot;</span>, SYMLINK+=<span class="st0">&quot;disk/by-label/<span class="es2">$env</span>{ID_FS_LABEL_ENC}&quot;</span>
&nbsp;
<span class="re2">LABEL</span>=<span class="st0">&quot;persistent_storage_end&quot;</span></pre></div></div>
<p>Nach dem Reboot funktioniert dann der Massenspeicher wieder und man kann frisch und fröhlich Dateien hin und her kopieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/kubuntu-karmic-9-10-sony-ericsson-c905/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text-To-Speech in Deutsch unter Kubuntu</title>
		<link>http://www.simplylinux.ch/text-to-speech-in-deutsch-unter-kubuntu</link>
		<comments>http://www.simplylinux.ch/text-to-speech-in-deutsch-unter-kubuntu#comments</comments>
		<pubDate>Fri, 20 Nov 2009 13:00:26 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[ktts]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[text-to-speec]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=226</guid>
		<description><![CDATA[Da ich desöfteren verschiedene Dokumente vergleichen muss, von denen ich nicht immer alles digital habe, habe ich nach einer einfachen Möglichkeit gesucht. Mit einem Text-To-Speech kann ich zumindest eine digitale Kopie mir vorlesen lassen und gleichzeitig mit der nicht-digitalen Kopie vergleichen. Nur kommt Kubuntu nicht mit einem deutschen Stimmsyntethisierungspaket (oder wie das auch immer genau [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich desöfteren verschiedene Dokumente vergleichen muss, von denen ich nicht immer alles digital habe, habe ich nach einer einfachen Möglichkeit gesucht. Mit einem Text-To-Speech kann ich zumindest eine digitale Kopie mir vorlesen lassen und gleichzeitig mit der nicht-digitalen Kopie vergleichen.</p>
<p>Nur kommt Kubuntu nicht mit einem deutschen Stimmsyntethisierungspaket (oder wie das auch immer genau heissen mag.<br />
<span id="more-226"></span><br />
Um also von Text-To-Speech auf Ubuntu profitieren zu können, bedarf es einiger weniger Schritte:</p>
<p>(1) Notwendige Pakete installieren<br />
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> kttsd kmouth mbrola <span class="kw2">unzip</span></pre></div></div></p>
<p>(2) Deutsche Stimmen hinzufügen<br />
Canonical hat die deutschen Stimmen noch nicht selbst in den Repos. Deswegen könnt ihr euch eine männliche und weibliche Stimmer hier schnappen:<br />
<a href="http://packages.debian.org/squeeze/mbrola-de6">http://packages.debian.org/squeeze/mbrola-de6</a><br />
<a href="http://packages.debian.org/squeeze/mbrola-de7">http://packages.debian.org/squeeze/mbrola-de7</a><br />
Diese beiden Debian unstable Pakete laufen wunderbar auf Karmic. Also einfach die .debs runterladen (auf den Desktop) und dann ausführen lassen.</p>
<p>(3) txt2pho installieren<br />
Zusätzlich wird nocht txt2pho gebraucht. Dieses ist aber weder unter Ubuntu noch Debian in den Repos zu finden. Die Installation ist aber auch denkbar einfach:<br />
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.skom.uni-bonn.de<span class="sy0">/</span>forschung<span class="sy0">/</span>phonetik<span class="sy0">/</span>sprachsynthese<span class="sy0">/</span>txt2pho<span class="sy0">/</span>txt2pho.zip
<span class="kw2">sudo</span> <span class="kw2">unzip</span> <span class="re5">-d</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span> txt2pho.zip
<span class="kw2">sudo</span> <span class="kw2">chmod</span> +x <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>txt2pho
<span class="kw2">sudo</span> <span class="kw2">cp</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>txt2phorc <span class="sy0">/</span>etc<span class="sy0">/</span>txt2pho</pre></div></div></p>
<p>(4) txt2pho Config anpassen<br />
Damit txt2pho auch läuft, muss dessen Config angepasst werden. Dazu muss nun die /etc/txt2pho editiert werden und dort drinnen die beiden Pfadangaben wie folgt geändert werden:<br />
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re2">DATAPATH</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>data<span class="sy0">/</span>
<span class="re2">INVPATH</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>txt2pho<span class="sy0">/</span>data<span class="sy0">/</span></pre></div></div></p>
<p>(5) kttsmgr einrichten<br />
Zuletzt muss noch kttsmgr gestartet werden, dieser ist im K-Menu zu finden und es wird dann ein Trayicon geladen. Mit rechtsklick darauf, kann man es konfigurieren. Im Reiter &#8220;Talkers&#8221; einen neuen Sprecher hinzufügen, dazu aus dem Menu Deutsch auswählen und als Synthesizer Hadifix nehmen. Als ich es bei mir aufgesetzt habe, hatte ich nur das weibliche Sprachpaket installiert und es hat dann alles direkt übernommen. Sind nun beide Sprachpakete installiert, kommt wahrscheinlich der entsprechend Config Bildschirm für die Sprecher wo dann ausgewählt werden kann.</p>
<p>Wenn also ein Sprecher eingerichtet wurde, dann in den Reiter &#8220;General&#8221; gehen und dort ktts aktivieren.</p>
<p>(6) Unterbrüche in der Wiedergabe<br />
Sollte es zu Unterbrüchen in der Wiedergabe kommen, könnte dies an Phonon liegen. In diesem Fall auf ALSA wechseln (ich habe dies für mich gemacht).</p>
<p>(7) Weitere Probleme<br />
Ich habe festgestellt, dass Umlaute nicht gelesen werden. Ebenso ist mir immer noch schleierhaft, wie ich die Sprecher wechseln kann. In den Jobs habe ich versucht den Sprecher zu wechseln, aber das hat nicht geklappt. Es sind keine gravierenden Dinge, allerdings hätte ich auch gerne mal den männlichen Sprecher gehört ob der mit Umlauten umgehen kann.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/text-to-speech-in-deutsch-unter-kubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VmWare und Kubuntu 9.10 Karmic</title>
		<link>http://www.simplylinux.ch/vmware-und-kubuntu-9-10-karmic</link>
		<comments>http://www.simplylinux.ch/vmware-und-kubuntu-9-10-karmic#comments</comments>
		<pubDate>Thu, 05 Nov 2009 11:13:21 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[eeePC]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware workstation]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=205</guid>
		<description><![CDATA[Da ich letztes Wochenende Kubuntu 9.10 Karmic auf meinem eeePC 1000HE (32 bit) installiert habe, war es dann auch wieder nötig, VmWare drauf zu schmeissen (ich habs gemacht um die Amarok Kompilierung in einem Vanilla Install zu testen). Die Installation von VmWare Worksation 6.5 lief an sich problemlos, nur starte wollte es dann nicht, weil [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich letztes Wochenende Kubuntu 9.10 Karmic auf meinem eeePC 1000HE (32 bit) installiert habe, war es dann auch wieder nötig, VmWare drauf zu schmeissen (ich habs gemacht um die Amarok Kompilierung in einem Vanilla Install zu testen).<br />
<span id="more-205"></span><br />
Die Installation von VmWare Worksation 6.5 lief an sich problemlos, nur starte wollte es dann nicht, weil es (wie so oft zuvor) Probleme mit den Kernelmodulen hat.</p>
<p>Ich habe diesbezüglich all meine vorherigen Optionen ausprobiert (any-any-Patch, Kompilierungsscript for 9.04) doch dies hat alles nichts geholfen. Ich habe die Module einfach nicht zum laufen gekriegt. Also habe ich mir mal die neue Version von VmWare Workstation (7) besorgt und ich muss sagen, ich war positiv überrascht. Zum einen lieft die Deinstallation und Installation von VmWare Workstation ganz ohne Probleme ab und nach der Installation liefen auch die entsprechenden Kernelmodule (oder wurden ohne Probleme von VmWare selbst kompiliert &#8211; ich weiss es nicht mehr genau). Auf jeden Fall musste ich hier nicht mehr manuel Hand anlegen.</p>
<p>Was ich allerdings nicht weiter ausprobiert habe ist, wie es um den Sound steht. Es wäre gut möglich, dass VmWare Workstation 7 inzwischen auch gleichzeit mit dem System die Soundkarte benutzen kann &#8211; aber wie gesagt, ich habe es nicht ausprobiert. Statt dessen habe ich wieder mein übliches Vorgehen gewählt:</p>
<div id="wpshdo_8" class="wp-synhighlighter-outer"><div id="wpshdt_8" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_8"></a><a id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_8" onClick="javascript:wpsh_code(8)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_8" onClick="javascript:wpsh_print(8)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="re5">-i</span>
<span class="kw2">apt-get</span> <span class="kw2">install</span> alsa-oss
<span class="kw2">chmod</span> +s <span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>libaoss.so.<span class="sy0">*</span>
<span class="kw2">mv</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware.orig
<span class="kw3">echo</span> <span class="st_h">'#!/bin/bash'</span> <span class="sy0">&gt;</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware
<span class="kw3">echo</span> <span class="st_h">'LD_PRELOAD=libaoss.so exec /usr/bin/vmware.orig &quot;$@&quot;'</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware
<span class="kw2">chmod</span> +x <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>vmware
<span class="kw3">exit</span></pre></div></div>
<p>Damit läuft der Sound auf jedenfall problemlos.</p>
<p>Ebenfalls habe ich wiederum &#8211; ohne vorher die Standardinstallation zu testen &#8211; die Keymaps folgendermass modifiziert:<br />
<div id="wpshdo_9" class="wp-synhighlighter-outer"><div id="wpshdt_9" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_9"></a><a id="wpshat_9" class="wp-synhighlighter-title" href="#codesyntax_9"  onClick="javascript:wpsh_toggleBlock(9)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_9" onClick="javascript:wpsh_code(9)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_9" onClick="javascript:wpsh_print(9)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">'xkeymap.nokeycodeMap = true'</span> <span class="sy0">&gt;</span> ~<span class="sy0">/</span>.vmware<span class="sy0">/</span>config</pre></div></div></p>
<p>Der Sound und die Keymaps sind inzwischen halt einfach Gewohnheit für mich, wenn das mal jemand testen könnte ohne die Modifikationen und mir entsprechend Feedback geben kann, wäre das auch toll <img src='http://www.simplylinux.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/vmware-und-kubuntu-9-10-karmic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amarok-Git unter Kubuntu 9.10 Karmic selbst kompilieren</title>
		<link>http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren</link>
		<comments>http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren#comments</comments>
		<pubDate>Mon, 02 Nov 2009 06:09:28 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=178</guid>
		<description><![CDATA[Amarok ist ein genialer Musikplayerund für Kubuntu 9.10 Karmic hat es die aktuelle Version (2.2) auch noch in die offiziellen Repos geschafft. Allerding geht die Entwicklung bei Amarok rasend voran und deshalb gibts hier ein kleines Howto wie man Amarok von GIT kompiliert. Das ganze Howto habe ich auf einer Vanilla-Kubuntu 9.10 Karmic Installation durchgeführt. [...]]]></description>
			<content:encoded><![CDATA[<p>Amarok ist ein genialer Musikplayerund für Kubuntu 9.10 Karmic hat es die aktuelle Version (2.2) auch noch in die offiziellen Repos geschafft. Allerding geht die Entwicklung bei Amarok rasend voran und deshalb gibts hier ein kleines Howto wie man Amarok von GIT kompiliert.</p>
<p><span id="more-178"></span><br />
Das ganze Howto habe ich auf einer Vanilla-Kubuntu 9.10 Karmic Installation durchgeführt. Je nachdem wie stark das System modifiziert wurde braucht es Änderungen.</p>
<p>Diese Howto basiert auf dem Howto für Kubuntu 8.10. Allerdings wurden einige Dinge ausgelagert (so auch Wechsel von SVN zu Git) und deshalb gibts wieder eine Schritt-für-Schritt Anleitung.</p>
<p><del datetime="2009-11-26T08:37:13+00:00">WARNUNG<br />
Das neue Code Plugin hat noch einen Fehler und zwar kann es zwei Bindestriche &#8220;- -&#8221; nicht korrekt erkennen und wiedergeben sondern ersetzt diese immer durch &#8220;&# 8211;&#8221;.<br />
Dies muss entsprechend manuell noch geändert werden. Betroffen sind Scrhitt 9 (letzter Teil), Schritt 11 (beim Patch die zweite Zeile. Dort müssen am Anfang 3 Bindestriche rein, also &#8220;- &#8211; -&#8221;), Schritt 12 beim Configure (gleich zweimal in derselbe Codezeile) und Schritt 14.</del></p>
<h2>1: Bisherige Amarok Installation entfernen</h2>
<div id="wpshdo_10" class="wp-synhighlighter-outer"><div id="wpshdt_10" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_10"></a><a id="wpshat_10" class="wp-synhighlighter-title" href="#codesyntax_10"  onClick="javascript:wpsh_toggleBlock(10)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_10" onClick="javascript:wpsh_code(10)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_10" onClick="javascript:wpsh_print(10)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> purge amarok amarok-common</pre></div></div><br />
Anstelle von &#8220;purge&#8221; kann man auch &#8220;remove&#8221; nehmen um so die eigenen Daten weiter aufrecht zu erhalten. Amarok muss entfernt werden, da es sonst Probleme gibt.</p>
<h2>2: Upgraden</h2>
<p>Es wird empfohlen sich zunächst die neusten Pakete zu holen und das System zu aktualisieren:<br />
<div id="wpshdo_11" class="wp-synhighlighter-outer"><div id="wpshdt_11" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_11"></a><a id="wpshat_11" class="wp-synhighlighter-title" href="#codesyntax_11"  onClick="javascript:wpsh_toggleBlock(11)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_11" onClick="javascript:wpsh_code(11)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_11" onClick="javascript:wpsh_print(11)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> update <span class="sy0">&amp;&amp;</span> <span class="kw2">sudo</span> <span class="kw2">apt-get</span> upgrade</pre></div></div>
<h2>3: Benötigte Pakete installieren</h2>
<p>Danach die benötigten Pakete installieren:<br />
<div id="wpshdo_12" class="wp-synhighlighter-outer"><div id="wpshdt_12" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_12"></a><a id="wpshat_12" class="wp-synhighlighter-title" href="#codesyntax_12"  onClick="javascript:wpsh_toggleBlock(12)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_12" onClick="javascript:wpsh_code(12)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_12" onClick="javascript:wpsh_print(12)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_12" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> git-core build-essential kubuntu-restricted-extras kde-devel subversion libncurses5-dev libtag1-dev libqca2-dev libstrigiqtdbusclient-dev libstreamanalyzer-dev</pre></div></div><br />
An sich ist kubuntu-restricted-extras nicht notwendig um Amarok 2 kompiliert zu kriegen, allerdings ohne Codecs wird Amarok auch keine Musik abspielen bzw. Phonon wird das nicht können.</p>
<h2>4: .bashrc und myenv.sh erweitern</h2>
<p>Die .bashrc und myenv.sh Dateien müssen noch erweitert werden. Dazu folgendes im Terminal ausführen:</p>
<p>KDE-Benutzer müssen/sollen das hier ausführen:<br />
<div id="wpshdo_13" class="wp-synhighlighter-outer"><div id="wpshdt_13" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_13"></a><a id="wpshat_13" class="wp-synhighlighter-title" href="#codesyntax_13"  onClick="javascript:wpsh_toggleBlock(13)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_13" onClick="javascript:wpsh_code(13)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_13" onClick="javascript:wpsh_print(13)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_13" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export PATH=$HOME/kde/bin:$PATH'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span><span class="kw2">env</span>
<span class="kw2">touch</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">'export KDEDIR=$HOME/kde'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">'export KDEDIRS=$KDEDIR'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh</pre></div></div></p>
<p>Nicht-KDE-Benutzer müssen das hier ausführen:<br />
<div id="wpshdo_14" class="wp-synhighlighter-outer"><div id="wpshdt_14" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_14"></a><a id="wpshat_14" class="wp-synhighlighter-title" href="#codesyntax_14"  onClick="javascript:wpsh_toggleBlock(14)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_14" onClick="javascript:wpsh_code(14)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_14" onClick="javascript:wpsh_print(14)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_14" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export PATH=$HOME/kde/bin:$PATH'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export KDEDIR=$HOME/kde'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export KDEDIRS=$KDEDIR'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc</pre></div></div></p>
<p>Und mit folgendem überprüfen ob es tatsächlich:<br />
<div id="wpshdo_15" class="wp-synhighlighter-outer"><div id="wpshdt_15" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_15"></a><a id="wpshat_15" class="wp-synhighlighter-title" href="#codesyntax_15"  onClick="javascript:wpsh_toggleBlock(15)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_15" onClick="javascript:wpsh_code(15)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_15" onClick="javascript:wpsh_print(15)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_15" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cat</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw2">cat</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh</pre></div></div><br />
Natürlich müssen die nicht-KDE-Benutzer nur den ersten Befehl ausführen.</p>
<h2>5: .bashrc neu laden</h2>
<p>Nun muss das ganze noch neu geladen werden:<br />
<div id="wpshdo_16" class="wp-synhighlighter-outer"><div id="wpshdt_16" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_16"></a><a id="wpshat_16" class="wp-synhighlighter-title" href="#codesyntax_16"  onClick="javascript:wpsh_toggleBlock(16)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_16" onClick="javascript:wpsh_code(16)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_16" onClick="javascript:wpsh_print(16)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_16" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">source</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc</pre></div></div></p>
<h2>6: Verzeichnisse kreieren</h2>
<p>Nun legt man die folgenden Verzeichnisse an:<br />
<div id="wpshdo_17" class="wp-synhighlighter-outer"><div id="wpshdt_17" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_17"></a><a id="wpshat_17" class="wp-synhighlighter-title" href="#codesyntax_17"  onClick="javascript:wpsh_toggleBlock(17)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_17" onClick="javascript:wpsh_code(17)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_17" onClick="javascript:wpsh_print(17)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_17" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>build<span class="sy0">/</span>amarok</pre></div></div></p>
<h2>7: Amarok (wird gebraucht für MySQL)</h2>
<div id="wpshdo_18" class="wp-synhighlighter-outer"><div id="wpshdt_18" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_18"></a><a id="wpshat_18" class="wp-synhighlighter-title" href="#codesyntax_18"  onClick="javascript:wpsh_toggleBlock(18)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_18" onClick="javascript:wpsh_code(18)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_18" onClick="javascript:wpsh_print(18)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_18" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
git clone git:<span class="sy0">//</span>gitorious.org<span class="sy0">/</span>amarok<span class="sy0">/</span>amarok.git</pre></div></div><br />
Bei mir hat das folgende Revision gegeben: Checked out revision 942886.</p>
<h2>8: MySQL herunterladen</h2>
<p>Da MySQL in Amarok 2 integriert ist, brauchen wir noch die MySQL Quellen. Diese können <a href="http://dev.mysql.com/downloads/mysql/5.1.html#source" target="_blank">hier</a> heruntergeladen werden (natürlich die tar.gz Version). Derzeit ist die aktuelle Version 5.1.32. Damit die nachfolgenden Befehle alle stimmen, muss nach ${HOME}/kde/src heruntergeladen werden.</p>
<p>Alternative kann auch einfach folgendes ausgeführt werden:<br />
<div id="wpshdo_19" class="wp-synhighlighter-outer"><div id="wpshdt_19" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_19"></a><a id="wpshat_19" class="wp-synhighlighter-title" href="#codesyntax_19"  onClick="javascript:wpsh_toggleBlock(19)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_19" onClick="javascript:wpsh_code(19)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_19" onClick="javascript:wpsh_print(19)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_19" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">wget</span> http:<span class="sy0">//</span>dev.mysql.com<span class="sy0">/</span>get<span class="sy0">/</span>Downloads<span class="sy0">/</span>MySQL-<span class="nu0">5.1</span><span class="sy0">/</span>mysql-5.1.40.tar.gz<span class="sy0">/</span>from<span class="sy0">/</span>http:<span class="sy0">//</span>mirror.switch.ch<span class="sy0">/</span>ftp<span class="sy0">/</span>mirror<span class="sy0">/</span>mysql<span class="sy0">/</span></pre></div></div>
<h2>9: MySQL entpacken und installieren</h2>
<p>Dies gilt jetzt natürlich nur, wenn alle Schritte vorher identisch gemacht wurden und MySQL immer noch 5.1.40 ist. Ansonsten muss das geändert werden.<br />
<div id="wpshdo_20" class="wp-synhighlighter-outer"><div id="wpshdt_20" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_20"></a><a id="wpshat_20" class="wp-synhighlighter-title" href="#codesyntax_20"  onClick="javascript:wpsh_toggleBlock(20)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_20" onClick="javascript:wpsh_code(20)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_20" onClick="javascript:wpsh_print(20)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_20" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">tar</span> xzvf mysql-5.1.40.tar.gz
<span class="kw3">cd</span> mysql-5.1.40
<span class="kw2">cp</span> <span class="re5">-R</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok<span class="sy0">/</span>supplementary_scripts<span class="sy0">/</span>mysqle<span class="sy0">/*</span> .</pre></div></div><br />
Solltest du mehr als 1 CPU/Kern haben, musst du noch folgenden Befehl mit der Anzahl Kerne +1 abändern und ausführen. D.h. bei nem Dualcore wäre es &#8220;-j3&#8243; und bei nem Quadcore &#8220;-j5&#8243; (höhere Werte für -j führen seltenerweise zu Probleme. Sollte dies eintreffen, dann einfach -j1 verwenden):<br />
<div id="wpshdo_21" class="wp-synhighlighter-outer"><div id="wpshdt_21" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_21"></a><a id="wpshat_21" class="wp-synhighlighter-title" href="#codesyntax_21"  onClick="javascript:wpsh_toggleBlock(21)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_21" onClick="javascript:wpsh_code(21)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_21" onClick="javascript:wpsh_print(21)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_21" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">MAKEOPTS</span>=-j2</pre></div></div><br />
Danach kann MySQL kompiliert werden (das dauert):<br />
<div id="wpshdo_22" class="wp-synhighlighter-outer"><div id="wpshdt_22" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_22"></a><a id="wpshat_22" class="wp-synhighlighter-title" href="#codesyntax_22"  onClick="javascript:wpsh_toggleBlock(22)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_22" onClick="javascript:wpsh_code(22)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_22" onClick="javascript:wpsh_print(22)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_22" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>build-mysqle.sh <span class="re5">--prefix</span>=<span class="co1">${HOME}</span><span class="sy0">/</span>usr</pre></div></div></p>
<h2>10: taglib-extras kompilieren</h2>
<p>Dies wurde vor kurzem auch aus dem SVN ausgegliedert und muss ebenfalls separat kompiliert werden. Dazu folgendes Schritte ausführen:<br />
<div id="wpshdo_23" class="wp-synhighlighter-outer"><div id="wpshdt_23" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_23"></a><a id="wpshat_23" class="wp-synhighlighter-title" href="#codesyntax_23"  onClick="javascript:wpsh_toggleBlock(23)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_23" onClick="javascript:wpsh_code(23)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_23" onClick="javascript:wpsh_print(23)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_23" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>anonsvn.kde.org<span class="sy0">/</span>home<span class="sy0">/</span>kde<span class="sy0">/</span>trunk<span class="sy0">/</span>kdesupport<span class="sy0">/</span>taglib-extras<span class="sy0">/</span> taglib-extras
<span class="kw3">cd</span> taglib-extras
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build
<span class="kw3">export</span> <span class="re2">LD_LIBRARY_PATH</span>=<span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>build<span class="sy0">/</span>taglib-extras<span class="sy0">/</span>taglib-extras
cmake -DWITH_ASF=On -DWITH_MP4=On -DCMAKE_INSTALL_PREFIX=<span class="co1">${HOME}</span><span class="sy0">/</span>kde ..
<span class="kw2">make</span>
<span class="kw2">make</span> <span class="kw2">install</span></pre></div></div></p>
<h2>11: QtScriptGenerator kompilieren</h2>
<p>Dies wurde ebenfalls ausgeglagert, aber es gibt noch einige Schwierigkeiten dazu. Zuerst einfach mal folgendes ausführen oder sich den aktuellen Code <a href="http://code.google.com/p/qtscriptgenerator/downloads/list" target="_blank">hier</a> besorgen:<br />
<div id="wpshdo_24" class="wp-synhighlighter-outer"><div id="wpshdt_24" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_24"></a><a id="wpshat_24" class="wp-synhighlighter-title" href="#codesyntax_24"  onClick="javascript:wpsh_toggleBlock(24)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_24" onClick="javascript:wpsh_code(24)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_24" onClick="javascript:wpsh_print(24)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_24" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">wget</span> http:<span class="sy0">//</span>qtscriptgenerator.googlecode.com<span class="sy0">/</span>files<span class="sy0">/</span>qtscriptgenerator-src-0.1.0.tar.gz
<span class="kw2">tar</span> xfvz qtscriptgenerator-src-0.1.0.tar.gz
<span class="kw3">cd</span> qtscriptgenerator-src-0.1.0</pre></div></div><br />
Ebenfalls hier ist auf die Versionsnummer zu achten. Die Version 0.1.0 hat allerdings noch Fehler und muss (unter Karmic) gepatcht werden (vgl. <a href="http://code.google.com/p/qtscriptgenerator/issues/detail?id=37" target="_blank">hier</a>). Dazu im qtscriptgenerator-src-0.1.0 Verzeichnis folgendes ausführen:<br />
<div id="wpshdo_25" class="wp-synhighlighter-outer"><div id="wpshdt_25" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_25"></a><a id="wpshat_25" class="wp-synhighlighter-title" href="#codesyntax_25"  onClick="javascript:wpsh_toggleBlock(25)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_25" onClick="javascript:wpsh_code(25)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_25" onClick="javascript:wpsh_print(25)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_25" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> qtscriptgenerator.gcc-4.4.patch</pre></div></div><br />
Und nachfolgenden Text einfügen:<br />
<div id="wpshdo_26" class="wp-synhighlighter-outer"><div id="wpshdt_26" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_26"></a><a id="wpshat_26" class="wp-synhighlighter-title" href="#codesyntax_26"  onClick="javascript:wpsh_toggleBlock(26)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_26" onClick="javascript:wpsh_code(26)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_26" onClick="javascript:wpsh_print(26)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_26" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">diff</span> <span class="re5">-uNr</span> generator.orig<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h generator<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h
<span class="re5">---</span> generator.orig<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h	<span class="nu0">2008</span>-<span class="nu0">12</span>-05 <span class="nu0">11</span>:01:<span class="nu0">44.000000000</span> +0100
+++ generator<span class="sy0">/</span>parser<span class="sy0">/</span>rpp<span class="sy0">/</span>pp.h	<span class="nu0">2008</span>-<span class="nu0">12</span>-<span class="nu0">13</span> <span class="nu0">10</span>:<span class="nu0">42</span>:<span class="nu0">22.000000000</span> +0100
<span class="sy0">@@</span> -<span class="nu0">30</span>,<span class="nu0">6</span> +<span class="nu0">30</span>,<span class="nu0">7</span> <span class="sy0">@@</span>
 <span class="co0">#include &lt;cctype&gt;</span>
&nbsp;
 <span class="co0">#include &lt;fcntl.h&gt;</span>
+<span class="co0">#include &lt;cstdio&gt;</span>
&nbsp;
 <span class="co0">#ifdef HAVE_MMAP</span>
 <span class="co0">#  include &lt;&gt;sys/mman.h&gt;</span></pre></div></div><br />
Die Datei dann speichern und folgenden Befehl ausführen um zu patchen:<br />
<div id="wpshdo_27" class="wp-synhighlighter-outer"><div id="wpshdt_27" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_27"></a><a id="wpshat_27" class="wp-synhighlighter-title" href="#codesyntax_27"  onClick="javascript:wpsh_toggleBlock(27)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_27" onClick="javascript:wpsh_code(27)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_27" onClick="javascript:wpsh_print(27)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_27" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> qtscriptgenerator.gcc-4.4.patch</pre></div></div><br />
Danach kann mit folgenden Befehlen das ganze kompiliert werden. Hier muss zuerst ins Verzeichnis generator rein und dann noch in qtbindings:<br />
<div id="wpshdo_28" class="wp-synhighlighter-outer"><div id="wpshdt_28" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_28"></a><a id="wpshat_28" class="wp-synhighlighter-title" href="#codesyntax_28"  onClick="javascript:wpsh_toggleBlock(28)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_28" onClick="javascript:wpsh_code(28)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_28" onClick="javascript:wpsh_print(28)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_28" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">INCLUDE</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>include<span class="sy0">/</span>qt4
<span class="kw3">cd</span> generator
qmake
<span class="kw2">make</span>
.<span class="sy0">/</span>generator
<span class="kw3">cd</span> ..<span class="sy0">/</span>qtbindings
qmake
<span class="kw2">make</span></pre></div></div><br />
Am Schluss noch die Plugins nach /usr/lib/qt4/plugins/script kopiert werden.<br />
<div id="wpshdo_29" class="wp-synhighlighter-outer"><div id="wpshdt_29" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_29"></a><a id="wpshat_29" class="wp-synhighlighter-title" href="#codesyntax_29"  onClick="javascript:wpsh_toggleBlock(29)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_29" onClick="javascript:wpsh_code(29)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_29" onClick="javascript:wpsh_print(29)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_29" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ..<span class="sy0">/</span>plugins<span class="sy0">/</span>script
<span class="kw2">sudo</span> <span class="kw2">cp</span> <span class="re5">-R</span> <span class="sy0">*</span> <span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>qt4<span class="sy0">/</span>plugins<span class="sy0">/</span>script<span class="sy0">/</span></pre></div></div></p>
<h2>12: Zusätzliche Amarok Plugins vorbereiten</h2>
<p>Zuerst liblastfm, damit man über last.fm scrobbeln kann<br />
<div id="wpshdo_30" class="wp-synhighlighter-outer"><div id="wpshdt_30" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_30"></a><a id="wpshat_30" class="wp-synhighlighter-title" href="#codesyntax_30"  onClick="javascript:wpsh_toggleBlock(30)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_30" onClick="javascript:wpsh_code(30)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_30" onClick="javascript:wpsh_print(30)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_30" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> qt4-qmake pkg-config libsamplerate-dev libfftw3-dev ruby <span class="kw2">g++</span> libqt4-dev
<span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>
<span class="kw2">wget</span> http:<span class="sy0">//</span>cdn.last.fm<span class="sy0">/</span>src<span class="sy0">/</span>liblastfm-0.3.0.tar.bz2
<span class="kw2">tar</span> xvfj liblastfm-0.3.0.tar.bz2
<span class="kw3">cd</span> liblastfm-0.3.0
.<span class="sy0">/</span>configure <span class="re5">--release</span> <span class="re5">--prefix</span> <span class="sy0">/</span>usr<span class="sy0">/</span><span class="kw3">local</span>
<span class="kw2">make</span>
<span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div><br />
Für die restlichen Plugins braucht man nur noch die entsprechenden Pakete zu installieren. Einfach die gewünschten Plugins auswählen und die Zeilen einfügen:<br />
<div id="wpshdo_31" class="wp-synhighlighter-outer"><div id="wpshdt_31" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_31"></a><a id="wpshat_31" class="wp-synhighlighter-title" href="#codesyntax_31"  onClick="javascript:wpsh_toggleBlock(31)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_31" onClick="javascript:wpsh_code(31)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_31" onClick="javascript:wpsh_print(31)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_31" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># libgpod; das erfüllt auch gerade die Voraussetzungen für Gdk</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libgpod4 libgpod-dev
<span class="co0"># libmtp</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libmtp8 libmtp-dev
<span class="co0"># curl</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> curl libcurl4-openssl-dev
<span class="co0"># libxml2</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libxml2 libxml2-dev
<span class="co0"># loudmouth</span>
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libloudmouth1-<span class="nu0">0</span> libloudmouth1-dev</pre></div></div></p>
<h2>13: Amarok kompilieren</h2>
<p>Amarok kann nun endlich kompiliert werden:<br />
<div id="wpshdo_32" class="wp-synhighlighter-outer"><div id="wpshdt_32" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_32"></a><a id="wpshat_32" class="wp-synhighlighter-title" href="#codesyntax_32"  onClick="javascript:wpsh_toggleBlock(32)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_32" onClick="javascript:wpsh_code(32)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_32" onClick="javascript:wpsh_print(32)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_32" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build
cmake -DCMAKE_INSTALL_PREFIX=<span class="co1">${HOME}</span><span class="sy0">/</span>kde -DCMAKE_BUILD_TYPE=debugfull <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok
<span class="kw2">make</span>
<span class="kw2">make</span> <span class="kw2">install</span></pre></div></div><br />
Dies sollte ohne grössere Fehlermeldungen von statten gehen.</p>
<h2>14: KDE Config updaten</h2>
<p>Zuletzt muss noch KDE Config geupdated werden:<br />
<div id="wpshdo_33" class="wp-synhighlighter-outer"><div id="wpshdt_33" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_33"></a><a id="wpshat_33" class="wp-synhighlighter-title" href="#codesyntax_33"  onClick="javascript:wpsh_toggleBlock(33)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_33" onClick="javascript:wpsh_code(33)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_33" onClick="javascript:wpsh_print(33)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_33" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">kbuildsycoca4 <span class="re5">--noincremental</span></pre></div></div></p>
<h2>15: Amarok starten</h2>
<p>Und Amarok kann dann von der Shell aus (ich habs noch nicht anders hingekriegt) mit folgendem Befehl gestartet werden:<br />
<div id="wpshdo_34" class="wp-synhighlighter-outer"><div id="wpshdt_34" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_34"></a><a id="wpshat_34" class="wp-synhighlighter-title" href="#codesyntax_34"  onClick="javascript:wpsh_toggleBlock(34)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_34" onClick="javascript:wpsh_code(34)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_34" onClick="javascript:wpsh_print(34)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_34" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">amarok</pre></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE &amp; Pulseaudio</title>
		<link>http://www.simplylinux.ch/kde-pulseaudio</link>
		<comments>http://www.simplylinux.ch/kde-pulseaudio#comments</comments>
		<pubDate>Thu, 09 Apr 2009 14:48:17 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[no sound]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=87</guid>
		<description><![CDATA[Da ja Jaunty bald als Stable erscheint habe ich mir schon die Beta gezogen. Ich weiss, ziemlich spät diesmal, aber ich hatte vorher keine Lust. Installation lief ohne Probleme, Upgrade auch (siehe Amarok SVN) -&#62; das läuft gut. Nur also ich dann wieder das 64bit Flash 10 Plugin installieren wollte bemerkte ich die ersten Schwierigkeiten. [...]]]></description>
			<content:encoded><![CDATA[<p>Da ja Jaunty bald als Stable erscheint habe ich mir schon die Beta gezogen. Ich weiss, ziemlich spät diesmal, aber ich hatte vorher keine Lust.</p>
<p>Installation lief ohne Probleme, Upgrade auch (siehe Amarok SVN) -&gt; das läuft gut.</p>
<p>Nur also ich dann wieder das 64bit Flash 10 Plugin installieren wollte bemerkte ich die ersten Schwierigkeiten. Video läuft toll, aber kein Sound. Ein bisschen rumgegooglet und der Schuldige ward gefunden: Pulseaudio.<br />
<span id="more-87"></span><br />
Ich habe zahlreiche Lösungen gefunden. Zuerst hat folgendes geklappt:<br />
- das PPA von Luke Yelavich hinzufügen. Das enthält Updates für Pulseaudio und Alsa (findet sich im Repo Generator).<br />
- ~/.asoundrc kreieren:<br />
<div id="wpshdo_35" class="wp-synhighlighter-outer"><div id="wpshdt_35" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_35"></a><a id="wpshat_35" class="wp-synhighlighter-title" href="#codesyntax_35"  onClick="javascript:wpsh_toggleBlock(35)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_35" onClick="javascript:wpsh_code(35)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_35" onClick="javascript:wpsh_print(35)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_35" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">touch</span> ~<span class="sy0">/</span>.asoundrc</pre></div></div></p>
<p>Das hat am Sonntag geklappt, beim nächsten Reboot aber nicht mehr. Dann habe ich folgende Instruktionen gefunden:<br />
- mich zur Gruppe &#8220;audio&#8221; hinzufügen<br />
- asoundconfig ausführen:<br />
<div id="wpshdo_36" class="wp-synhighlighter-outer"><div id="wpshdt_36" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_36"></a><a id="wpshat_36" class="wp-synhighlighter-title" href="#codesyntax_36"  onClick="javascript:wpsh_toggleBlock(36)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_36" onClick="javascript:wpsh_code(36)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_36" onClick="javascript:wpsh_print(36)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_36" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">asoundconf set-pulseaudio</pre></div></div><br />
ausführen</p>
<p>Das hat dann wieder geklappt und es gab dann ein Kernelupdate. Nach dem Reboot klappte es wieder nicht mehr. Jetzt hat mich Pulseaudio so genervt, dass ich es komplett deinstalliert habe. Ich habe dazu Synaptic benutzt und nach &#8220;pulseaudio&#8221; gesucht und alles entfernt bis auf &#8220;libpulse0&#8243;, dort waren jede Menge KDE Abhängigkeiten drin. Ebenfalls habe ich nach Flash gesucht und alles entfernt. Am Schluss habe ich noch folgenden Befehl ausgeführt:<br />
<div id="wpshdo_37" class="wp-synhighlighter-outer"><div id="wpshdt_37" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_37"></a><a id="wpshat_37" class="wp-synhighlighter-title" href="#codesyntax_37"  onClick="javascript:wpsh_toggleBlock(37)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_37" onClick="javascript:wpsh_code(37)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_37" onClick="javascript:wpsh_print(37)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_37" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">pkill pulse</pre></div></div></p>
<p>Jetzt läuft wieder alles gut und ich musste mich dazu nicht mal ausloggen oder neu starten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/kde-pulseaudio/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amarok 2 SVN unter K/X/Ubuntu kompilieren</title>
		<link>http://www.simplylinux.ch/amarok-2-svn-unter-kxubuntu-kompilieren</link>
		<comments>http://www.simplylinux.ch/amarok-2-svn-unter-kxubuntu-kompilieren#comments</comments>
		<pubDate>Sun, 22 Mar 2009 22:25:55 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=67</guid>
		<description><![CDATA[Amarok 2 auf *buntu 8.10 selbst kompilieren Update Dieses Howto ist komplett veraltet, da weitere Sachen aus dem Amarok Repo ausgelagert wurde und weil Amarok selbst einen Wechsel von SVN zu Git durchgeführt hat. Siehe hier für das aktuelle Howto: http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren Einführung Amarok ist ein genialer Musikplayer, allerdings hinken die Repo-Versionen stark hinten drein was [...]]]></description>
			<content:encoded><![CDATA[<h1><del datetime="2009-11-02T18:57:50+00:00">Amarok 2 auf *buntu 8.10 selbst kompilieren</del></h1>
<h2>Update</h2>
<p>Dieses Howto ist komplett veraltet, da weitere Sachen aus dem Amarok Repo ausgelagert wurde und weil Amarok selbst einen Wechsel von SVN zu Git durchgeführt hat. Siehe hier für das aktuelle Howto: <a href="http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren">http://www.simplylinux.ch/amarok-git-unter-kubuntu-9-10-karmic-selbst-kompilieren</a></p>
<h2>Einführung</h2>
<p>Amarok ist ein genialer Musikplayer, allerdings hinken die Repo-Versionen stark hinten drein was Aktualität angeht. Amarok Neon Project baut zwar täglich neue Versionen für deren Repo, aber in letzter Zeit hat das nicht mehr geklappt. Wer einfach ein bisschen eine aktualisiertere Version haben will, soll meinen <a href="http://repogen.simplylinux.ch" target="_blank">Repo Generator</a> benutzen und dort das Neon Projekt auswählen.</p>
<p>Im nachfolgenden Howto werde ich allerdings auch noch ein paar weitere Dinge einbringen. So das Medibuntu Repo mit den w32/w64codecs (kommt halt darauf an, ob man ein 32- oder 64-bit OS installiert hat). Ebenfalls installiere ich auch direkt die kubuntu-restricted-extras. Damit sollten fast alle üblichen Codecs installiert sein.<br />
<span id="more-67"></span><br />
Das ganze Howto habe ich auf einer Vanilla-Kubuntu Installation durchgeführt. Je nachdem wie stark dein System modifiziert wurde braucht es Änderungen.</p>
<p>Ein Dank geht speziell an markey und mamarok aus dem #amarok Channel auf irc.freenode.org und insbesondere auch an folgende Seiten:<br />
<a href="http://amarok.kde.org/blog/archives/833-Installing-Amarok-2-from-SVN-in-your-home-directory.html" target="_blank">Installing Amarok 2 from SVN in your home directory</a><br />
<a href="http://amarok.kde.org/wiki/Development/MySQL_Embedded" target="_blank">Amarok 2 and MySQL Embedded</a></p>
<h2>Jaunty Benutzer</h2>
<p>Für Jaunty Benutzer gibts einige Änderungen.<br />
(1) In Schritt eins muss das Packet &#8220;amarok-enginge-xine&#8221; nicht entfernt werden, da es nicht installiert ist.<br />
(2) In Schritt 13 muss QtScriptGenerator nicht gepatcht werden.<br />
(3) Bevor Amarok in Schritt 16 gestartet wird, muss das System neu gestartet werden.<br />
Ich habe das auf einer Vanially Kubuntu Jaunty 9.04 Beta Installation gestestet und ein Logfile der ganzen Installation angefertigt. Das Log kann <a href="http://www.simplylinux.ch/wp-content/uploads/amarok_installlog.tar.gz">hier</a> heruntergeladen werden. Die entpackte Datei ist 2.5 MB gross und umfasst 30&#8217;000 Zeilen.</p>
<h2>1: Bisherige Amarok Installation entfernen</h2>
<div id="wpshdo_38" class="wp-synhighlighter-outer"><div id="wpshdt_38" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_38"></a><a id="wpshat_38" class="wp-synhighlighter-title" href="#codesyntax_38"  onClick="javascript:wpsh_toggleBlock(38)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_38" onClick="javascript:wpsh_code(38)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_38" onClick="javascript:wpsh_print(38)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_38" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> purge amarok amarok-common amarok-engine-xine</pre></div></div>
<p>Anstelle von &#8220;purge&#8221; kann man auch &#8220;remove&#8221; nehmen um so die eigenen Daten weiter aufrecht zu erhalten. Amarok muss entfernt werden, da es sonst Probleme gibt.</p>
<h2>2: Sources List updaten</h2>
<p>Dazu kann meinen meinen <a href="http://repogen.simplylinux.ch" target="_blank">Repo Generator</a> nehmen. Hier ist wichtig, dass man &#8220;main, restricted, universe, multiverse&#8221;, &#8220;security, updates, proposed, backports&#8221; sowie &#8220;KDE 4.2 PPA, Medibuntu&#8221; nimmt. Medibuntu ist freiwillig, ich kanns aber nur empfehlen.</p>
<p>Dann müsste eine Liste wie unten stehend generiert werden:</p>
<div id="wpshdo_39" class="wp-synhighlighter-outer"><div id="wpshdt_39" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_39"></a><a id="wpshat_39" class="wp-synhighlighter-title" href="#codesyntax_39"  onClick="javascript:wpsh_toggleBlock(39)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_39" onClick="javascript:wpsh_code(39)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_39" onClick="javascript:wpsh_print(39)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_39" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#############################################################</span>
<span class="co0">################### OFFICIAL UBUNTU REPOS ###################</span>
<span class="co0">#############################################################</span>
&nbsp;
<span class="co0">###### Ubuntu Main Repos</span>
deb http:<span class="sy0">//</span>ch.archive.ubuntu.com<span class="sy0">/</span>ubuntu<span class="sy0">/</span> intrepid main restricted universe multiverse
&nbsp;
<span class="co0">###### Ubuntu Update Repos</span>
deb http:<span class="sy0">//</span>ch.archive.ubuntu.com<span class="sy0">/</span>ubuntu<span class="sy0">/</span> intrepid-security main restricted universe multiverse
deb http:<span class="sy0">//</span>ch.archive.ubuntu.com<span class="sy0">/</span>ubuntu<span class="sy0">/</span> intrepid-updates main restricted universe multiverse
deb http:<span class="sy0">//</span>ch.archive.ubuntu.com<span class="sy0">/</span>ubuntu<span class="sy0">/</span> intrepid-proposed main restricted universe multiverse
deb http:<span class="sy0">//</span>ch.archive.ubuntu.com<span class="sy0">/</span>ubuntu<span class="sy0">/</span> intrepid-backports main restricted universe multiverse
&nbsp;
<span class="co0">###### Ubuntu Partner Repo</span>
deb http:<span class="sy0">//</span>archive.canonical.com<span class="sy0">/</span>ubuntu intrepid partner
&nbsp;
<span class="co0">##############################################################</span>
<span class="co0">##################### UNOFFICIAL  REPOS ######################</span>
<span class="co0">##############################################################</span>
&nbsp;
<span class="co0">###### 3rd Party Binary Repos</span>
&nbsp;
<span class="co0">#### KDE 4.2 PPA Repos - http://www.kubuntu.org/news/kde-4.2</span>
<span class="co0">## Run this command: gpg --keyserver keyserver.ubuntu.com --recv-keys 493B3065 &amp;&amp; gpg --export -a 493B3065 | sudo apt-key add -</span>
deb http:<span class="sy0">//</span>ppa.launchpad.net<span class="sy0">/</span>kubuntu-experimental<span class="sy0">/</span>ubuntu intrepid main
&nbsp;
<span class="co0">#### Medibuntu - http://www.medibuntu.org/</span>
<span class="co0">## Run this command: sudo apt-get update &amp;&amp; sudo apt-get install medibuntu-keyring &amp;&amp; sudo apt-get update</span>
deb http:<span class="sy0">//</span>packages.medibuntu.org<span class="sy0">/</span> intrepid <span class="kw2">free</span> non-free</pre></div></div>
<p>Mit dieser Liste dann /etc/apt/sources.list ersetzen oder ergänzen.</p>
<p>Zuletzt noch die GPG-Schlüssel imporiteren:</p>
<div id="wpshdo_40" class="wp-synhighlighter-outer"><div id="wpshdt_40" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_40"></a><a id="wpshat_40" class="wp-synhighlighter-title" href="#codesyntax_40"  onClick="javascript:wpsh_toggleBlock(40)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_40" onClick="javascript:wpsh_code(40)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_40" onClick="javascript:wpsh_print(40)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_40" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">gpg <span class="re5">--keyserver</span> keyserver.ubuntu.com <span class="re5">--recv-keys</span> 493B3065 <span class="sy0">&amp;&amp;</span> gpg <span class="re5">--export</span> <span class="re5">-a</span> 493B3065 <span class="sy0">|</span> <span class="kw2">sudo</span> <span class="kw2">apt-key</span> add -
<span class="kw2">sudo</span> <span class="kw2">apt-get</span> update <span class="sy0">&amp;&amp;</span> <span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> medibuntu-keyring <span class="sy0">&amp;&amp;</span> <span class="kw2">sudo</span> <span class="kw2">apt-get</span> update</pre></div></div>
<h2>3: Upgraden</h2>
<p>Nachdem nun KDE 4.2 vorhanden ist, muss das System geupgraded werden:</p>
<div id="wpshdo_41" class="wp-synhighlighter-outer"><div id="wpshdt_41" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_41"></a><a id="wpshat_41" class="wp-synhighlighter-title" href="#codesyntax_41"  onClick="javascript:wpsh_toggleBlock(41)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_41" onClick="javascript:wpsh_code(41)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_41" onClick="javascript:wpsh_print(41)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_41" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> dist-upgrade</pre></div></div>
<p>Und mit folgendem Befehl kann man noch nicht-länger benötigte Abhängigkeiten beseitigen:</p>
<div id="wpshdo_42" class="wp-synhighlighter-outer"><div id="wpshdt_42" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_42"></a><a id="wpshat_42" class="wp-synhighlighter-title" href="#codesyntax_42"  onClick="javascript:wpsh_toggleBlock(42)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_42" onClick="javascript:wpsh_code(42)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_42" onClick="javascript:wpsh_print(42)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_42" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> autoremove</pre></div></div>
<h2>4: Reboot</h2>
<p>Danach das System rebooten:</p>
<div id="wpshdo_43" class="wp-synhighlighter-outer"><div id="wpshdt_43" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_43"></a><a id="wpshat_43" class="wp-synhighlighter-title" href="#codesyntax_43"  onClick="javascript:wpsh_toggleBlock(43)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_43" onClick="javascript:wpsh_code(43)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_43" onClick="javascript:wpsh_print(43)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_43" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> reboot</pre></div></div>
<h2>5: Benötigte Pakete</h2>
<p>Danach die benötigten Pakete installieren (wer ein 64-bit OS benutzt soll w64codecs anstelle von w32codecs nehmen):</p>
<div id="wpshdo_44" class="wp-synhighlighter-outer"><div id="wpshdt_44" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_44"></a><a id="wpshat_44" class="wp-synhighlighter-title" href="#codesyntax_44"  onClick="javascript:wpsh_toggleBlock(44)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_44" onClick="javascript:wpsh_code(44)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_44" onClick="javascript:wpsh_print(44)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_44" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> kubuntu-restricted-extras w32codecs build-essential kde-devel subversion libmysqlclient15-dev libncurses5-dev libtag1-dev libstrigiqtdbusclient-dev</pre></div></div>
<h2>6: .bashrc und myenv.sh erweitern</h2>
<p>Die .bashrc und myenv.sh Dateien müssen noch erweitert werden. Dazu folgendes im Terminal ausführen:</p>
<p>KDE-Benutzer müssen/sollen das hier ausführen:</p>
<div id="wpshdo_45" class="wp-synhighlighter-outer"><div id="wpshdt_45" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_45"></a><a id="wpshat_45" class="wp-synhighlighter-title" href="#codesyntax_45"  onClick="javascript:wpsh_toggleBlock(45)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_45" onClick="javascript:wpsh_code(45)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_45" onClick="javascript:wpsh_print(45)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_45" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export PATH=$HOME/kde/bin:$PATH'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span><span class="kw2">env</span>
<span class="kw2">touch</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">'export KDEDIR=$HOME/kde'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh
<span class="kw3">echo</span> <span class="st_h">'export KDEDIRS=$KDEDIR'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh</pre></div></div>
<p>Nicht-KDE-Benutzer müssen das hier ausführen:</p>
<div id="wpshdo_46" class="wp-synhighlighter-outer"><div id="wpshdt_46" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_46"></a><a id="wpshat_46" class="wp-synhighlighter-title" href="#codesyntax_46"  onClick="javascript:wpsh_toggleBlock(46)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_46" onClick="javascript:wpsh_code(46)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_46" onClick="javascript:wpsh_print(46)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_46" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st_h">''</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export PATH=$HOME/kde/bin:$PATH'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export KDEDIR=$HOME/kde'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw3">echo</span> <span class="st_h">'export KDEDIRS=$KDEDIR'</span> <span class="sy0">&gt;&gt;</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc</pre></div></div>
<p>Und mit folgendem überprüfen ob es tatsächlich:</p>
<div id="wpshdo_47" class="wp-synhighlighter-outer"><div id="wpshdt_47" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_47"></a><a id="wpshat_47" class="wp-synhighlighter-title" href="#codesyntax_47"  onClick="javascript:wpsh_toggleBlock(47)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_47" onClick="javascript:wpsh_code(47)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_47" onClick="javascript:wpsh_print(47)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_47" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cat</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc
<span class="kw2">cat</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.kde<span class="sy0">/</span>env<span class="sy0">/</span>myenv.sh</pre></div></div>
<p>Natürlich müssen die nicht-KDE-Benutzer nur den ersten Befehl ausführen.</p>
<h2>7: .bashrc neu laden</h2>
<p>Nun muss das ganze noch neu geladen werden:</p>
<div id="wpshdo_48" class="wp-synhighlighter-outer"><div id="wpshdt_48" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_48"></a><a id="wpshat_48" class="wp-synhighlighter-title" href="#codesyntax_48"  onClick="javascript:wpsh_toggleBlock(48)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_48" onClick="javascript:wpsh_code(48)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_48" onClick="javascript:wpsh_print(48)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_48" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">source</span> <span class="co1">${HOME}</span><span class="sy0">/</span>.bashrc</pre></div></div>
<h2>8: Verzeichnisse kreieren</h2>
<p>Nun legt man die folgenden Verzeichnisse an:</p>
<div id="wpshdo_49" class="wp-synhighlighter-outer"><div id="wpshdt_49" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_49"></a><a id="wpshat_49" class="wp-synhighlighter-title" href="#codesyntax_49"  onClick="javascript:wpsh_toggleBlock(49)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_49" onClick="javascript:wpsh_code(49)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_49" onClick="javascript:wpsh_print(49)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_49" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>build<span class="sy0">/</span>amarok</pre></div></div>
<h2>9: Amarok und taglib-extras herunterladen</h2>
<p>Nun müssen noch Amarok und taglib-extras heruntergeladen werden:</p>
<div id="wpshdo_50" class="wp-synhighlighter-outer"><div id="wpshdt_50" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_50"></a><a id="wpshat_50" class="wp-synhighlighter-title" href="#codesyntax_50"  onClick="javascript:wpsh_toggleBlock(50)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_50" onClick="javascript:wpsh_code(50)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_50" onClick="javascript:wpsh_print(50)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_50" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>anonsvn.kde.org<span class="sy0">/</span>home<span class="sy0">/</span>kde<span class="sy0">/</span>trunk<span class="sy0">/</span>extragear<span class="sy0">/</span>multimedia<span class="sy0">/</span>amarok amarok
<span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>anonsvn.kde.org<span class="sy0">/</span>home<span class="sy0">/</span>kde<span class="sy0">/</span>trunk<span class="sy0">/</span>kdesupport<span class="sy0">/</span>taglib-extras<span class="sy0">/</span> taglib-extras</pre></div></div>
<p>Bei mir hat das folgende Revision gegeben: Checked out revision 942886.</p>
<h2>10: MySQL herunterladen</h2>
<p>Da MySQL in Amarok 2 integriert ist, brauchen wir noch die MySQL Quellen. Diese können <a href="http://dev.mysql.com/downloads/mysql/5.1.html#source" target="_blank">hier</a> heruntergeladen werden (natürlich die tar.gz Version). Derzeit ist die aktuelle Version 5.1.32. Damit die nachfolgenden Befehle alle stimmen, muss nach ${HOME}/kde/src heruntergeladen werden.</p>
<p>Alternative kann auch einfach folgendes ausgeführt werden:</p>
<div id="wpshdo_51" class="wp-synhighlighter-outer"><div id="wpshdt_51" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_51"></a><a id="wpshat_51" class="wp-synhighlighter-title" href="#codesyntax_51"  onClick="javascript:wpsh_toggleBlock(51)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_51" onClick="javascript:wpsh_code(51)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_51" onClick="javascript:wpsh_print(51)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_51" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">wget</span> http:<span class="sy0">//</span>dev.mysql.com<span class="sy0">/</span>get<span class="sy0">/</span>Downloads<span class="sy0">/</span>MySQL-<span class="nu0">5.1</span><span class="sy0">/</span>mysql-5.1.32.tar.gz<span class="sy0">/</span>from<span class="sy0">/</span>http:<span class="sy0">//</span>mirror.switch.ch<span class="sy0">/</span>ftp<span class="sy0">/</span>mirror<span class="sy0">/</span>mysql<span class="sy0">/</span></pre></div></div>
<h2>11: MySQL entpacken und installieren</h2>
<p>Dies gilt jetzt natürlich nur, wenn alle Schritte vorher identisch gemacht wurden und MySQL immer noch 5.1.28 ist. Ansonsten muss das geändert werden.</p>
<div id="wpshdo_52" class="wp-synhighlighter-outer"><div id="wpshdt_52" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_52"></a><a id="wpshat_52" class="wp-synhighlighter-title" href="#codesyntax_52"  onClick="javascript:wpsh_toggleBlock(52)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_52" onClick="javascript:wpsh_code(52)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_52" onClick="javascript:wpsh_print(52)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_52" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">tar</span> xzvf mysql-5.1.32.tar.gz
<span class="kw3">cd</span> mysql-5.1.32
<span class="kw2">cp</span> <span class="re5">-R</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok<span class="sy0">/</span>supplementary_scripts<span class="sy0">/</span>mysqle<span class="sy0">/*</span> .</pre></div></div>
<p>Solltest du mehr als 1 CPU/Kern haben, musst du noch folgenden Befehl mit der Anzahl Kerne +1 abändern und ausführen. D.h. bei nem Dualcore wäre es &#8220;-j3&#8243; und bei nem Quadcore &#8220;-j5&#8243; (höhere Werte für -j führen seltenerweise zu Probleme. Sollte dies eintreffen, dann einfach -j1 verwenden):</p>
<div id="wpshdo_53" class="wp-synhighlighter-outer"><div id="wpshdt_53" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_53"></a><a id="wpshat_53" class="wp-synhighlighter-title" href="#codesyntax_53"  onClick="javascript:wpsh_toggleBlock(53)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_53" onClick="javascript:wpsh_code(53)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_53" onClick="javascript:wpsh_print(53)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_53" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">MAKEOPTS</span>=-j2</pre></div></div>
<p>Danach kann MySQL kompiliert werden (das dauert):</p>
<div id="wpshdo_54" class="wp-synhighlighter-outer"><div id="wpshdt_54" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_54"></a><a id="wpshat_54" class="wp-synhighlighter-title" href="#codesyntax_54"  onClick="javascript:wpsh_toggleBlock(54)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_54" onClick="javascript:wpsh_code(54)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_54" onClick="javascript:wpsh_print(54)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_54" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>build-mysqle.sh <span class="re5">--prefix</span>=<span class="co1">${HOME}</span><span class="sy0">/</span>usr</pre></div></div>
<h2>12: taglib-extras kompilieren</h2>
<p>Dies wurde vor kurzem auch aus dem SVN ausgegliedert und muss ebenfalls separat kompiliert werden. Dazu folgendes Schritte ausführen:</p>
<div id="wpshdo_55" class="wp-synhighlighter-outer"><div id="wpshdt_55" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_55"></a><a id="wpshat_55" class="wp-synhighlighter-title" href="#codesyntax_55"  onClick="javascript:wpsh_toggleBlock(55)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_55" onClick="javascript:wpsh_code(55)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_55" onClick="javascript:wpsh_print(55)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_55" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>taglib-extras<span class="sy0">/</span>
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build
<span class="kw3">export</span> <span class="re2">LD_LIBRARY_PATH</span>=<span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>build<span class="sy0">/</span>taglib-extras<span class="sy0">/</span>taglib-extras
cmake -DCMAKE_INSTALL_PREFIX=<span class="co1">${HOME}</span><span class="sy0">/</span>kde ..
<span class="kw2">make</span>
<span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<h2>13: QtScriptGenerator kompilieren</h2>
<p>Dies wurde ebenfalls ausgegliert, aber es gibt noch einige Schwierigkeiten dazu. Zuerst einfach mal folgendes ausführen oder sich den aktuellen Code <a href="http://code.google.com/p/qtscriptgenerator/downloads/list" target="_blank">hier</a> besorgen:</p>
<div id="wpshdo_56" class="wp-synhighlighter-outer"><div id="wpshdt_56" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_56"></a><a id="wpshat_56" class="wp-synhighlighter-title" href="#codesyntax_56"  onClick="javascript:wpsh_toggleBlock(56)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_56" onClick="javascript:wpsh_code(56)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_56" onClick="javascript:wpsh_print(56)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_56" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src
<span class="kw2">wget</span> http:<span class="sy0">//</span>qtscriptgenerator.googlecode.com<span class="sy0">/</span>files<span class="sy0">/</span>qtscriptgenerator-src-0.1.0.tar.gz
<span class="kw2">tar</span> xfvz qtscriptgenerator-src-0.1.0.tar.gz
<span class="kw3">cd</span> qtscriptgenerator-src-0.1.0</pre></div></div>
<p>Ebenfalls hier ist auf die Versionsnummer zu achten. Die Version 0.1.0 hat allerdings noch fehler und muss (unter *buntu) gepatcht werden. Dazu im qtscriptgenerator-src-0.1.0 Verzeichnis folgendes ausführen:</p>
<div id="wpshdo_57" class="wp-synhighlighter-outer"><div id="wpshdt_57" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_57"></a><a id="wpshat_57" class="wp-synhighlighter-title" href="#codesyntax_57"  onClick="javascript:wpsh_toggleBlock(57)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_57" onClick="javascript:wpsh_code(57)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_57" onClick="javascript:wpsh_print(57)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_57" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> include_everything.patch</pre></div></div>
<p>Und nachfolgenden Text einfügen:<br />
<div id="wpshdo_58" class="wp-synhighlighter-outer"><div id="wpshdt_58" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_58"></a><a id="wpshat_58" class="wp-synhighlighter-title" href="#codesyntax_58"  onClick="javascript:wpsh_toggleBlock(58)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_58" onClick="javascript:wpsh_code(58)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_58" onClick="javascript:wpsh_print(58)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_58" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re5">---</span> b<span class="sy0">/</span>generator<span class="sy0">/</span>qtscript_masterinclude.h	2009-03-21 20:37:30.719523909 <span class="re5">-0400</span>
+++ a<span class="sy0">/</span>generator<span class="sy0">/</span>qtscript_masterinclude.h	2009-03-21 21:00:25.108149339 <span class="re5">-0400</span>
<span class="sy0">@@</span> -<span class="nu0">31</span>,<span class="nu0">17</span> +<span class="nu0">31</span>,<span class="nu0">41</span> <span class="sy0">@@</span>
&nbsp;
 <span class="co0">#include </span>
&nbsp;
-<span class="co0">#ifndef QT_NO_XMLPATTERNS</span>
-<span class="co0">#  include</span>
-<span class="co0">#endif</span>
-
-<span class="co0">#ifndef QT_NO_WEBKIT</span>
-<span class="co0">#  include</span>
-<span class="co0">#endif</span>
-
-<span class="co0">#ifndef QT_NO_PHONON</span>
-<span class="co0">#  include</span>
&nbsp;
-<span class="co0">#endif</span>
+<span class="co0">#include</span>
+
+<span class="co0">#include</span>
+
+<span class="co0">#include &quot;phonon/abstractaudiooutput.h&quot;</span>
+<span class="co0">#include &quot;phonon/abstractmediastream.h&quot;</span>
+<span class="co0">#include &quot;phonon/abstractvideooutput.h&quot;</span>
+<span class="co0">#include &quot;phonon/addoninterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/audiooutput.h&quot;</span>
+<span class="co0">#include &quot;phonon/audiooutputinterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/backendcapabilities.h&quot;</span>
+<span class="co0">#include &quot;phonon/backendinterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/effect.h&quot;</span>
+<span class="co0">#include &quot;phonon/effectinterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/effectparameter.h&quot;</span>
+<span class="co0">#include &quot;phonon/effectwidget.h&quot;</span>
+<span class="co0">#include &quot;phonon/mediacontroller.h&quot;</span>
+<span class="co0">#include &quot;phonon/medianode.h&quot;</span>
+<span class="co0">#include &quot;phonon/mediaobject.h&quot;</span>
+<span class="co0">#include &quot;phonon/mediaobjectinterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/mediasource.h&quot;</span>
+<span class="co0">#include &quot;phonon/objectdescription.h&quot;</span>
+<span class="co0">#include &quot;phonon/objectdescriptionmodel.h&quot;</span>
+<span class="co0">#include &quot;phonon/path.h&quot;</span>
+<span class="co0">#include &quot;phonon/phonondefs.h&quot;</span>
+<span class="co0">#include &quot;phonon/phononnamespace.h&quot;</span>
+<span class="co0">#include &quot;phonon/platformplugin.h&quot;</span>
+<span class="co0">#include &quot;phonon/seekslider.h&quot;</span>
+<span class="co0">#include &quot;phonon/streaminterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/videoplayer.h&quot;</span>
+<span class="co0">#include &quot;phonon/videowidget.h&quot;</span>
+<span class="co0">#include &quot;phonon/videowidgetinterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/volumefadereffect.h&quot;</span>
+<span class="co0">#include &quot;phonon/volumefaderinterface.h&quot;</span>
+<span class="co0">#include &quot;phonon/volumeslider.h&quot;</span>
&nbsp;
 <span class="co0">#include &quot;../qtbindings/qtscript_core/qtscriptconcurrent.h&quot;</span></pre></div></div></p>
<p>die Datei dann speichern und folgenden Befehl ausführen um zu patchen:</p>
<div id="wpshdo_59" class="wp-synhighlighter-outer"><div id="wpshdt_59" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_59"></a><a id="wpshat_59" class="wp-synhighlighter-title" href="#codesyntax_59"  onClick="javascript:wpsh_toggleBlock(59)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_59" onClick="javascript:wpsh_code(59)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_59" onClick="javascript:wpsh_print(59)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_59" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p1</span> <span class="sy0">&lt;</span> include_everything.patch</pre></div></div>
<p>Danach kann mit folgenden Befehlen das ganze kompiliert werden. Hier muss zuerst ins Verzeichnis generator rein und dann noch in qtbindings:</p>
<div id="wpshdo_60" class="wp-synhighlighter-outer"><div id="wpshdt_60" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_60"></a><a id="wpshat_60" class="wp-synhighlighter-title" href="#codesyntax_60"  onClick="javascript:wpsh_toggleBlock(60)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_60" onClick="javascript:wpsh_code(60)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_60" onClick="javascript:wpsh_print(60)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_60" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">INCLUDE</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>include<span class="sy0">/</span>qt4
<span class="kw3">cd</span> generator
qmake
<span class="kw2">make</span>
.<span class="sy0">/</span>generator
<span class="kw3">cd</span> ..<span class="sy0">/</span>qtbindings
qmake
<span class="kw2">make</span></pre></div></div>
<p>Am Schluss noch die Plugins nach /usr/lib/qt4/plugins/script kopiert werden.</p>
<div id="wpshdo_61" class="wp-synhighlighter-outer"><div id="wpshdt_61" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_61"></a><a id="wpshat_61" class="wp-synhighlighter-title" href="#codesyntax_61"  onClick="javascript:wpsh_toggleBlock(61)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_61" onClick="javascript:wpsh_code(61)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_61" onClick="javascript:wpsh_print(61)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_61" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ..<span class="sy0">/</span>plugins<span class="sy0">/</span>script
<span class="kw2">sudo</span> <span class="kw2">cp</span> <span class="re5">-R</span> <span class="sy0">*</span> <span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>qt4<span class="sy0">/</span>plugins<span class="sy0">/</span>script<span class="sy0">/</span></pre></div></div>
<h2>14: Amarok kompilieren</h2>
<p>Nun kann endlich Amarok kompiliert werden:</p>
<div id="wpshdo_62" class="wp-synhighlighter-outer"><div id="wpshdt_62" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_62"></a><a id="wpshat_62" class="wp-synhighlighter-title" href="#codesyntax_62"  onClick="javascript:wpsh_toggleBlock(62)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_62" onClick="javascript:wpsh_code(62)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_62" onClick="javascript:wpsh_print(62)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_62" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build
cmake -DCMAKE_INSTALL_PREFIX=<span class="co1">${HOME}</span><span class="sy0">/</span>kde -DCMAKE_BUILD_TYPE=debugfull <span class="co1">${HOME}</span><span class="sy0">/</span>kde<span class="sy0">/</span>src<span class="sy0">/</span>amarok
<span class="kw2">make</span>
<span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<p>Dies sollte ohne grössere Fehlermeldungen von statten gehen.</p>
<h2>15: KDE Config updaten</h2>
<p>Zuletzt muss noch KDE Config geupdated werden:</p>
<div id="wpshdo_63" class="wp-synhighlighter-outer"><div id="wpshdt_63" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_63"></a><a id="wpshat_63" class="wp-synhighlighter-title" href="#codesyntax_63"  onClick="javascript:wpsh_toggleBlock(63)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_63" onClick="javascript:wpsh_code(63)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_63" onClick="javascript:wpsh_print(63)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_63" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">kbuildsycoca4 <span class="re5">--noincremental</span></pre></div></div>
<h2>16: Amarok starten</h2>
<p>Und Amarok kann dann von der Shell aus (ich habs noch nicht anders hingekriegt) mit folgendem Befehl gestartet werden:</p>
<div id="wpshdo_64" class="wp-synhighlighter-outer"><div id="wpshdt_64" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_64"></a><a id="wpshat_64" class="wp-synhighlighter-title" href="#codesyntax_64"  onClick="javascript:wpsh_toggleBlock(64)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_64" onClick="javascript:wpsh_code(64)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_64" onClick="javascript:wpsh_print(64)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_64" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">amarok</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/amarok-2-svn-unter-kxubuntu-kompilieren/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Strigi / Nepomuk / Soprano in Kubuntu 8.10 &#8211; Desktop Suche</title>
		<link>http://www.simplylinux.ch/strigi-nepomuk-sporano-in-kubuntu-810-desktop-suche</link>
		<comments>http://www.simplylinux.ch/strigi-nepomuk-sporano-in-kubuntu-810-desktop-suche#comments</comments>
		<pubDate>Sun, 15 Feb 2009 22:57:05 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[kde 4.2]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[nepomuk]]></category>
		<category><![CDATA[sporano]]></category>
		<category><![CDATA[strigi]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=38</guid>
		<description><![CDATA[Ich hatte lange das Problem das Nepomuk einfach nicht so klappen wollte. Mit der Hilfe von &#8220;Phreedom&#8221; im #strigi Channel auf irc.freenode.org habe ich das endlich hingekriegt. Wieso genau die Standardinstallation nicht will, habe ich nicht herausgefunden. Allerdings hat mir Phreedom geraten, dass ich Soprano nehmen solle anstelle von Redland (glaube ich). Ich soll entsprechend [...]]]></description>
			<content:encoded><![CDATA[<p>Ich hatte lange das Problem das Nepomuk einfach nicht so klappen wollte. Mit der Hilfe von &#8220;Phreedom&#8221; im #strigi Channel auf irc.freenode.org habe ich das endlich hingekriegt.</p>
<p>Wieso genau die Standardinstallation nicht will, habe ich nicht herausgefunden. Allerdings hat mir Phreedom geraten, dass ich Soprano nehmen solle anstelle von Redland (glaube ich). Ich soll entsprechend auch KDE 4.2 verwenden, muss dann aber Soprano selbst kompilieren, da weder die Ubuntu noch Debian Maintainer dies gemacht haben. Hier gabs zwar ein paar Schwierigkeiten, aber die haben sich dann doch auch gelöst. Nachfolgend gibts das kleine Howto dazu.<br />
<span id="more-38"></span><br />
Zuerst muss 8.10 mal auf KDE 4.2 geupdated werden. Dazu kann man schön mein <a title="RepoGen tool" href="http://repogen.simplylinux.ch" target="_blank">RepoGen Tool</a> verwenden. Unter den 3rd Party Repos ist entsprechend das PPA Repo sowie das Nightly Repo vorhanden.</p>
<p>Nachdem man also das Repo hinzugefügt hat und folgenden Befehl zum upgraden erfolgreich verwendet hat, kann man dann mit den notwendigen Paketen starten:</p>
<div id="wpshdo_65" class="wp-synhighlighter-outer"><div id="wpshdt_65" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_65"></a><a id="wpshat_65" class="wp-synhighlighter-title" href="#codesyntax_65"  onClick="javascript:wpsh_toggleBlock(65)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_65" onClick="javascript:wpsh_code(65)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_65" onClick="javascript:wpsh_print(65)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_65" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> update <span class="sy0">&amp;&amp;</span> <span class="kw2">sudo</span> <span class="kw2">apt-get</span> upgrade</pre></div></div>
<p>Die benötigten Pakete sind folgende:</p>
<div id="wpshdo_66" class="wp-synhighlighter-outer"><div id="wpshdt_66" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_66"></a><a id="wpshat_66" class="wp-synhighlighter-title" href="#codesyntax_66"  onClick="javascript:wpsh_toggleBlock(66)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_66" onClick="javascript:wpsh_code(66)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_66" onClick="javascript:wpsh_print(66)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_66" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libqt4-dev openjdk-<span class="nu0">6</span>-jre openjdk-<span class="nu0">6</span>-jdk build-essential cmake subversion qmake strigi-utils</pre></div></div>
<p>Anstelle von openjdk-Java kann man auch ein anderes nehmen. Mann muss dann einfach später den Pfad entsprechend anpassen. Ich bevorzuge openjdk weil es hier auch Firefox Plugins unter 64bit gibt (Stichwort: icedtea6-plugin).</p>
<p>Nachdem man sich nun die entsprechenden Pakete besorgt hat, muss man sich den entsprechenden Quellcode holen. Hierbei kann man z.B. auf den Desktop gehen und dann folgenden Befehl ausführen:</p>
<div id="wpshdo_67" class="wp-synhighlighter-outer"><div id="wpshdt_67" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_67"></a><a id="wpshat_67" class="wp-synhighlighter-title" href="#codesyntax_67"  onClick="javascript:wpsh_toggleBlock(67)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_67" onClick="javascript:wpsh_code(67)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_67" onClick="javascript:wpsh_print(67)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_67" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>anonsvn.kde.org<span class="sy0">/</span>home<span class="sy0">/</span>kde<span class="sy0">/</span>tags<span class="sy0">/</span>kdesupport-for-<span class="nu0">4.2</span><span class="sy0">/</span>kdesupport</pre></div></div>
<p>Dieser Befehl holt dann die notwendigen Dateien und speichert sie in einem Ordner &#8220;kdesupport&#8221;</p>
<p>Danach folgendes ausführen:</p>
<div id="wpshdo_68" class="wp-synhighlighter-outer"><div id="wpshdt_68" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_68"></a><a id="wpshat_68" class="wp-synhighlighter-title" href="#codesyntax_68"  onClick="javascript:wpsh_toggleBlock(68)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_68" onClick="javascript:wpsh_code(68)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_68" onClick="javascript:wpsh_print(68)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_68" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> kdesupport<span class="sy0">/</span>soprano
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build</pre></div></div>
<p>Wir gehen also ins kdesupport Verzeichnis rein, erstellen und build Verzeichnis. Before wir cmake ausführen können, muss noch der Pfad für Java angeben werden. Hier muss allenfalls, wenn kein openjdk verwendet wird, angepasst werden:</p>
<div id="wpshdo_69" class="wp-synhighlighter-outer"><div id="wpshdt_69" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_69"></a><a id="wpshat_69" class="wp-synhighlighter-title" href="#codesyntax_69"  onClick="javascript:wpsh_toggleBlock(69)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_69" onClick="javascript:wpsh_code(69)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_69" onClick="javascript:wpsh_print(69)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_69" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">JAVA_HOME</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>jvm<span class="sy0">/</span>java-<span class="nu0">6</span>-openjdk</pre></div></div>
<p>Jetzt kann cmake ausgeführt werden:</p>
<div id="wpshdo_70" class="wp-synhighlighter-outer"><div id="wpshdt_70" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_70"></a><a id="wpshat_70" class="wp-synhighlighter-title" href="#codesyntax_70"  onClick="javascript:wpsh_toggleBlock(70)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_70" onClick="javascript:wpsh_code(70)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_70" onClick="javascript:wpsh_print(70)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_70" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">cmake ..</pre></div></div>
<p>Es sollte dann ein Output folgendermassen erscheinen:</p>
<div id="wpshdo_71" class="wp-synhighlighter-outer"><div id="wpshdt_71" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_71"></a><a id="wpshat_71" class="wp-synhighlighter-title" href="#codesyntax_71"  onClick="javascript:wpsh_toggleBlock(71)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_71" onClick="javascript:wpsh_code(71)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_71" onClick="javascript:wpsh_print(71)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_71" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re5">--</span> Soprano Components that will be built:
<span class="sy0">*</span> Sesame2 storage backend <span class="br0">&#40;</span>java-based<span class="br0">&#41;</span>
<span class="sy0">*</span> D-Bus server<span class="sy0">/</span>client support
<span class="re5">--</span> Soprano Components that will NOT be built:
<span class="sy0">*</span> Redland storage backend
<span class="sy0">*</span> Raptor RDF parser
<span class="sy0">*</span> Raptor RDF serializer
<span class="sy0">*</span> The CLucene-based full-text search index library</pre></div></div>
<p>Wenn das erscheint, dann kann kompiliert und installiert werden:</p>
<div id="wpshdo_72" class="wp-synhighlighter-outer"><div id="wpshdt_72" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_72"></a><a id="wpshat_72" class="wp-synhighlighter-title" href="#codesyntax_72"  onClick="javascript:wpsh_toggleBlock(72)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_72" onClick="javascript:wpsh_code(72)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_72" onClick="javascript:wpsh_print(72)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_72" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span>
<span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<p>Damit wäre der erste Teil geschafft. Jetzt muss nur noch Nepomuk ein bisschen angepasst werden. Dazu zuerst mal in die System Settings reingehen und dort auf Advanced Tab klicken um so in die Desktop Suche reinzukommen.</p>
<p>Hier soll dann Nepomuk und allenfalls auch Strigi mal deaktiviert werden.</p>
<p>Wenn dies geschehen ist, soll das bisherige Nepomuk Profilverzeichnis gelöscht werden:</p>
<div id="wpshdo_73" class="wp-synhighlighter-outer"><div id="wpshdt_73" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_73"></a><a id="wpshat_73" class="wp-synhighlighter-title" href="#codesyntax_73"  onClick="javascript:wpsh_toggleBlock(73)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_73" onClick="javascript:wpsh_code(73)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_73" onClick="javascript:wpsh_print(73)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_73" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">rm</span> <span class="re5">-Rf</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>apps<span class="sy0">/</span>nepomuk</pre></div></div>
<p>Danach muss die Nepomuk Config bearbeitet werden:</p>
<div id="wpshdo_74" class="wp-synhighlighter-outer"><div id="wpshdt_74" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_74"></a><a id="wpshat_74" class="wp-synhighlighter-title" href="#codesyntax_74"  onClick="javascript:wpsh_toggleBlock(74)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_74" onClick="javascript:wpsh_code(74)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_74" onClick="javascript:wpsh_print(74)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_74" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>config<span class="sy0">/</span>nepomukserverrc</pre></div></div>
<p>Hier muss dann folgender Inhalt eingefügt werden:</p>
<div id="wpshdo_75" class="wp-synhighlighter-outer"><div id="wpshdt_75" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_75"></a><a id="wpshat_75" class="wp-synhighlighter-title" href="#codesyntax_75"  onClick="javascript:wpsh_toggleBlock(75)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_75" onClick="javascript:wpsh_code(75)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_75" onClick="javascript:wpsh_print(75)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_75" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="br0">&#91;</span>Basic Settings<span class="br0">&#93;</span>
Configured <span class="re2">repositories</span>=main
Start <span class="re2">Nepomuk</span>=<span class="kw2">true</span>
&nbsp;
<span class="br0">&#91;</span>Service-nepomukmigration1<span class="br0">&#93;</span>
<span class="re2">autostart</span>=<span class="kw2">false</span>
&nbsp;
<span class="br0">&#91;</span>Service-nepomukstrigiservice<span class="br0">&#93;</span>
<span class="re2">autostart</span>=<span class="kw2">true</span>
&nbsp;
<span class="br0">&#91;</span>main Settings<span class="br0">&#93;</span>
Storage Dir<span class="br0">&#91;</span><span class="re1">$e</span><span class="br0">&#93;</span>=<span class="re1">$HOME</span><span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>apps<span class="sy0">/</span>nepomuk<span class="sy0">/</span>repository<span class="sy0">/</span>main<span class="sy0">/</span>
Used Soprano <span class="re2">Backend</span>=sesame2
rebuilt index <span class="kw1">for</span> <span class="kw3">type</span> <span class="re2">indexing</span>=<span class="kw2">true</span></pre></div></div>
<p>Durch diese Einstellungen werden Nepomuk und Strigi mit dem System gestartet und Soprano wird verwendet.</p>
<p>Danach können in den Advanced Settings der Desktop Suche entsprechend markiert werden, welche Verzeichnisse indexiert werden sollen, welche Ausnahmen gelten sollen etc.</p>
<p>Wenn das erledigt ist, kann Nepomuk und Strigi in den Basic Settings wieder aktiviert werden. Danach wird der ganze Computer indexiert.</p>
<p>Sobald die Indexierung gestartet ist, können auch schon Ergebnisse verwendet werden. Dazu öffne man Dolphin. In der Pfadleiste oben, wo man normalerweise sieht in welchem Pfad man sich befindet, kann man reinklicken und dann folgendes eingeben:</p>
<div id="wpshdo_76" class="wp-synhighlighter-outer"><div id="wpshdt_76" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_76"></a><a id="wpshat_76" class="wp-synhighlighter-title" href="#codesyntax_76"  onClick="javascript:wpsh_toggleBlock(76)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_76" onClick="javascript:wpsh_code(76)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_76" onClick="javascript:wpsh_print(76)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_76" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">nepomuksearch:BEGRIFF</pre></div></div>
<p>Die gefundenen Ergebnisse werden sodann aufgelistet.</p>
<p>Was auch noch anzumerken ist, dass man in Dolphin entsprechend in der rechten Leisten die Dateien auch mit Beschreibungen und Suchtags versehen kann. Diese Metainformationen werden auch von Nepomuk / Strigi / Soprano ausgewertet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/strigi-nepomuk-sporano-in-kubuntu-810-desktop-suche/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bottom Panel in KDE4</title>
		<link>http://www.simplylinux.ch/bottom-panel-in-kde4</link>
		<comments>http://www.simplylinux.ch/bottom-panel-in-kde4#comments</comments>
		<pubDate>Thu, 11 Dec 2008 20:43:03 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[kde 4]]></category>
		<category><![CDATA[kubuntu]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=33</guid>
		<description><![CDATA[Ich war ein bisschen neugierig und habe gestern KDE 4.2 und Amarok 2 PPA Repos für Kubuntu 8.10 hinzugefügt. Ich muss sagen, KDE 4.2 sieht ganz nett aus und Amarok 2 hat gegenüber den offiziellen Repo einiges an Bugs ausgemerzt. Allerdings habe ich es auch geschafft, dass ich mir den Bottom Panel weggelöscht habe und [...]]]></description>
			<content:encoded><![CDATA[<p>Ich war ein bisschen neugierig und habe gestern KDE 4.2 und Amarok 2 PPA Repos für Kubuntu 8.10 hinzugefügt. Ich muss sagen, KDE 4.2 sieht ganz nett aus und Amarok 2 hat gegenüber den offiziellen Repo einiges an Bugs ausgemerzt.</p>
<p>Allerdings habe ich es auch geschafft, dass ich mir den Bottom Panel weggelöscht habe und es hat ein bisschen gedauert, bis ich den wieder hinbekommen habe. Google &#038; Geduld bewirken Wunder. So kann man den auf jeden Fall wieder hinzufügen:<br />
<span id="more-33"></span></p>
<div id="wpshdo_77" class="wp-synhighlighter-outer"><div id="wpshdt_77" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_77"></a><a id="wpshat_77" class="wp-synhighlighter-title" href="#codesyntax_77"  onClick="javascript:wpsh_toggleBlock(77)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_77" onClick="javascript:wpsh_code(77)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_77" onClick="javascript:wpsh_print(77)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_77" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">killall</span> plasma
<span class="kw2">rm</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>config<span class="sy0">/</span>plasma<span class="sy0">*</span>
plasma <span class="sy0">&amp;</span></pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/bottom-panel-in-kde4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
