* python-dev
* autoconf
* libtool
-* a Java JDK for ant (java-gcj-compat-dev, sun-java6-jdk, openjdk-6-jdk,...)
+* a Java JDK for Ant (java-gcj-compat-dev, sun-java6-jdk, openjdk-6-jdk,...)
==== Windows ====
* Microsoft Visual C++ 6 with Service Pack 5 (not Service Pack 6 because Processor Pack needs SP5)
See http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites
-* Add Ant path, Cygwin path and JDK path to the PATH variable in c:\mozilla-build\start-msvc6.bat:
- SET PATH=%PATH%;%MOZ_TOOLS%\bin;C:\mozilla-build\apache-ant-1.8.0RC1-bin\bin;C:\cygwin\bin;C:\Program Files\Java\jdk1.6.0_18\bin
+* Add Ant and JDK path to the PATH variable in c:\mozilla-build\start-msvc6.bat:
+ SET PATH=%PATH%;%MOZ_TOOLS%\bin;C:\mozilla-build\apache-ant-1.8.0RC1-bin\bin;C:\Program Files\Java\jdk1.6.0_18\bin
* Set JAVA_HOME as environment variable
* Launch build environment with c:\mozilla-build\start-msvc6.bat
-=== Get repository ===
- $ git clone https://adullact.net/anonscm/git/milimail/milimail.git trustedbird
+
+=== Cloning the repository ===
+
+Read only (with HTTP/HTTPS)
+~$ git clone https://adullact.net/anonscm/git/milimail/trustedbird.git
+
+
+Read-write (with SSH)
+~$ git clone ssh://USERNAME@scm.adullact.net/scmrepos/git/milimail/trustedbird.git
+ (replace USERNAME with your Adullact SSH username)
+
=== Building ===
- $ cd trustedbird/packager
+~$ cd trustedbird/packager
+~/trustedbird/packager$ cd trustedbird/packager
+
+
+Download Thunderbird source file:
+~/trustedbird/packager$ wget ftp://ftp.mozilla.org/pub/thunderbird/releases/2.0.0.24/source/thunderbird-2.0.0.24-source.tar.bz2
+
+
+Build and package Trustedbird and all add-ons:
+~/trustedbird/packager$ ant build-all
+
- // Download Thunderbird
- $ wget ftp://ftp.mozilla.org/pub/thunderbird/releases/2.0.0.24/source/thunderbird-2.0.0.24-source.tar.bz2
+OR: build and package only Trustedbird email client:
+~/trustedbird/packager$ ant trustedbird
- // Build and package Trustedbird and add-ons
- $ ant build-all
- // OR: build and package trustedbird
- $ ant trustedbird
+OR: build and package only add-ons:
+~/trustedbird/packager$ ant package-addons
- // OR: build and package add-ons
- $ ant package-addons
+* All built packages will be available in trustedbird/packager/dist/
-* All built packages are available in trustedbird/dist/
=== Signed updates (optional) ===
Generate a public key from McCoy and put it in a new "updateKey" file in same folder as build.xml.
<arg value="cf" />
<arg value=".temp.trustedbird-patch" />
<arg value="-C" />
- <arg value="../${trustedbird-patch.path}" />
+ <arg value="../${trustedbird-patch-tb2.path}" />
<arg value="." />
</exec>
<exec executable="tar" failonerror="true">
<!-- Get revision from Git -->
<exec executable="sh" outputproperty="local.trustedbird.revision" failonerror="true">
<arg value="${local.tools.dir}/getGitRevisionDate.sh" />
- <arg value="../${trustedbird-patch.path}" />
+ <arg value="../${trustedbird-patch-tb2.path}" />
</exec>
<if>
<mkdir dir="${local.dist.dir}" />
<exec executable="tar" failonerror="true">
<arg value="cjf" />
- <arg value="${local.dist.dir}/trustedbird-patch-source_${local.trustedbird.version}.tar.bz2" />
+ <arg value="${local.dist.dir}/trustedbird-patch-tb2-source_${local.trustedbird.version}.tar.bz2" />
<arg value="-C" />
<arg value=".." />
- <arg value="${trustedbird-patch.path}" />
+ <arg value="${trustedbird-patch-tb2.path}" />
</exec>
</target>