<?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>Abraxas &#187; RubyRipper</title>
	<atom:link href="http://www.effinger.org/blog/tag/rubyripper/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.effinger.org/blog</link>
	<description>a personal knowledge base</description>
	<lastBuildDate>Sun, 06 Jun 2010 17:41:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Aktuelles RubyRipper unter Ubuntu</title>
		<link>http://www.effinger.org/blog/2008/12/23/aktuelles-rubyripper-unter-ubuntu/</link>
		<comments>http://www.effinger.org/blog/2008/12/23/aktuelles-rubyripper-unter-ubuntu/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 14:44:31 +0000</pubDate>
		<dc:creator>Markus Effinger</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[RubyRipper]]></category>

		<guid isPermaLink="false">http://www.effinger.org/blog/?p=384</guid>
		<description><![CDATA[<p>Da ich meine CDs als eine FLAC-Datei mit einem entsprechendem CUE-Sheet auf meinen Rechner speichern möchte, bin ich auf einen Bug in RubyRipper gestoßen:</p>

Wrong filesize reported for track 0 : 500249276
Filesize should be : 54502940
/usr/local/rubyripper/lib/site_ruby/1.8/rr_lib.rb:933:in `delete': No such file or directory

<p>Wie man im Bugreport nachlesen kann, vergleicht RubyRipper fälschlicherweise die Größe des ersten Tracks mit [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich meine CDs als <em>eine</em> FLAC-Datei mit einem entsprechendem CUE-Sheet auf meinen Rechner speichern möchte, bin ich auf einen <a href="http://code.google.com/p/rubyripper/issues/detail?id=236">Bug in RubyRipper</a> gestoßen:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Wrong filesize reported for track 0 : 500249276
Filesize should be : 54502940
/usr/local/rubyripper/lib/site_ruby/1.8/rr_lib.rb:933:in `delete': No such file or directory</pre></div></div>

<p>Wie man im Bugreport nachlesen kann, vergleicht <a href="http://code.google.com/p/rubyripper/">RubyRipper</a> fälschlicherweise die Größe des ersten Tracks mit der Gesamt-CD. Dieser Bug wurde in der Repository-Version behoben. Grund genug für mich, die aktuellste Version aus den Repositories zu installieren. Zunächst müssen dazu git und die anderen abhängigen Pakete installiert werden (<a href="http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/">siehe anderer Beitrag</a>), damit wir die Version aus dem Repository verwenden können:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> git-core cd-discid <span style="color: #c20cb9; font-weight: bold;">cdparanoia</span> ruby ruby-pkg-tools libgettext-ruby1.8 libgtk2-ruby</pre></div></div>

<p>Dann werden die aktuellsten Dateien aus dem Repository heruntergeladen &#8211; beim ersten Mal mit</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">git clone git:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>rubyripperdev<span style="color: #000000; font-weight: bold;">/</span>rubyripper.git</pre></div></div>

<p>falls wir irgendwann später aktualisieren wollen stattdessen mit</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> rubyripper
git pull</pre></div></div>

<p>Anschließend wird <em>im Unterverzeichnis rubyripper</em> das Konfigurationsprogramm gestartet:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-lang-all</span> <span style="color: #660033;">--enable-gtk2</span> <span style="color: #660033;">--enable-cli</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rubyripper</pre></div></div>

<p>Mit einem</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>wird Rubyripper in das Verzeichnis /usr/local/rubyripper installiert, von wo aus es abschließend sehr einfach <a href="http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/">mit stow installiert</a> werden kann.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.effinger.org/blog/2008/12/23/aktuelles-rubyripper-unter-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programme mit stow verwalten</title>
		<link>http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/</link>
		<comments>http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 17:26:01 +0000</pubDate>
		<dc:creator>Markus Effinger</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[RubyRipper]]></category>
		<category><![CDATA[stow]]></category>

		<guid isPermaLink="false">http://www.effinger.org/blog/?p=26</guid>
		<description><![CDATA[<p>Obwohl die meisten Linux-Programme in einer Paket-Version für Ubuntu erhältlich sind und man sich deshalb keine Gedanken um die Installation machen muss, gibt es doch das eine oder andere Programm, das eben noch nicht in einer Paket-Version erhältlich ist. Diese Programme werden dann üblicherweise in /usr/local installiert. In diesem Verzeichnis kann man sehr schnell den [...]]]></description>
			<content:encoded><![CDATA[<p>Obwohl die meisten Linux-Programme in einer Paket-Version für Ubuntu erhältlich sind und man sich deshalb keine Gedanken um die Installation machen muss, gibt es doch das eine oder andere Programm, das eben noch nicht in einer Paket-Version erhältlich ist. Diese Programme werden dann üblicherweise in /usr/local installiert. In diesem Verzeichnis kann man sehr schnell den Überblick verlieren und ist außerdem aufgeschmissen, wenn die Deinstallationsroutine unvollständig ist oder versagt. Aus diesem Grund wurde stow entwickelt. Dabei werden die Programme nicht /usr/local, sondern in /usr/local/programmname installiert. stow erzeugt anschließend entsprechende Symlinks zu den einzelnen Dateien.</p>
<p>Am Beispiel von RubyRipper exerzieren wir das nun durch:</p>
<ol>
<li>Erstmal sicher stellen, dass alle notwendigen Pakete vorhanden sind:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> cd-discid <span style="color: #c20cb9; font-weight: bold;">cdparanoia</span> ruby ruby-pkg-tools libgettext-ruby1.8 libgtk2-ruby</pre></div></div>

</li>
<li>Die neueste Version auf der <a href="http://code.google.com/p/rubyripper/">RubyRipper-Webseite</a> herunterladen</li>
<li>Die Datei entpacken und in das Verzeichnis wechseln

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xjvf rubyripper-0.5.3.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> rubyripper-0.5.3</pre></div></div>

</li>
<li>Wichtig: Zielverzeichnis konfigurieren

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-lang-all</span> <span style="color: #660033;">--enable-gtk2</span> <span style="color: #660033;">--enable-cli</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rubyripper</pre></div></div>

</li>
<li>Programm installieren

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

</li>
<li>Stow die Verknüpfungen anlegen lassen

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> stow <span style="color: #660033;">-R</span> rubyripper</pre></div></div>

<p>Fertig!</li>
</ol>
<p>Deinstallation</p>
<ol>
<li>Verweise mit stow entfernen:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> stow <span style="color: #660033;">-D</span> rubyripper</pre></div></div>

</li>
<li>Deinstallation mit

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> uninstall</pre></div></div>

</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
