Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Update README.txt file

  • Loading branch information...
commit 7278fda1dcf3545409a871ffc57e8667272d45ab 1 parent f163d1a
@prefiks prefiks authored
Showing with 62 additions and 40 deletions.
  1. +62 −40 README.txt
102 README.txt
@@ -1,40 +1,62 @@
-To build OneTeam you need to have Perl with those additional modules:
- Sub::Name
-You can create three targets:
- xpi - ...
- xulapp - archive which can be converted into XULRunner application, to
- generate it call 'perl XULAPP 1' or 'make xulapp'.
- webjar - JAR file with web version of OneTeam, generated with
- 'perl' or 'make webjar'.
- webdir - populates web/ directory with preprocessed files from chrome,
- use 'perl NOJAR 1' or 'make webdir' to do that.
-Additionally you can pass additional argument 'DEBUG 1' to Perl line to
-create targets with additional debug code.
-You need to install XULRunner first, you can download it from
-You can install OneTeam with:
- $ /path/to/xulrunner/xulrunner --install-app oneteam.xulapp /path/to/target/directory
-this will unpack xulapp and create launcher in target directory.
-You can also run OneTeam directly from source code:
- $ /path/to/xulrunner/xulrunner application.ini
-but this run on not preprocessed files and this has some drawbacks (like all
-strings written in _('String') form).
-Firefox 3.0 gained ability to run XULRunner apps. Unfortunately it can't unpack
-the xulapp file itself, so you must do it manually:
- $ unzip oneteam.xulapp -d /target/directory
-After that, xulapp can be invoked with
- $ /path/to/firefox3/firefox -app /target/directory/application.ini
+OneTeam is XMPP/Jabber client useable as Firefox extension, or
+standalone Xulrunner application.
+Source directory has structure which allows it to be used directly as
+Firefox extension (by putting file named containing
+path to source), or with small change (uncommenting line with
+toolkit.defaultChromeURI in defaults/preferences/non-build.js) as
+xulrunner application.
+Building packages
+Building infrastructure is writen in Perl, and requires one non-standard
+module - Sub::Name.
+It can be called directly by executing "perl <FLAGS>" or using
+targets defined in Makefile.
+Build script recognizes those flags:
+ XULAPP <any value> - use this to generate xulrunner application
+ XPI <any value> - generate firefox extension XPI package
+ DMG <any value> - generate MacOS DMG archive
+ XULLRUNNER <path> - path to xulrunner application, right now used
+ only by DMG target
+ DEBUG <any value> - enable some additional debug infrastructure
+ NOJAR <any value> - prevent from storing files in jar archive
+ UPDATE_URL <url> - location used by firefox to looking for
+ updates to extension
+ XPI_URL <url> - location of .xpi file used in creation of
+ update.rdf file
+ MAR_BASE_URL <url> - location where .mar (xulapp update) files
+ are accessible
+ MAR_UPDATE_URL <url> - location of service handling update requests
+ for xulrunner apps
+ MAR_UPDATE_CHANNEL <name> - name of channel used in update process
+ MAR_FILE <filename> - file name pattern used for naming generated
+ .mar files
+Makefile has few targets which may be used as shortcuts for calling
+manually. Most usefull are 'xpi', 'xpidbg', 'xulapp' and 'xulappdbg'
+Compiling C code
+To do that you will need tools listed for your platfrom from
+under 'Build Prerequisites'. Additionally you will need to have
+cmake available in your system, and copy of xulrunner-sdk for your platform.
+Code for compilation lives in src/components, first step you should do is
+create directory somewhere which will hold build files. After that you should
+call 'cmake -D XPCOM_GECKO_SDK=<path to xulrunner sdk> <path to src/components>'
+and 'make' (or 'nmake' in case of windows). After successfull build calling
+'make install' or 'make install/strip' will copy newly compiled libraries
+into platform/ in OneTeam directory.
Please sign in to comment.
Something went wrong with that request. Please try again.