<?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>therning.org/ magnus &#187; epiphany</title>
	<atom:link href="http://therning.org/magnus/archives/tag/epiphany/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus</link>
	<description>Incoherent mumblings</description>
	<lastBuildDate>Thu, 12 Jan 2012 13:40:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Epilicious is dead, say hello to BMS</title>
		<link>http://therning.org/magnus/archives/762</link>
		<comments>http://therning.org/magnus/archives/762#comments</comments>
		<pubDate>Fri, 23 Oct 2009 20:38:19 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[epilicious]]></category>
		<category><![CDATA[epiphany]]></category>
		<category><![CDATA[seed]]></category>
		<category><![CDATA[vala]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/?p=762</guid>
		<description><![CDATA[With Python being dropped as a language for extensions in epiphany 2.28 I needed to replace epilicious. I tried writing it in JavaScript (seed was integrated in 2.28), but I gave up due to hitting too many hurdles on the way. Instead I decided to rewrite epilicious using Vala and a minimal layer of C. [...]]]></description>
			<content:encoded><![CDATA[<p>With Python being dropped as a language for extensions in epiphany 2.28 I needed to replace <a href="http://therning.org/magnus/computer/epilicious">epilicious</a>.  I tried writing it in JavaScript (<a href="http://live.gnome.org/Seed">seed</a> was integrated in 2.28), but I gave up due to hitting too many hurdles on the way. Instead I decided to rewrite epilicious using <a href="http://live.gnome.org/Vala">Vala</a> and a minimal layer of C.</p>

<p>It turned out to be very doable, despite epiphany&#8217;s extension API lacking Vala bindings (Cosimo Cecchi, I&#8217;m looking at <a href="http://uwstopia.nl/blog/2008/07/vala-bindings-for-epiphany-extensions">you</a> <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ).  Basically I did the following setup:</p>

<ol>
<li>Add the extension following the instructions in <a href="http://projects.gnome.org/epiphany/documentation/extensions/index.html">Writing Epiphany Extensions</a> by Adam Hooper.</li>
<li>Add a check for valac in <code>configure.ac</code>.</li>
<li>Add a rule in the extension&#8217;s <code>Makefile.am</code> to generate a C header file for all the Vala code, for use from C.</li>
</ol>

<p>Then I started writing the actual extension.  I did the minimal amount of work in C, trying to escape as soon as possible into Vala.  In the few places I needed to call from Vala into C I would declare a delegate in Vala, and pass a function from C<sup><a href="http://therning.org/magnus/archives/762#footnote_0_762" id="identifier_0_762" class="footnote-link footnote-identifier-link" title="The format of .vapi files are unknown to me, and I haven&amp;#8217;t managed to find much documentation.  Using function pointers seemed like an easier way, especially given that I needed this in exactly 3 places.">i</a></sup>.</p>

<p>I call this new version BMS, for <em>b</em>ook<em>m</em>ark <em>s</em>ynchronisation.  I have a <a href="http://therning.org/magnus_files/epiphany-extension-bms-1.0-2.src.tar.gz">patch for BMS that applies to epiphany 2.28.1</a>.  (The file also contain a <code>PKGBUILD</code> in order to delight Arch users <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>

<p>I should probably point out that while epilicious never could be called polished, BMS is even less so.  I might find the time to make it multi-threaded, so that it&#8217;s possible to do some sort of progress dialogue, but don&#8217;t hold your breath.  In the back of my mind is also the thought of rewriting it yet again, in JavaScript/seed.</p>
<ol class="footnotes"><li id="footnote_0_762" class="footnote">The format of <code>.vapi</code> files are unknown to me, and I haven&#8217;t managed to find much documentation.  Using function pointers seemed like an easier way, especially given that I needed this in exactly 3 places.</li></ol><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F762&amp;title=Epilicious%20is%20dead%2C%20say%20hello%20to%20BMS" id="wpa2a_2">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/762/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Setting up Epiphany to play with Seed extensions</title>
		<link>http://therning.org/magnus/archives/674</link>
		<comments>http://therning.org/magnus/archives/674#comments</comments>
		<pubDate>Fri, 03 Jul 2009 08:22:05 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[epiphany]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[seed]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/?p=674</guid>
		<description><![CDATA[Since the Python extensions to Epiphany have been removed from the repository I thought it was high time to start playing with what seems to be the replacement to Python extensions: Seed extensions. The first step is of course to get a version of Epiphany that supports Seed extensions. After a few emails on the [...]]]></description>
			<content:encoded><![CDATA[<p>Since the Python extensions to Epiphany have been removed from the repository I thought it was high time to start playing with what seems to be the replacement to Python extensions: <a href="http://live.gnome.org/Seed/">Seed</a> extensions.  The first step is of course to get a version of Epiphany that supports Seed extensions.  After a few emails on the mailing list I&#8217;ve come to a recipe (I&#8217;ve done this twice now on different machines to I&#8217;m fairly confident it works).  I should probably preface this by saying that I run an up-to-date <a href="http://www.archlinux.org/">Arch</a> system, if you run something else you might need to do a bit more, or less if you&#8217;re lucky <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<ol>
<li>Make sure the following packages are installed<sup><a href="http://therning.org/magnus/archives/674#footnote_0_674" id="identifier_0_674" class="footnote-link footnote-identifier-link" title="You might need a few more packages depending on what desktop environment you use.  Those were the packages I needed to add to my machine where I run Gnome and do regular non-Gnome development">i</a></sup>: <code>libsoup</code>, <code>libwebkit</code>, <code>gnome-common</code>, <code>intltool</code>, <code>libffi</code></li>
<li>Clone the following Git repositories from <a href="http://git.gnome.org/">git.gnome.org</a>: <code>epiphany-extensions</code>, <code>epiphany</code>, <code>seed</code>, <code>gobject-inspection</code>, <code>gnome-js-common</code>, <code>gir-repository</code></li>
<li><p>Decide on a <code>$prefix</code>, i.e. where you want it all installed (I use <code>~/opt/gnome-trunk</code>).  Then export the following environment variables:</p>

<pre><code>export PATH=$prefix/bin:$PATH
export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
</code></pre></li>
<li><p>Then configure, build and install everything.  Use the <code>autogen.sh</code> script to create the configuration, and make sure to pass it <code>prefix=$prefix</code> each time.  Some of the modules need extra arguments as well.  This is the order and extra arguments I used:</p>

<ol>
<li><code>gnome-js-common</code> (<code>--disable-seed --disable-gjs</code>)</li>
<li><code>seed</code></li>
<li><code>gnome-js-common</code> (<code>--disable-gjs</code>)</li>
<li><code>gobject-introspection</code></li>
<li><code>gir-repository</code></li>
<li><code>epiphany</code> (<code>--enable-introspection --enable-seed</code>)</li>
<li><code>epiphany-extensions</code></li>
</ol></li>
</ol>

<p>After that you can put your extensions in <code>~/.gnome2/epiphany/extensions/</code>.  I have two instances of Epiphany installed, a stable from my distro, and the dev version I built myself.  I haven&#8217;t managed to run them both side by side, but beyond that there seems to be no bad interaction between them.</p>
<ol class="footnotes"><li id="footnote_0_674" class="footnote">You might need a few more packages depending on what desktop environment you use.  Those were the packages I needed to add to my machine where I run Gnome and do regular non-Gnome development</li></ol><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F674&amp;title=Setting%20up%20Epiphany%20to%20play%20with%20Seed%20extensions" id="wpa2a_4">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/674/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Epilicious in Ubuntu Edgy Eft</title>
		<link>http://therning.org/magnus/archives/218</link>
		<comments>http://therning.org/magnus/archives/218#comments</comments>
		<pubDate>Tue, 31 Oct 2006 23:40:19 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[epilicious]]></category>
		<category><![CDATA[epiphany]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/218</guid>
		<description><![CDATA[It seems my Debian packages for Epilicious have worked in Ubuntu (Dapper Drake I suppose). This is purely accidental. It&#8217;s however a very nice accident This lucky coincidence doesn&#8217;t hold for Edgy Eft. If you are lucky then you can get my Epilicious packages to work on Edgy Eft by copying (or linking) the files [...]]]></description>
			<content:encoded><![CDATA[<p>It seems my Debian packages for Epilicious have worked in Ubuntu (Dapper Drake I suppose). This is purely accidental. It&#8217;s however a very nice accident <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  This lucky coincidence doesn&#8217;t hold for Edgy Eft.</p>

<p>If you are lucky then you can get my Epilicious packages to work on Edgy Eft by copying (or linking) the files to <code>/usr/lib/epiphany/2.16/extension</code>. No guarantees, and YMMV, of course.</p>

<p>Related news: I&#8217;ve just updated the package of the development edge version of Epilicious.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F218&amp;title=Epilicious%20in%20Ubuntu%20Edgy%20Eft" id="wpa2a_6">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/218/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New release of epilicious coming up</title>
		<link>http://therning.org/magnus/archives/152</link>
		<comments>http://therning.org/magnus/archives/152#comments</comments>
		<pubDate>Wed, 05 Jul 2006 07:35:53 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[epilicious]]></category>
		<category><![CDATA[epiphany]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/152</guid>
		<description><![CDATA[Since it&#8217;s been some time since the 0.8 release of epilicious and I&#8217;ve been doing some work on it lately I thought it&#8217;s time for a release soon. I should be able to get around to it in a day or two. I went over the translations and realised that they&#8217;re all going to be [...]]]></description>
			<content:encoded><![CDATA[<p>Since it&#8217;s been some time since the 0.8 release of epilicious and I&#8217;ve been doing some work on it lately I thought it&#8217;s time for a release soon. I should be able to get around to it in a day or two.</p>

<p>I went over the translations and realised that they&#8217;re all going to be out of date when I make the release. Reading through the document on <a href="http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html">L10N Guidelines for Developers</a> I considered sending a POT file to the <a href="http://www.iro.umontreal.ca/contrib/po/HTML/">Translation Project</a>. I didn&#8217;t send an email for two reasons:</p>

<ol>
<li>Epilicious contains 18 translatable strings. It just feels like it doesn&#8217;t belong with apps like xchat.</li>
<li>I&#8217;m still hoping I&#8217;ll be able to get it into GNOME CVS at some point as an official plugin for epiphany. Then the <a href="http://developer.gnome.org/projects/gtp/">GNOME Translation Team</a> would get involved but unfortunately they won&#8217;t touch it until it&#8217;s in GNOME CVS.</li>
</ol>

<p>For now I&#8217;ve uploaded the <a href="http://therning.org/magnus_files/epilicious-0.9.pot">POT file</a>. Please, please, send me a translation!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F152&amp;title=New%20release%20of%20epilicious%20coming%20up" id="wpa2a_8">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/152/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Epilicious for Epiphany 2.14</title>
		<link>http://therning.org/magnus/archives/117</link>
		<comments>http://therning.org/magnus/archives/117#comments</comments>
		<pubDate>Sun, 16 Apr 2006 11:09:40 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[epilicious]]></category>
		<category><![CDATA[epiphany]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/117</guid>
		<description><![CDATA[I&#8217;ve just uploaded a Debian package that fixes Epilicious so that it works with Epiphany 2.14. It still works like a charm Do keep in mind that I&#8217;m packaging an unreleased version of Epilicious.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just uploaded a Debian package that fixes Epilicious so that it works with Epiphany 2.14. It still works like a charm <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>Do keep in mind that I&#8217;m packaging an unreleased version of Epilicious.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F117&amp;title=Epilicious%20for%20Epiphany%202.14" id="wpa2a_10">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/117/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmark sharing, firefox to epiphany and back again&#8230;</title>
		<link>http://therning.org/magnus/archives/116</link>
		<comments>http://therning.org/magnus/archives/116#comments</comments>
		<pubDate>Tue, 21 Mar 2006 00:50:08 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[epiphany]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[share bookmarks]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/116</guid>
		<description><![CDATA[I&#8217;ve just found foxylicious and AbstractMouse.com. Jippie! now let me tell you why I&#8217;m so happy about that! I use computers at home and at work. For a long time I kept on sending mails from work to my private email address with non-work-related links to check out at home. It also happened that I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just found <a href="http://dietrich.ganx4.com/foxylicious/">foxylicious</a> and <a href="http://abstractmouse.com/">AbstractMouse.com</a>. Jippie! now let me tell you why I&#8217;m so happy about that!</p>

<p>I use computers at home and at work. For a long time I kept on sending mails from work to my private email address with non-work-related links to check out at home. It also happened that I sent similar mails in the other directions with work-related links I stumbled across when at home. I&#8217;m currently using <a href="http://therning.org/magnus/computer/epilicious/">Epilicious</a> to make it easier to share bookmarks between home and work. However, I&#8217;m forced to use Windows (as well as Linux) at work, and Epiphany doesn&#8217;t run on Windows. Using foxylicious I can now get those bookmarks into FireFox as well <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>Lately I&#8217;ve started using several computers at work (well, really only two computers and a set of VirtualPC/VMWare images) and I want to share some pure-work bookmarks between them, here I&#8217;m talking about internal pages that are inaccessable from home&#8211;I don&#8217;t want them cluttering my bookmarks at home! This is where I&#8217;ve put AbstractMouse.com to work, using it I can share work-only bookmarks between all the machines/images <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>But all isn&#8217;t well. <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  When on a Linux box, where Epiphany does run, I&#8217;m forced to use FireFox to get to the work-only bookmarks. I have two options for solving that:</p>

<ol>
<li>Get both foxylicious and Epilicious to work with multiple delicious accounts, or</li>
<li>Make Epilicious work with the AbstractMouse.com server.</li>
</ol>

<p>The former requires some lobbying of the foxylicious author (I&#8217;ve already posted a comment on his blog <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). The latter would only involve getting some information from Eric of AbstractMouse (he&#8217;s interested in adding plugins for more browsers), then the rest is up to me. The problem there though is how to map between Epiphany&#8217;s topics and FireFox&#8217;s hierarchies&#8230; I prefer the former! <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F116&amp;title=Bookmark%20sharing%2C%20firefox%20to%20epiphany%20and%20back%20again%26%238230%3B" id="wpa2a_12">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/116/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Epiphany rocks!</title>
		<link>http://therning.org/magnus/archives/108</link>
		<comments>http://therning.org/magnus/archives/108#comments</comments>
		<pubDate>Fri, 17 Feb 2006 14:53:34 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[epiphany]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/108</guid>
		<description><![CDATA[Read a post on epiphany-user yesterday on how a hidden location bar appears when Ctrl-L is pressed. Then it goes away again. Very nice. It also seems that the version in Debian keeps information about &#8220;Generic Postscript&#8221; printing&#8211;I don&#8217;t need to enter a2ps in the text box anymore, it&#8217;s remembered. I just love how the [...]]]></description>
			<content:encoded><![CDATA[<p>Read a <a href="http://mail.gnome.org/archives/epiphany-list/2006-February/msg00044.html">post on epiphany-user</a> yesterday on how a hidden location bar appears when Ctrl-L is pressed. Then it goes away again. Very nice. It also seems that the version in Debian keeps information about &#8220;Generic Postscript&#8221; printing&#8211;I don&#8217;t need to enter <code>a2ps</code> in the text box anymore, it&#8217;s remembered.</p>

<p>I just love how the irritation points in the GNOME UI just keep on disappearing <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F108&amp;title=Epiphany%20rocks%21" id="wpa2a_14">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/108/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

