[Moziax] Mac install?

Jean-Denis Girard jd.girard at sysnux.pf
Thu Oct 27 21:49:50 EDT 2005


cresco at poczta.onet.pl a écrit :
> Hello !!!!
> 
> Jean-Denis Girard wrote on:
> 
> http://moziax.mozdev.org/installation.html
> 
> that 
> > MozIAX for Mac OSX not ready (looking for help on that).
> 
> Bye 

Hi,

Thanks for your interest in MozPhone on Mac. Two other persons have 
expressed the same interest and one of them did succeed in making 
MozPhone work on OSX.

The first thing is to compile network_client, which is written is C. It 
  should be fairly easy. Note that it depends on the iaxclient library 
(http://iaxclient.sourceforge.net). According to the guy who succeeded 
in compiling on Mac OSX, the only changes needed are:
- gastman.c
//  #ifdef __FreeBSD__
    #include <sys/types.h>
//  #endif
-  network_client.c
#include <sys/time.h>
#include <time.h>
Makefile should also be adapted to your environment.
Once network_client is compiled, you can test it from command line. It 
will open port 9998 so you can connect from a second console with telnet 
localhost 9998, then type quit.

Then building the xul interface should be straightforward. You will need 
to modify chrome/content/mozphone/mozphone.js: in function ast_init() 
near line 500 you will need to launch network_client. Maybe simply 
copying what is done for Linux will work.
Then for installation you will have to modify install_template.js in 
order to allow install on Mac platform: I think commenting out lines 
40-43, and changing line 47 to:
     if( os == 'unix' || os == 'mac' ) {
will be enough.
Then you will need to have a look at mkxpi.sh to build mozphone-macosx.xpi


Hope that helps,
-- 
Jean-Denis Girard

SysNux                  Systèmes Linux en Polynésie française
http://www.sysnux.pf/   Tél: +689 483 527 / GSM: +689 797 527


More information about the Moziax mailing list