This is an ebuild for Thunderbird 3.0 Alpha 2. It's not on the same level as the Thunderbird 2 ebuilds - custom patches lacking, no languages support - but it seems to work so far. Reproducible: Always Steps to Reproduce:
Created attachment 162971 [details] Thunderbird 3.0 Alpha 2 ebuild
beta1 has been released ...
Created attachment 174981 [details] ebuild for Mozilla Thunderbird 3.0 beta 1 I'm running this ebuild right now, it's at least compiling. It's VERY dirty, since I know nothing about the proper method for writing ebuild files. Hopefully someone can take this and clean it up.
(In reply to comment #3) > Created an attachment (id=174981) [edit] > ebuild for Mozilla Thunderbird 3.0 beta 1 > > I'm running this ebuild right now, it's at least compiling. It's VERY dirty, > since I know nothing about the proper method for writing ebuild files. > Hopefully someone can take this and clean it up. > Fails for me on Creating .deps Can't open perl script "./mozilla/build/autoconf/make-makefile": No such file or directory gmake[4]: *** [modules/Makefile] Error 2 gmake[3]: *** [db/gloda_export] Error 2 gmake[3]: *** Waiting for unfinished jobs.... Creating .deps Creating .deps Creating _xpidlgen/.done nsIDBFolderInfo.idl nsIDBChangeListener.idl nsIDBChangeAnnouncer.idl nsIMsgDatabase.idl nsINewsDatabase.idl nsIMsgOfflineImapOperation.idl gmake[2]: *** [export_tier_app] Error 2 gmake[1]: *** [tier_app] Error 2 make: *** [default] Error 2 any ideas?
It fails for me at exactly the same point. I'll try taking a look at it.
Even if it fails, please add the ebuild to mozilla overlay to allow more people to test/review it (like me). 3.0_alpha2 is already there so it shouldn't be too much work. Thanks.
(In reply to comment #3) > Created an attachment (id=174981) [edit] > ebuild for Mozilla Thunderbird 3.0 beta 1 > > I'm running this ebuild right now, it's at least compiling. It's VERY dirty, > since I know nothing about the proper method for writing ebuild files. > Hopefully someone can take this and clean it up. > Why doesn't it detect the xulrunner flag and use the xul SDK, even though the check is in there? Looks like the firefox compile is much smaller while using xulrunner SDK. It would be great if thunderbird used it as well. Its not only code share but runtime memory shared as well.
Dies compile...:-( gmake[3]: Entering directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work/directory/xpcom' /usr/bin/perl ./mozilla/build/autoconf/make-makefile -t ../.. -d ../.. datasource/Makefile Can't open perl script "./mozilla/build/autoconf/make-makefile": No such file or directory gmake[3]: *** [datasource/Makefile] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work/directory/xpcom' gmake[2]: *** [export_tier_app] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work' gmake[1]: *** [tier_app] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/work' make: *** [default] Error 2 * * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3237: Called die * The specific snippet of code: * emake || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/usr/portage/local/log/mail-client:mozilla-thunderbird-3.0_beta1:20081223-082232.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'. * This ebuild is from an overlay: '/private/portage/overlay/'
(In reply to comment #7) > > Why doesn't it detect the xulrunner flag and use the xul SDK, even though the > check is in there? Looks like the firefox compile is much smaller while using > xulrunner SDK. It would be great if thunderbird used it as well. Its not only > code share but runtime memory shared as well. > Because upstream doesn't support this with thunderbird yet.
Please make it a slotted ebuild, so than one can try out the new version from portage without ruining vital "production" mail (tb2).
Fails for me too still, on the mentioned error: " Can't open perl script "./mozilla/build/autoconf/make-makefile": No such file or directory " No clue yet on how to solve this?
Same error is affecting building under Ubuntu 8.10. I am working around it (not fixing the real problem though) by creating symlinks to the mozilla directory in the directories where the make is failing.
Found the problem, which was actually already filed and fixed as Mozilla bug 468915. There is a diff at: http://hg.mozilla.org/comm-central/raw-rev/3c9ee88189c1 Apply it to the Thunderbird 3.0b1 source and it should compile. (Do not apply it inside the 'mozilla' directory -- but in the directory above it, where you are compiling from.) p.s. I have never used Gentoo or portage, so if it's supposed to compile everything automatically, I don't know anything about fixing that... I'm just manually compiling it from source (under Ubuntu).
I put the patch in files/3c9ee88189c1.patch and changed the src_unpack() function in the ebuild (based on examples in other ebuilds with patches ...): src_unpack() { unpack thunderbird-${VER}-source.tar.bz2 epatch "${FILESDIR}"/3c9ee88189c1.patch cd "${S}" eautoreconf } Unpacking worked, now it is compiling again. The patch naming probably is less than optimal, though ...
The perl bug is fixed, but the next is not far: >>> Source compiled. >>> Test phase [not enabled]: mail-client/mozilla-thunderbird-3.0_beta1 >>> Install mozilla-thunderbird-3.0_beta1 into /mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/image/ category mail-client cp: Aufruf von stat für „/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/work/dist/bin/*“ nicht möglich: Datei oder Verzeichnis nicht gefunden * * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3293: Called die * The specific snippet of code: * cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed"; * The die message: * cp failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'. * The ebuild environment file is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * * QA Notice: command not found: * * /mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment: line 3243: !mozconfig_init: command not found >>> Failed to emerge mail-client/mozilla-thunderbird-3.0_beta1, Log file: >>> '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log' * Messages for package mail-client/mozilla-thunderbird-3.0_beta1: * You are enabling official branding. You may not redistribute this build * to any users on your network or the internet. Doing so puts yourself into * a legal problem with Mozilla Foundation * You can disable it by emerging mozilla-thunderbird _with_ the bindist USE-flag * * ERROR: mail-client/mozilla-thunderbird-3.0_beta1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3293: Called die * The specific snippet of code: * cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed"; * The die message: * cp failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/build.log'. * The ebuild environment file is located at '/mnt/sda5/usr-tmp-portage/portage/mail-client/mozilla-thunderbird-3.0_beta1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/'
No ideas, anyone? Btw, beta2 is to be released tomorrow.
Beta2 is out. May I ask again for a bump in the mozilla overlay?
Created attachment 185706 [details] Thunderbird 3.0 beta2 ebuild works for me. This is based on above 3.0 beta1 ebuild.
Compiles fine for me, and works insofar as packaging is concerned. Thanks!
Some comments: * a menu entry would be nice * what a pity that Enigmail and Lightning don't work :-|
thanks a lot for the 3.0 beta2 ebuild !
for me it didn't compile without a patch to make it aware of pango 1.23.0 (meanwhile pango 1.24.0 is out, don't know if it compiles with that): https://bugzilla.mozilla.org/show_bug.cgi?id=478871
Beta2 added to the mozilla overlay
(In reply to comment #23) > Beta2 added to the mozilla overlay > Since this is in the overlay, and won't be added to tree till a full release, marking bug as FIXED