<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.11" -->
<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/"
	>

<channel>
	<title>Be GNOME, my friend</title>
	<link>http://blogs.igalia.com/xrcalvar</link>
	<description>Just collaborating is not enough, become part of the community!</description>
	<pubDate>Thu, 24 Apr 2008 15:14:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>
	<language>en</language>
			<item>
		<title>Compiling Epiphany+WebKit with jhbuild under debian amd64</title>
		<link>http://blogs.igalia.com/xrcalvar/2008/04/24/compiling-epiphany-with-jhbuild-under-debian-amd64/</link>
		<comments>http://blogs.igalia.com/xrcalvar/2008/04/24/compiling-epiphany-with-jhbuild-under-debian-amd64/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 15:03:12 +0000</pubDate>
		<dc:creator>calvaris</dc:creator>
		
		<category>GNOME</category>

		<category>Planet Igalia</category>

		<category>Planet Gnome</category>

		<category>Planeta Gnome Hispano</category>

		<category>Planet GPUL</category>

		<guid isPermaLink="false">http://blogs.igalia.com/xrcalvar/2008/04/24/compiling-epiphany-with-jhbuild-under-debian-amd64/</guid>
		<description><![CDATA[The next challenge I faced with my debian amd64 was compiliing Epiphany with WebKit. As my system is &#8216;almost virgin&#8217; I had to install many libraries deveplopment packages that you won&#8217;t need to install if you have played enough with your system.
First step if you have a dual core computer, activate it in .jhbuildrd with [...]]]></description>
			<content:encoded><![CDATA[<p>The next challenge I faced with my debian amd64 was compiliing Epiphany with WebKit. As my system is &#8216;almost virgin&#8217; I had to install many libraries deveplopment packages that you won&#8217;t need to install if you have played enough with your system.</p>
<p>First step if you have a dual core computer, activate it in .jhbuildrd with the line:<br />
<code><br />
os.environ['MAKE'] = 'make -j2'<br />
</code></p>
<p>I guess it should work if you just define the environment variable in the .bashrc.</p>
<p>The first problem comes when compiling the bootstrap because gmp reminds you that you are under a 64 bits architecture. Configure stops because it can&#8217;t find a suitable compiler. I guess this should be fixed in jhbuild or just in gmp configure.in file because it doesn&#8217;t recognize the architecture correctly. To bypass this problem it is needed to specify the architecture to the package or for the whole jhbuild system. I preferred to avoid this problem for all packages and just added it in .jhbuild as:<br />
<code><br />
autogenargs='--build  x86_64-linux-gnu'<br />
</code></p>
<p>Actually the first problem you find is that gettext and autoconf stop compiling because of a wrong dependency in make process that causes it to try to compile something that wasn&#8217;t compiled yet. It is annoying but to bypass it just carry on compiling.</p>
<p>Next problem came with guile. I say &#8216;came&#8217; instead of &#8216;comes&#8217; because when doing this again to test the steps problem had dissapeared. Maybe they fixed it, but it couldn&#8217;t find the gmp library that he had just compiled before. With external help we realized that and bypassed it specifying the place where libraries are:<br />
<code><br />
module_autogenargs['guile'] = autogenargs + ' --libdir /yourgnomebuildinstallationdirectory/lib64'<br />
</code></p>
<p>Until this moment, we were only compiling the bootstrap. Then you can begin with epiphany with <code>jhbuild build epiphany</code>. Next problem comes with gnome-doc-utils:<br />
<code><br />
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl<br />
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"<br />
error<br />
xsltParseStylesheetFile : cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl<br />
compilation error: file ./xml2po.1.xml line 17 element refentry<br />
xsltParseStylesheetProcess : document is not a stylesheet<br />
</code></p>
<p>What was missing was the package <em>docbook-xsl</em>. Next problems come with cairo:<br />
<code><br />
configure: error: flex is required to create the libIDL scanner<br />
*** error during stage configure of libIDL: ########## Error running ./autogen.sh --prefix /home/calvaris/nocrypt/gnome/install --libdir '${exec_prefix}/lib64'  --build  x86_64-linux-gnu  ***<br />
configure: error: yacc is not usable as yacc - consider using bison<br />
*** error during stage configure of libIDL: ########## Error running ./autogen.sh --prefix /home/calvaris/nocrypt/gnome/install --libdir '${exec_prefix}/lib64'  --build  x86_64-linux-gnu  ***<br />
</code></p>
<p>Fixed if installing packages <em>flex</em> and <em>bison</em>.  Other problem with cairo is libpng. You need to install <em>libpng-dev</em> package but this is not enough because jhbuild replaces <em>PKG_CONFIG_PATH</em> environment variable, which causes it not to find it. Just adding the a line solves the problem (and many others that may appear) because it will search in system&#8217;s pkg-config system. This a solution but also a drawback: if any package configuration is not well written, it could cause you to use the system configuration instead of the compiled with jhbuild, though this should be a very rare thing. Line is:<br />
<code><br />
addpath('PKG_CONFIG_PATH', '/usr/lib/pkgconfig')<br />
</code></p>
<p>While compiling GTK, avahi,icon-naming-utils and startup-notification I got:<br />
<code><br />
   * configure: WARNING: *** TIFF loader will not be built (TIFF library not found) ***<br />
configure: error:<br />
*** Checks for TIFF loader failed. You can build without it by passing<br />
*** --without-libtiff to configure but some programs using GTK+ may<br />
*** not work properly<br />
*** error during stage configure of gtk+: ########## Error running ./autogen.sh --prefix /home/calvaris/nocrypt/gnome/install --libdir '${exec_prefix}/lib64'  --build  x86_64-linux-gnu  ***<br />
configure: error:<br />
*** Checks for JPEG2000 loader failed. You can build without it by passing<br />
*** --without-libjasper to configure<br />
*** error during stage configure of gtk+: ########## Error running ./autogen.sh --prefix /home/calvaris/nocrypt/gnome/install --libdir '${exec_prefix}/lib64'  --build  x86_64-linux-gnu  ***<br />
*** error during stage configure of avahi: ########## Error running ./configure --prefix /home/calvaris/nocrypt/gnome/install --libdir '${exec_prefix}/lib64' --disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --disable-manpages --disable-python --enable-compat-howl --enable-compat-libdns_sd --build  x86_64-linux-gnu  ***<br />
checking for XML::Simple... configure: error: XML::Simple perl module is required for icon-naming-utils<br />
*** error during stage configure of icon-naming-utils: ########## Error running ./configure --prefix /home/calvaris/nocrypt/gnome/install --libdir '${exec_prefix}/lib64'  --build  x86_64-linux-gnu  ***<br />
configure: error: X11 development libraries/headers not found<br />
*** error during stage configure of startup-notification: ########## Error running ./configure --prefix /home/calvaris/nocrypt/gnome/install --libdir '${exec_prefix}/lib64'  --build  x86_64-linux-gnu  ***<br />
</code></p>
<p>You need these packages for that:</p>
<ul>
<li><em>libtiff4-dev</em></li>
<li><em>libjasper-dev</em></li>
<li><em>libgdbm-dev</em></li>
<li><em>libxml-simple-perl</em></li>
<li><em>libxt-dev</em></li>
</ul>
<p>And then comes a very funny thing: gnome-desktop stops because it doesn&#8217;t find the <code>foundation-members.list</code> files. If taking a look at the autogen.sh (thanks, garnacho) you see the following:<br />
<code><br />
if test "`which gvfs-copy`" != ""; then<br />
    gvfs-copy http://api.gnome.org/gnome-about/foundation-members gnome-about/foundation-members.list<br />
else<br />
    touch gnome-about/foundation-members.list<br />
fi<br />
</code></p>
<p>In this case problem is that it finds gvfs-copy (it had been compiled before), but it couldn&#8217;t copy the file and you don&#8217;t get it eventually. A <a href="http://bugzilla.gnome.org/show_bug.cgi?id=517539">bug</a> exists already about that but it was close as invalid, so I have to open a <a href="http://bugzilla.gnome.org/show_bug.cgi?id=529704">new one</a> to upload <a href="http://bugzilla.gnome.org/attachment.cgi?id=109816">a little patch</a> I created. To bypass the problem immediately, you only need to type:<br />
<code>touch gnome-about/foundation-members.list</code></p>
<p>After continuing you can stop it at epiphany&#8217;s beginning, because you neither compiled nor installed webkit yet. I&#8217;ll carry on explaining how to compile webkit and epiphany in the next post. Enough for today.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.igalia.com/xrcalvar/2008/04/24/compiling-epiphany-with-jhbuild-under-debian-amd64/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing scratchbox under amd64</title>
		<link>http://blogs.igalia.com/xrcalvar/2008/04/23/installing-scratchbox-under-amd64/</link>
		<comments>http://blogs.igalia.com/xrcalvar/2008/04/23/installing-scratchbox-under-amd64/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 16:58:27 +0000</pubDate>
		<dc:creator>calvaris</dc:creator>
		
		<category>Planet Igalia</category>

		<category>Planet Gnome</category>

		<category>Planeta Gnome Hispano</category>

		<category>Planet GPUL</category>

		<category>Planet Maemo</category>

		<guid isPermaLink="false">http://blogs.igalia.com/xrcalvar/2008/04/23/installing-scratchbox-under-amd64/</guid>
		<description><![CDATA[As Igalia bought a new laptop for me (actually this is done for every worker from the second year on), I installed Debian Amd64 on it as a challenge, because everybody was telling me about all the problems: flash, scratchbox and all the ghosts they could imagine. I thought: &#8216;this can&#8217;t be that difficult&#8217; and [...]]]></description>
			<content:encoded><![CDATA[<p>As Igalia bought a new laptop for me (actually this is done for every worker from the second year on), I installed Debian Amd64 on it as a challenge, because everybody was telling me about all the problems: flash, scratchbox and all the ghosts they could imagine. I thought: &#8216;this can&#8217;t be that difficult&#8217; and somebody has to try at least to say why it is a bad idea. And maybe we could collaborate a bit with that architecture, this exactly what I am doing right now. Why did I choose amd64, already explained, but what about debian? It&#8217;s because of purity. I couldn&#8217;t give up on installing debian just because it is not that easy as Ubuntu&#8230; Let&#8217;s face it! And I did it! As far as I remember the biggest problems I faced where nvidia&#8217;s driver (I could make it work only with nvidia&#8217;s proprietary driver and thank <a href="http://blogs.igalia.com/jasuarez/">Juan</a>), the wireless driver (I had to install the firmware), fingerreader (you have to install the driver and configure pam) and flash (I just installed flashplayer-mozilla package and it worked at the very first moment). For the kernel I just borrowed <a href="http://blogs.igalia.com/berto">berto</a>&#8217;s configuration and changed the things I needed. There are some remaining things that don&#8217;t work yet (like hibernation), but I don&#8217;t care very much.</p>
<p>One of the most scaring things for me were the scratchbox because everybody was telling me that it couldn&#8217;t be installed under amd64 and I could get much problems because of that. Steps:</p>
<ol>
<li><code>apt-get install ia32</code></li>
<li><code>dpkg -i --force-architecture scratchbox-*.deb</code></li>
</ol>
<p>That&#8217;s it (uhuuu, I&#8217;m afraid of the 64 bits!).
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.igalia.com/xrcalvar/2008/04/23/installing-scratchbox-under-amd64/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Me and Igalia</title>
		<link>http://blogs.igalia.com/xrcalvar/2008/04/23/3/</link>
		<comments>http://blogs.igalia.com/xrcalvar/2008/04/23/3/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 15:54:37 +0000</pubDate>
		<dc:creator>calvaris</dc:creator>
		
		<category>Planet Igalia</category>

		<category>Personal</category>

		<guid isPermaLink="false">http://blogs.igalia.com/xrcalvar/?p=3</guid>
		<description><![CDATA[
This is going to be my first post at Igalia&#8217;s planet a I just wanted to talk about me and my company. First of all, my presentation. I am Xabier Rodríguez Calvar but everybody on computer&#8217;s world knows me as calvaris. I grew in Marín a village in Galiza.  I studied &#8216;Computer Engineering&#8217; in [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.igalia.com/typo3temp/pics/6f2cdd81f9.jpg" alt="Me" /></p>
<p>This is going to be my first post at Igalia&#8217;s planet a I just wanted to talk about me and <strong>my</strong> company. First of all, my presentation. I am Xabier Rodríguez Calvar but everybody on computer&#8217;s world knows me as <em>calvaris</em>. I grew in <a href="http://en.wikipedia.org/wiki/Mar%C3%ADn%2C_Pontevedra">Marín</a> a village in <a href="http://en.wikipedia.org/wiki/Galicia_%28Spain%29">Galiza</a>.  I studied &#8216;Computer Engineering&#8217; in the &#8216;Universidade da Coruña&#8217; where I met <a href="http://www.lfcia.org/staff/laura/index_gl.html">my girlfriend</a> and some colleagues who founded <a href="http://www.igalia.com">Igalia</a>, where I am currently working on <a href="http://www.gnome.org/mobile/">GNOME Mobile</a> technologies, specially <a href="http://www.maemo.org">Maemo</a> and fighting with <a href="http://live.gnome.org/Epiphany">Epiphany</a> and <a href="http://webkit.org">WebKit</a>.</p>
<p>Why did I write <strong>my</strong> when talking about Igalia? Because it is <strong>my</strong> company. Actually it is not because I&#8217;m still a partner on trial but if everything goes as expected I shall become a partner in a couple of years. This is one of the things I love in this company. Others are good working environment, working with <a href="http://www.fsf.org">Free Software</a>, specially with <a href="http://www.gnome.org">GNOME</a>, company facilities and specially the feeling of working for my own company, where I have the right to say whatever I want and that my opinion is so important as all of them, because there is nobody over me. That&#8217;s all! Join Igalia!
</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.igalia.com/xrcalvar/2008/04/23/3/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
