Giter VIP home page Giter VIP logo

oneteam's Introduction

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 <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 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=<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.

oneteam's People

Contributors

prefiks avatar mremond avatar sonnyp avatar badlop avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.