~ubuntu-branches/ubuntu/karmic/gnome-rdp/karmic

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
Gnome-RDP
---------

This file briefly describes how to install Gnome-RDP using NAnt.

Summary:

1. Requirements
2. Building
3. Installation
4. Variables
5. Copyright
6. Authors


1. Requirements
===============

The installation has been tested with NAnt 0.85, but might work with older
versions as well.
Please report any bug during compilation at

gnome-rdp-devel@lists.sourceforge.net

We'll try to help you :)

Also, you need the gettext package to generate localization catalogs.
In particular, you need the "msgfmt" program, which is called at build-time
by NAnt.

You also need these assemblies available:

System.dll						(libmono-system2.0-cil)
System.Data.dll					(libmono-system-data2.0-cil)
Mono.Posix.dll					(libmono2.0-cil)
Mono.Data.SqliteClient.dll		(libmono-sqlite2.0-cil)
gtk-sharp-2.0					(libgtk2.0-cil)
vte-sharp-0.16					(libvte0.16-cil)
glade-sharp-2.0					(libglade2.0-cil)
gnome-sharp-2.0					(libgnome2.0-cil)
gnome-keyring-sharp				(libgnome-keyring1.0-cil)

(in brackets, you find the respective Debian packages -- other Distributions
might have similar names)

You also need NAnt (Debian: nant), to effectively build the sources :)


2. Building
===========

After you have all the requirements installed, you are ready to compile the
sources.

The default action for NAnt is to build the source. So you just have to:

$ nant

You can pass variables to NAnt (see Variables section below), to modify its
behaviour.


3. Installing
=============

You need to manually specify the "install" action: this is to help distribution
packagers, who usually do that separately.

$ nant install

Again, you can pass variables to NAnt (see Variables section below), to modify
its behaviour.


4. Variables
============

You can override Gnome-RDP's installation paths by passing some variables to
NAnt. You can set a variable by:

$ nant -D:variable=value

Also, remember that NAnt doesn't remember the value of variables. If you do
separate steps (i.e. build and then install), you still have to specify those
variables, otherwise the build will fail.

Here's a summary of what you can pass to NAnt (NOTE: the variables *ARE*
Case-Sensitive):

Variable                        Description
-------------------------------------------
DESTDIR                         Useful for packagers, it copies files into the
                                directory you specify with this variable, without
                                touching $prefix (see below).
                                DEFAULT: 

datadir                         Directory where data files (localizations,
                                .desktop files, pixmaps, ...) should be kept.
                                DEFAULT: $prefix/share

debug                           Build with debugging symbols.
                                DEFAULT: false

libdir                          Where the assemblies should be kept.
                                DEFAULT: $prefix/lib

localedir                       Where localizations should go.
                                DEFAULT: $datadir/locale

outdir                          Where temporary build-files should be kept.
                                DEFAULT: ./build

prefix                          The installation prefix. Better leaving the
                                default value, otherwise you know what you're
                                doing.
                                DEFAULT: /usr


5. Copyright
============

Gnome-RDP is released under the GNU General Public License, v3 or any later
version.

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.

6. Authors
==========

See the AUTHORS file.