<?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"
	>

<channel>
	<title>Laney's blog</title>
	<atom:link href="http://orangesquash.org.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://orangesquash.org.uk</link>
	<description>YASB</description>
	<pubDate>Sun, 26 Oct 2008 20:48:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Nokia N96 lightning review</title>
		<link>http://orangesquash.org.uk/2008/10/26/nokia-n96-lightning-review/</link>
		<comments>http://orangesquash.org.uk/2008/10/26/nokia-n96-lightning-review/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 17:54:18 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[phone]]></category>

		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=42</guid>
		<description><![CDATA[
 photo credit: James Nash (aka Cirrus)
I got a new N96 a couple of weeks ago, as my old Nokia was barely functional any more. No backlight and ~8 hours battery life is not good, I tell you now.
The good:

Build quality is nice. Some people might say it&#039;s a bit big, but I like it. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Nokia N96" href="http://www.flickr.com/photos/86318165@N00/2312333728/" target="_blank"><img class="aligncenter" src="http://farm3.static.flickr.com/2403/2312333728_f3ebd55d77_m.jpg" border="0" alt="Nokia N96" /></a><br />
<small><a title="Attribution-ShareAlike License" href="http://creativecommons.org/licenses/by-sa/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="James Nash (aka Cirrus)" href="http://www.flickr.com/photos/86318165@N00/2312333728/" target="_blank">James Nash (aka Cirrus)</a></small></p>
<p>I got a new N96 a couple of weeks ago, as my old Nokia was barely functional any more. No backlight and ~8 hours battery life is not good, I tell you now.</p>
<p>The good:</p>
<ul>
<li>Build quality is nice. Some people might say it&#039;s a bit big, but I like it. Despite its size, it&#039;s still quite light - I weighed it against an iPhone and it came out lighter.</li>
<li>Huge, excellent quailty screen.</li>
<li>16GB of storage, for plenty of music. Goodbye iPod.</li>
<li>FM Radio(!)</li>
<li>Uploading geotagged pictures to Flickr works a treat. You do have to remember to have Location Tagger running though.</li>
<li>BBC iPlayer, not that I&#039;ve used this much yet (see below).</li>
<li>Tonnes of apps thanks to Symbian. Decent ones include:
<ul>
<li><a href="http://s2putty.sourceforge.net/">PuTTY for Symbian OS</a></li>
<li><a href="http://www.operamini.com/">Opera Mini</a></li>
<li><a href="http://www.google.com/mobile/default/maps/index.html">Google Maps for your phone</a></li>
<li>??? (I&#039;m sure there are more good ones that I don&#039;t know of yet, please let me know)</li>
</ul>
</li>
</ul>
<p>The bad:</p>
<ul>
<li>The firmware that it came with is, quite frankly, shocking. Crashes and bugs galore. The worst part of it seems to be the accelerometer - the screen redrawing when it detects a rotation is awful. Seeing half drawn applications in each orientation is not what you want to see on your expensive new phone. There&#039;s also some general slowness with apps taking a while to initialise, but I suspect this is inherent.</li>
<li>The camera, despite being touted as excellent, seems to produce pretty grainy pictures to me. I hope it&#039;s just the way I&#039;m using it, because I&#039;m getting the feeling that &#034;Carl Zeiss optics&#034; aren&#039;t as good as Nokia try and make you think they are.</li>
<li>iPlayer works great on wifi, but the videos never start over 3G.</li>
<li>If you actually do <em>stuff</em> with it, the battery life can be quite terrible - just doing a bit of 3G internet use (SSH or WWW) is enough to drain the battery to nothing in a few hours.</li>
<li>Closing applications on a phone is odd, and I keep forgetting to do it. Some applications close when you hit the red button, and some don&#039;t. I need to get used to this. Annoying the &#034;Log&#034; application doesn&#039;t close after you use it to make a call.</li>
<li>Shutting the slider while on a call doesn&#039;t end it.</li>
<li>I&#039;ve had it freeze up while a call is coming in and refuse to answer it, causing me to miss the call. It was from a withheld number too, so I couldn&#039;t call back (not that I should have to).</li>
</ul>
<p>There was a letter in the box apologising for the quality of the intial firmware so I&#039;m quite hopeful that a lot of these issues will be fixed when an update is release. I don&#039;t know how good Nokia&#039;s track record is on this, but we&#039;ll see. All in all, I&#039;m fairly happy with it, and when the bugs get ironed out it&#039;ll be awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/10/26/nokia-n96-lightning-review/feed/</wfw:commentRss>
		</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 [...]]]></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 &#8211;version-upgrade</tt> (Kubuntu), and get involved!</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/08/29/maiden-post/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Banshee and remote irssi</title>
		<link>http://orangesquash.org.uk/2008/08/08/banshee-and-remote-irssi/</link>
		<comments>http://orangesquash.org.uk/2008/08/08/banshee-and-remote-irssi/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 21:20:31 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[irc]]></category>

		<category><![CDATA[music]]></category>

		<category><![CDATA[rhythmbox]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=40</guid>
		<description><![CDATA[Ever since I switched to Banshee I&#039;ve been a bit annoyed that I didn&#039;t know how to annoy others by advertising my currently playing song. I always knew the trick for Amarok which Theory posted a long while ago, but had no idea how to adapt this for dbus which Banshee uses. Now, thanks to [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I switched to Banshee I&#039;ve been a bit annoyed that I didn&#039;t know how to annoy others by advertising my currently playing song. I always knew the trick for Amarok which <a title="amarok and irssi" href="http://www.theospears.com/blog/2007/05/22/amarok-and-irssi">Theory</a> posted a long while ago, but had no idea how to adapt this for dbus which Banshee uses. Now, thanks to <a title="dbus session access from remote" href="http://www.outflux.net/blog/archives/2008/08/05/dbus-session-access-from-remote/">kees</a>, this has all changed.</p>
<p>In order to get at your currently playing song on Banshee from a SSH connection into your box, just run the following script:</p>
<pre><code>#!/bin/bash

PID=$(pidof banshee-1)

if [ -z $PID ]; then
    echo &#034;Banshee doesn&#039;t appear to be running&#034;
else
    export DBUS_SESSION_BUS_ADDRESS=\\
        \$(cat /proc/\$PID/environ | xargs -0 -n1 \\
            | grep ^DBUS_SESSION_BUS_ADDRESS= | cut -d= -f2-)
    banshee-1 &#8211;query-artist &#8211;query-title | cut -d &#039; &#039; -f 1 &#8211;complement | \\
        sed -n &#039;1h;2,$H;${g;s/\n/ - /g;p}&#039;
fi</code></pre>
<p>It will produce output like so:</p>
<blockquote><p>laney@chicken:~$ banshee-np.sh<br />
Rancid - Corazon de Oro</p></blockquote>
<p>Now to get it working remotely, just follow Theory&#039;s instructions, replacing</p>
<p><code>command="dcop --user `whoami` amarok player nowPlaying"</code></p>
<p>with</p>
<p><code>command="/path/to/banshee-np.sh"</code></p>
<p>and you should be good to go!</p>
<p><em>This post brought to you by my burnt hand, which I have to return to the ice pack every 20 seconds or so. Ouch.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/08/08/banshee-and-remote-irssi/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I admit you</title>
		<link>http://orangesquash.org.uk/2008/07/15/i-admit-you/</link>
		<comments>http://orangesquash.org.uk/2008/07/15/i-admit-you/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 20:30:12 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
		
		<category><![CDATA[Uni]]></category>

		<category><![CDATA[graduation]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=37</guid>
		<description><![CDATA[You can now call me Iain Lane BSc (Hons), oh yeah. I graduated on Friday, and managed to not fall over or anything. Man is that walking business difficult.

Roll on September, when I get to learn about the real stuff that they don&#039;t teach you.  
]]></description>
			<content:encoded><![CDATA[<p>You can now call me Iain Lane BSc (Hons), <em>oh yeah</em>. I graduated on Friday, and managed to not fall over or anything. Man is that walking business difficult.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-39" title="dscf18831" src="http://orangesquash.org.uk/wp-content/uploads/laney/2008/07/dscf18831.jpg" alt="" width="480" height="640" /></p>
<p style="text-align: left;">Roll on September, when I get to learn about the real stuff that they don&#039;t teach you. <img src='http://orangesquash.org.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/07/15/i-admit-you/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox 3 download day 2008</title>
		<link>http://orangesquash.org.uk/2008/06/17/firefox-3-download-day-2008/</link>
		<comments>http://orangesquash.org.uk/2008/06/17/firefox-3-download-day-2008/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 13:42:52 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=36</guid>
		<description><![CDATA[
If you haven&#039;t heard, today at 1700 UTC, Firefox 3 will be released. The Mozilla foundation are celebrating this with a cute marketing campaign, to try and break the Guinness world record for the most downloads of a piece of software in 24 hours. If they&#039;ve got the bandwidth to burn, and it helps get [...]]]></description>
			<content:encoded><![CDATA[<p><a style="text-align : center" href="http://www.spreadfirefox.com/en-US/worldrecord"><img class="aligncenter" title="Download Day 2008" src="http://www.spreadfirefox.com/sites/all/themes/spreadfirefox_RCS/images/download-day/buttons/en-US/dday_badge_fox.png" border="0" alt="Download Day 2008" /></a></p>
<p>If you haven&#039;t heard, today at <a href="http://timeanddate.com/worldclock/fixedtime.html?day=17&amp;month=6&amp;year=2008&amp;hour=17&amp;min=0&amp;sec=0&amp;p1=0">1700 UTC</a>, Firefox 3 will be released. The Mozilla foundation are celebrating this with a cute marketing campaign, to try and break the Guinness world record for the most downloads of a piece of software in 24 hours. If they&#039;ve got the bandwidth to burn, and it helps get some coverage of FOSS, why not? I&#039;ll certainly be getting it.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/06/17/firefox-3-download-day-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>degree.exit(0)</title>
		<link>http://orangesquash.org.uk/2008/06/13/degreeexit0/</link>
		<comments>http://orangesquash.org.uk/2008/06/13/degreeexit0/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 18:55:00 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
		
		<category><![CDATA[Uni]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=34</guid>
		<description><![CDATA[I got my degree result yesterday&#8230; drumroll&#8230;

Yay!
]]></description>
			<content:encoded><![CDATA[<p>I got my degree result yesterday&#8230; drumroll&#8230;</p>
<p><img class="aligncenter size-full wp-image-35" title="degree" src="http://orangesquash.org.uk/wp-content/uploads/laney/2008/06/degree.png" alt="1st Class" width="500" height="73" /></p>
<p>Yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/06/13/degreeexit0/feed/</wfw:commentRss>
		</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 - 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 :D.</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>
		</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>
		</item>
		<item>
		<title>BBC iPlayer for the Wii</title>
		<link>http://orangesquash.org.uk/2008/04/09/bbc-iplayer-for-the-wii/</link>
		<comments>http://orangesquash.org.uk/2008/04/09/bbc-iplayer-for-the-wii/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 13:26:39 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<category><![CDATA[bbc]]></category>

		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/?p=24</guid>
		<description><![CDATA[I&#039;m coming out of hibernation to celebrate this announcement. Finally I will be able to watch TV in my room again; there&#039;s no aerial signal up here.
An early version of the service is available from 9 April.
Woohoo! I&#039;ll be trying this. The only downside is that it&#039;s apparently only available in the internet channel. It [...]]]></description>
			<content:encoded><![CDATA[<p>I&#039;m coming out of hibernation to celebrate <a title=" BBC announces Nintendo Wii deal " href="http://news.bbc.co.uk/1/hi/technology/7338344.stm">this announcement</a>. Finally I will be able to watch TV in my room again; there&#039;s no aerial signal up here.</p>
<blockquote><p>An early version of the service is available from 9 April.</p></blockquote>
<p>Woohoo! I&#039;ll be trying this. The only downside is that it&#039;s apparently only available in the internet channel. It would be much cooler to have an iPlayer icon on the Wii&#039;s dashboard. Can&#039;t have everything I guess.</p>
<p>I can only laugh at how the ISPs will moan about the increased bandwidth from this. Seriously, it seems that they&#039;re only going after the BBC on this one because they have an identifiable target; with filesharing there&#039;s no one individual to go after. Shut up and start improving your networks, please. There are only going to be more and more bandwidth-intensive applications like this coming out and ISPs are not going to stop this. They need to roll with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/04/09/bbc-iplayer-for-the-wii/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Phorm</title>
		<link>http://orangesquash.org.uk/2008/03/12/phorm/</link>
		<comments>http://orangesquash.org.uk/2008/03/12/phorm/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 13:07:34 +0000</pubDate>
		<dc:creator>Iain</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<category><![CDATA[internet]]></category>

		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://orangesquash.org.uk/2008/03/12/phorm/</guid>
		<description><![CDATA[I&#039;m sure that most everyone has heard about the Phorm + BT/Virgin Media/TalkTalk debacle by now, but If not here are some useful links. The point of this post is to encourage you to sign this petition over on the PM&#039;s website. You&#039;ll at least get a response when the petition closes, if nothing else [...]]]></description>
			<content:encoded><![CDATA[<p>I&#039;m sure that most everyone has heard about the Phorm + BT/Virgin Media/TalkTalk debacle by now, but If not here are <a href="http://www.badphorm.co.uk/page.php?2">some</a> <a href="http://news.bbc.co.uk/1/hi/technology/7283333.stm">useful</a> <a href="http://www.phorm.com/user_privacy/">links</a>. The point of this post is to encourage you to sign <a href="http://petitions.pm.gov.uk/ispphorm/" title="Petition">this petition</a> over on the PM&#039;s website. You&#039;ll at least get a response when the petition closes, if nothing else <img src='http://orangesquash.org.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> (which seems to be stupidly long for some reason, but hey&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesquash.org.uk/2008/03/12/phorm/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
