<?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>Whittlings &#187; programming</title>
	<atom:link href="http://nathanwong.co.uk/blog/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://nathanwong.co.uk/blog</link>
	<description>Nathan Wong</description>
	<lastBuildDate>Sat, 24 Jul 2010 14:52:37 +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>Fun with compiling</title>
		<link>http://nathanwong.co.uk/blog/2009/05/28/fun-with-compiling/</link>
		<comments>http://nathanwong.co.uk/blog/2009/05/28/fun-with-compiling/#comments</comments>
		<pubDate>Thu, 28 May 2009 18:14:01 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[planet]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[warwick]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathanwong.co.uk/blog/?p=83</guid>
		<description><![CDATA[In a desperate effort to procrastinate today, I&#8217;ve been tinkering on the Linux ITS machines seeing if I can supplement their provided software. To this end I&#8217;ve attempted to build some decent multimedia apps (vlc and mplayer), update Firefox from &#8230; <a href="http://nathanwong.co.uk/blog/2009/05/28/fun-with-compiling/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In a desperate effort to procrastinate today, I&#8217;ve been tinkering on the Linux ITS machines seeing if I can supplement their provided software. To this end I&#8217;ve attempted to build some decent multimedia apps (vlc and mplayer), update Firefox from 2.0 which was being used, and install Chrome; all in a non-root environment.<br />
Firefox was at least successful (eventually), after sorting out a mountain of dependencies and ensuring that they were all compiled against updated libraries (in particular, various libraries were compiling against old versions of fontconfig which later threw undefined symbol errors for FT_SYMBOL_SIZE). Unfortunately, until/unless I compile KDE for these computers (it&#8217;s presently on 3.5), it isn&#8217;t possible to compile gtk-qt, so Firefox looks somewhat horrendous on the default theme. KDE4 though&#8230; there&#8217;s an idea. Instead, I&#8217;m using the rather lovely <a href="https://addons.mozilla.org/en-US/firefox/addon/8782" title="Mozilla Addons: Chromify">Chromify</a> theme, which hides most of the defects for now.</p>
<p>It&#8217;s taken years to get Chrome to start compiling, not least because of the dependency tree that needed sorting. A more trying problem was that Chrome uses SCONS via gyp to set up the development environment. Cruelly, scons uses its own $PATH variable which it determines of its own accord. This meant that all of the dependencies that I&#8217;d built into /local/usr weren&#8217;t being referenced in the SCONS path. Additionally, editing the scons files themselves with the PATH setting didn&#8217;t work because they were regenerated by gyp at each reinitialising of the environment. Eventually after much trial and error I found a workaround in editing the src/build/common.gypi file to include the line:<br />
<code>'ENV': {'PATH': '/custom/path/variable/here'},</code><br />
Within the scons_variable_settings block for linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://nathanwong.co.uk/blog/2009/05/28/fun-with-compiling/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Progcomp</title>
		<link>http://nathanwong.co.uk/blog/2008/03/11/progcomp/</link>
		<comments>http://nathanwong.co.uk/blog/2008/03/11/progcomp/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 12:59:44 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[compsoc]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathanwong.co.uk/blog/2008/03/11/progcomp/</guid>
		<description><![CDATA[The University of Warwick Computing Society has just started its second programming competition of the academic year. Prizes look awesome! Shame I can&#8217;t code.]]></description>
			<content:encoded><![CDATA[<p>The University of Warwick <a href="http://www.uwcs.co.uk" title="Warwick Compsoc">Computing Society</a> has just started its <a href="http://progcomp.uwcs.co.uk" title="Compsoc Progcomp">second programming competition</a> of the academic year. Prizes look awesome! Shame I can&#8217;t code.</p>
]]></content:encoded>
			<wfw:commentRss>http://nathanwong.co.uk/blog/2008/03/11/progcomp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
