Getting Lightning to work with Icedove on Debian Etch

It’s a rare case when one has to fix an official Debian package. So rare, it’s the first time I actually had to do it…
I’ve recently been playing with getting a groupware server set up for me & my wife. It’s hard enough to keep track of my own appointments these days. Remembering what Roberta had planned or agreed to has become just too hard. More on getting that groupware server set up in another post; whenever I manage to get it working satisfactorily, that is.

Anyway, since I shifted to Linux I’ve been using Sunbird (or Iceowl rather) to keep my work-related timetable. I used to keep everything on Outlook, but it’s too much of a pain to bring up VMware just for my timetable. So it was natural eventually to try out Lightning, the Thunderbird plugin that integrates Sunbird into Thunderbird. The idea was to be able to use the SOGo connector to sync with the groupware server.

Well, there is an iceowl-extension package in the Debian tree that should just install that site-wide. So I added the package, but nothing showed up on restarting icedove. Sure enough, someone else had the same problem. Funny thing is, the suggestion provided by the package maintainer did not work, but a later suggestion by someone else did. I chose to change the suggestion a little, seeing that other extensions did not specify the target platform at all (this should be settled by the Debian package system anyway).

The bottom line, just apply this patch to /usr/lib/iceowl-extension/install.rdf:

— install.rdf.orig    2008-11-19 10:36:33.000000000 +0000
+++ install.rdf 2008-11-19 10:38:40.000000000 +0000
@@ -2,7 +2,6 @@

 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;
      xmlns:em="http://www.mozilla.org/2004/em-rdf#"&gt;
-5A
   <Description about="urn:mozilla:install-manifest">
     <!– Target Application this extension can install into,
         with minimum and maximum supported versions. –>
@@ -25,6 +24,5 @@
     <em:homepageURL>http://www.asoftsite.org</em:homepageURL&gt;
     <em:iconURL>chrome://calendar/skin/cal-icon32.png</em:iconURL>
     <em:optionsURL>chrome://messenger/content/preferences/preferences.xul</em:optionsURL>
–    <em:targetPlatform>linux-gnu_x86_64-gcc3</em:targetPlatform>
   </Description>
 </RDF>

Advertisements

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s