oneteam
oneteam copied to clipboard
OneTeam XMPP multi-platform client. This is a Mozilla / XUL based platform, developed mostly in Javascript and C++ XPCOM.
OneTeam
OneTeam is XMPP/Jabber client useable as Firefox extension, or standalone Xulrunner application.
Developing
Source directory has structure which allows it to be used directly as Firefox extension (by putting file named [email protected] 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 build.pl <FLAGS>" or using targets defined in Makefile.
Build script recognizes those flags:
XULAPP
Makefile has few targets which may be used as shortcuts for calling build.pl manually. Most usefull are 'xpi', 'xpidbg', 'xulapp' and 'xulappdbg'
Compiling C code
To do that you will need tools listed for your platfrom from https://developer.mozilla.org/En/Developer_Guide/Build_Instructions 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=