svn-gvsig-desktop / tags / gvsig_redes-0_1_0_Build_1231 / install / instalador-gvSIG-deb / README.txt @ 33830
History | View | Annotate | Download (1.67 KB)
1 |
OVERVIEW |
---|---|
2 |
========== |
3 |
This ANT script builds a gvSIG Debian package |
4 |
|
5 |
|
6 |
PRECONDITIONS |
7 |
========== |
8 |
- operative system with a GLIBC compatible version for all platforms |
9 |
Ex: If it's built on a Ubuntu 9.04 it won't run in a Debian etch |
10 |
|
11 |
- external commands cp, ln, dpck |
12 |
- external command make and cmake to build natives |
13 |
|
14 |
- a workspace in built without errors and the directory _fwAndami/gvSIG contains |
15 |
all the extensions |
16 |
|
17 |
- the directory libjni-gdal/lib-dist contains the native libraries |
18 |
- the directory libjni-proj4/dist contains the native libraries |
19 |
|
20 |
INSTRUCTIONS |
21 |
========== |
22 |
|
23 |
1.- Building JNI gdal |
24 |
Edit libjni-gdal/CMakeModules/FindGDAL.cmake and put the path where |
25 |
gdal headers are placed. |
26 |
The easy way is install from repository (sudo aptitude search gdal) and |
27 |
set the directory /usr/include/gdal |
28 |
Define the enviroment JAVA_HOME |
29 |
|
30 |
Finally, run the ant build script. |
31 |
|
32 |
2.- Building JNI proj |
33 |
Edit libjni-proj4/Makefile to set the directory where is placed the JNI headers |
34 |
For example: |
35 |
"default_PROJECT_INCS= -Iinclude -I/usr/lib/jvm/java-1.5.0-sun/include -I/usr/lib/jvm/java-1.5.0-sun/include/linux" |
36 |
|
37 |
In a shell execute make |
38 |
|
39 |
3.- Building the package |
40 |
Run the ant script and the binary will be placed in the directory "dist" |
41 |
|
42 |
|
43 |
POSTCONDITIONS |
44 |
============== |
45 |
|
46 |
-gvSIG Files: |
47 |
/opt/gvSIG/bin --> script to run gvSIG and extensions |
48 |
/opt/gvSIG/lib --> java binaries (jars) |
49 |
/opt/gvSIG/libs --> native libraries (so) |
50 |
|
51 |
-System files: |
52 |
/usr/share/mime/packages/gvsig.xml --> gvSIG mime type definition |
53 |
/usr/share/applications/gvsig.desktop --> desktop shortcut definition |
54 |
/usr/share/icons/ico-gvSIG.png --> shortcut icon |
55 |
|
56 |
TODO |
57 |
===== |
58 |
check /usr/share/mime/packages/gvsig.xml |
59 |
|
60 |
ANY DOUBT |
61 |
========== |
62 |
josevicente.higon@gmail.com |