Main Page

Version 16 (Cambell Prince, 01/26/2012 03:45 am)

1 1
h1. Main Page
2 1
3 1
h2. Documentation
4 1
5 2 Cambell Prince
* Notes on [[Re-Distribution]]
6 1
* [[Error Reporting]]
7 11 Cambell Prince
* [[Writing Systems]]
8 2 Cambell Prince
9 2 Cambell Prince
h2. Binaries
10 2 Cambell Prince
11 15 john hatton
"Binary builds":http://build.palaso.org/repository/downloadAll/bt32/.lastSuccessful/artifacts.zip of all the Palaso libraries are available from our "Team City continuous build server":http://build.palaso.org.
12 2 Cambell Prince
13 2 Cambell Prince
h2. Source Code
14 2 Cambell Prince
15 2 Cambell Prince
To get the source code, you'll need Mercurial.  Windows users, grab "TortoiseHg":http://tortoisehg.sourceforge.net.  Then from a command line, give this command:
16 2 Cambell Prince
17 2 Cambell Prince
@hg clone http://hg.palaso.org/palaso where-you-want-to-put-it@
18 3 Eberhard Beilharz
19 8 Cambell Prince
h2. Building
20 3 Eberhard Beilharz
21 8 Cambell Prince
h3. Windows
22 1
23 7 Cambell Prince
You can open and build Palaso.sln in Visual Studio.
24 7 Cambell Prince
25 8 Cambell Prince
h3. Linux
26 7 Cambell Prince
27 16 Cambell Prince
The build environment can be installed from the packages.palaso.org repository.  Note that currently we are working on upgrading our linux offerings, so we may also refer to ppa.palaso.org also.
28 1
29 16 Cambell Prince
1. Add the following lines to /etc/apt/sources.list
30 16 Cambell Prince
<pre>
31 16 Cambell Prince
deb http://packages.sil.org/ubuntu lucid main
32 16 Cambell Prince
deb http://packages.palaso.org/ubuntu lucid main
33 16 Cambell Prince
deb http://ppa.palaso.org/ubuntu lucid main
34 16 Cambell Prince
deb-src http://packages.palaso.org/ubuntu lucid main
35 16 Cambell Prince
deb-src http://ppa.palaso.org/ubuntu lucid main
36 16 Cambell Prince
</pre>
37 16 Cambell Prince
2. Update your package list
38 16 Cambell Prince
<pre>
39 16 Cambell Prince
sudo apt-get update
40 16 Cambell Prince
</pre>
41 16 Cambell Prince
3. Install the Palaso build dependencies
42 16 Cambell Prince
<pre>
43 16 Cambell Prince
apt-get install libicu-cil
44 16 Cambell Prince
</pre>
45 16 Cambell Prince
4. Download the Palaso source code.
46 16 Cambell Prince
<pre>
47 16 Cambell Prince
hg clone http://hg.palaso.org/palaso
48 16 Cambell Prince
</pre>
49 1
50 16 Cambell Prince
Checkout the default mono branch.
51 1
52 16 Cambell Prince
<pre>
53 16 Cambell Prince
hg update DefaultMono
54 16 Cambell Prince
</pre>
55 16 Cambell Prince
56 16 Cambell Prince
5. Build the Palaso library
57 16 Cambell Prince
58 16 Cambell Prince
First build palaso. From root of palaso source code, here /media/mono/palaso
59 16 Cambell Prince
<pre>
60 16 Cambell Prince
xbuild "/target:Clean;Compile" /p:Configuration=DebugMono /p:RootDir=/media/mono/palaso build/build.mono.proj
61 16 Cambell Prince
</pre>
62 16 Cambell Prince
63 16 Cambell Prince
The output is placed under the output folder.