>60 million Thunderbird downloads since 1.0! (Credit: Asbjørn) | RSS 2.0 link via FeedBurner

Archive for the 'Sunbird' category

[Updated!] Help Triage Old Calendar Bugs

Sponsored links:

Written on 17 Feb 2008, last updated 19 Feb 2008.

Developers note:

As Sunbird 0.8 is nearing release candidate status soon, there are just under four hundred Calendar bugs (excluding enhancements) that have not had any bug activity new comments since 27 June 2007 (0.5 release date) 25 October 2007 (0.7 release date). If you have a couple of minutes free, please help triage them by testing with the latest 0.8 nightlies and commenting if they still occur, or resolving as appropriate if not. Together as a community, this form of QA is also vital to the project.

One of the best Calendar queries (date is 25 October 2007, 0.7 release date), with last added comment added before that date:

Actual search query not available (pending fixing of bug 418068 (done) and upgrading of Bugzilla@Mozilla to 3.2)

Link to 380 bugs (Search by listing each bug number) - Thanks to a custom SQL search by Dave Miller on 17 February 2008

→ START here: Untouched bugs within these 380.

The remaining touched bugs are listed here.

Old stuff (25 June 2007, 0.5 release date):

Actual search query (Should decrease as more bug activity is added) 134 bugs at the time of writing. Edit: Within 36 hours, 25 bugs have had some activity, with 7 being resolved.

Link to the same 134 bugs (Search by listing each bug number)

Filed under 'Sunbird' | Posted on 19 Feb 2008 (Tue) by Gary Kwong at 1:30 AM (GMT+8)

HOWTO: Compile Sunbird 0.7 on an Intel Mac in an hour

(Donated to Mozilla Wiki on 05 Jan 08)

Written on 26 Nov 07 and last updated on 27 Nov 07.

Specs: MacBook Pro, 2.2Ghz, 2GB ram, 8600M GT 128MB, Mac OS X 10.4.11

Purpose: This guide is meant to serve as a quickstart on compiling Sunbird 0.7 for the Intel Mac, in under an hour. It is not intended to be comprehensive.

Why Sunbird: Sunbird is an application that can be compiled in under half an hour on my machine. (Firefox definitely takes much longer)

Documentation used: Build documentation, Mac OS X Build Prerequisites, Configuring build options, Build and install

1. Install the prerequisites (20 - 25 minutes, your mileage may vary)

Xcode 2.4.1 came with my Tiger restore DVD, and I installed it with the default options. (ten minutes)

Having a choice of Fink and MacPorts, I went with MacPorts. You can download it here. Installing MacPorts is as simple as running the installer found in the mounted .dmg. (five minutes)

Next, I used MacPorts to install libIDL (which also installs GLib): [note: ignore the "$", it's meant to represent a set of commands to be executed]

$ sudo port sync
$ sudo port install libidl

(You would need to have your administrative password ready; takes around five to ten minutes, depending on your internet connection)

2. Download the source (5 minutes; depends on your internet connection)

I chose not (yet) to plunge into CVS and instead downloaded the 0.7 source directly.

I created a folder on my desktop called "Test" (or whatever you want to call it), dragged the .tar.bz2 file inside and ran this command from that folder "Test" in Terminal:

$ tar xjfv lightning-sunbird-0.7-source.tar.bz2

There will be an extracted "mozilla" folder inside.

3. Configure build options (5 minutes)

In the mozilla folder, I ran

$ echo "# My first mozilla config" > .mozconfig

in Terminal. This creates a .mozconfig file with the comment "My first mozilla config".

I skipped all the Objdir stuff as I am only compiling Sunbird, and entered the .mozconfig below: (the ones with # are comments)

# My first mozilla config
# v0.1 alpha test

. $topsrcdir/calendar/sunbird/config/mozconfig
ac_add_options --enable-optimize
ac_add_options --disable-static --enable-shared
ac_add_options --disable-debug
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
ac_add_options --disable-tests

No debugging, no static build, no auxillary tests needed, optimized and Intel-only build configuration. For a more comprehensive documentation on all the switches and options in .mozconfig, please refer to the Mozilla Developer Center.

4. Build the source (25 minutes)

Having done up everything, I proceeded to compile the source by this Terminal input in the same location as .mozconfig:

$ make -f client.mk build

It took just under half an hour for my hardware configuration. Your mileage may vary though. I had no build problems.

5. Run your program!

The compiled Calendar.app (for Intel Mac only; not a universal binary) after completion appears in /mozilla/dist/. It takes up 7.4MB.

Here's a screenshot immediately after double-clicking the app in Finder, canceling the import wizard, enlarging the interface window and clicking on "About".

result

Due to trademark issues, there is a switch that must be input in .mozconfig to make it compile with official branding. For my case, it didn't matter to me, as I have just compiled my first application on the Mac. (Gentoo Linux experience a few years back was a good help too.)

Endnotes: I hope this guide serves as a decent beginner's guide to building Sunbird. It should be noted that any build questions should go to #calendar or #developers on irc.mozilla.org, where there are lots of other experienced people who are more than willing to answer any of your queries (Please ask nicely). Do read the Mozilla documentation as well.

Filed under 'Sunbird' | Posted on 26 Nov 2007 (Mon) by Gary Kwong at 4:30 PM (GMT+8) | Comments (2)

Tracking of Sunbird changes

I am starting a new category for the tracking of Sunbird's development. Despite being a project in its infancy, I have decided to cover this application as well, because of its close integration with Thunderbird through Lightning.

The coverage will be as follows: As changes continue to be made, I will start off with tracking Sunbird through the Sunbird category and, for the moment, 0-5 signifying all the changes up to release 0.5 (hopefully from 0.3). XULRunner, the common foundation from which Firefox, Thunderbird and Sunbird come from, will still be covered through the Thunderbird posts as per normal.

For the Sunbird posts, bugs fixed under mozilla/calendar will be tracked here, splitting the Sunbird-only and the Lightning-only bugs from the main body as well. Release changelogs similar to the ones currently made for Thunderbird will be made for Sunbird as well, to be linked to from official Sunbird release notes.

Hopefully this arrangement will encourage more development on a most promising project still in its infancy. Do note that as the tacking continues over the weeks, there might be minor changes to the way they are tracked as well.

Filed under 'Sunbird' | Posted on 20 Nov 2006 (Mon) by Gary Kwong at 12:06 PM (GMT+8) | Comments (1)