<?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>Guy Rutenberg &#187; Gentoo</title>
	<atom:link href="http://www.guyrutenberg.com/tag/gentoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Wed, 16 Jun 2010 19:53:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using MusicBrainz when Ripping CDs in KDE</title>
		<link>http://www.guyrutenberg.com/2010/01/09/using-musicbrainz-when-ripping-cds-in-kde/</link>
		<comments>http://www.guyrutenberg.com/2010/01/09/using-musicbrainz-when-ripping-cds-in-kde/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 08:37:29 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[MusicBrainz]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=610</guid>
		<description><![CDATA[I guess this tip is Gentoo specific. By default KDE uses FreeDB for getting CD info when ripping CDs. If you want to use MusicBrainz native service (not via their FreeDB proxy), there are several steps you&#8217;ll need to take.

First, you should compile kde-base/libkcddb with the musicbrainz use-flag turned on. Next you should go to [...]]]></description>
			<content:encoded><![CDATA[<p>I guess this tip is Gentoo specific. By default KDE uses FreeDB for getting CD info when ripping CDs. If you want to use MusicBrainz native service (not via their FreeDB proxy), there are several steps you&#8217;ll need to take.<br />
<span id="more-610"></span><br />
First, you should compile <code>kde-base/libkcddb</code> with the <code>musicbrainz</code> use-flag turned on. Next you should go to System Settings->Advanced->CDDB Retrieval and check the &#8220;Enable MusicBrainz lookup&#8221; box. From my experience MusicBrainz is not a complete replacement for FreeDB as some CDs aren&#8217;t recognized by it (but recognized by FreeDB). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2010/01/09/using-musicbrainz-when-ripping-cds-in-kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading All QT Modules in Gentoo</title>
		<link>http://www.guyrutenberg.com/2009/11/21/upgrading-all-qt-modules-in-gentoo/</link>
		<comments>http://www.guyrutenberg.com/2009/11/21/upgrading-all-qt-modules-in-gentoo/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 20:01:06 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[QT]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=594</guid>
		<description><![CDATA[Upgrading minor versions QT seems to be a hassle, as each version blocks the previous and because of inter-dependencies, Gentoo can&#8217;t understand by itself how to solve them. The solution is to tell it to specifically upgrade all installed modules.


sudo emerge -avu1 $&#40;qlist -IvC /qt- &#124; grep 4. &#124; sed s/-4.*//&#41;

This will allow Gentoo to [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading minor versions QT seems to be a hassle, as each version blocks the previous and because of inter-dependencies, Gentoo can&#8217;t understand by itself how to solve them. The solution is to tell it to specifically upgrade all installed modules.<br />
<span id="more-594"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> emerge <span style="color: #660033;">-avu1</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>qlist <span style="color: #660033;">-IvC</span> <span style="color: #000000; font-weight: bold;">/</span>qt- <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> 4. <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span>-4.<span style="color: #000000; font-weight: bold;">*//</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>This will allow Gentoo to solve the dependencies by uninstalling the old versions, unlike if you only try to upgrade a single package like <code>x11-libs/qt-core</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2009/11/21/upgrading-all-qt-modules-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading All KDE Related Packages in Gentoo</title>
		<link>http://www.guyrutenberg.com/2009/06/08/upgrading-all-kde-related-packages-in-gentoo/</link>
		<comments>http://www.guyrutenberg.com/2009/06/08/upgrading-all-kde-related-packages-in-gentoo/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 06:24:01 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=376</guid>
		<description><![CDATA[Yesterday, Gentoo marked KDE 3.5.10 as stable on amd64. I looked for a way to upgrade all of the KDE related packages, without manually specifying each one of them. Normally one could do

emerge -avu world

but I encountered some nasty conflicts that I didn&#8217;t have time, nor will, to resolve at that time. So I&#8217;ve looked [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, Gentoo marked KDE 3.5.10 as stable on amd64. I looked for a way to upgrade all of the KDE related packages, without manually specifying each one of them. Normally one could do</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">emerge -avu world</pre></div></div>

<p>but I encountered some nasty conflicts that I didn&#8217;t have time, nor will, to resolve at that time. So I&#8217;ve looked for a different solution. To my rescue came <code>qlist</code> for the great <code>app-portage/portage-utils</code> package. This package provides a set of very fast utilities to query <code>portage</code>. I&#8217;ve used <code>qlist</code> to list all of my installed packages, <code>grep</code>&#8216;ed the list and piped the result as arguments to <code>emerge</code> using <code>xargs</code>.<br />
<span id="more-376"></span></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"> qlist -I --nocolor | grep kde | xargs emerge -pvu1</pre></div></div>

<p>Take a look at the package list that will be merged. If everything looks fine, then do the actual merging.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"> qlist -I --nocolor | grep kde | xargs sudo emerge -vu1</pre></div></div>

<p>The <code>--nocolor</code> is important, or else <code>emerge</code> will complain about the benign looking atoms such as <code>dev-util/kdevelop</code>  because there are invisible terminal formating characters around them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2009/06/08/upgrading-all-kde-related-packages-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpMyAdmin + Lighttpd in Gentoo</title>
		<link>http://www.guyrutenberg.com/2009/01/20/phpmyadmin-lighttpd-in-gentoo/</link>
		<comments>http://www.guyrutenberg.com/2009/01/20/phpmyadmin-lighttpd-in-gentoo/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 16:14:57 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=248</guid>
		<description><![CDATA[Usually installing software in Gentoo is a piece of cake. Just emerge what you want and (with the right USE flags) and everything will be ready for you. However, as today I&#8217;ve found out today, installing phpMyAdmin with Lighttpd isn&#8217;t trivial as it should be.
In this post I&#8217;ll try to walk you through the necessary [...]]]></description>
			<content:encoded><![CDATA[<p>Usually installing software in Gentoo is a piece of cake. Just <code>emerge</code> what you want and (with the right USE flags) and everything will be ready for you. However, as today I&#8217;ve found out today, installing phpMyAdmin with Lighttpd isn&#8217;t trivial as it should be.</p>
<p>In this post I&#8217;ll try to walk you through the necessary steps to install phpMyAdmin with Lighttpd in Gentoo.<br />
<span id="more-248"></span></p>
<h3>Installing Lighttpd and PHP</h3>
<p>Before installing Lighttpd and PHP you&#8217;ll need to enable some USE flags. For Lighttpd you&#8217;ll need to at least enable the <code>php</code> and <code>fastcgi</code> USE flags. For PHP enable the <code>cgi</code>, <code>crypt</code>, <code>ctype</code>, <code>pcre</code>, <code>session</code>, <code>unicode</code>. The first one is required for working with Lighttpd, while the others are required for phpMyAdmin.</p>
<p>See the <a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&#038;chap=2">handbook</a> for information about enabling USE flags.</p>
<p>Now install the packages</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">emerge -av lighttpd php</pre></div></div>

<p>After installation is complete, start the Lighttpd process</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">/etc/init.d/lighttpd start</pre></div></div>

<p>and you should have a working Lighttpd server with PHP support.</p>
<h3>Installing phpMyAdmin</h3>
<p>phpMyAdmin depends on a package called <code>webapp-config</code>. While usually we let Portage take care of dependencies, this time we&#8217;ll have to install <code>webapp-config</code> manually before we install phpMyAdmin, so we can change its configuration for suit Lighttpd.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">emerge -av --oneshot webapp-config</pre></div></div>

<p>After installation is done edit using your favourite editor the <code>/etc/vhosts/webapp-config</code> and change the line:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">vhost_server=&quot;apache&quot;</pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">vhost_server=&quot;lighttpd&quot;</pre></div></div>

<p>Now we are ready to install phpMyAdmin.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">emerge -av phpmyadmin</pre></div></div>

<p>After installation is complete, you&#8217;ll need to create a phpMyAdmin configuration file</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">cp /var/www/localhost/htdocs/phpmyadmin/config.sample.inc.php /var/www/localhost/htdocs/phpmyadmin/config.inc.php</pre></div></div>

<p>Now open the newly created configuration file and edit the line with the <code>blowfish_secret</code> (at the top of the file) as explained in it. An easy way to generate the password would be to use <a href="http://www.guyrutenberg.com/2008/05/04/spass-11-secure-password-generator/"><code>spass</code></a>.</p>
<p>Now if you use the default Lighttpd configurations you&#8217;re done. You can access the phpMyAdmin via <code>http://localhost/phpmyadmin</code>. If however you&#8217;ve changed the document root, there is one more step for you. Enable the <code>mod_alias</code> module in <code>/etc/lighttpd/lighttpd.conf</code> and append to the file</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">alias.url += (&quot;/phpmyadmin&quot; =&gt; &quot;/var/www/localhost/htdocs/phpmyadmin&quot;)</pre></div></div>

<p>and don&#8217;t forget to restart the Lighttpd server after making the changes.</p>
<p>You should have by now everything installed and configured to work. If you have any further questions don&#8217;t hesitate to comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2009/01/20/phpmyadmin-lighttpd-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.496 seconds -->
