From 193e377c70ed273becb4e171b5c92197e754f9d2 Mon Sep 17 00:00:00 2001 From: Fabien Tassin Date: Sun, 20 Apr 2008 00:10:37 +0200 Subject: * [mozclient] add support for Mercurial (hg) and add a firefox-4.0 project + add support for Mercurial (hg) in addition to cvs. Add MOZCLIENT_VCS variable (default to cvs). Add mercurial to Depends. The preferred way to fetch a particular hg snapshot is to use a revision number, it's better than a date. - update deban/control - update src/mozclient.mk.in - update README + make the mozclient patch system optional by introducing a new variable called MOZCLIENT_WANTPATCH. Set it only for firefox 3. - update src/firefox-3.0-full.mk.in - update src/firefox-3.0.mk.in - update src/mozclient.mk.in + add project firefox-4.0 using Mercurial. It needs python (>= 2.4) so add python | python2.4 to Depends. It also needs a post checkout script to fetch dependencies (nspr/nss/tamarin) so introduce a new variable called MOZCLIENT_POSTCOCMD. We now use hgweb instead of bonsai to get revision ids and dates. - update deban/control - add src/firefox-4.0.mk.in - update src/Makefile --- README | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index bd93796..4b1dcb4 100644 --- a/README +++ b/README @@ -61,9 +61,11 @@ They contain the following parameters: - MOZCLIENT_TARGET (mandatory): a label, usually 'project-orig' - MOZCLIENT_APPNAME (mandatory): package name - MOZCLIENT_MODULES (optional): list of modules/directories for direct checkout -- MOZCLIENT_PROJECT (mandatory): CVS project name. If $(NULL), then +- MOZCLIENT_VCS (optional): VCS (hg, git, cvs, svn..). (default: cvs) +- MOZCLIENT_PROJECT (mandatory): VCS project name. If $(NULL), then $(MOZCLIENT_MODULES) becomes mandatory -- MOZCLIENT_BRANCH (optional): CVS branch name +- MOZCLIENT_BRANCH (optional): VCS branch name +- MOZCLIENT_POSTCOCMD (optional): a shell command that is executed after checkout - MOZCLIENT_FILE (mandatory): source file containing the version - MOZCLIENT_GETVERSION (mandatory): how to transform the version - MOZCLIENT_URL (mandatory): an URL (usually on Bonsai) listing commits @@ -71,6 +73,7 @@ They contain the following parameters: - MOZCLIENT_EMBEDDED (optional): create an embedded tarball (default: 0) - MOZCLIENT_WANTMOZDIR (optional): should the root dir be 'mozilla'? (default: 0 unless MOZCLIENT_EMBEDDED=1) +- MOZCLIENT_WANTPATCH (optional): should we use the patch system? (default: 0) Example with firefox-3.0: -- cgit v1.2.3