OneTeam XMPP multi-platform client. This is a Mozilla / XUL based platform, developed mostly in Javascript and C++ XPCOM.
Switch branches/tags
Nothing to show
Clone or download
Latest commit c51bc54 Feb 21, 2013
Failed to load latest commit information.
chrome Fix strict warnings Feb 21, 2013
components Add support for detecting screen locking event in windows Feb 13, 2013
defaults/preferences Use icon roster by default Feb 15, 2013
docs List of url parameters. Nov 1, 2007
extension Add .gitignore files. Dec 17, 2008
extensions/{88bf52fd-951f-433d-9fc9-6228c93aba98} Updated the default theme's name creator. Mar 13, 2010
installer/windows MPL license text for windows installer Feb 13, 2013
platform Add support for detecting screen locking event in windows Feb 13, 2013
po Revert "Merge branch 'master' of git+ssh://… Aug 18, 2011
src Add support for detecting screen locking event in windows Feb 13, 2013
tools Fix xulapp generation broken by changes required by wxi Feb 13, 2013
.gitignore Merge branch 'master' of git+ssh://… May 16, 2011
COPYING Listed libraries and artwork Jul 5, 2010
GPLv2 License Jul 5, 2010
Info.plist Set CFBundleIdentifier in Info.plist Apr 6, 2010
LICENSE Listed libraries and artwork Jul 5, 2010
MPL1.1 License Jul 5, 2010
Makefile Remove all code used by web* targets May 18, 2011
README.txt Update README.txt file Dec 23, 2010
application.ini Bump max supported firefox/xulrunner versions Jun 21, 2011 WXI generator Dec 18, 2012
chrome.manifest Don't show load errors when trying to load platform specific rules on… Jun 24, 2009
icon.png Added the icon for xpi. Mar 15, 2010
icon64.png Add 64x64 icon to extension package top dir May 16, 2011
install.rdf Set correct version of supported ff version Jun 23, 2011
oneteam.icns Make sure that windows in xulapp have icon May 13, 2011
oneteam.ico Make sure that windows in xulapp have icon May 13, 2011



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.