Showing only posts in HOWTO. Show all posts.

Developing Mozilla on Debian 11

Project: Firefox Version: 103 Date: 2022-06-23

Dependencies needed for Firefox development on Debian 11

sudo apt-get install clang11 llvm
          sudo apt-get install libnotify-dev
          sudo apt-get install curl python3 python3-dev python3-pip
          python3 -m pip install --user mercurial
          

Caching of object file (Optional)

for faster debug cycle, optionally add the following cargo …

Mozilla Repository

Project: Firefox Version: 103 Date: 2022-06-23

Setup

To setup Firefox on Linux:

curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O
          python3 bootstrap.py
          

Build

To build & run

Once the System is bootstrapped, run:

$ cd mozilla-unified
          $ ./mach build
          

Run

To run it:

$ ./mach run
          

References …

Building `jsshell`

After Mercuralizing the Mozilla Firefox repository, the next focus is to create a MOZCONFIG. MOZCONFIG is a term and also an environment variable that holds various build settings for Mozilla projects (such as Firefox).

MOZCONFIG

we make use of a $HOME/mozconfigs directory to hold our generic but personalized build …

page 1 | older articles »