Partnering/Repacks/Building

From MozillaWiki
Jump to: navigation, search

Overview

This is a brief outline of the structure of a partner repack. You should also read Policy_and_Process and you can look at existing partner distributions in the repository.

Directory Structure

The config files for single partner live under a partner-specific directory.

e.g. for a partner called 'xyz':

partner-repacks/
                partners/
                         xyz/
                             repack.cfg
                             distribution/
                                          distribution.ini
                                          searchplugins/
                                          extensions/

To add a new partner, say 'xyz', follow these steps:

  • create a new directory under partners/
  • create a config file for the partner: partners/xyz/repack.cfg
  • create a distribution dir for the partner: partners/xyz/distribution/
  • create a distribution.ini file for the partner: partners/xyz/distribution/distribution.ini
  • add any extensions or searchplugins under the distribution dir

Best to work from existing examples of the repack.cfg and distribution.ini files to see how things are setup.

repack.cfg

aus="xyz"
dist_id="xyz"
dist_version="1.0"
linux-i686=true
locales="en-US"
mac=true
win32=true
win64=true

distribution.ini

See a complete example of a distribution.ini.

Custom Search Engines

Add-ons

Building and Testing