<?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>Bluehorn's Blog &#187; Debian</title>
	<atom:link href="http://www.landschoff.net/blog/category/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.landschoff.net/blog</link>
	<description>Ramblings of Torsten Landschoff</description>
	<lastBuildDate>Thu, 08 Jul 2010 10:43:01 +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>Postprocessing conference videos</title>
		<link>http://www.landschoff.net/blog/2010/07/postprocessing-conference-videos/</link>
		<comments>http://www.landschoff.net/blog/2010/07/postprocessing-conference-videos/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 22:03:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[mlt]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=167</guid>
		<description><![CDATA[I was planning to attend DebConf New York this year, but for a number of reasons I decided not to go. Fortunately, Ferdinand Thommes organized a MiniDebConf in Berlin at LinuxTag and I managed to attend. Thanks, Ferdinand!
There were a number of interesting Talks. I especially liked the talk of our DPL, and those about [...]]]></description>
			<content:encoded><![CDATA[<p>I was planning to attend <a href="http://debconf10.debconf.org/">DebConf New York</a> this year, but for a number of reasons I decided not to go. Fortunately, Ferdinand Thommes organized a <a href="http://www.minidebconf.de/2010/berlin/">MiniDebConf</a> in Berlin at <a href="http://www.linuxtag.org/">LinuxTag</a> and I managed to attend. Thanks, Ferdinand!</p>
<p>There were a number of interesting <a href="http://wiki.debconf.org/wiki/Miniconf-LT-Berlin/2010#Schedule">Talks</a>. I especially liked the talk of our DPL, and those about piuparts and git-buildpackage. In contrast to the other LinuxTag talks, we had a livestream of our talks and recorded (most) of them. The kudos for setting this up goes to Alexander Wirt, who spent quite a few hours to get it up and running.</p>
<p>I have to apologize for being late in bringing my Notebook, which was intended to do the theora encoding of the livestream. This was a misunderstanding on my part, I should have known that this is not going to be setup in the night before show time&#8230; So to compensate the extra hours he had to put in for me, I offered to do the post processing of the videos.</p>
<h2>Basic approach for post processing</h2>
<p>The main goal of post processing the videos was (of course) to compress them to a usable size from the original 143 GB. I also wanted to have a title on each video, and show the sponsors at the end of the video.</p>
<p>My basic idea to implement that consisted of the following steps:</p>
<ol>
<li>Create a title animation template.</li>
<li>Generate title animations from template for all talks.</li>
<li>Use a video editor to create a playlist of the parts title &#8211; talk &#8211; epilogue.</li>
<li>Run the video editor in batch mode to generate the combined video.</li>
<li>Encode the resulting video as ogg theora.</li>
</ol>
<p>As always with technology, it turned out that the original plan needed a few modifications.</p>
<h2>Title animations</h2>
<div style="float:right; border:1px dashed; padding:3px;"><video width="360 "height="288" src="http://www.landschoff.net/blog/uploads/2010/07/mdc2010_title_anim1.ogv" controls="controls"></video></div>
<p>Originally I wanted to use <a href="http://www.blender.org/">Blender</a> for the title animation, but I knew it is quite a complicated bit of software. So I looked for something simpler, and stumbled across an <a href="https://www.lwn.net/Articles/377939/">article</a> that pointed me towards <a href="http://www.synfig.org/">Synfig Studio</a> for 2D animation. This is also in Debian, so I gave it a try.</p>
<p>I was delighted that Synfig Studio has a command line renderer which is just called <tt>synfig</tt> and that the file format is XML, which would make it simple to batch-create the title animations. My title template can be found in <a href="http://landschoff.net/git/?p=mdc-video.git;a=summary">this git repository</a>.</p>
<h3>Batch creation of title animations</h3>
<p>I used a combination of <tt>make</tt> and a simple <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=doit.py;h=2601eac32d653056e6f516ce148bb8a7bda70dd5;hb=18026583d915c166b19fd26535cb49019d1158af">python script</a> to replace the author name and the title of the talk into the synfig XML file. The data for all talks is another XML file <tt>talks.xml</tt>. Basically, I used a simple <a href="http://www.w3.org/TR/xpath/">XPath</a> expression to find the relevant text node and change the data using the ElementTree API of <a href="http://codespeak.net/lxml/">lxml python module</a>.</p>
<p>The same could be done using <a href="http://www.w3.org/TR/xslt">XSLT</a> of course (for a constant replacement, see <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=test.xsl;h=ba2a20d545c5076ea1b78707ab5e585ffa219262;hb=18026583d915c166b19fd26535cb49019d1158af">this file</a>) but I found it easier to combine two XML files in python.</p>
<p>Note that I create PNG files with synfig and use <a href="http://www.ffmpeg.org/">ffmpeg</a> to generate a DV file from those. Originally, I had synfig create DV files directly but those turned out quite gray for some reason. I am now unable to reproduce this problem.</p>
<h2>Combining the title animation with the talk</h2>
<p>For joining the title animation with the talk, I originally went with <a href="http://www.openshotvideo.com/">OpenShot</a>, which somebody of the video team had running at the conference. My idea was to mix a single video manually and just replace the underlying data files for each talk. I expected that this would be easy using the <tt>openshot-render</tt> command, which renders the output video from the input clips and the <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=master/master.osp;h=f32c0c2dc5e8ca88c69eff88fd46f70318064beb;hb=18026583d915c166b19fd26535cb49019d1158af">OpenShot project file</a>. However, OpenShot stores the video lengths in the project file and will take those literally, so this did not work for talks of different play times&#8230;</p>
<p>I considered working with <a href="http://www.kinodv.org/">Kino</a> or <a href="http://kdenlive.org/">Kdenlive</a> but they did not look more appropriate for this use case. I noticed that OpenShot and Kdenlive both use the <a href="http://www.mltframework.org/">Media Lovin&#8217; Toolkit</a> under the hood, and OpenShot actually serializes the MLT configuration to <tt>$HOME/.openshot/sequence.xml</tt> when rendering. I first tried to read that XML file from python (using the mlt python bindings from the <tt>python-mlt2</tt> package) but did not find an API function to do that. So I just hard coded the <a href="http://landschoff.net/git/?p=mdc-video.git;a=blob;f=sequence.py;h=030ea9e2b2cfcb279d0baa19d03f09397583d644;hb=18026583d915c166b19fd26535cb49019d1158af">video sequence</a> in python.</p>
<p>I ran into a few gotchas on the way:</p>
<ul>
<li>it&#8217;s easy to segfault MLT from Python (something is wrong with the refcounting)</li>
<li>generating ogg theora using MLT from Python (which uses libavformat) resulted in a bad audio/video synchronisation of the output (more than 1 second for 1 hour of video)</li>
<li>generating dv from MLT and running <a href="http://v2v.cc/~j/ffmpeg2theora/">ffmpeg2theora</a> on the result is disk-bound on my quad core system &#8211; so use a pipe to ffmpeg2theora</li>
</ul>
<h2>Things to improve</h2>
<p>While the results look quite okay for me now, there is a lot of room for improvement.</p>
<ul>
<li>What bothers me the most is the unequal audio volume between talks. We should apply something like <a href="http://replaygain.hydrogenaudio.org/">replay gain</a> for normalization. I did not find an easy way to add this to the processing pipeline, otherwise it would have been included already.</li>
<li>Original recordings have different aspect ratios, so after combining them, there is a letterbox added. This is the case for <a href="http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/MDC2010_Brederlow_MultiArch.ogv">Goswin&#8217;s talk on Multiarch</a> for example. I&#8217;d rather have the title distorted or letter boxed, if I get around to it, I will fix it in the script.</li>
<li>Most of the recordings concentrate on showing the slides. As we did not keep the raw camera data, but recorded the <a href="http://dvswitch.alioth.debian.org/wiki/">DVswitch</a> output, we missed the opportunity to show the speaker more often in full screen. Looking at the same slide becomes quite boring after half a minute, so it would be better<br />
to show the speaker more often. That would require quite a bit of man power for post processing though, I have to admit that I did not watch all the hours of video.</li>
<li>We could cut a bit off the talk at start and end, when the speaker discusses where he is available for questions. It is not of interest anymore after the conference is over.</li>
</ul>
<h2>Availability</h2>
<ul>
<li>git repo (browsing): <a href="http://www.landschoff.net/git/?p=mdc-video.git;a=summary">http://www.landschoff.net/git/?p=mdc-video.git;a=summary</a></li>
<li>git repo (clone): <a href="git://landschoff.net/mdc-video">git://landschoff.net/mdc-video</a></li>
<li>Videos: <a href="http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/">http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/</a> (<strong>note:</strong> most of these are in german, apart from the DPL and the LXDE talk)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/07/postprocessing-conference-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.landschoff.net/blog/uploads/2010/07/mdc2010_title_anim1.ogv" length="369157" type="video/ogg" />
<enclosure url="http://meetings-archive.debian.net/pub/debian-meetings/2010/minidebconf-berlin/MDC2010_Brederlow_MultiArch.ogv" length="426287215" type="video/ogg" />
		</item>
		<item>
		<title>Eclipse 3.5.1 mouse event problems with gtk &gt;= 2.18</title>
		<link>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/</link>
		<comments>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 11:59:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gtk]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=155</guid>
		<description><![CDATA[Recently, Eclipse started ignoring clicks on dialog buttons for me. This seems to be due to some changes in gtk 2.18. It does not use native windows for all widgets anymore, and SWT seems to rely on it.
Thanks to this blog post, I have this fix in my bashrc:
1alias eclipse=&#34;GDK_NATIVE_WINDOWS=true eclipse&#34;
The Debian bug tracker also [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, Eclipse started ignoring clicks on dialog buttons for me. This seems to be due to some changes in gtk 2.18. It does not use native windows for all widgets anymore, and SWT seems to rely on it.</p>
<p>Thanks to <a href="http://www.bernie.net.my/blog/2009/10/16/gtk2-2182-1-breaks-eclipse-351/">this blog post</a>, I have this fix in my bashrc:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">eclipse</span>=<span style="color: #ff0000;">&quot;GDK_NATIVE_WINDOWS=true eclipse&quot;</span></div></td></tr></tbody></table></div>
<p>The Debian bug tracker also knows about <a href="http://bugs.debian.org/552480">this problem</a>, which is partly fixed for the eclipse packages. Bad luck that I am using a download from eclipse.org.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quiltrc for Debian packaging</title>
		<link>http://www.landschoff.net/blog/2010/01/quiltrc-for-debian-packaging/</link>
		<comments>http://www.landschoff.net/blog/2010/01/quiltrc-for-debian-packaging/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 14:50:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[debian quilt]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=149</guid>
		<description><![CDATA[Working on another laptop, I was missing my quiltrc settings. I think, I got them from a this email by Marco d&#8217;Itri. Perhaps it is of help to somebody (for example, when I go searching for it again).
BTW, I changed it locally to check only for debian folder in parent directories and create debian/patches automatically [...]]]></description>
			<content:encoded><![CDATA[<p>Working on another laptop, I was missing my quiltrc settings. I think, I got them from a <a href="http://lists.debian.org/debian-devel/2008/05/msg00065.html">this email by Marco d&#8217;Itri</a>. Perhaps it is of help to somebody (for example, when I go searching for it again).</p>
<p>BTW, I changed it locally to check only for <tt>debian</tt> folder in parent directories and create <tt>debian/patches</tt> automatically if needed:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">for</span> d <span style="color: #000000; font-weight: bold;">in</span> . .. ..<span style="color: #000000; font-weight: bold;">/</span>.. ..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>.. ..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>.. ..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>..; <span style="color: #000000; font-weight: bold;">do</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$d</span><span style="color: #000000; font-weight: bold;">/</span>debian <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$d</span><span style="color: #000000; font-weight: bold;">/</span>debian<span style="color: #000000; font-weight: bold;">/</span>patches <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #007800;">$d</span><span style="color: #000000; font-weight: bold;">/</span>debian<span style="color: #000000; font-weight: bold;">/</span>patches<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">fi</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">QUILT_PATCHES</span>=debian<span style="color: #000000; font-weight: bold;">/</span>patches<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #000000; font-weight: bold;">done</span></div></td></tr></tbody></table></div>
<p>I&#8217;d rather end up with a <tt>patches</tt> dir inside the <tt>debian</tt> folder instead of having it at a random place in the package sources when adding the first quilt patch.</p>
<p>I wonder if we should ship this with the quilt package!?</p>
<p><b>Update:</b> After discussion with James Vega on IRC, the quiltrc evolved into this version:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">d</span>=.<br />
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$d</span>/debian&quot;</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">readlink</span> <span style="color: #660033;">-e</span> <span style="color: #007800;">$d</span><span style="color: #000000; font-weight: bold;">`</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span><br />
&nbsp; &nbsp; <span style="color: #007800;">d</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$d</span>/..&quot;</span><br />
<span style="color: #000000; font-weight: bold;">done</span><br />
<br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$d</span>/debian&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">QUILT_PATCHES</span>=debian<span style="color: #000000; font-weight: bold;">/</span>patches<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$d</span><span style="color: #000000; font-weight: bold;">/</span>debian<span style="color: #000000; font-weight: bold;">/</span>patches <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #007800;">$d</span><span style="color: #000000; font-weight: bold;">/</span>debian<span style="color: #000000; font-weight: bold;">/</span>patches<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #000000; font-weight: bold;">fi</span></div></td></tr></tbody></table></div>
<p>This works with any directory depth while the original would only support 5 levels from the package base directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/01/quiltrc-for-debian-packaging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring a package selection on new system</title>
		<link>http://www.landschoff.net/blog/2009/12/restoring-a-package-selection-on-new-system/</link>
		<comments>http://www.landschoff.net/blog/2009/12/restoring-a-package-selection-on-new-system/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 20:45:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=121</guid>
		<description><![CDATA[I am moving from my old Debian development system to a new one, changing architectures from i386 to amd64. So I need to do a fresh install, but basically I want to keep my package selection.
Conventional wisdom is to use dpkg --get-selections and dpkg --set-selections to preserve the package selection. However, this does not keep [...]]]></description>
			<content:encoded><![CDATA[<p>I am moving from my old Debian development system to a new one, changing architectures from i386 to amd64. So I need to do a fresh install, but basically I want to keep my package selection.</p>
<p>Conventional wisdom is to use <tt>dpkg --get-selections</tt> and <tt>dpkg --set-selections</tt> to preserve the package selection. However, this does not keep the information about automatically installed packages.</p>
<p>Instead, I used
<pre>aptitude search '?installed?not(?automatic)' -F %p &gt; packages.txt</pre>
<p> to dump the packages I installed manually. Installing these was a matter of running:
<pre>aptitude install `cat packages.txt`</pre>
<p> In fact this was taking so long that I loaded the packages in batches using
<pre>cat packages.txt|xargs -n 100 aptitude install --schedule-only; aptitude</pre>
<p>While I was at it, it ran
<pre>aptitude remove '?obsolete'</pre>
<p> on the original system, killing of a few hundred packages that accumulated since 2003.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/12/restoring-a-package-selection-on-new-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New on Debian planet</title>
		<link>http://www.landschoff.net/blog/2009/11/new-on-debian-planet/</link>
		<comments>http://www.landschoff.net/blog/2009/11/new-on-debian-planet/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 21:35:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=112</guid>
		<description><![CDATA[Now that there is some content here, I added myself to the Planet Debian blog aggregator. Sorry for my weird head image, the shadow looked much better in Gimp. I&#8217;ll have to correct that on another day&#8230;
Thanks to Holger Levsen for pointing me at the wiki entry which describes how a Debian developer can add [...]]]></description>
			<content:encoded><![CDATA[<p>Now that there is some content here, I added myself to the <a href="http://planet.debian.org/">Planet Debian</a> blog aggregator. Sorry for my weird head image, the shadow looked much better in Gimp. I&#8217;ll have to correct that on another day&#8230;</p>
<p>Thanks to Holger Levsen for pointing me at the <a href="http://wiki.debian.org/PlanetDebian">wiki entry</a> which describes how a Debian developer can add himself to the Planet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/11/new-on-debian-planet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New development box &#8211; installation woes</title>
		<link>http://www.landschoff.net/blog/2009/11/new-development-box-installation-woes/</link>
		<comments>http://www.landschoff.net/blog/2009/11/new-development-box-installation-woes/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 19:06:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[debian-installer]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=97</guid>
		<description><![CDATA[I got a new computer at home a week ago and finally got around to assemble all the parts. Which wasn&#8217;t as easy as expected, especially fitting the CPU cooler was a hard fight.
Specs
For the curious, here are the specs:

CPU
AMD Phenom II X4 965 (4&#215;3.4 GHz)
Mainboard
MSI 790GX-G65
Graphics
ATI Radeon HD 3300 (on-board)
RAM
8 GB, DDR3
Hard drives
2x SATA [...]]]></description>
			<content:encoded><![CDATA[<p>I got a new computer at home a week ago and finally got around to assemble all the parts. Which wasn&#8217;t as easy as expected, especially fitting the CPU cooler was a hard fight.</p>
<h2>Specs</h2>
<p>For the curious, here are the specs:</p>
<dl>
<dt>CPU</dt>
<dd>AMD Phenom II X4 965 (4&#215;3.4 GHz)</dd>
<dt>Mainboard</dt>
<dd>MSI 790GX-G65</dd>
<dt>Graphics</dt>
<dd>ATI Radeon HD 3300 (on-board)</dd>
<dt>RAM</dt>
<dd>8 GB, DDR3</dd>
<dt>Hard drives</dt>
<dd>2x SATA 1.5 TB (by Western Digital)</dd>
</dl>
<h2>Ubuntu installation</h2>
<p>For testing and having a first look, I installed Ubuntu karmic koala (amd64). Installation went like a breeze, everything was detected and worked out of the box. Well, kind of &#8211; graphics performance was dreadful. Which was kind of expected.</p>
<h2>Debian installation</h2>
<p>I originally thought about using Debian only inside virtual machines or change roots. Still, Ubuntu does not really feel like &#8220;the real thing&#8221;. So I went to install Debian, aiming at a sid/unstable installation.</p>
<p>The first boot using the official squeeze snapshot netinst image (Binary-1 20091128-11:21) went fine. Up to the first prompt: No input was possible. Probably a problem with the USB keyboard I had connected (Logitech wireless). Out of curiosity I tried the graphical installer, which did not even get so far. It was stuck in an endless loop trying to start an X11 server.</p>
<p>So I dug for a PS/2 connected keyboard and had more luck. I got to the point where the installer searches for the CD-ROM drive. As I did not want to dismantle my old system yet, I used an external USB DVD/RW drive. This was not detected by the installer so I was unable to continue installation. I guess, the NIC driver was also on the disc so no ethernet either.</p>
<p>Today I installed the DVD burner into the tower and had more luck. It still amazes me how easy it is to create my default storage setup using d-i (LVM on RAID). However,  the installer failed to reread the partitions after I created two on each drive, interestingly telling me about <tt>/dev/sda2</tt> being busy. Perhaps a left-over swap partition from the Ubuntu install? Anyway, after running fdisk manually and writing the same partition table again, I was able to continue.</p>
<p>The remaining d-i steps went fine, with just a nuisance: I was asked for the console font setting &#8211; twice. And I had no idea what it was asking of me, AFAIK UTF-8 should be fine for all possible uses. I selected <em># Latin1 and Latin5 &#8211; western Europe and Turkic languages</em>. Not that I will see the console unless Xorg fails to run&#8230;</p>
<p>After having the base system running, I rebooted without selecting any more software, partly because I knew that the resync on md1 will need restarting after booting into the new system.</p>
<p>The new system booted fine and I called aptitude to install <tt>build-essential</tt>, Xorg and both KDE and Gnome desktops. This pulled in MySQL via <tt>akonadi-server</tt> (ouch!) and I was asked for a MySQL root password. Seriously, I don&#8217;t care, this is a desktop system. I tend to forget the password anyway and the last time, root was able to reset it. So I just hit <em>Enter</em>, leaving no password set. This lead to the installation asking me two more times for the password, which really sucks given that the server is only used by Akonadi for whatever reason and the last time I looked, it creates its own MySQL configuration.</p>
<p>Albeit my old system is 8 years old, the new system still seemed slower. Which of course is due to disk latencies, given that <tt>/dev/md1</tt> was being synchronized in the background.</p>
<p>Anyway, I was eager to test the desktop experience and started gdm. X came up fine, but again I had no mouse and no keyboard (USB mouse, keyboard connected as well as PS/2 keyboard). I also was unable to switch to a VT, so I logged in remotely and rebooted the new system.</p>
<p>After the reboot, hal obviously picked up the input devices and X11 worked fine now. At this point, I stopped as the sunday almost passed already.</p>
<p>Summary: Debian installation still needs some improvements I think. Maybe our distribution is just too stable, after all my last install is 3 years back &#8211; due to a disk crash&#8230;</p>
<h3>Relevant Debian bugs</h3>
<ul>
<li><a href="http://bugs.debian.org/558679">#558679</a>: My installation report with some logs included.
<li><a href="http://bugs.debian.org/558681">#558681</a>: Nagging about MySQL root password.
<li><a href="http://bugs.debian.org/558686">#558686</a>: Failure to reload partition table.
<li><a href="http://bugs.debian.org/545933">#545933</a>: No USB keyboard support
<li><a href="http://bugs.debian.org/315553">#315553</a>: Installation from optical drive on usb fails (but this is for kernel 2.4)
<li><a href="http://bugs.debian.org/558691">#558691</a>: No keyboard and mouse after fresh installation of xserver-xorg.
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/11/new-development-box-installation-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>schroot and LVM snapshots</title>
		<link>http://www.landschoff.net/blog/2009/11/schroot-and-lvm-snapshots/</link>
		<comments>http://www.landschoff.net/blog/2009/11/schroot-and-lvm-snapshots/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 21:04:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=76</guid>
		<description><![CDATA[For the roundcube packages I wrote about before, I needed a lenny build system. I did not want to load the required packages to the production server. I used to use debootstrap for this but I wanted to keep a clean base system without copying around all the time.
After a bit of searching, I stumbled [...]]]></description>
			<content:encoded><![CDATA[<p>For the roundcube packages I wrote about before, I needed a <a href="http://www.debian.org/releases/lenny">lenny</a> build system. I did not want to load the required packages to the production server. I used to use <a href="http://packages.debian.org/debootstrap">debootstrap</a> for this but I wanted to keep a clean base system without copying around all the time.</p>
<p>After a bit of searching, I stumbled across <a href="http://packages.debian.org/schroot">schroot</a>, which turned out to be a really useful package. The blog post <a href="http://www.enricozini.org/2008/tips/joys-of-schroot/">&#8220;Joys of Schroot&#8221;</a> by Enrico had me going in no time (thanks Enrico!).</p>
<p>Since I built a number of packages multiple times, I did not want to download the required dependencies each time. I also did not want to do any tricks with <a href="http://packages.debian.org/approx">approx</a> as suggested by Enrico. Instead, I added another bind-mount to <tt>/etc/schroot/mount-defaults</tt>:</p>
<pre>
/var/cache/apt/archives	/var/cache/apt/archives		none	rw,bind		0	0
</pre>
<p>With this simple change, the chroots now share the apt cache with my main system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/11/schroot-and-lvm-snapshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roundcube 0.3.1 packages for lenny</title>
		<link>http://www.landschoff.net/blog/2009/11/roundcube-0-3-1-packages-for-lenny/</link>
		<comments>http://www.landschoff.net/blog/2009/11/roundcube-0-3-1-packages-for-lenny/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 15:45:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=89</guid>
		<description><![CDATA[As mentioned in my previous post, I created packages of roundcube webmail version 0.3.1 for Debian lenny. The original purpose was to have a better webmail interface at my company.
These packages may also be of interest to other Debian users, therefore I make them available here:

Roundcube packages
jQuery package

Everything else you need is available at backports.org, [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in my previous post, I created packages of <a href="http://roundcube.net">roundcube webmail</a> version 0.3.1 for Debian lenny. The original purpose was to have a better webmail interface at my company.</p>
<p>These packages may also be of interest to other Debian users, therefore I make them available here:</p>
<ul>
<li><a href="http://landschoff.net/trac/stuff/export/11/packages/roundcube">Roundcube packages</a></li>
<li><a href="http://landschoff.net/trac/stuff/export/11/packages/jquery">jQuery package</a></li>
</ul>
<p>Everything else you need is available at <a href="http://backports.org">backports.org</a>, most notably the database wrappers in <tt>php-mdb2</tt>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/11/roundcube-0-3-1-packages-for-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
