How to build the Mozilla Thunderbird

Summary

This page introduces how to setup a build environment for the Mozilla Thunderbird.

Setup

Prerequisites

  • macOS 11.4

Steps

STEP
Clone the source code

Clone the source code that is call the Mozilla Build package.

hg clone https://hg.mozilla.org/mozilla-central source/
cd source/
hg clone https://hg.mozilla.org/comm-central comm/
STEP
Run bootstrap

Run bootstrap, select 2.

$ ./mach bootstrap
Please choose the version of Firefox you want to build:
  1. Firefox for Desktop Artifact Mode
  2. Firefox for Desktop
  3. GeckoView/Firefox for Android Artifact Mode
  4. GeckoView/Firefox for Android

Build

14:13 Build Start
17:33 Build End

mach build
mach run

Deliverables are stored below:

  • mozilla-central\obj-x86_64-pc-mingw32

References

  1. Building Thunderbird – Thunderbird
  2. Windows Build Prerequisites – Thunderbird
  3. Mozilla Phabricator
  4. mozilla-central – Mozilla Phabricator
  5. comm-central – Mozilla Phabricator