sila 
| resources: | Home Mailing List Installation Source Code Bugs Screenshots |
|---|
Source Code
How to Get SILA Source?
The sila source code can be accessed in either of the following ways:
- View the source using the CVS web interface
- Check out the source using anonymous CVS with the following commands
(password is guest):
cvs -d :pserver:guest@mozdev.org:/cvs login
cvs -d :pserver:guest@mozdev.org:/cvs co sila/src
How to Build the SILA Source?
There are three main parts of source to make SILA work:- A patch to patch Mozilla source
- The OpenGraphite library from sil.org
- mg2- A COM server which called by Mozilla and call to OpenGraphite
I. Build the patched Mozilla:
To build the patched mozilla part, you need to do the following:- Build Mozilla- Read the documentation on http://www.mozilla.org about how to get the Mozilla source and how to build it. The current patch only work with Mozilla 1.0 branch, therefore you need to use the branch tag MOZILLA_1_0_BRANCH for now.
- Get the Patch- The patch(es) is available in sila/src/patch/
- patch for mozilla MOZILLA_1_0_BRANCH - sila/src/patch/moz10patch.txt
- Patch the Mozilla-
cd mozilla/gfx/src/windows
patch < sila/src/patch/moz10patch.txt - Rebuild the Mozilla gfx:
cd mozilla/gfx/
make
II. The SILGraphite library form sil.org:
To simplified the development process, we currently checked in a snapshot of OpenGraphite into the sila source tree.- Get the SILGraphite library source from Project SILA cvs tree:
cvs -d :pserver:guest@mozdev.org:/cvs co sila/opengraphite
- To build release build: (this will change soon)
It will build release/grengine.libcd sila/opengraphite
nmake -f makefile - To build debug build:
It will build debug/grengine.libcd sila/opengraphite
nmake -f makefile CFG="debug"
III. mg2- A COM server which called by Mozilla and call to OpenGraphite
- Make sure you build the opengraphite as above first.
- Get the mg2 source from the cvs tree:
cvs -d :pserver:guest@mozdev.org:/cvs co sila/mg2
- open sila/mg2/mg2.dsw by using vc6++ msdev.
- build the project.
Other Places to Get the OpenGraphite Library
The main OpenGraphite source is on http://www.sil.org. However, they only have a tarball version and don't have a cvs serve setup yet. In additional, there are a source forge cvs tree setup for the Linux porting efforts:- Get it from sila source tree:
Because sil.org has not provide cvs or lxr on the OpenGraphtie yet,we check in the snapshoot of SILGraphite under mozdev.org cvs tree. This cvs tree is just a mirror of snapshoot of SILGraphite and is intend te be a readonly tree only. We will not use this cvs tree for active SILGraphics developement. We will eventually merge back the code into SILGraphite CVS tree and probably will remove these directory in the SIL cvs tree once that is done. Here is how you get the source from sila cvs server:
cvs -d :pserver:guest@mozdev.org:/cvs login
cvs -d :pserver:guest@mozdev.org:/cvs co sila/opengraphite
- Get it from the Linux SILGraphite source forge cvs server: There are also a open source Linux port of SILGraphite project right now. You can find their information in http://sourceforge.net/projects/silgraphite
Get the tarball from sil.org: The official place to get the tarball should be linked from the Graphite site ( http://graphite.sil.org/ ). However, because that server was down by a hacker in Oct 2002, the most up-to-date source is posted at http://www.sil.org/~hosken/Graphite/OpenGraphite_11Oct02.zipGet it from the Linux OpenGraphite source forge cvs server: There are also a open source Linux port of OpenGraphite project right now. You can find their information in http://sourceforge.net/projects/opengraphiteGet it from the cvs.crosswire.org: Notice, as today (10/28/2002), the source in the crosswire.org does NOT contains the 10112002 version.
$ export CVSROOT=:pserver:anonymous@cvs.crosswire.org:/usr/local/cvsroot
$ cvs login
Password: anonymous
$ cvs co graphite
Today’s VCS Commits for the sila project
There are no commits for the specified period