<?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>The Troll-Range &#187; debian</title>
	<atom:link href="http://blog.trollgod.org.uk/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.trollgod.org.uk</link>
	<description>Ghworg&#039;s wibblings and geek projects.</description>
	<lastBuildDate>Mon, 26 Apr 2010 19:31:11 +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>Backporting new code to Debian packages</title>
		<link>http://blog.trollgod.org.uk/2009/11/backporting-new-code-to-debian-packages/</link>
		<comments>http://blog.trollgod.org.uk/2009/11/backporting-new-code-to-debian-packages/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 17:30:23 +0000</pubDate>
		<dc:creator>Ghworg</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://blog.trollgod.org.uk/?p=374</guid>
		<description><![CDATA[<p>I like Linux distros packaging systems, especially Debian&#8217;s. It makes it trivial to install, remove and change to different versions of programs. The only problem is that sometimes there is a delay in packaging the latest version of an app.</p> <p>Never fear though, if you are willing to do a little bit of work <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.trollgod.org.uk/2009/11/backporting-new-code-to-debian-packages/">Backporting new code to Debian packages</a></span>]]></description>
			<content:encoded><![CDATA[<p>I like Linux distros packaging systems, especially Debian&#8217;s.  It makes it trivial to install, remove and change to different versions of programs.  The only problem is that sometimes there is a delay in packaging the latest version of an app.</p>
<p>Never fear though, if you are willing to do a little bit of work you can shoehorn the latest code into a package yourself without needing any special knowledge of how to create packages.  Note this will only work with programs that already have been packaged since it re-uses the old packaging info with the new code.</p>
<p>I refer to Debian, but the exact same procedure will work on any deb based distro, such as Ubuntu.</p>
<p>Before starting make sure you have the devscripts and build-essential packages installed.  These will install all the tools needed to build debian packages.</p>
<p>First download the source package of the old version.</p>
<pre>apt-get source $NAME</pre>
<p>Then, as a sanity check cd into the created directory and run</p>
<pre>debuild -i -us -uc</pre>
<p>This will probably complain about missing packages needed for building, so go ahead and install them with apt-get or aptitude or whatever.  Then re-run the build command.  Assuming that works you should end up with some .deb files in the parent dir.</p>
<p>Now grab the code for the latest version from its website.  If it is not already in a tarball you&#8217;ll want to make one from it with</p>
<pre>tar czf application_version-1.orig.tar.gz applicationdir</pre>
<p>If it is a tarball already then just rename it to match the formatting application_version-1.orig.tar.gz.  For example when backporting mesa I name the tarball mesa_7.7.0-1.orig.tar.gz.</p>
<p>Next copy the debian dir from the old application directory to the new one.</p>
<pre>cp -a application-debianversion/debian application-newversion/</pre>
<p>Then cd into the new directory and run</p>
<pre>debchange -v version-1 "Updated code to latest version"</pre>
<p>It is vital that the version number used in this command matches the naming of the .orig.tar.gz file you created earlier.  For example for mesa I use 7.7.0-1.  This is the magic that will make everything work.</p>
<p>The final step is to build the new package.</p>
<pre>debuild -i -us -uc</pre>
<p>and tada!  With a bit of luck your shiny new version should be packaged up and ready to be installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trollgod.org.uk/2009/11/backporting-new-code-to-debian-packages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5 startup problem (solved)</title>
		<link>http://blog.trollgod.org.uk/2009/09/firefox-3-5-startup-problem-solved/</link>
		<comments>http://blog.trollgod.org.uk/2009/09/firefox-3-5-startup-problem-solved/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 15:06:28 +0000</pubDate>
		<dc:creator>Ghworg</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[iceweasel]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.trollgod.org.uk/?p=358</guid>
		<description><![CDATA[<p>Firefox[1] 3.5 has been out for a while now, but I&#8217;ve only recently managed to switch due to the program not starting up unless I use a weird command line hack.</p> <p>By using the strace command I found it was hanging on a futex call, starting in safe-mode and even deleting .mozilla didn&#8217;t fix <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.trollgod.org.uk/2009/09/firefox-3-5-startup-problem-solved/">Firefox 3.5 startup problem (solved)</a></span>]]></description>
			<content:encoded><![CDATA[<p>Firefox<sup>[<a name="id394062" href="#ftn.id394062">1</a>]</sup> 3.5 has been out for a while now, but I&#8217;ve only recently managed to switch due to the program not starting up unless I use a weird command line hack.</p>
<p>By using the strace command I found it was hanging on a futex call, starting in safe-mode and even deleting .mozilla didn&#8217;t fix it.  I found a <a href="http://support.mozilla.com/tiki-view_forum_thread.php?comments_parentId=379151&#038;forumId=1">forum thread</a> on the mozilla forum that shows I&#8217;m not the only one to come across this.  There was a fix described in a post linked from there, but it only worked by editing the launch command, and I&#8217;m not prepared to dig through the OS and replace every instance of the launcher to make it work.</p>
<p>Yesterday though I found the real culprit, it was padsp!  A long time ago I had set Firefox to use padsp in order to get flash sound to work correctly with pulseaudio.  I had totally forgotten I had done this, because I had made the change in /etc not in my home folder.</p>
<p>So if you find Firefox 3.5 won&#8217;t start on linux even though 3.0 works fine then check if you have a FIREFOX_DSP (or ICEWEASEL_DSP if on Debian) set somewhere.  For me the fix was this:</p>
<p>In file /etc/iceweasel/iceweaselrc:</p>
<pre>
# which /dev/dsp wrapper to use
ICEWEASEL_DSP="padsp"
</pre>
<p>See the ICEWEASEL_DSP line, delete it or comment it out and Iceweasel starts working.  If you are using vanilla Firefox then obviously replace every instance of the word iceweasel with firefox to implement the fix on your system.</p>
<p>Hope this helps someone.  Oh and flash now works fine with pulseaudio without the padsp thing too.</p>
<div class="footnote">
<p>
<sup>[<a name="ftn.id394062" href="#id394062">1</a>]</sup> I&#8217;m actually using <a href="http://packages.debian.org/experimental/iceweasel">Iceweasel</a> but it is Firefox in all but name so I&#8217;ll call it that here</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.trollgod.org.uk/2009/09/firefox-3-5-startup-problem-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE 4 finally ready for Prime time?</title>
		<link>http://blog.trollgod.org.uk/2009/04/kde-4-finally-ready-for-prime-time/</link>
		<comments>http://blog.trollgod.org.uk/2009/04/kde-4-finally-ready-for-prime-time/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 15:01:49 +0000</pubDate>
		<dc:creator>Ghworg</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[shiny]]></category>

		<guid isPermaLink="false">http://blog.trollgod.org.uk/?p=240</guid>
		<description><![CDATA[<p class="wp-caption-text">KDE 4.2 desktop</p> <p>I&#8217;ve had a virtual machine running KDE4 from the Debian experimental repos for a while now. Every few months, when I notice some announcement of a point release I update it and give it another try. Up till now I&#8217;ve always been disappointed in some way.</p> <p>I first tried it <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.trollgod.org.uk/2009/04/kde-4-finally-ready-for-prime-time/">KDE 4 finally ready for Prime time?</a></span>]]></description>
			<content:encoded><![CDATA[<div id="attachment_244" class="wp-caption aligncenter" style="width: 650px"><a href="http://blog.trollgod.org.uk/wp-content/uploads/2009/04/kde42_-_desktop4.png"><img src="http://blog.trollgod.org.uk/wp-content/uploads/2009/04/kde42_-_desktop4.png" alt="KDE 4.2 desktop" title="kde42_-_desktop4" width="640" height="400" class="size-full wp-image-244" /></a><p class="wp-caption-text">KDE 4.2 desktop</p></div>
<p>I&#8217;ve had a virtual machine running <a href="http://www.kde.org/">KDE4</a> from the <a href="http://www.debian.org/">Debian</a> experimental repos for a while now.  Every few months, when I notice some announcement of a point release I update it and give it another try.  Up till now I&#8217;ve always been disappointed in some way.</p>
<p>I first tried it on my EeePC 701 netbook, back when 4.0 first launched.  I was impressed that it ran at all on that hardware, even with desktop effects enabled, some of them at least.  This is on a machine that struggles to run Windows XP, let alone Vista.  While it was okay from a performance perspective, it was horribly unstable.  I can live with applications crashing (as long as I don&#8217;t lose data), but parts of the desktop going boom is unacceptable.  I eventually gave up on the netbook and put KDE 3.5 on it instead.</p>
<p>That is when I setup a VM on my main Debian laptop, at that time running Lenny, so I could keep track of KDE&#8217;s progress.  I&#8217;m not one of those people who baulk at change, who objects to learning new interfaces irrespective of whether they are better or worse than what they replace.  On the other hand I absolutely need my desktop to be rock-solid, any flakiness in any <em>essential</em> part of the OS I will not abide.  On the gripping hand I want to be in control, this is why I use Linux and KDE in the first place.  They allow me to configure the OS to work the way <strong>I</strong> want.  I&#8217;d really like to run KDE4 on my production machines &#8216;cos of the shiny, but until I can be sure of its stability I won&#8217;t risk it.</p>
<p>KDE 4.2 just recently transitioned from Debian experimental to unstable, so I fired up the VM to give it another whirl.  As I had already played with 4.2 a few weeks earlier I was expecting to have the same <em>nearly there</em> experience.  Things mostly working but still the odd crash, but I was wrong.</p>
<p><div id="attachment_246" class="wp-caption alignleft" style="width: 237px"><a href="http://blog.trollgod.org.uk/wp-content/uploads/2009/04/kde42_-_calculator.png"><img src="http://blog.trollgod.org.uk/wp-content/uploads/2009/04/kde42_-_calculator.png" alt="KDE 4.2 Calculator plasmoid." title="kde42_-_calculator" width="227" height="159" class="size-full wp-image-246" /></a><p class="wp-caption-text">KDE 4.2 Calculator plasmoid.</p></div><br />
After two days of playing with it I have had but a single crash (kwallet), and that was just after the upgrade process so can be dismissed as an artefact.  Other than that it has been completely stable and usable.  I have to say, I really like it, some of the defaults are not to my taste but they can all be configured with a bit of searching through the interfaces.  KMail in particular defaulted to something horrid, but on the other hand it seems to be <strong>even more</strong> configurable than the 3.5 version, so it&#8217;s a win overall.</p>
<p>It&#8217;s the little things that make me want to switch though, like the calculator plasmoid that can be stuck on the panel for incredibly fast access.  A dictionary right on the desktop and many other useful widgets.  Previous attempts at widgets on KDE (superkaramba I&#8217;m looking at you) have been mediocre at best, glorified system monitors is the best you could hope to run.  The plasmoids seem to be the real deal from the built-in examples, if the community starts writing these things we should be in for some real treats.</p>
<p>The application launchers are a little different, and I have to say at the moment I prefer the old &#8220;start menu&#8221; style one, the fixed height of the new designs mean I have to keep scrolling to find what I want which is icky.  But I&#8217;m going to give them a while, it may be just one of those things that you have to get used to, and if it turns out I still hate them the old style is still available.</p>
<p>Being in a VM means I can&#8217;t use the desktop effects, so I&#8217;m missing a lot of the fun stuff.  So the next step is to sacrifice my netbook again to try those out.  I&#8217;m hopeful that by the time it transitions to testing (squeeze), which my main laptop now runs, I will be completely happy to switch to it, it is certainly looking positive at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trollgod.org.uk/2009/04/kde-4-finally-ready-for-prime-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
