<?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>Laney's blog &#187; ubuntu</title>
	<atom:link href="http://orangesquash.org.uk/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://orangesquash.org.uk</link>
	<description>YASB</description>
	<lastBuildDate>Sun, 29 Aug 2010 23:28:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Impressions of the Koala on a Macbook</title>
		<link>http://orangesquash.org.uk/2009/11/03/impressions-of-the-koala-on-a-macbook/</link>
		<comments>http://orangesquash.org.uk/2009/11/03/impressions-of-the-koala-on-a-macbook/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 16:46:57 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=78</guid>
		<description><![CDATA[Last week I installed the Karmic RC on my Macbook (5.1, late 2008), which I have now upgraded to final. I had previously installed Jaunty, but it wasn&#039;t usable enough out of the box to prise me away from OSX for good. The niggle:quality ratio seems to have slid to an acceptable level for this [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I installed the Karmic RC on my Macbook (5.1, late 2008), which I have now upgraded to final. I had previously installed Jaunty, but it wasn&#039;t usable enough out of the box to prise me away from OSX for good. The niggle:quality ratio seems to have slid to an acceptable level for this release to make the system good enough for daily use. However, there <em>are </em>still issues that persist. Being in the fortunate position of having a system dual booting with an OSX install that <em>mostly</em> does what I&#039;d expect, I&#039;m going to give a list of the ways in which my experience has been a little bit lacking thus far.</p>
<p>This is all about my personal use case. I am probably overlooking areas that you care about, and concentrating on those that you don&#039;t. This might read as me bashing Ubuntu a bit, but it&#039;s really not supposed to. By being honest about these issues, we can hopefully work towards fixing them.</p>
<ul>
<li>Proxy support. At Uni/work I am behind a web proxy &#8211; the firewall has a default deny policy which means that users are required to go through the web proxy in order to use the web. The problem is that not all applications notice that I have changed the proxy, even when I use the &#034;Apply systemwide&#034; option. I noticed this just now when trying to file a bug report using Apport &#8211; the collecting process just hung until I got bored and cancelled it. Launching from a terminal with http_proxy exported worked just fine (actually, automatically exporting http_proxy in terminals if one is set in Gnome would be cool &#8211; OSX doesn&#039;t do this). I&#039;m not sure where the bug lies here, in applications or somewhere in the Gnome stack, so I don&#039;t feel comfortable filing a bug report.</li>
<li>The speaker output is not muted when I plug my headphones in. I have to go to alsamixer and adjust the headphone volume separately. There&#039;s a workaround for this on the <a href="https://help.ubuntu.com/community/MacBook5-1/Karmic">Macbook pages</a> of the Ubuntu help wiki but I&#039;m yet to try it. <a title="Headphone jack sense doesn't work on MacBook Pro 15&quot; unibody (5,1 late 2008)  " href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/437150">Bug 437150</a>.</li>
<li>Brightness adjustment doesn&#039;t work out of the box. There&#039;s apparently a fixed driver on the wiki page that I&#039;ve just installed. We&#039;ll see after the next boot whether it works or not.</li>
<li>External monitor support is a bit suboptimal. To be fair, I&#039;ve probably been spoiled by the fact that OSX handles this so well. I have to manually enable/disable the monitor when I remove or add it. OSX detects this automatically and adjusts the windows as required so I can just yank the connector out and go on my merry way. See <a title="Better monitor support and configuration tools" href="http://blog.qa.ubuntu.com/node/9">this Ubuntu QA blog post</a> from Bryce for more on this.</li>
<li>Battery life leaves a lot to be desired. Sometimes the machine gets really quite hot.</li>
</ul>
<p>I think that&#039;s it. Really these are minor niggles that I can overlook in order to use my OS of choice. I&#039;ve concentrated on laptop/Macbook specific problems here. We can see that most of the problems I mentioned are hardware/driver specific, and really these are some of the most difficult problems to fix due to hardware manufacturers in the main being difficult to work with, so it&#039;s not hard to let issues like this go.</p>
<p>On the plus side, <strong>suspend finally works!</strong> I can just shut the lid to suspend and open it to resume, just like I can in OSX. This is really great. Also, using my phone as a 3G modem is faster, easier and more solid under Karmic. And of course all applications (barring the proxy issue), work just as they do on any other Ubuntu machine, meaning <em>really well</em>. There&#039;s also the benefit that I no longer feel like a hypocrite <img src='http://orangesquash.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>We&#039;ve a little way to go to overtake the major proprietary players, but with incremental improvements like these, it&#039;s just going to be a matter of time.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2009/11/03/impressions-of-the-koala-on-a-macbook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Now running Lenny (and a workaround for a Grub bug)</title>
		<link>http://orangesquash.org.uk/2009/02/16/now-running-lenny-and-a-workaround-for-a-grub-bug/</link>
		<comments>http://orangesquash.org.uk/2009/02/16/now-running-lenny-and-a-workaround-for-a-grub-bug/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 18:58:05 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MOTU]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=47</guid>
		<description><![CDATA[. o O (WordPress 2.7.1 is pretty sexy) Congratulations on mankind for reaching the splendid milestone that is 1234567890 seconds since 1970 began. Who&#039;d have thought we&#039;d make it this far? But really, congratulations on the Debian team for releasing Lenny (I even have one package uploaded there)! The point of this post is mainly [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><em>. o O (WordPress 2.7.1 is pretty sexy)</em></p>
<p>Congratulations on mankind for reaching the splendid milestone that is 1234567890 seconds since 1970 began. Who&#039;d have thought we&#039;d make it this far?</p>
<p>But really, congratulations on the Debian team for releasing Lenny <small>(I even have one package uploaded there)</small>! The point of this post is mainly to point people upgrading their Xen DomUs of a bug that I encountered and how to fix it (thanks to <a href="http://strugglers.net/~andy/blog/">Andy Smith</a>).</p>
<p>When doing the upgrade I got this message:</p>
<blockquote><p><code>laney@cripps:~$ sudo dpkg --configure -a<br />
Setting up linux-image-2.6.26-1-xen-686 (2.6.26-13) ...<br />
update-initramfs: Generating /boot/initrd.img-2.6.26-1-xen-686<br />
Searching for GRUB installation directory ... found: /boot/grub<br />
warning: grub-probe can't find drive for /dev/sda1.<br />
grub-probe: error: Cannot find a GRUB drive for /dev/sda1.  Check your<br />
device.map.</code></p>
<p><code>dpkg: error processing linux-image-2.6.26-1-xen-686 (--configure):<br />
subprocess post-installation script returned error exit status 1<br />
dpkg: dependency problems prevent configuration of linux-image-2.6-xen-686:<br />
linux-image-2.6-xen-686 depends on linux-image-2.6.26-1-xen-686; however:<br />
Package linux-image-2.6.26-1-xen-686 is not configured yet.<br />
dpkg: error processing linux-image-2.6-xen-686 (--configure):<br />
dependency problems - leaving unconfigured<br />
dpkg: dependency problems prevent configuration of linux-image-xen-686:<br />
linux-image-xen-686 depends on linux-image-2.6.26-1-xen-686; however:<br />
Package linux-image-2.6.26-1-xen-686 is not configured yet.<br />
dpkg: error processing linux-image-xen-686 (--configure):<br />
dependency problems - leaving unconfigured<br />
Errors were encountered while processing:<br />
linux-image-2.6.26-1-xen-686<br />
linux-image-2.6-xen-686<br />
linux-image-xen-686</code></p></blockquote>
<p>This is apparently a bug in grub-probe when dealing with Xen virtual machines. A post by Andy <a href="http://lists.bitfolk.com/lurker/message/20080529.142153.954fedf4.el.html">here</a> gives the magic incantation to fix it:</p>
<blockquote><p><code>sudo sh -c "echo '(hd0) /dev/sda' &gt; /boot/grub/device.map &amp;&amp; cd /dev &amp;&amp; mknod sda b 202 0"</code></p></blockquote>
<p>(you might need to change sda to xvda depending on what your error says).</p>
<p>A quick <code>dpkg --configure -a</code> later and everything is hunky-dory. Now in a sexy Lenny system in which everything seems to just work, just like the marketing says. Some Apache and MySQL warnings to fix up, but nothing too major. Yet.</p>
<p>(on a side-note &#8211; I got MOTU recently. Breakage coming to an Ubuntu near you. Yay!)</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2009/02/16/now-running-lenny-and-a-workaround-for-a-grub-bug/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Maiden post</title>
		<link>http://orangesquash.org.uk/2008/08/29/maiden-post/</link>
		<comments>http://orangesquash.org.uk/2008/08/29/maiden-post/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 19:40:52 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MOTU]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uuc]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=41</guid>
		<description><![CDATA[photo credit: Tambako the Jaguar Well, hello Planet! Since I&#039;ve been approved as an Ubuntu member, I figured this is as good a time as any to post some drivel. I&#039;m Laney, and I am very pleased to have your attention. I am 22 years young and in a small number of weeks will be [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Portrait of an Ibex" href="http://www.flickr.com/photos/8070463@N03/879257062/" target="_blank"><img src="http://farm2.static.flickr.com/1405/879257062_178f28d578.jpg" border="0" alt="Portrait of an Ibex" /></a><br />
<small><a title="Attribution-NoDerivs License" href="http://creativecommons.org/licenses/by-nd/2.0/" target="_blank"><img src="http://orangesquash.org.uk/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a title="Tambako the Jaguar" href="http://www.flickr.com/photos/8070463@N03/879257062/" target="_blank">Tambako the Jaguar</a></small></p>
<p>Well, hello  <a href="http://planet.ubuntu.com">Planet</a>! Since I&#039;ve been <a title="Iain Lane (Laney) to become a Contributing Developer" href="https://lists.ubuntu.com/archives/motu-council/2008-August/001467.html">approved as an Ubuntu member</a>, I figured this is as good a time as any to post some drivel. I&#039;m Laney, and I am very pleased to have your attention. I am 22 years young and in a small number of weeks will be a PhD student at the <a href="http://www.nottingham.ac.uk/cs/">School of Computer Science</a>, <a href="http://www.nottingham.ac.uk/">University of Nottingham</a>.</p>
<p>I might as well use this platform to ask for your help. No, not for myself, for the Intrepid Ibex. Look at the picture up there, he needs you to help him. You couldn&#039;t say no to that, <em>could you?</em></p>
<p>James Westby has made <a title="Making Intrepid Solid" href="http://jameswestby.net/weblog/ubuntu/02-making-intrepid-solid.html">a much more comprehensive post</a> on this, but I&#039;d just like to retierate the testing part. If you feel you&#039;re able to recover from any problems that might occur (should not be too severe now we&#039;re <a title="Feature Freeze in place; Alpha 5 freeze ahead" href="https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-August/000477.html">in feature freeze</a>) and your system is not mission critical then please do consider helping out. It was with some hesitation that I made the switch a week or so ago, and I&#039;ve certainly found my fair share of bugs and have to live with a slightly more unstable system (particularly audio-wise), but it&#039;ll be worth it in the end when we ship an excellent Ubuntu 8.10. If you do test, I urge you to get involved in bug reporting, otherwise you&#039;re just putting yourself through pain for no gain. When you come across a problem, search Launchpad and the affected program&#039;s upstream bug tracker for the issue and see if you can add any more information. If there is no bug, or if you just don&#039;t have the time to be searching bug trackers then please do still file the bug on Launchpad and a triager will deal with it for you (maybe asking you for more information). As the ever wise Tesco say, &#034;Every little helps&#034;. I&#039;ve definitely come across a few bugs (probably some I&#039;ve forgotten here):</p>
<ul>
<li><a href="http://bugzilla.gnome.org/show_bug.cgi?id=538206">Banshee crashes on Last.FM login</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/terminator/+bug/261070">terminator crashed with AttributeError in get_first_notebook_page()</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/261298">seahorse crashed with SIGSEGV in IA__g_object_set_valist()</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/259583">file-roller crashed with SIGSEGV in find_image_offset()</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/260897">tracker-applet crashed with SIGSEGV in signal_emit_unlocked_R()</a></li>
<li><a href="http://bugzilla.gnome.org/show_bug.cgi?id=548600">Can no longer configure keyboard shortcuts for switching tabs</a></li>
</ul>
<p>A lot of the bugs have a similar format: &#034;x crashed with y in z&#034;. This is apport at work, an excellent tool which takes a lot of the work out of reporting crash bugs. Even just reporting these bugs helps to stabilise the system.</p>
<p>So, I urge you, please do run <tt>update-manager -d</tt> (Ubuntu users) or <tt>adept_manager --version-upgrade</tt> (Kubuntu), and get involved!</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/08/29/maiden-post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[MOTU] Merging a package from Debian</title>
		<link>http://orangesquash.org.uk/2008/06/13/motu-merging-a-package-from-debian/</link>
		<comments>http://orangesquash.org.uk/2008/06/13/motu-merging-a-package-from-debian/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 15:45:24 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[MOTU]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=27</guid>
		<description><![CDATA[I&#039;m going to start a series of posts where I walk through various things that I do as part of my Ubuntu development work with the MOTU team. I&#039;m currently trying to get myself up to a level where I can apply to the Ubuntu Universe Contributors team, and then at some point in the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#039;m going to start a series of posts where I walk through various things that I do as part of my Ubuntu development work with the MOTU team. I&#039;m currently trying to get myself up to a level where I can apply to the Ubuntu Universe Contributors team, and then at some point in the future for MOTUship.</p>
<p>This article describes the process for merging a package from Debian to the development version of Ubuntu, currently the Intrepid Ibex. If you want to see how I generally go about doing this, follow the jump.</p>
<p><span id="more-27"></span></p>
<p>There&#039;s a lot of background on what a merge is, and how to go about performing one at <a title="Merging" href="https://wiki.ubuntu.com/UbuntuDevelopment/Merging">this document</a> on the Ubuntu wiki. To some extent I will repeat the same information here, but presenting it as a walkthrough. Essentially a merge is required when a newer version of a Debian package than the one in Ubuntu is released, and the Ubuntu version has local changes that have been made. The process involves checking the Ubuntu changes, and incorporating them into the new Debian package if they are still relevant. I&#039;m going to outline the way I work with a simpleish merge that I recently did, for the package <a href="https://launchpad.net/ubuntu/+source/battleball">battleball</a>.</p>
<h2>Find a package to merge</h2>
<p>The first thing to do is to check either <a href="http://dad.dunnewind.net">DaD</a> or <a href="http://merges.ubuntu.com">MoM</a> for the lists of packages for which a merge is currently required. I prefer to use DaD as it has convenient links to the Debian PTS and Launchpad pages for all listed packages, as well as a comment field which can be used by people to indicate that they are working on a package, for example.</p>
<p><a href="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/dad.png"><img class="aligncenter size-medium wp-image-28" title="DaD" src="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/dad-300x23.png" alt="A screenshot of DaD" width="300" height="23" /></a></p>
<p>Once you&#039;ve found a package to merge, you should ask the uploader of the last Ubuntu version if they mind you working on the merge this time around. They will be able to tell you if there&#039;s anything you need to know about the package or if they plan on working on the merge themselves:</p>
<pre>&lt;Laney&gt; norsetto: May I merge battleball?</pre>
<pre>&lt;norsetto&gt; Laney: pls. do</pre>
<p>Once the uploader has OKed you continuing on the merge, you may now start to do the actual work.</p>
<h2>Paperwork</h2>
<p>We (as a non-MOTU) need a Launchpad bug filed for your merge. This is the place where sponsors will look to check your work. <a href="https://bugs.launchpad.net/ubuntu/+source/battleball/+bug/239218">Here</a> is the bug I filed for the battleball merge. The title is the most important part &#8211; I usually paste the new Debian changelog entries into the bug description for convenience, but this isn&#039;t really required as the bug is mainly just for tracking. Set the status to &#034;In Progress&#034; and assign to yourself. You&#039;ll also get a bug number when you file the bug. This is needed later in the process.</p>
<h2>Performing the merge itself</h2>
<p>DaD and MoM both provide a script, <code>grab-merge.sh</code>, to automatically try to perform a merge by combining the changes in Ubuntu and Debian. I prefer not to use this method, however, as often Debian incorporates Ubuntu changes in a different way which can lead to duplications or omissions in the resulting merged package. This is only a personal preference, and I&#039;m sure that many people get by with the scripts just fine.</p>
<p>Download the Debian package from the PTS page and the Ubuntu package from the LP page and unpack these into their own directories. As we&#039;re dealing with the same upstream version (only packaging changes in Debian), I&#039;ll use <a href="http://meld.sourceforge.net/">Meld</a>, a really cool graphical diff viewer, to do the bulk of the changes.</p>
<p><a href="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/meldmerge.png"><img class="aligncenter size-medium wp-image-29" title="Viewing package changes using Meld" src="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/meldmerge-300x174.png" alt="The differences beween Ubuntu (left) and Debian (right) versions of battleball" width="300" height="174" /></a></p>
<p><span style="color: #ff0000;">Red</span> files have changes, <span style="color: #008000;">green</span> are new and <span style="text-decoration: line-through;"><span style="color: #808080;">strikethrough</span></span> are deleted. The next phase is to inspect each changed file to see if it is still required. Throughout this phase it is essential to refer back to <a title="battleball ubuntu changelog" href="http://changelogs.ubuntu.com/changelogs/pool/universe/b/battleball/battleball_2.0-17ubuntu1/changelog">the</a> <a title="battleball debian changelog" href="http://packages.debian.org/changelogs/pool/main/b/battleball/current/changelog">changelogs</a> to see what changes were made in Ubuntu and Debian. We see that the Ubuntu .desktop file change hasn&#039;t been implemented in Debian, so carry this change forward. Inspect each file and see if it refers to this change. It turns out that the changes for this are in <code>battleball.desktop</code> and <code>rules</code>. Use Meld to copy the changes over.</p>
<p><a href="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/ruleschanges.png"><img class="aligncenter size-medium wp-image-30" title="changes to rules file" src="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/ruleschanges-300x187.png" alt="The changes to battleball\'s debian/rules file" width="300" height="187" /></a></p>
<p>In the screenshot above, we can see the changes between the <code>debian/rules</code> file in the Ubuntu version (left) and the Debian version (right). Changes in <span style="color: #3366ff;">blue</span> are in the Debian version but not Ubuntu, and don&#039;t require you to do anything. Changes in <span style="color: #99cc00;">green </span>are in the Ubuntu version but not Debian. These are the ones we need to pay attention to. Figure out why each of these changes is in the old version but not the new. If they are a result of a Ubuntu change that we still need in the new version, then copy them over by clicking the black arrow in the middle. In this case, both changes are to effect the installation of the desktop file, so are copied.</p>
<p>The <code>debian/changelog</code> file should always be merged. Keep the changelog entries from Ubuntu in the correct place order to preserve the history of the package.</p>
<p>Each change that is kept in the Ubuntu version should be forwarded to Debian using the submittodebian tool to send a patch, as long as it is relevant there too. In this case the .desktop file change has <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452712">already been reported</a>, so we don&#039;t need to do anything further. I like to add a bug watch to my merge bugs with the changes that I&#039;ve reported as part of that merge. That way the person that comes to merge the package next can easily see if the changes have been adopted in Debian or not yet.</p>
<h2>Final housekeeping</h2>
<p>Once all changes have been accounted for, and copied over if necessary, it&#039;s time to perform the housekeeping tasks that keep our upload tidy and compliant with policy. First we need to update the maintainer to be the Ubuntu MOTU team. This is achieved by simply running the <code>update-maintainer</code> program from a shell within the package&#039;s directory. Second we need to add a new changelog entry which details what has gone on. In this case the only change that remains from Ubuntu is the adding of a <code>.desktop</code> file. We also need to mention somewhere in this changelog entry the number of the merge bug that we&#039;re closing, in the form (LP: #nnn). Using the command <code>dch -i</code>, we will be presented with an editor which has all of the important stuff (version number, timestamp, distro) inserted automatically. The entry that we come up with is:</p>
<blockquote><p>* Merge from Debian unstable (LP: #239218), remaining changes:<br />
- Add .desktop file<br />
* Modify Maintainer value to match the DebianMaintainerField<br />
specification. <em>(added automatically by <code>update-maintainer</code>)</em></p></blockquote>
<h2>Testing</h2>
<p>Now it is crucially important to test the package. Build a source package by executing the <code>debuild -S</code> command from within the package directory. This will spit out a <code>.dsc</code> and <code>.diff.gz</code> file in the parent directory, which you can use to build the package. I&#039;ll not go through the setting up of <code>sbuild</code> here, but you should follow <a href="https://help.ubuntu.com/community/SbuildLVMHowto">these instructions</a> to get it set up for building packages. This (or <code>pbuilder</code>) is the cleanest and most accurate way of test building. Issue the command <code>sbuild -d intrepid-i386 battleball_2.0-17ubuntu1.dsc</code> to do a test build, and watch the output for any errors. Providing the package builds OK on the current development distro (it does), we can move onto testing. Copy the resulting <code>.deb</code> package onto a VM running the development distro and install it, checking for any errors here. There are none, so we move onto testing the application, in particular looking for the Ubuntu fixes that remain in our merge to ensure that they are still present. In this case the <code>.desktop</code> file is working properly and the program appears to function well after using it for a little while, so we are ready to ask for sponsorship.</p>
<p><a href="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/battleball.png"><img class="aligncenter size-medium wp-image-31" title="Screenshot of battleball" src="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/battleball-300x187.png" alt="Screenshot of battleball" width="300" height="187" /></a></p>
<h2>Generating files for sponsorship</h2>
<p>As a final step before uploading, we need to generate two sets of diffs for uploading: between the debian version we based our changes on and the new version, and between the previous Ubuntu version we took the changes from and our new version. The two commands we need are:</p>
<blockquote><p><code>debdiff battleball_2.0-17.dsc battleball_2.0-17ubuntu1.dsc &gt; debian-ubuntu.debdiff<br />
debdiff cur/battleball_2.0-16.1ubuntu1.dsc battleball_2.0-17ubuntu1.dsc &gt; ubuntu-ubuntu.debdiff</code></p></blockquote>
<p>Check the changes in both of these debdiffs with <code>diffstat</code> to see that they are all intentional, and verify the diffs manually in a text editor to see that all of the changes you need are present, and all are documented in the changelog.</p>
<p>As they are, we can proceed to uploading and asking for sponsorship.</p>
<h2>Uploading and requesting sponsorship</h2>
<p>This is the last and possiblly simplest part of the process. Visit the bug&#039;s page on Launchpad and upload the two debdiffs you just added, checking the patch box for both of them. I like to paste my new changelog entry to give sponsors a clue as to what&#039;s going on in the diffs. Then set the status to confirmed and unassign yourself. From the &#034;Subscribe someone else&#034; page, subscribe ubuntu-universe-sponsors (ubuntu-main-sponsors if this were a package in main), and that&#039;s it. Someone will review the patch in good time and upload, thanks to Luca Falavigna for doing this for me here <img src='http://orangesquash.org.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<h2>Links</h2>
<ul>
<li>List of <a href="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/commands.txt">commands executed during this merge</a>.</li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/battleball/+bug/239218">Bug report for this merge</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/06/13/motu-merging-a-package-from-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8230;and we&#039;re back</title>
		<link>http://orangesquash.org.uk/2008/05/04/and-were-back/</link>
		<comments>http://orangesquash.org.uk/2008/05/04/and-were-back/#comments</comments>
		<pubDate>Sun, 04 May 2008 19:00:28 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MOTU]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uni]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=26</guid>
		<description><![CDATA[I&#039;ve had a lot on recently. Mainly a never-ending stream of coursework followed by the inevitable dissertation panic. This is all over now, however: all that remains to be done are 3 exams starting in 8 days (better get revising!). The last lecture of my degree has been and gone in the biggest anticlimax ever. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#039;ve had a lot on recently. Mainly a never-ending stream of coursework followed by the inevitable dissertation panic. This is all over now, however: all that remains to be done are 3 exams starting in 8 days (better get revising!). The last lecture of my degree has been and gone in the biggest anticlimax ever. Talk about going out with a whimper instead of a bang! I don&#039;t know how I feel about finishing my course. To some extent it&#039;s not so bad as I&#039;m staying on to do a PhD here (that was another thing which occupied my time and I neglected to post about) starting in October, but this will still be a very different experience. The last three years seem to have flown by, but then when I think back to the sheer amount of things I&#039;ve done, and the stuff I&#039;ve learned then perhaps it wasn&#039;t so quick after all.</p>
<p>I managed to sort myself out a job for the Summer which will allow me to stay in Nottingham, which I really want to do. It&#039;s weird how for half of my University life I considered home to be back in Alconbury, but then something changed and now I feel more at home here than back there. Perhaps it&#039;s because most of my friends have moved on, or maybe I&#039;ve simply become more used to life here. I&#039;m definitely not going to complain. Notts may have its problems, but it feels like it&#039;s on the up to me, and is definitely somewhere I&#039;m happy to stay. That&#039;s not to say that the choice between York and Nottingham for my PhD wasn&#039;t one of the hardest I&#039;ve had to make. It really tore me up for a number of weeks, but for a few reasons which I won&#039;t go into here I plumped for Nottingham in the end. I&#039;ll probably keep wondering how different it would have been had I chosen York though.</p>
<p>Anyway, enough about life. What about nerdy stuff?</p>
<p>The Hardy Heron was released not long ago, and I&#039;m very proud to be able to say that I played a tiny role in its development. My goal is to up my participation levels for the Intrepid Ibex. After my exams are over in a few weeks, I&#039;ll find myself with a lot more free time which I&#039;ll be able to spend working on the distro. My beady eye is already on a few merges to get the ball rolling, and then who knows? I&#039;d say my goal for this cycle is to get to &#034;Contributing Developer&#034; status, once I&#039;ve learned enough.</p>
<p>Overall Hardy seems like an incremental improvement over Gutsy. I upgraded (using update-manger) to the beta during development, so the major changes aren&#039;t that visible to me sadly. Perhaps a fresh install is in order to see the major changes stand out. It&#039;s good to have newer versions of most software too, even if there are <a href="https://bugs.edge.launchpad.net/ubuntu/+source/pidgin/+bug/207744">some</a> <a href="http://bugzilla.gnome.org/show_bug.cgi?id=524977">regressions</a> that I&#039;ve found thus far. Such is life. My linux-fu has definitely increased since I started using it 100% of the time. Prior to using Ubuntu, I&#039;d been using Linux on-and-off every few months but always returning to Windows after some annoying problem forced me to give up. Not so this time; my new PC was (almost) fully compatible from the get-go, and I&#039;d decided to have the resolve to see any problems through. It&#039;s been a blast so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/05/04/and-were-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first bug fix</title>
		<link>http://orangesquash.org.uk/2008/02/02/my-first-bug-fix/</link>
		<comments>http://orangesquash.org.uk/2008/02/02/my-first-bug-fix/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 22:46:58 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[MOTU]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/2008/02/02/my-first-bug-fix/</guid>
		<description><![CDATA[A little while ago I uploaded my first patch to Launchpad, closing bug 159727. This is one of the easiest bugs there is &#8211; someone even provided the icon file needed to fix it! Nevertheless, I&#039;m still pleased to have taken my first small step in Ubuntu development. &#60;crimsun&#62; Laney: thanks, uploaded. ROCK ON!]]></description>
			<content:encoded><![CDATA[<p>A little while ago I uploaded <a href="http://launchpadlibrarian.net/11734267/alsa-tools_1.0.15-2ubuntu2.debdiff" title="debdiff">my first patch</a> to <a href="http://launchpad.net" title="Launchpad">Launchpad</a>, closing <a href="https://bugs.launchpad.net/ubuntu/+source/alsa-tools/+bug/159727" title="all desktop files in alsa-tool-gui package do not specify icons">bug 159727</a>. This is one of the easiest bugs there is &#8211; someone even provided the icon file needed to fix it! Nevertheless, I&#039;m still pleased to have taken my first small step in Ubuntu development.</p>
<blockquote><p> &lt;crimsun&gt; Laney: thanks, uploaded.</p></blockquote>
<p><strong>ROCK ON!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/02/02/my-first-bug-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display blanking in ubuntu despite gnome-power-manager settings</title>
		<link>http://orangesquash.org.uk/2008/01/07/display-blanking-in-ubuntu-despite-gnome-power-manager-settings/</link>
		<comments>http://orangesquash.org.uk/2008/01/07/display-blanking-in-ubuntu-despite-gnome-power-manager-settings/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 20:42:23 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/2008/01/07/display-blanking-in-ubuntu-despite-gnome-power-manager-settings/</guid>
		<description><![CDATA[A little while ago I blogged about problems that I was experiencing in Ubuntu, one of which was that the display would blank regardless of what was set in gnome-power-manager (System -&#62; Preferences -&#62; Power Management). I&#039;m happy to report that I found a workaround for this, thanks to Michael Holloway on the ubuntu-uk mailing [...]]]></description>
			<content:encoded><![CDATA[<p>A little while ago I blogged about <a href="http://orangesquash.org.uk/2007/12/09/hmmbuntu/" title="Hmmbuntu">problems</a> that I was experiencing in Ubuntu, one of which was that the display would blank regardless of what was set in gnome-power-manager (System -&gt; Preferences -&gt; Power Management). I&#039;m happy to report that I found a workaround for this, thanks to Michael Holloway <a href="https://lists.ubuntu.com/archives/ubuntu-uk/2008-January/010496.html" title="[ubuntu-uk] Display blanking despite settings in gnome-power-manager and gnome-screensaver">on the ubuntu-uk mailing list.</a> If you find that your display is blanking inexplicably, try appending this to your xorg.conf (hit alt-f2 and type <code>gksudo gedit /etc/X11/xorg.conf</code>):</p>
<p><code>Section "ServerFlags"<br />
Option "BlankTime" "0"<br />
Option "StandbyTime" "0"<br />
Option "SuspendTime" "0"<br />
Option "OffTime" "0"<br />
EndSection</code></p>
<p>Save and restart your computer (or log out and restart X by hitting ctrl-alt-backspace), and everything should be fixed. Play a video and leave it and marvel at how you don&#039;t have to move the mouse once every 10 minutes to keep it displaying! Also, I noted that on Xubuntu gnome-screensaver wasn&#039;t started by default, meaning that no power management settings would work any more. This is easily solved by going to Settings -&gt; Autostarted Applications and adding an item to start <code>/usr/bin/gnome-screensaver</code> when you login.</p>
<p><a href="https://bugs.launchpad.net/ubuntu/+bug/30969" title="xorg suspends monitor regardless of gnome-power-manager timeouts">Here&#039;s the launchpad bug</a> for anyone interested in tracking the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/01/07/display-blanking-in-ubuntu-despite-gnome-power-manager-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing kubuntu-desktop</title>
		<link>http://orangesquash.org.uk/2007/12/14/removing-kubuntu-desktop/</link>
		<comments>http://orangesquash.org.uk/2007/12/14/removing-kubuntu-desktop/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 00:50:09 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/2007/12/14/removing-kubuntu-desktop/</guid>
		<description><![CDATA[OK, I just want to get this out there, since I just had this annoying problem. I installed Kubuntu using Synaptic to see if I&#039;d like it any better than the default Gnome desktop. I quickly found out, however, that it didn&#039;t want to run nicely on my system &#8211; the mouse seemed to lag [...]]]></description>
			<content:encoded><![CDATA[<p>OK, I just want to get this out there, since I just had this annoying problem. I installed Kubuntu using Synaptic to see if I&#039;d like it any better than the default Gnome desktop. I quickly found out, however, that it didn&#039;t want to run nicely on my system &#8211; the mouse seemed to lag to hell &#8211; and since I can&#039;t be arsed with spending hours faffing around trying to get it to work properly I just went back to Ubuntu (I&#039;ll probably give it another try when KDE4 is released, with the benefit of knowing how to get rid of it later).</p>
<p>Uninstalling Kubuntu and all of the stuff that it brought in wasn&#039;t so straightforward, however. Simply removing the metapackage kubuntu-desktop with Synaptic or aptitude left all of the extra stuff that I didn&#039;t want hanging around. <a href="http://ubuntuforums.org/showthread.php?t=157897" title="Reload this PageReload this Page HowTo: Fully uninstall the kubuntu-desktop meta-package HowTo: Fully uninstall the kubuntu-desktop meta-package ">This thread</a> gave a massive apt-get line to remove all of the packages, which seemed more than a little suspect to me (enumerating all packages is bound to be a bad idea; some will get missed and some that I could have potentially installed myself previously could be removed), but upon scrolling down I came upon a nice program called debfoster which purged everything nicely. <strong>Note: This has been deprecated in favour of using aptitude. I only had to use deborphan because I didn&#039;t install kubuntu-desktop with aptitude in the first place. Use aptitude to save yourself a load of hassle. </strong>If, like me, you didn&#039;t know to use aptitude and just used apt-get or synaptic, deborphan will save your bacon and even keep any KDE packages you&#039;ve explicitly installed (Kile and KBib for me). Paraphrasing from the thread, these are the commands you need to run:</p>
<blockquote><p>sudo aptitude install debfoster<br />
sudo debfoster -q<br />
sudo sed -ni &#039;1h;2,$H;${g;s/kubuntu-desktop\n//g;p}&#039; /var/lib/debfoster/keepers<br />
sudo debfoster</p></blockquote>
<p>(Note that there are <i>four</i> lines here &#8211; the &#034;sudo sed&#034; line ends with &#034;keepers&#034;.)</p>
<p>Review the output to see if it looks like it&#039;s removing all of the unnecessary kubuntu packages, then press P to purge them all and Y to confirm.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2007/12/14/removing-kubuntu-desktop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hmmbuntu</title>
		<link>http://orangesquash.org.uk/2007/12/09/hmmbuntu/</link>
		<comments>http://orangesquash.org.uk/2007/12/09/hmmbuntu/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 02:54:14 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/2007/12/09/hmmbuntu/</guid>
		<description><![CDATA[A couple of weeks ago I decided to try out Ubuntu for kicks, and to turn my PC back into something I can fiddle around with. Well, it seems that I got my wish. First of all, I couldn&#039;t get it to boot after installation. The installation itself appeared to go smoothly, but then upon [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago I decided to try out Ubuntu for kicks, and to turn my PC back into something I can fiddle around with. Well, it seems that I got my wish.</p>
<p>First of all, I couldn&#039;t get it to boot after installation. The installation itself appeared to go smoothly, but then upon rebooting I got the dreaded <a href="http://orangesquash.org.uk/wp-admin/" title="GRUB Error Messages">GRUB Error 17</a>, which means &#034;Invalid device requested&#034;. After <strike>hours</strike> days of messing around with BIOS settings, <code>grub-install</code> witchcraft and the like, I had pretty much decided that I just wasn&#039;t going to get it to work on my IDE drive, and decided to try it on a SATA. This almost went smoothly; on the first boot, I got sent straight to Vista, but <a href="http://supergrub.forjamari.linex.org/" title="Super Grub Disk">Super GRUB Disk</a>, with its charming broken English fixed me right up. Almost. I had to edit one of the lines in the GRUB config file that it had created to point to the right HDD, but I had finally gotten into Linux!</p>
<p>On first impressions, everything was great: sound worked out of the box, MSN support was there and very nice, and Synaptic made installing new software a breeze. Since then, things have been mostly good; for someone like myself who doesn&#039;t mind the occasional trip down CLI-lane, it&#039;s definitely usable for day-to-day work. I&#039;ll quickly list my remaining niggles, just to get them out there.</p>
<ul>
<li>Compiz Fusion is a bit buggy, and seems to take up a lot of CPU time. Sometimes when I maximise windows, they jiggle around constantly until I unmaximise them.</li>
<li>The media players aren&#039;t <em>quite</em> there yet. Rhythmbox is a bit flaky and most of the time won&#039;t let me navigate the playlist with my arrow keys after being alt-tabbed to. Banshee seems a bit thin feature-wise. Amarok loves to peg the CPU and crash, and has weird keyboard-navigation too (although it is the one I&#039;m currently using for its wealth of features, decent iPod support and nice global hotkeys).</li>
<li>It took me a little while to realise this, but only the front speaker of my 5.1 was enabled by default. I had to drop into <code>alsamixer</code> to unmute and enable all the others, after which they worked just fine. Also, somewhat confusingly, the volume control button on the taskbar comes set up to only control this one speaker. Changing it to control &#034;PCM&#034; seems to act more like the master volume switch that I expect it to.</li>
<li>Even though I have turned off all options which I could find, my display <em>still</em> insists on suspending after 10 minutes of the computer being idle. This I have only just &#034;solved&#034; (in reality a hack) by commenting out <code>Option "DPMS"</code> in my <code>xorg.conf</code> file. <strong>Edit: </strong>Ok, this didn&#039;t actually solve anything. I&#039;m stumped and Really Pissed Off.</li>
<li>Related to the above, VLC (my media player of choice), doesn&#039;t seem to stop the display from suspending while playing media. Very annoying when trying to watch (say) a film.</li>
<li>I still cannot get BBC radio streaming to work in Firefox. I&#039;ll probably have to install the official Realplayer, which I really don&#039;t want to do.</li>
<li>The Java situation is very odd. I understand this is due to license issues. And no amd64 firefox plugin from Sun makes me sad, as the free Icedtea one doesn&#039;t want to work.</li>
</ul>
<p>So there we have it. I&#039;m enjoying it overall, but there are some annoying niggles. (I really don&#039;t like being told off on IRC for daring to express frustration) Given a few more releases, Ubuntu should have gotten rid of most of these things, making for a genuinely useful OS.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2007/12/09/hmmbuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
