<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Hartwork Blog &#187; Planet Gentoo</title>
	<atom:link href="http://blog.hartwork.org/?feed=rss2&#038;cat=39" rel="self" type="application/rss+xml" />
	<link>http://blog.hartwork.org</link>
	<description>Free Software and Music</description>
	<lastBuildDate>Sun, 12 May 2013 20:16:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
		<item>
		<title>svneverever 1.2.2 released + UTF-8 bug in svn2git 1.0.8</title>
		<link>http://blog.hartwork.org/?p=1928</link>
		<comments>http://blog.hartwork.org/?p=1928#comments</comments>
		<pubDate>Sat, 11 May 2013 01:15:41 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Planet Freitagsrunde]]></category>
		<category><![CDATA[Planet Gentoo]]></category>
		<category><![CDATA[Planet Gentoo Universe]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1928</guid>
		<description><![CDATA[When working on (the still on-going) migration of the Gentoo java project repositories from SVN to Git I ran into bugs with svn2git 1.0.8 and my own svneverever 1.2.1. The bug with svn2git 1.0.8 was a regression that broke support for (non-ASCII) UTF-8 author names in identity maps. That&#8217;s fixed in dev-vcs/svn2git-1.0.8-r1 in Gentoo. I [...]]]></description>
				<content:encoded><![CDATA[<p>When working on (the still on-going) <a href="https://bugs.gentoo.org/show_bug.cgi?id=457818">migration of the Gentoo java project repositories from SVN to Git</a> I ran into bugs with <a href="https://www.gitorious.org/svn2git/svn2git/">svn2git</a> 1.0.8 and my own <a href="http://git.goodpoint.de/?p=svneverever.git;a=summary">svneverever</a> 1.2.1.</p>
<p>The bug with svn2git 1.0.8 was a regression that broke support for (non-ASCII) UTF-8 author names in identity maps. That&#8217;s <a href="http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-vcs/svn2git/files/svn2git-1.0.8-utf8-author-names.patch?view=markup">fixed</a> in <tt>dev-vcs/svn2git-1.0.8-r1</tt> in Gentoo. I sent the patch upstream and to the Debian package maintainer, too.</p>
<p>For svneverever, a directory that re-appeared after deletion was reported to only live once, e.g. the output was</p>
<pre>(2488; 9253)  /projects
(2490; 9253)      /java-config-2
(2490; 2586)          /trunk</pre>
<p>if directory <tt>/projects/java-config-2/trunk/</tt> got deleted at revision 2586, no matter if was re-created later. With 9253 revisions in total, the correct output (with svneverever 1.2.2) is:</p>
<pre>(2488; 9253)  /projects
(2490; 9253)      /java-config-2
(2490; <em>9253</em>)          /trunk</pre>
<p>That&#8217;s fixed in <a href="http://hartwork.org/public/svneverever-1.2.2.tar.gz">svneverever 1.2.2</a>.</p>
<p>If <a href="http://git.goodpoint.de/?p=svneverever.git;a=summary">svneverever</a> is of help to you, please <a href="https://flattr.com/thing/45617/svneverever">support me on Flattr</a>. Thanks!</p>
<p><script type="text/javascript">
/* <![CDATA[ */
    (function() {
        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
        s.type = 'text/javascript';
        s.async = true;
        s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
        t.parentNode.insertBefore(s, t);
    })();
/* ]]&gt; */</script><br />
<a class="FlattrButton" style="display:none;" href="http://blog.hartwork.org/?p=763"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1928</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>May 3rd = Day Against DRM</title>
		<link>http://blog.hartwork.org/?p=1923</link>
		<comments>http://blog.hartwork.org/?p=1923#comments</comments>
		<pubDate>Fri, 03 May 2013 14:23:13 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Frustration]]></category>
		<category><![CDATA[Planet Freitagsrunde]]></category>
		<category><![CDATA[Planet Gentoo]]></category>
		<category><![CDATA[Planet Gentoo Universe]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1923</guid>
		<description><![CDATA[Learn more at dayagainstdrm.org (and drm.info).]]></description>
				<content:encoded><![CDATA[<p>Learn more at <a href="http://dayagainstdrm.org/">dayagainstdrm.org</a> (and <a href="http://drm.info/">drm.info</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1923</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>LightZone in Gentoo betagarden</title>
		<link>http://blog.hartwork.org/?p=1907</link>
		<comments>http://blog.hartwork.org/?p=1907#comments</comments>
		<pubDate>Sun, 17 Feb 2013 19:08:08 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Planet Freitagsrunde]]></category>
		<category><![CDATA[Planet Gentoo]]></category>
		<category><![CDATA[Planet Gentoo Universe]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1907</guid>
		<description><![CDATA[If you are running Gentoo, heard about the release of the LightZone source code and got curious to see it for yourself: sudo layman -a betagarden sudo emerge -av media-gfx/LightZone What you get is LightZone 100% built from sources, no more shipped .jar files included. One word of warning: the software has not seen much [...]]]></description>
				<content:encoded><![CDATA[<p>If you are running Gentoo, <a href="https://lwn.net/Articles/533425/">heard about</a> the release of the <a href="https://github.com/AntonKast/LightZone">LightZone source code</a> and got curious to see it for yourself:</p>
<pre>sudo layman -a betagarden
sudo emerge -av media-gfx/LightZone</pre>
<p>What you get is LightZone 100% built from sources, no more shipped <tt>.jar</tt> files included.</p>
<p>One word of warning: the software has not seen much testing in this form, yet. So if your pictures mean a lot you, make backups before. Better safe than sorry.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1907</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>How to set up a GRUB 2 theming playground (on Gentoo)</title>
		<link>http://blog.hartwork.org/?p=1807</link>
		<comments>http://blog.hartwork.org/?p=1807#comments</comments>
		<pubDate>Sun, 01 Jul 2012 18:23:52 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Planet Freitagsrunde]]></category>
		<category><![CDATA[Planet Gentoo]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1807</guid>
		<description><![CDATA[In this post I am going to present a quick guide to set up a basic environment to test and develop GRUB 2 themes on Gentoo Linux. Its core feature is the use of virtualization so you restart virtual hardware rather than physical one. Ingredients: KVM (or QEMU) — i.e. package app-emulation/qemu-kvm or app-emulation/qemu GNU [...]]]></description>
				<content:encoded><![CDATA[<p>In this post I am going to present a quick guide to set up a basic environment to test and develop GRUB 2 themes on Gentoo Linux. Its core feature is the use of virtualization so you restart virtual hardware rather than physical one.</p>
<p>Ingredients:</p>
<ul>
<li>KVM (or QEMU) — i.e. package <tt>app-emulation/qemu-kvm</tt> or <tt>app-emulation/qemu</tt></li>
<li>GNU parted — package <tt>sys-block/parted</tt></li>
<li>kpartx — from <tt>sys-fs/multipath-tools</tt></li>
<li>GNU GRUB 2 — <tt>sys-boot/grub:2</tt></li>
</ul>
<p>Despite care and best intents: For what comes next, <strong>NO WARRENTY</strong> of any kind!  sudo and root permission stuff is involved.</p>
<p>First, let&#8217;s install the required software:</p>
<pre>$ sudo GRUB_PLATFORMS='pc' emerge --update sys-boot/grub:2 \
    sys-fs/multipath-tools sys-block/parted app-emulation/qemu-kvm
[..]</pre>
<p>Now, let&#8217;s create a sparse, virtual hard disk of 500MB in size and create a partition table with a single partition covering all available space.  We use bash syntax to do the math.</p>
<pre>$ touch grub-theme-disk

$ truncate --size=$((500*1024**2)) grub-theme-disk

$ /usr/sbin/parted grub-theme-disk mklabel msdos
WARNING: You are not superuser.  Watch out for permissions.

$ /usr/sbin/parted grub-theme-disk mkpart primary ext2 0% 100%
WARNING: You are not superuser.  Watch out for permissions.</pre>
<p>Next, we make a block device for that partition and format it as ext2. We also store the location of the whole disk and the partition in dedicated variables for re-use.</p>
<pre>$ sudo kpartx -p p -a -v grub-theme-disk
add map loop0p1 (254:9): 0 1021952 linear /dev/loop0 2048

$ GRUB_PART=/dev/mapper/$(sudo kpartx -p p -l grub-theme-disk \
    | grep -oE 'loop[0-9]p1')

$ GRUB_DEV=$(sudo kpartx -p p -l grub-theme-disk | grep -oE '/dev/loop[0-9]')

$ echo "${GRUB_DEV}, ${GRUB_PART}"
/dev/loop0, /dev/mapper/loop0p1

$ sudo mkfs.ext2 "${GRUB_PART}"
mke2fs 1.42.4 (12-June-2012)
[..]
Writing superblocks and filesystem accounting information: done</pre>
<p>Now we mount the file system and create a minimal GFX GRUB 2 config in it using theme &#8220;starfield&#8221; that comes shipped with GRUB 2. For the menu, two dummy entries to restart and shutdown the machine are used.</p>
<pre>$ mkdir grub-theme-disk-root

$ sudo mount "${GRUB_PART}" grub-theme-disk-root

$ sudo mkdir -p grub-theme-disk-root/boot/grub2/

$ cat &lt;&lt;"GRUB_CFG" | sudo sh -c 'cat &gt; grub-theme-disk-root/boot/grub2/grub.cfg'
set theme=$prefix/themes/starfield/theme.txt
insmod all_video
insmod gfxterm
insmod png
terminal_output gfxterm
menuentry Reboot { reboot }
menuentry Shutdown { halt }
GRUB_CFG</pre>
<p>We are ready to install GRUB 2. That includes copying files to <tt>/boot/grub2</tt> (e.g. the starfield theme) as well as writing the bootloader to the master boot record of the virtual disk file (or more precisely the related loop device). We need to flush the write cache using the &#8220;sync&#8221; command so we do not boot from half-flushed data in the next step.</p>
<pre>$ sudo grub2-install --boot-directory=grub-theme-disk-root/boot "${GRUB_DEV}"
Installation finished. No error reported.

$ sync</pre>
<p>At that point, our disk image is ready to be booted as hard drive by KVM (or QEMU):</p>
<pre>$ sudo qemu-kvm -hdd "${GRUB_DEV}"</pre>
<p>You should see something like this (click to enlarge):</p>
<p><center><a href="__images/grub2-starfield-theme-802x628.png"><img src="__images/grub2-starfield-theme-500x392.png"></a></center></p>
<p>Now for the <em>most important</em> part:</p>
<p>If you do make a theme please <strong>make sure the overall theme is legally sound!</strong> <em>For instance</em> that means:</p>
<ol>
<li>If you use the <a href="http://www.gentoo.org/main/en/name-logo.xml">original, rendered &#8220;g&#8221; Gentoo logo</a>, the related files have to comply with the <a href="http://creativecommons.org/licenses/sampling+/1.0/">CCPL-Sampling-Plus-1.0</a> license.</li>
<li>If you use <a href="http://www.gentoo.org/proj/en/desktop/artwork/artwork.xml#larry">Larry the cow graphics</a>, the theme has to comply with the <a href="http://creativecommons.org/licenses/by-sa/2.5/">CC-BY-SA/2.5</a> license.</li>
</ol>
<p>This can hardly be over-emphasized. If you fail to respect licenses properly Gentoo will not be able to include your theme anywhere, really. Other than that, happy theming! Feel free to post links to your Gentoo GRUB 2 themes in the comments below.</p>
<p>For more graphical building blocks and logos that you might want to use, please check out the <a href="http://www.gentoo.org/proj/en/desktop/artwork/artwork.xml">Gentoo Artwork page</a> and the <a href="http://blog.hartwork.org/?p=1793">vector remake of GDM 2.x background “gentoo-cow”</a>.</p>
<p>The theming file format of GRUB 2 is <a href="https://www.gnu.org/software/grub/manual/grub.html#Theme-file-format">described in detail</a> in the official GRUB manual.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1807</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Vector remake of GDM 2.x background &#8220;gentoo-cow&#8221;</title>
		<link>http://blog.hartwork.org/?p=1793</link>
		<comments>http://blog.hartwork.org/?p=1793#comments</comments>
		<pubDate>Sun, 24 Jun 2012 19:15:16 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Planet Gentoo]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1793</guid>
		<description><![CDATA[It has been on my personal todo list for a while to remake the background of the &#8220;gentoo-cow&#8221; GDM 2.x theme in vector format. So I took some time to work on that today. The result is an SVG file and a bunch of PNG renderings (in many resolutions, ratios 4:3, 5:4, 8:5 and 16:9), [...]]]></description>
				<content:encoded><![CDATA[<p>It has been on my personal todo list for a while to remake the background of the &#8220;gentoo-cow&#8221; GDM 2.x theme in vector format. So I took some time to work on that today. The result is an <a href="http://www.gentoo.org/images/backgrounds/gentoo-cow-gdm-remake.svg">SVG file</a> and a bunch of PNG renderings (in many resolutions, ratios 4:3, 5:4, 8:5 and 16:9), now part of the <a href="http://www.gentoo.org/main/en/graphics.xml#doc_chap1_sect5">Gentoo Linux Wallpapers</a> section.</p>
<p>With that remade vector version you ca</p>
<ul>
<li>make razor-sharp renderings for any resolution you like</li>
<li>adjust colors for yourself with high quality results despite little effort</li>
<li>distribute any derivative works under <a href="http://creativecommons.org/licenses/by-sa/2.5/">CC-BY-SA/2.5</a></li>
</ul>
<p>Maybe someone likes to base a (legally sound) GDM 3.x or GRUB 2 theme on it&#8230; ?!<br />
If you need help setting up an efficient GRUB 2 theming playground, please <a href="mailto:sebastian@pipping.org">get in touch</a>.</p>
<p><a href="http://www.gentoo.org/images/backgrounds/gentoo-cow-gdm-remake.svg">Download SVG</a></p>
<p><center><a href="http://www.gentoo.org/main/en/graphics.xml#doc_chap1_sect5"><img src="__images/gentoo-cow-gdm-remake-400x300.png" alt="" /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1793</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>My best tool with package bumps: Meld</title>
		<link>http://blog.hartwork.org/?p=1683</link>
		<comments>http://blog.hartwork.org/?p=1683#comments</comments>
		<pubDate>Mon, 09 Apr 2012 21:03:31 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Planet Gentoo]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1683</guid>
		<description><![CDATA[For quite some time I have been using Meld to detect relevant changes between two releases when I update a package in Gentoo. I run # ebuild foobar-1.2.ebuild manifest prepare # ebuild foobar-1.3.ebuild manifest prepare and throw Meld at both outputs # meld /var/tmp/portage/[..]/foobar-1.2/work/foobar-1.2/ \ /var/tmp/portage/[..]/foobar-1.3/work/foobar-1.3/ &#038; Meld makes it easy to see what has [...]]]></description>
				<content:encoded><![CDATA[<p>For quite some time I have been using <a href="http://meldmerge.org/">Meld</a> to detect relevant changes between two releases when I update a package in Gentoo. I run</p>
<pre># ebuild <em>foobar-1.2</em>.ebuild manifest prepare
# ebuild <em>foobar-1.3</em>.ebuild manifest prepare</pre>
<p>and throw Meld at both outputs</p>
<pre># meld /var/tmp/portage/[..]/<em>foobar-1.2</em>/work/<em>foobar-1.2</em>/ \
       /var/tmp/portage/[..]/<em>foobar-1.3</em>/work/<em>foobar-1.3</em>/ &#038;</pre>
<p><center><a href="__images/meld-gegl-bump-tree.png"><img src="__images/meld-gegl-bump-tree-40.png"></a></center></p>
<p>Meld makes it easy to see what has changed and (especially) what has <em>not</em> changed.  With sole <tt>diff -r</tt> that would be difficult.</p>
<p>I usually start by inspecting changes to <tt>configure.ac</tt>. If upstream did a good job that diff tells what dependencies to touch, already.  Near the left and right margin you can see where else the file has been modified.  No need to scroll-search down for more: you already know what you get.</p>
<p><center><a href="__images/meld-gegl-bump-configure.png"><img src="__images/meld-gegl-bump-configure-40.png"></a></center></p>
<p>The <tt>NEWS</tt> and <tt>ChangeLog</tt> files usually offer pointers of interest, too.</p>
<p><center><a href="__images/meld-gegl-bump-news.png"><img src="__images/meld-gegl-bump-news-40.png"></a></center></p>
<p>If my hint on Meld made a single Gentoo packager juggler&#8217;s life easier or more efficient, I have achieved what I was aiming for.  Sorry for the noise to everyone else.</p>
<p>PS: The second preview image up there has been losslessly reduced by 40% in size just by running it through <tt>optipng -o7</tt>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1683</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>overlint: Static analysis for your Gentoo overlay</title>
		<link>http://blog.hartwork.org/?p=1667</link>
		<comments>http://blog.hartwork.org/?p=1667#comments</comments>
		<pubDate>Fri, 06 Apr 2012 22:42:05 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Planet Gentoo]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1667</guid>
		<description><![CDATA[While repoman does a good job of finding smells in ebuilds, a tool to evaluate an overlay with respect to the state of the Gentoo main tree has to my knowledge been missing so far. overlint is a simple command line tool. From a technical view point it reports which version bumps from the overlay [...]]]></description>
				<content:encoded><![CDATA[<p>While repoman does a good job of finding smells in ebuilds, a tool to evaluate an overlay with respect to the state of the Gentoo main tree has to my knowledge been missing so far.</p>
<p>overlint is a simple command line tool. From a technical view point it reports</p>
<ul>
<li>which version bumps from the overlay are missing from the main tree (e.g. the overlay has 7.1 but the main tree has 7.0, only),</li>
<li>which <em>revision</em> bumps are missing from the main tree (e.g. the overlay has 3.0-r1 but the main tree has 3.0, only), and</li>
<li>which exact same revisions exist in both trees with differing ebuilds.</li>
</ul>
<p>On a higher level these findings often indicate that</p>
<ul>
<li>certain changes are still to be integrated with the Gentoo main tree to benefit a wider audience and/or that</li>
<li>an ebuild appeared in an overlay first but can be removed now as the Gentoo main tree has grown an equivalent (or identical) copy.</li>
</ul>
<p>As a consequence overlint has two main use cases, each with a different user audience:</p>
<ul>
<li>Overlay maintainers can use overlint to better keep their overlay in shape.</li>
<li>Gentoo developers and proxy maintainers can use overlint to detect valuable patches missing from the main tree.</li>
</ul>
<p>Here is example output of overlint 0.4.1 for the calculate overlay:</p>
<pre># overlint-cli /var/lib/layman/calculate/
===============================================================
Version bumps missing from Gentoo main tree
===============================================================
net-misc/
  italc :: 1.0.13, 2.0.0
net-print/
  foo2zjs :: 20081129, 20110512
net-wireless/
  madwifi-ng :: 0.9.4.4178.20120131
  madwifi-ng-tools :: 0.9.4.4178.20120131

===============================================================
Revision bumps missing from Gentoo main tree
===============================================================
app-arch/
  unzip :: 6.0-r9
app-text/
  wgetpaste :: 2.18-r1

===============================================================
Ebuils that differ at same revision
===============================================================
app-forensics/
  unhide :: 20110113
dev-util/
  bin_replace_string :: 0.2
  qt-creator :: 2.4.1
sys-auth/
  pam_keystore :: 0.1.3
sys-block/
  tw_cli :: 9.5.3
sys-boot/
  grub :: 1.99-r2
sys-libs/
  talloc :: 2.0.7
virtual/
  linux-sources :: 0</pre>
<p>To get it run:</p>
<pre># sudo emerge -av app-portage/overlint</pre>
<p>The source code is up on <a href="http://git.overlays.gentoo.org/gitweb/?p=proj/overlint.git;a=summary">http://git.overlays.gentoo.org/gitweb/?p=proj/overlint.git;a=summary</a>. For small patches just send them along, for bigger ones get in touch before the work, please. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1667</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>On waste from /usr/share/locale</title>
		<link>http://blog.hartwork.org/?p=1516</link>
		<comments>http://blog.hartwork.org/?p=1516#comments</comments>
		<pubDate>Mon, 28 Nov 2011 17:33:02 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Planet Gentoo]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1516</guid>
		<description><![CDATA[I recently  noticed 200MB waste from /usr/share/locale from languages that I never configured. So I turned to the gentoo-user mailing list and got a detailed reply by Mike Edenfield (quoted below) a hint on app-admin/localepurge by walt/w41ter As I liked the explanation by Mike, I asked for permission to quote it as CC-BY-SA/3.0 here, which [...]]]></description>
				<content:encoded><![CDATA[<p>I recently  noticed 200MB waste from <tt>/usr/share/locale</tt> from languages that I never configured. So I turned to the <tt>gentoo-user</tt> mailing list and got</p>
<ul>
<li>a detailed reply by Mike Edenfield (quoted below)</li>
<li>a hint on <tt>app-admin/localepurge</tt> by walt/w41ter</li>
</ul>
<p>As I liked the explanation by Mike, I asked for permission to quote it as CC-BY-SA/3.0 here, which he confirmed:</p>
<blockquote style="text-align:justify;padding-right:40px"><p>Different packages include different levels of support for filtering their installed localization messages, typically one of &#8220;install everything&#8221;, &#8220;install what&#8217;s requested&#8221;, or &#8220;whats a locale?&#8221;</p>
<p>The reason you mostly have files under LC_MESSAGES is because that&#8217;s 99% of what is needed to localize a package. The files in there are string resource packages, translations of the strings used by the program, which are picked up by the localization library (gettext) automatically based on your locale settings. (coreutils installs file into LC_TIME for locales with date/time formatting requirements; I don&#8217;t think I&#8217;ve ever seen any other locale files.)</p>
<p>The standard way to inform a package which languages you want is to set your LINGUAS variable in /etc/make.conf to the locale name(s) you want installed (without the charset specifier). LINGUAS works like any other portage expansion variables: for those packages that support it, you get a set of USE-flag-like language keywords set on build. (LINGUAS is the well-known environment variable used by most autotools-based packages to select languages, but portage provides support above and beyond that.)</p>
<p>Unfortunately, proper locale support is spotty &#8212; mostly due to upstream maintainers being too lazy to properly add it to their builds. Instead, the package will install every message file it has available all the time.</p>
<p>You can safely delete any folders from /usr/share/locale for locales that you don&#8217;t have installed, since the normal locale support in glibc will never ask for them. But they&#8217;ll just get put back next time you upgrade the package.</p>
<p>&#8211;Mike</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1516</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Sticking with GDM 2.x (downgrade from GDM 3.2.x)</title>
		<link>http://blog.hartwork.org/?p=1512</link>
		<comments>http://blog.hartwork.org/?p=1512#comments</comments>
		<pubDate>Mon, 28 Nov 2011 17:08:14 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Planet Gentoo]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1512</guid>
		<description><![CDATA[The latest system update pulled GDM 3.2.x into my ~amd64 Gentoo system. While GDM 2.x felt just right, GDM 3.x is not my thing at all. To bring back GDM 2.x I added these masks &#62;=gnome-base/gdm-3 &#62;=gnome-base/gnome-control-center-3 &#62;=gnome-base/libgnomekbd-3 &#62;=net-wireless/gnome-bluetooth-3 &#62;=gnome-base/gnome-settings-daemon-3 and re-emerged the latest 2.x versions of these packages. Works.]]></description>
				<content:encoded><![CDATA[<p>The latest system update pulled GDM 3.2.x into my <tt>~amd64</tt> Gentoo system. While GDM 2.x felt just right, GDM 3.x is not my thing at all. To bring back GDM 2.x I added these masks</p>
<pre>&gt;=gnome-base/gdm-3
&gt;=gnome-base/gnome-control-center-3
&gt;=gnome-base/libgnomekbd-3
&gt;=net-wireless/gnome-bluetooth-3
&gt;=gnome-base/gnome-settings-daemon-3</pre>
<p>and re-emerged the latest 2.x versions of these packages. Works.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1512</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Got broken SVG icons/wallpapers in XFCE?</title>
		<link>http://blog.hartwork.org/?p=1455</link>
		<comments>http://blog.hartwork.org/?p=1455#comments</comments>
		<pubDate>Thu, 08 Sep 2011 20:22:00 +0000</pubDate>
		<dc:creator>sping</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Planet Gentoo]]></category>

		<guid isPermaLink="false">http://blog.hartwork.org/?p=1455</guid>
		<description><![CDATA[Some time after a world update I noticed that XFCE&#8217;s desktop settings no longer listed SVG wallpapers from x11-themes/larry-backgrounds. Also, the XFCE menu was lacking icons for Blender 2.5x. sudo revdep-rebuild didn&#8217;t seem to help. Some digging in the code of xfdesktop quickly revealed that the loader of gdk-pixbuf didn&#8217;t like loading SVGs anymore. For [...]]]></description>
				<content:encoded><![CDATA[<p>Some time after a world update I noticed that XFCE&#8217;s desktop settings no longer listed SVG wallpapers from <tt>x11-themes/larry-backgrounds</tt>. Also, the XFCE menu was lacking icons for Blender 2.5x. <tt>sudo revdep-rebuild</tt> didn&#8217;t seem to help. Some digging in the code of xfdesktop quickly revealed that the loader of gdk-pixbuf didn&#8217;t like loading SVGs anymore. For some reason re-emerging <tt>x11-libs/gdk-pixbuf</tt> solved the issue. Processes that needed killing and a re-launch were <tt>xfce4-panel</tt> and <tt>xfdesktop</tt> for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hartwork.org/?feed=rss2&#038;p=1455</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>
