Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151296 - Lightning 0.3 for Thunderbird 1.5/2.0 is released
Summary: Lightning 0.3 for Thunderbird 1.5/2.0 is released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.mozilla.org/projects/calen...
Whiteboard:
Keywords:
: 171949 174617 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-14 01:59 UTC by Jon Severinsson
Modified: 2008-04-07 17:07 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lightning-0.3 ebuild (lightning-0.3.ebuild,3.04 KB, text/plain)
2006-12-21 16:04 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Severinsson 2006-10-14 01:59:57 UTC
As the official xpi only works with mail-client/mozilla-thunderbird-bin and not mail-client/mozilla-thunderbird (unless you are running x86 and compiled thunderbird using gcc-3.3) I'd love a Lightning ebuild.

If you for some reason can't/won't do that, a sunbird-0.3 (preferably not -bin) ebuild would do.
Comment 1 Jory A. Pratt 2006-10-16 15:28:03 UTC
I am having problems why you say x86_64 is not supported. I just checked and source code is avaliable for download, so every arch that thunderbird is supported on is technically supported.
Comment 2 Kevin Bowling 2006-10-16 15:40:17 UTC
The problem: Mozilla doesn't distribute x86_64 .xpi binaries, and even then the bug reports that Thunderbird must be built with gcc-3.3 to use it.  Therefore Gentoo's source based approach to software management shines once again and an ebuild has been requested.
Comment 3 Raphael 2006-11-17 01:24:43 UTC
Yes I just tried to install 0.3 on amd64 but I would need to recompile lightning from source as there is still no binary supplied by mozilla it seems.  An ebuild would be wonderful.

Raphael
Comment 4 Jory A. Pratt 2006-12-21 14:14:46 UTC
Well at present this is not really fesible ... I say this as it requires all of thunderbird be build at same time ligntning is in order to create the xpi. Yes this suxs but I tried to change it with upstream and they seem to act like it would be too difficult to fix it properly. Sorry guys I had an ebuild ready but without being able to build the xpi it is useless.
Comment 5 Kevin Bowling 2006-12-21 14:41:43 UTC
(In reply to comment #4)
> Well at present this is not really fesible ... I say this as it requires all of
> thunderbird be build at same time ligntning is in order to create the xpi. Yes
> this suxs but I tried to change it with upstream and they seem to act like it
> would be too difficult to fix it properly. Sorry guys I had an ebuild ready but
> without being able to build the xpi it is useless.
> 

How about a useflag for Thunderbird?  Is this [technically] possible?  Not the prettiest solution, but IMHO Lightning will become very important for Thunderbird as it progresses.
Comment 6 Jory A. Pratt 2006-12-21 15:02:13 UTC
(In reply to comment #5)
> How about a useflag for Thunderbird?  Is this [technically] possible?  Not the
> prettiest solution, but IMHO Lightning will become very important for
> Thunderbird as it progresses.
> 

Well that is not possible either as lightning source is not in the standard tree. I will post an ebuild in a bit that will allow ya to build and just install the extension but does require you build all of thunderbird just to build the xpi.
Comment 7 Jory A. Pratt 2006-12-21 16:04:04 UTC
Created attachment 104548 [details]
lightning-0.3 ebuild

This is what the ebuild has to look like for now .. this will only install the extension into an already installed thunderbird. Like I said early it is ugly but does work as expected.
Comment 8 Bernard Cafarelli gentoo-dev 2006-12-21 16:25:06 UTC
Well, it is "ugly" as you say, but after all, the enigmail plugin is built like that! And it has its USE flag in the thunderbird ebuild ;)

It always pains me to see it unpacking the thunderbird archive to build the xpi...
Comment 9 Jory A. Pratt 2006-12-21 18:31:22 UTC
I was just informed from upstream our ebuild is pretty much useless at this point in time .. It requires the extension be installed via the user it is busted when installed globally. I have put up a x86_64 xpi that they will be adding to their mirrors as well ..

http://dev.gentooexperimental.org/~anarchy/dist/lightning-Linux_x86_64-gcc3.xpi
Comment 10 Jory A. Pratt 2006-12-21 18:33:14 UTC
(In reply to comment #2)
> The problem: Mozilla doesn't distribute x86_64 .xpi binaries, and even then the
> bug reports that Thunderbird must be built with gcc-3.3 to use it.  Therefore
> Gentoo's source based approach to software management shines once again and an
> ebuild has been requested.
> 

I meant to correct ya on this earlier ... Thunderbird must be built with gcc-3.3 It is only ABI compatible which gentoo is .. hense you will see the naming in the xpi I have put in http://bugs.gentoo.org/show_bug.cgi?id=151296#c9 .. I just do not want anyone to become confused with how upstream works.
Comment 11 Christian Marie (RETIRED) gentoo-dev 2006-12-21 20:45:21 UTC
Closing as per Anarchy's request: Nothing we can do untill upstream fixes some major issues.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-11-17 12:46:03 UTC
*** Bug 174617 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-11-17 12:47:05 UTC
*** Bug 171949 has been marked as a duplicate of this bug. ***
Comment 14 Patrizio Bassi 2007-11-17 13:31:59 UTC
this was closed due to upstream issues, but mozilla released version 0.5 and 0.7.
latest looks much more stable and usable.

As we don't have an official release from mozilla the only way on amd64 is compile by sources

we have sunbird in portage, which shares almost all the core code.
why not lighting as well?

I request TB/Mozilla team to reopen it, i'll be happy to test

Thank you
Comment 15 Patrizio Bassi 2007-11-17 13:33:08 UTC
forgot:
someone managed to have the extension compiled for 64 bit release

http://blog.devzero.net/2007/10/lightning-07-for-x8664.html
Comment 16 Patrizio Bassi 2007-11-18 16:30:28 UTC
i could compile it as well:
1) download sources
2) cd mozilla
3) ./configure --with-system-nspr --with-system-nss --enable-default-toolkit=gtk2 --enable-xft --disable-freetype2  --enable-application=mail --enable-extensions=default,lightning
4) inside dist/xpi-stage/ there are 
lightning-wcap.xpi  lightning.xpi

can you please reopen and include in portage?

Comment 17 Raúl Porcel (RETIRED) gentoo-dev 2007-12-17 15:21:49 UTC
Reopening...
Comment 18 Raúl Porcel (RETIRED) gentoo-dev 2007-12-17 18:44:46 UTC
In CVS, please test.
Comment 19 Patrizio Bassi 2008-01-10 19:49:35 UTC
it works great, would be nice to have localization
Comment 20 Sebastian Stammler 2008-04-07 17:07:44 UTC
version 0.8 is out