Revision 15658
tags/tmp_build/install/build.properties | ||
---|---|---|
1 |
MANDATORY_EXTENSIONS=com.iver.cit.gvsig,com.iver.core,com.iver.gvsig.addeventtheme |
|
2 |
|
|
3 |
#EXTENSIONS=com.iver.cit.gvsig.cad,es.gva.cit.gvsig.catalogClient,com.iver.cit.gvsig.jdbc_spatial,com.iver.cit.gvsig.wcs,com.iver.cit.gvsig.wfs2,com.iver.cit.gvsig.wms,com.iver.gvsig.datalocator,com.iver.cit.gvsig.geoprocess,com.iver.cit.gvsig.oracle_spatial,com.iver.cit.gvsig.geoprocessextensions,org.gvsig.georeferencing,org.gvsig.rastertools,org.gvsig.scripting,com.iver.gvsig.centerviewpoint,es.prodevelop.cit.gvsig.arcims,com.iver.gvsig.expressionfield,com.iver.cit.gvsig.annotation,org.gvsig.crs,org.gvsig.sde |
|
4 |
EXTENSIONS=com.iver.cit.gvsig.cad,es.gva.cit.gvsig.catalogClient,com.iver.cit.gvsig.jdbc_spatial,com.iver.cit.gvsig.wcs,com.iver.cit.gvsig.wfs2,com.iver.cit.gvsig.wms,com.iver.gvsig.datalocator,com.iver.cit.gvsig.geoprocess,com.iver.cit.gvsig.geoprocessextensions,org.gvsig.rastertools,org.gvsig.scripting,com.iver.gvsig.centerviewpoint,com.iver.gvsig.expressionfield,com.iver.cit.gvsig.annotation,org.gvsig.crs,org.gvsig.sde,org.gvsig.remotesensing |
|
5 |
|
|
6 |
version=1.2 |
|
7 |
bversion=1_2 |
|
8 |
APPNAME=gvSIG |
|
9 |
OUTPUT_DIR=/tmp/versiones/v${bversion}/${build.number} |
|
10 |
|
|
0 | 11 |
tags/tmp_build/install/distribucion_1.5.sh | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
|
|
3 |
# Si se produce un error, salimos inmediatamente |
|
4 |
set -e |
|
5 |
|
|
6 |
# Obtenemos el locale |
|
7 |
LOC=`echo $LANG | sed 's/_.*//'` |
|
8 |
|
|
9 |
# Comprobar que estamos en el directorio adecuado |
|
10 |
if [ "$LOC" = "es" ] ; then |
|
11 |
ERROR_BASEDIR="Este script debe invocarse desde el directorio raiz del workspace o desde el directorio \'install\'" |
|
12 |
else |
|
13 |
ERROR_BASEDIR="This script must be run from the workspace\'s root directory or from the \'install\' directory" |
|
14 |
fi |
|
15 |
[ -d _fwAndami ] && [ -d install ] && cd install |
|
16 |
if [ ! -d instalador-gvSIG-lin ] || [ ! -d instalador-gvSIG-win ] || [ ! -d ../_fwAndami ] ; then |
|
17 |
echo $ERROR_BASEDIR |
|
18 |
exit 1 ; |
|
19 |
fi |
|
20 |
|
|
21 |
DIR_BASE=`pwd` |
|
22 |
|
|
23 |
source variables.sh |
|
24 |
# Get a version with format 1_0_alpha |
|
25 |
UNDERSCORE_VERSION=`echo $FULLVERSION | sed 'y/./_/'` |
|
26 |
# Get a version with format 10_alpha |
|
27 |
BRIEFVERSION=`echo $FULLVERSION | sed 's/\.//'` |
|
28 |
# The name of the dir which will be ZIPed, containing the resulting installer |
|
29 |
INSTALLER_DIR="$APPNAME"-$FULLVERSION\_installer |
|
30 |
JARNAME="$APPNAME"-"$FULLVERSION".jar |
|
31 |
# The extension targets on the this version of gvSIG: |
|
32 |
GVSIG_VERSION=1.0 |
|
33 |
|
|
34 |
BUILDNUMBER=`sed -n 's/build.number=//p' ../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/build.number` |
|
35 |
|
|
36 |
#ZIPNAME="$APPNAME"-"$UNDERSCORE_VERSION"\_"$BUILDNUMBER".zip |
|
37 |
DIR_LIN=instalador-gvSIG-lin |
|
38 |
DIR_WIN=instalador-gvSIG-win |
|
39 |
DIR_MAC=instalador-gvSIG-mac |
|
40 |
WINDOWSZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586_j1_5.7z |
|
41 |
LINUXZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586_J1_5.tgz |
|
42 |
|
|
43 |
LINUXBIN="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586_J1_5.bin |
|
44 |
LINUXBINWITHJRE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586-withjre_J1_5.bin |
|
45 |
|
|
46 |
WINDOWSEXE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586_J1_5.exe |
|
47 |
WINDOWSEXEWITHJRE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586-withjre_J1_5.exe |
|
48 |
|
|
49 |
MAC_10_ZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-mac-10_4.zip |
|
50 |
|
|
51 |
#Directorios |
|
52 |
#OUTPUT_DIR=/mnt/sercartlin/grupo-sig-ca/Testing/Versiones/v"$FULLVERSION"\_"$BUILDNUMBER" |
|
53 |
OUTPUT_DIR="$TARGET_DIR"/v"$FULLVERSION"\_"$BUILDNUMBER" |
|
54 |
PATH_SOURCE_EXT=../_fwAndami/gvSIG/extensiones |
|
55 |
PATH_SOURCE_MANDAT_EXT=../../../../../_fwAndami/gvSIG/extensiones |
|
56 |
|
|
57 |
|
|
58 |
echo "*****************" |
|
59 |
echo " BASE " |
|
60 |
echo "*****************" |
|
61 |
# Para Linux |
|
62 |
echo -n "$DIR_BASE"/"$DIR_LIN" "-- " |
|
63 |
cd "$DIR_BASE"/"$DIR_LIN" |
|
64 |
rm bin -rf |
|
65 |
mkdir -p bin/gvSIG/extensiones |
|
66 |
cp installer_files/LEEME installer_files/LLIG-ME installer_files/README bin |
|
67 |
cp resources/gpl.txt bin |
|
68 |
# No enlazamos directamente el directorio lib para no incluir el directorio CVS |
|
69 |
mkdir -p bin/lib |
|
70 |
cd "$DIR_BASE"/"$DIR_LIN"/bin/lib |
|
71 |
for i in ../../../../_fwAndami/lib/*.jar ; do |
|
72 |
ln -s "$i" . |
|
73 |
done |
|
74 |
for i in ../../../../_fwAndami/lib/*.zip ; do |
|
75 |
ln -s "$i" . |
|
76 |
done |
|
77 |
cd "$DIR_BASE"/"$DIR_LIN" |
|
78 |
ln -s ../../../_fwAndami/andami.jar bin/ |
|
79 |
ln -s ../../../_fwAndami/castor.properties bin/ |
|
80 |
#cp resources/andami-config.xml bin |
|
81 |
echo OK. |
|
82 |
|
|
83 |
|
|
84 |
# Para Windows |
|
85 |
echo -n "$DIR_BASE"/"$DIR_WIN" "-- " |
|
86 |
cd "$DIR_BASE"/"$DIR_WIN" |
|
87 |
rm bin -rf |
|
88 |
mkdir -p bin/gvSIG/extensiones |
|
89 |
cp installer_files/LEEME.txt installer_files/LLIG-ME.txt installer_files/README.txt bin |
|
90 |
cp resources/gpl.txt bin |
|
91 |
# No enlazamos directamente el directorio lib para no incluir el directorio CVS |
|
92 |
mkdir -p bin/lib |
|
93 |
cd "$DIR_BASE"/"$DIR_WIN"/bin/lib |
|
94 |
for i in ../../../../_fwAndami/lib/*.jar ; do |
|
95 |
ln -s "$i" . |
|
96 |
done |
|
97 |
for i in ../../../../_fwAndami/lib/*.zip ; do |
|
98 |
ln -s "$i" . |
|
99 |
done |
|
100 |
cd "$DIR_BASE"/"$DIR_WIN" |
|
101 |
ln -s ../../../_fwAndami/andami.jar bin |
|
102 |
ln -s ../../../_fwAndami/castor.properties bin/ |
|
103 |
#cp resources/andami-config.xml bin |
|
104 |
|
|
105 |
#Copiamos el lanzador y sus tracuciones al tmpResources |
|
106 |
rm -Rf tmpResources |
|
107 |
mkdir tmpResources |
|
108 |
cp -R ../launcher/izpack-launcher-1.3/dist/* ./tmpResources |
|
109 |
mv ./tmpResources/launcher-Win32.exe ./tmpResources/gvSIG.exe |
|
110 |
cp -R ./jre_installers_1.5/jai_imageio-1_0_01-lib-windows ./tmpResources |
|
111 |
#Quitamos el ini, manifest y los CVS |
|
112 |
rm ./tmpResources/*.ini ./tmpResources/*.manifest |
|
113 |
find ./tmpResources -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true |
|
114 |
cp ./resources/gvSIG.ini.J15 ./tmpResources/gvSIG.ini |
|
115 |
echo OK. |
|
116 |
|
|
117 |
# Estas extensiones se copian directamente al directorio destino, ya que no vamos a dar |
|
118 |
# opcion a no instalarlas, son obligatorias |
|
119 |
cd "$DIR_BASE" |
|
120 |
i=0 |
|
121 |
while [ ! -z ${MANDATORY_EXTENSIONS[$i]} ] |
|
122 |
do |
|
123 |
echo ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_LIN"/bin/gvSIG/extensiones |
|
124 |
ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_LIN"/bin/gvSIG/extensiones |
|
125 |
echo ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_WIN"/bin/gvSIG/extensiones |
|
126 |
ln -s "$PATH_SOURCE_MANDAT_EXT"/${MANDATORY_EXTENSIONS[$i]} "$DIR_WIN"/bin/gvSIG/extensiones |
|
127 |
i=`expr $i + 1` |
|
128 |
done |
|
129 |
|
|
130 |
echo "*****************" |
|
131 |
[ $LOC = "es" ] && echo " EXTENSIONES " |
|
132 |
[ $LOC != "es" ] && echo " EXTENSIONS " |
|
133 |
echo "*****************" |
|
134 |
|
|
135 |
rm -rf $DIR_LIN/extensiones |
|
136 |
mkdir $DIR_LIN/extensiones |
|
137 |
rm -rf $DIR_WIN/extensiones |
|
138 |
mkdir $DIR_WIN/extensiones |
|
139 |
|
|
140 |
i=0 |
|
141 |
while [ ! -z ${EXTENSIONS[$i]} ] |
|
142 |
do |
|
143 |
[ $LOC = "es" ] && echo "Copiando "${EXTENSIONS[$i]} |
|
144 |
[ $LOC != "es" ] && echo "Copying "${EXTENSIONS[$i]} |
|
145 |
echo cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_LIN"/extensiones -rf |
|
146 |
cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_LIN"/extensiones -rf |
|
147 |
echo cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_WIN"/extensiones -rf |
|
148 |
cp "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} "$DIR_WIN"/extensiones -rf |
|
149 |
i=`expr $i + 1` |
|
150 |
done |
|
151 |
|
|
152 |
## Eliminamos el driver de oracle |
|
153 |
find -L . -name ojdbc14.jar -type f -exec rm -rf {} 2> /dev/null ';' || true |
|
154 |
find -L . -name gt2-oracle-spatial-2.2.1.jar -type f -exec rm -rf {} 2> /dev/null ';' || true |
|
155 |
find -L . -name sdoapi.jar -type f -exec rm -rf {} 2> /dev/null ';' || true |
|
156 |
|
|
157 |
|
|
158 |
echo "*****************" |
|
159 |
echo " INST-WIN " |
|
160 |
echo "*****************" |
|
161 |
# Generar el instalador (jar) para windows |
|
162 |
cd "$DIR_BASE"/"$DIR_WIN" |
|
163 |
rm "$JARNAME" -f |
|
164 |
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME" -DINSTALL_FILE="install_15.xml" |
|
165 |
|
|
166 |
echo "*****************" |
|
167 |
echo " INST-LIN " |
|
168 |
echo "*****************" |
|
169 |
# Generar el instalador (jar) para Linux |
|
170 |
cd "$DIR_BASE"/"$DIR_LIN" |
|
171 |
rm "$JARNAME" -f |
|
172 |
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME" |
|
173 |
|
|
174 |
|
|
175 |
echo "******************" |
|
176 |
[ $LOC = "es" ] && echo " GENERAR DISTRIB " |
|
177 |
[ $LOC != "es" ] && echo " GENERATE DISTRIB " |
|
178 |
echo "******************" |
|
179 |
# Generar el tar.gz para Linux y el EXE para Windows |
|
180 |
|
|
181 |
mkdir -p "$OUTPUT_DIR" |
|
182 |
echo "- Linux" |
|
183 |
## Para Linux |
|
184 |
cd "$DIR_BASE"/"$DIR_LIN" |
|
185 |
rm -Rf "$INSTALLER_DIR" |
|
186 |
cp -a installer_files "$INSTALLER_DIR" |
|
187 |
rm -R "$INSTALLER_DIR"/CVS 2> /dev/null && true |
|
188 |
# Set the correct version number in the scripts and files |
|
189 |
if [ -f "$INSTALLER_DIR"/install.sh ] ; then |
|
190 |
sed "s/JARNAME/$JARNAME/" "$INSTALLER_DIR"/install.sh > "$INSTALLER_DIR"/install.sh.bak |
|
191 |
mv "$INSTALLER_DIR"/install.sh.bak "$INSTALLER_DIR"/install.sh ; |
|
192 |
chmod +x "$INSTALLER_DIR"/install.sh |
|
193 |
fi |
|
194 |
#mv "$JARNAME" "$INSTALLER_DIR" |
|
195 |
cp "$JARNAME" "$INSTALLER_DIR" |
|
196 |
tar -cvzf "$LINUXZIP" "$INSTALLER_DIR" |
|
197 |
rm -Rf "$INSTALLER_DIR" |
|
198 |
mv "$LINUXZIP" "$OUTPUT_DIR" |
|
199 |
|
|
200 |
## Nueva instalacion para linux |
|
201 |
cd "$DIR_BASE"/"$DIR_LIN" |
|
202 |
rm -Rf "$INSTALLER_DIR" |
|
203 |
mkdir -p "$INSTALLER_DIR"/tmp_gvSIGInstall |
|
204 |
cp "$JARNAME" "$INSTALLER_DIR"/tmp_gvSIGInstall |
|
205 |
cd "$INSTALLER_DIR" |
|
206 |
cp -R "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/dist/* ./tmp_gvSIGInstall |
|
207 |
find . -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true |
|
208 |
rm ./tmp_gvSIGInstall/launcher.ini |
|
209 |
cp "$DIR_BASE"/"$DIR_LIN"/resources/launcher.ini.j15 ./tmp_gvSIGInstall/launcher.ini |
|
210 |
sed "s/%JARNAME%/$JARNAME/" ./tmp_gvSIGInstall/launcher.ini > ./tmp_gvSIGInstall/launcher.ini.bak |
|
211 |
mv ./tmp_gvSIGInstall/launcher.ini.bak ./tmp_gvSIGInstall/launcher.ini; |
|
212 |
|
|
213 |
tar -cvzf ./tmp.tgz ./tmp_gvSIGInstall |
|
214 |
cp "$DIR_BASE"/"$DIR_LIN"/jre/*-1_5_0_*.gz ./tmp_gvSIGInstall |
|
215 |
tar -cvzf ./tmp_wjre.tgz ./tmp_gvSIGInstall |
|
216 |
echo '#!/bin/sh' > xx.tmp |
|
217 |
lcount=`cat xx.tmp "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh | wc -l` |
|
218 |
lcount=$(($lcount+2)) # sumamos dos: uno por la linea siguiente y otro para el inicio |
|
219 |
echo "lcount=$lcount" >> xx.tmp |
|
220 |
cat xx.tmp "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh ./tmp.tgz > "$LINUXBIN" |
|
221 |
cat xx.tmp "$DIR_BASE"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh ./tmp_wjre.tgz > "$LINUXBINWITHJRE" |
|
222 |
rm xx.tmp |
|
223 |
chmod a+x "$LINUXBIN" "$LINUXBINWITHJRE" |
|
224 |
mv "$LINUXBINWITHJRE" "$LINUXBIN" "$OUTPUT_DIR" |
|
225 |
cd "$DIR_BASE"/"$DIR_LIN" |
|
226 |
rm -Rf "$INSTALLER_DIR" |
|
227 |
## Fin Nueva instalacion para linux |
|
228 |
rm "$JARNAME" |
|
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
## Para Windows |
|
234 |
echo "- Windows" |
|
235 |
#set -x |
|
236 |
cd "$DIR_BASE"/"$DIR_WIN" |
|
237 |
rm -Rf "$INSTALLER_DIR" |
|
238 |
cp -a installer_files "$INSTALLER_DIR" |
|
239 |
|
|
240 |
cp -aR ../launcher/izpack-launcher-1.3/dist/* "$INSTALLER_DIR" |
|
241 |
rm -f "$INSTALLER_DIR"/install.bat |
|
242 |
cp ./resources/launcher-Win32.ini.j15 "$INSTALLER_DIR"/launcher-Win32.ini |
|
243 |
|
|
244 |
find "$INSTALLER_DIR" -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true |
|
245 |
|
|
246 |
## hacemos las sustituciones de la variable |
|
247 |
sed "s/%JARNAME%/$JARNAME/" "$INSTALLER_DIR"/launcher-Win32.ini > "$INSTALLER_DIR"/launcher-Win32.ini.bak |
|
248 |
mv "$INSTALLER_DIR"/launcher-Win32.ini.bak "$INSTALLER_DIR"/launcher-Win32.ini; |
|
249 |
|
|
250 |
|
|
251 |
mv "$JARNAME" "$INSTALLER_DIR" |
|
252 |
cd "$INSTALLER_DIR" |
|
253 |
|
|
254 |
if [ -f "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" ] ; then |
|
255 |
rm -f "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" |
|
256 |
fi |
|
257 |
"$DIR_BASE"/launcher/7z/7za a -r "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" * |
|
258 |
cd - |
|
259 |
sed "s/%TITLE%/$APPNAME-$BRIEFVERSION\_$BUILDNUMBER/" ../launcher/7z/dist_config.txt > dist_config.txt |
|
260 |
cat ../launcher/7z/7zS.sfx dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXE" |
|
261 |
|
|
262 |
### paquete con los instalables de JRE, Jai y Jai i/o |
|
263 |
"$DIR_BASE"/launcher/7z/7za a "$DIR_BASE"/"$DIR_WIN"/"$WINDOWSZIP" "$DIR_BASE"/"$DIR_WIN"/jre_installers_1.5/*.exe |
|
264 |
cat ../launcher/7z/7zS.sfx dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXEWITHJRE" |
|
265 |
|
|
266 |
### |
|
267 |
|
|
268 |
|
|
269 |
rm dist_config.txt |
|
270 |
rm "$WINDOWSZIP" |
|
271 |
|
|
272 |
rm -Rf "$INSTALLER_DIR" |
|
273 |
|
|
274 |
mv "$WINDOWSEXE" "$OUTPUT_DIR" |
|
275 |
mv "$WINDOWSEXEWITHJRE" "$OUTPUT_DIR" |
|
276 |
|
|
277 |
# Limpiamos tmpResources |
|
278 |
cd "$DIR_BASE"/"$DIR_WIN" |
|
279 |
rm -r ./tmpResources |
|
280 |
cd - |
|
281 |
|
|
282 |
|
|
283 |
## Para Mac |
|
284 |
echo "- Mac" |
|
285 |
if type ant 2>/dev/null >/dev/null; then |
|
286 |
cd "$DIR_BASE"/"$DIR_MAC" |
|
287 |
if ant -Dbuild.number="$BUILDNUMBER" -f build.xml; then |
|
288 |
zip -r "$MAC_10_ZIP" gvSIG*.app |
|
289 |
rm -r gvSIG*.app |
|
290 |
mv "$MAC_10_ZIP" "$OUTPUT_DIR" |
|
291 |
else |
|
292 |
echo "No se ha generado el paquete para Mac 10 . Compruebe que su ant tiene jarbundler instalado |
|
293 |
|
|
294 |
Nota: debemos tener incluido en el ANT_HOME/lib el |
|
295 |
jar jarbundler-1.9.jar que se puede encontrar en http://jarbundler.sourceforge.net/ |
|
296 |
" |
|
297 |
|
|
298 |
fi |
|
299 |
|
|
300 |
else |
|
301 |
echo "No se ha encontrado el ant en el path de ejecucion: |
|
302 |
Es necesario para poder generar la distribucion para el Mac. |
|
303 |
|
|
304 |
Nota: debemos tener tambien incluido en el ANT_HOME/lib el |
|
305 |
jar jarbundler-1.9.jar que se puede encontrar en http://jarbundler.sourceforge.net/ |
|
306 |
" |
|
307 |
fi |
|
308 |
|
|
309 |
|
|
310 |
## Limpiamos |
|
311 |
|
|
312 |
rm -rf $DIR_LIN/extensiones |
|
313 |
rm -rf $DIR_LIN/bin |
|
314 |
rm -rf $DIR_WIN/extensiones |
|
315 |
rm -rf $DIR_WIN/bin |
|
316 |
|
|
317 |
echo "*****************" |
|
318 |
echo " FIN " |
|
319 |
echo "*****************" |
|
320 |
|
|
321 |
echo "" |
|
322 |
echo "Generados los ficheros:" |
|
323 |
echo "$OUTPUT_DIR" |
|
324 |
ls -lh "$OUTPUT_DIR" |
|
325 |
cd "$DIR_BASE" |
|
0 | 326 |
tags/tmp_build/install/HOWTO-BUILD.txt | ||
---|---|---|
1 |
C?MO GENERAR EL INSTALADOR: |
|
2 |
=========================== |
|
3 |
- gvSIG debe estar correctamente construido en ../_fwAndami/bin |
|
4 |
- En el fichero variables.sh hay algunas variables que nos pueden interesar, que permiten personalizar el nombre del plugin, la versi?n, el directorio destino, etc. La variable APPNAME normalmente valdr? "gvSIG", pero puede tiener nombre si estamos empaquetando una extensi?n (por ejemplo, "nomenclatorIGN"). |
|
5 |
- Definir los packs adecuados en el fichero XML de configuraci?n (install.xml), y revisar el fichero en general. |
|
6 |
- Definir las extensiones a incluir en el directorio variables.sh. |
|
7 |
- Lanzar el script distribucion.sh. |
|
0 | 8 |
tags/tmp_build/install/instalador-gvSIG-mac/HOWTO-BUILD.txt | ||
---|---|---|
1 |
INSTALACIONES COMPLETAS: |
|
2 |
Para generar el bundle (.app) para Mac, se debe lanzar el script de Ant "build.xml". |
|
3 |
Supone definida la variable build.number . |
|
4 |
Dentro define FULLVERSION (habr? que cambiarlo para cada versi?n mayor, claro) |
|
5 |
build.xml llama a build-bundle.xml para crear el bundle de gvSIG; luego lo mover? dentro del bundle "autoinstalador". |
|
6 |
build-bundle.xml usa un Ant Task llamado Jarbundler, que se puede obtener en http://jarbundler.sourceforge.net/. Hay que instalarlo en la librer?a del Ant que se use. |
|
7 |
Si se desea usar con el Ant incluido en Eclipse, adem?s se debe a?adir xercesImpl.jar, que va incluido en los Ant "normales" pero no en el de Eclipse. (Tambi?n se puede redefinir el ANTHOME en las preferencias de Eclipse para apuntar a un Ant instalado aparte, en el se haya instalador el jarbundler). |
|
8 |
|
|
9 |
El classpath que usar? gvSIG est? hardcoded en linea "extraclasspath" de task jarbundler de build-bundle.xml. Ese classpath debe ser el mismo que se define en el gvSIG.sh de Linux, por ejemplo. |
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
EXPLICACION DETALLADA: |
|
14 |
OS X puede ejecutar un fichero.jar con un doble click, pero eso es equivalente a "java fichero.jar", sin m?s par?metros. |
|
15 |
Para que se ejecute con unos par?metros y un classpath, un icono propio y la metainformaci?n necesaria para parecer una aplicaci?n normal de mac, lo convertimos en un bundle. |
|
16 |
Un bundle es un directorio con nombre *.app y una cierta estructura de directorios. |
|
17 |
miBundle.app/Contents/Info.plist es un fichero XML con la metainfo necesaria para que OS X sepa ciertas cosas sobre la aplicaci?n: ficheros que puede abrir (extensiones, mimetypes, visor o editor, etc), icono, nombre/s que presentar al usuario, numeros de versi?n... |
|
18 |
En el caso de aplicaciones java, tambi?n incluye el classpath, par?metros para la aplicaci?n y la JVM, etc. |
|
19 |
Para el caso de gvSIG, en miBundle.app/Contents/Resources/Java/ ir? una copia del directorio gvsig/bin/ de un build normal. |
|
20 |
De todo esto se encarga build-bundle.xml. |
|
21 |
|
|
22 |
Luego, como en mac no es normal usar instaladores (sino que las aplicaciones son autocontenidas: se instalan copiando el bundle al disco duro, se desinstalan tirando el bundle a la papelera), usamos una peque?a aplicaci?n auxiliar: autoinstalador.app. |
|
23 |
Autoinstalador.app est? pensado para contener el bundle de gvSIG creado en el paso anterior. De forma que el usuario ejecuta el autoinstalador con un doble click, y ?ste se encarga de comprobar que JAI y JAI I/O est?n correctamente instalados. Si no es as? los instala. Y acto seguido ejecuta el bundle de gvSIG que lleva dentro, de forma que para el usuario la instalaci?n es transparente (pero se le avisa de lo que est? pasando). |
|
24 |
La estructura que nos interesa del autoinstalador es: |
|
25 |
autoinstalador.app/ |
|
26 |
Contents/ |
|
27 |
Resources/ |
|
28 |
instalacion/ |
|
29 |
(JAI para OS X 10.3, JAI I/O, programa java para chequear instalacion) |
|
30 |
gvSIG/ |
|
31 |
bundle gvSIG.app |
|
32 |
(...directorios de localizaci?n...) |
|
33 |
|
|
34 |
|
|
35 |
build.xml se encarga de: |
|
36 |
-- llamar a build-bundle.xml, con lo que crea el bundle "gvSIG.app"; |
|
37 |
-- de a?adir las librer?as nativas para mac en el bundle "gvSIG.app"; |
|
38 |
-- y luego, de meter el bundle "gvSIG.app" en el bundle autoinstalador. |
|
39 |
El resultado final es un autoinstalador completo. |
|
40 |
|
|
41 |
Nota: un usuario "normal" (no-desarrollador) de mac posiblemente no sepa qu? es un bundle. La forma normal de llamarlos es "aplicaci?n", y se suele considerar un item indivisible. |
|
0 | 42 |
tags/tmp_build/install/instalador-gvSIG-mac/.cvsignore | ||
---|---|---|
1 |
gvSIG*autoinstalador.app |
|
0 | 2 |
tags/tmp_build/install/instalador-gvSIG-mac/build.xml | ||
---|---|---|
1 |
<project name="bundle-gvSIG" default="init" basedir="."> |
|
2 |
<property name="FULLVERSION" value="1.1"/> |
|
3 |
<property name="NOMBRE_BUNDLE" value="gvSIG ${FULLVERSION} build ${build.number}"/> |
|
4 |
<property name="NOMBRE_BUNDLE_AUTOINSTALADOR" value="${NOMBRE_BUNDLE} autoinstalador"/> |
|
5 |
|
|
6 |
|
|
7 |
<target name="init"> |
|
8 |
<ant antfile="build-bundle.xml"/> |
|
9 |
|
|
10 |
<!-- hasta aqui tenemos un bundle mac, pero sin libs nativas--> |
|
11 |
<!-- crear dir NativeLibs--> |
|
12 |
<mkdir dir="${NOMBRE_BUNDLE}.app/Contents/Resources/NativeLibs"/> |
|
13 |
<!-- copiar dentro dylibs, jnilibs--> |
|
14 |
<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/NativeLibs" |
|
15 |
flatten="true" |
|
16 |
> |
|
17 |
<fileset dir="../../binaries/mac/raster/" includes="**/*.dylib **/*.jnilib"/> |
|
18 |
</copy> |
|
19 |
<!-- copiar jars para JNI (jgdal, jmrsid) en gvSIG/extensiones/...--> |
|
20 |
<!-- (primero asegurarnos de que no hay jgdal o jmrsid duplicados, lo cual provocaría error en gvSIG) --> |
|
21 |
<delete> |
|
22 |
<fileset dir="${NOMBRE_BUNDLE}.app/Contents/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig/lib" includes="jgdal*.jar jmrsid*.jar"/> |
|
23 |
</delete> |
|
24 |
<copy todir="${NOMBRE_BUNDLE}.app/Contents/Resources/Java/gvSIG/extensiones/com.iver.cit.gvsig/lib" |
|
25 |
flatten="true" |
|
26 |
> |
|
27 |
<fileset dir="../../binaries/mac/raster/" includes="**/*.jar"/> |
|
28 |
</copy> |
|
29 |
<!-- hacemos copia del bundle autoinstalador ... --> |
|
30 |
<copy todir="${NOMBRE_BUNDLE_AUTOINSTALADOR}.app"> |
|
31 |
<fileset dir="instalador.app"/> |
|
32 |
</copy> |
|
33 |
<!-- (corregimos permisos de ejecucion que copy se ha cargado) --> |
|
34 |
<chmod file="${NOMBRE_BUNDLE_AUTOINSTALADOR}.app/Contents/MacOS/applet" perm="+rwxrxrx"/> |
|
35 |
<!-- ...y movemos bundle gvSIG a su sitio dentro de autoinstalador --> |
|
36 |
<move todir="${NOMBRE_BUNDLE_AUTOINSTALADOR}.app/Contents/Resources/gvSIG/${NOMBRE_BUNDLE}.app"> |
|
37 |
<fileset dir="${NOMBRE_BUNDLE}.app"/> |
|
38 |
</move> |
|
39 |
|
|
40 |
</target> |
|
41 |
|
|
42 |
</project> |
|
0 | 43 |
tags/tmp_build/install/instalador-gvSIG-mac/build-bundle.xml | ||
---|---|---|
1 |
<project name="bundle-gvSIG" default="init" basedir="."> |
|
2 |
|
|
3 |
<!--<import file="${basedir}/../../binaries/ant/utilities.xml"/>--> |
|
4 |
<taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" > |
|
5 |
<classpath> |
|
6 |
<pathelement location="${basedir}/../../binaries/ant/jarbundler-1.9.jar"/> |
|
7 |
<pathelement location="${basedir}/../../_fwAndami/lib/xerces_2_5_0.jar"/> |
|
8 |
</classpath> |
|
9 |
</taskdef> |
|
10 |
|
|
11 |
<!--<taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" />--> |
|
12 |
|
|
13 |
<target name="init"> |
|
14 |
<jarbundler |
|
15 |
dir="." |
|
16 |
name="${NOMBRE_BUNDLE}" |
|
17 |
mainclass="com.iver.andami.Launcher" |
|
18 |
arguments="gvSIG gvSIG/extensiones" |
|
19 |
bundleid="com.iver.cit.gvsig" |
|
20 |
developmentregion = "Spanish" |
|
21 |
icon="logo gvsig.icns" |
|
22 |
shortname="gvSIG" |
|
23 |
stubfile="JavaApplicationStub" |
|
24 |
version="${FULLVERSION}" |
|
25 |
build="${build.number}" |
|
26 |
infostring="gvSIG ${FULLVERSION}" |
|
27 |
vmoptions ="-Xmx500M" |
|
28 |
jvmversion ="1.5*" |
|
29 |
extraclasspath = "andami.jar,lib/log4j-1.2.8.jar,lib/beans.jar,lib/gvsig-i18n.jar,lib/iver-utiles.jar,lib/castor-0.9.5.3-xml.jar,lib/crimson.jar,lib/xerces_2_5_0.jar,lib/javaws.jar,lib/xml-apis.jar,lib/JWizardComponent.jar,lib/looks-2.0.2.jar,lib/kxml2.jar,lib/jcalendar.jar" |
|
30 |
workingdirectory = "$JAVAROOT" |
|
31 |
showplist="true" |
|
32 |
> |
|
33 |
|
|
34 |
<javaproperty name="apple.laf.useScreenMenuBar" value="true"/> |
|
35 |
<javaproperty name="java.library.path" value="$JAVAROOT/../NativeLibs"/> |
|
36 |
|
|
37 |
<!-- jarfileset no incluye nada, pero evita quejas de jarbundler --> |
|
38 |
<jarfileset dir="." includes="nothing!" excludes="*"/> |
|
39 |
<javafileset dir="../../_fwAndami/" excludes="bin/ src/"/> |
|
40 |
</jarbundler> |
|
41 |
|
|
42 |
</target> |
|
43 |
|
|
44 |
</project> |
|
0 | 45 |
tags/tmp_build/install/instalador-gvSIG-mac/jre-libs/LEEME.txt | ||
---|---|---|
1 |
Directorio que contiene las JAI y las JAI I/O, para instalar sobre la m?quina virtual del sistema. |
|
0 | 2 |
tags/tmp_build/install/instalador-gvSIG-lin/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>instalador-gvSIG-lin</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
</buildSpec> |
|
9 |
<natures> |
|
10 |
</natures> |
|
11 |
</projectDescription> |
|
0 | 12 |
tags/tmp_build/install/instalador-gvSIG-lin/Notas_asociaciacion_archivos.txt | ||
---|---|---|
1 |
PARA KDE: dejar un fichero '.desktop' en el directorio $HOME/.kde/share/mimelnk/application |
|
2 |
como este: |
|
3 |
|
|
4 |
[Desktop Entry] |
|
5 |
Comment= |
|
6 |
Hidden=false |
|
7 |
Icon=/x/apps/gvSIG_0.1_856/bin/ico-gvSIG.png |
|
8 |
MimeType=application/gvSIG |
|
9 |
Patterns=*.gvp;*.GVP |
|
10 |
Type=MimeType |
|
11 |
|
|
12 |
|
|
13 |
y apadir a fichero $HOME/.kde/share/config/profilerc algo asi: |
|
14 |
|
|
15 |
[application/gvSIG - 1] |
|
16 |
AllowAsDefault=true |
|
17 |
Application=kde-gvSIG.sh-3.desktop |
|
18 |
GenericServiceType=Application |
|
19 |
Preference=1 |
|
20 |
ServiceType=application/gvSIG |
|
21 |
|
|
22 |
y el el fichero de menu ($HOME/.kde/share/applnk/.../gvSIG*.desktop) |
|
23 |
la entrada 'MimeType' debe estar 'IGUAL' que en el fichero que |
|
24 |
hemos dejado en $HOME/.kde/share/mimelnk/application |
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
Para GNOME: |
|
29 |
|
|
30 |
POR Estudiar |
|
31 |
|
|
32 |
Para FIREFOX: |
|
33 |
|
|
34 |
POR Estudiar |
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
Los archivos usados para la asociacion estan en ./resources/mime |
|
39 |
y los scripts que los manejan son ./resources/postinstall.sh y |
|
40 |
./resources/unistall.sh |
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
************************************************************** |
|
51 |
URL's y recortes: |
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
http://www.ces.clemson.edu/linux/fc4_desktop.shtml |
|
57 |
********************************************************************* |
|
58 |
File Association. At the top of the context menu for a file in Nautilus is found the 'Open with "Preferred Application" menu item. Next, is found the 'Open with' menu item, which lists all other applications which can open the file. These menu items are controlled respectively by the following files: |
|
59 |
|
|
60 |
/usr/share/applications/defaults.list |
|
61 |
/usr/share/applications/mimeinfo.cache |
|
62 |
|
|
63 |
Each line in defaults.list contains a desktop file followed by a mimetype. For example, the line |
|
64 |
|
|
65 |
application/postscript=evince.desktop |
|
66 |
|
|
67 |
shows that Evince is the preferred application for opening postscript files. Each line in mimeinfo.cache contains a desktop file followed by a list of mimetypes. For example, the line |
|
68 |
|
|
69 |
image/gif=gthumb.desktop;gimp-2.2.desktop; |
|
70 |
gnome-eog.desktop; |
|
71 |
|
|
72 |
shows the list of applications available for opening gif files. Gnome constructs the mimeinfo.cache file by processing the mimetypes recorded in the desktop files. Gnome comes with a pre-built system-wide defaults.list. At the user level there are parallel files |
|
73 |
|
|
74 |
~/.local/applications/defaults.list |
|
75 |
~/.local/applications/mimeinfo.cache |
|
76 |
|
|
77 |
Users can add lines to these files as follows. |
|
78 |
|
|
79 |
In a Nautilus window, right click on a file |
|
80 |
Select Properties |
|
81 |
Select the 'Open With' tab |
|
82 |
To add to the current 'Open With' list |
|
83 |
Hit Add and select an application |
|
84 |
Hit Add again |
|
85 |
Select the preferred application radio button |
|
86 |
|
|
87 |
************************ |
|
88 |
|
|
89 |
http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html |
|
90 |
************************ |
|
91 |
|
|
92 |
<MIME> = /usr/local/share/mime |
|
93 |
<MIME> = /usr/share/mime |
|
94 |
|
|
95 |
|
|
96 |
Each application that wishes to contribute to the MIME database will install a single XML file, named after the application, into one of the three <MIME>/packages/ directories (depending on where the user requested the application be installed). After installing, uninstalling or modifying this file, the application MUST run the update-mime-database command, which is provided by the freedesktop.org shared database[SharedMIME]. |
|
97 |
|
|
98 |
update-mime-database is passed the mime directory containing the packages subdirectory which was modified as its only argument. It scans all the XML files in the packages subdirectory, combines the information in them, and creates a number of output files. |
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
Here is an example source file, named diff.xml: |
|
103 |
|
|
104 |
<?xml version="1.0"?> |
|
105 |
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> |
|
106 |
<mime-type type="text/x-diff"> |
|
107 |
<comment>Differences between files</comment> |
|
108 |
<comment xml:lang="af">verskille tussen l?ers</comment> |
|
109 |
... |
|
110 |
<magic priority="50"> |
|
111 |
<match type="string" offset="0" value="diff\t"/> |
|
112 |
<match type="string" offset="0" value="***\t"/> |
|
113 |
<match type="string" offset="0" value="Common subdirectories: "/> |
|
114 |
</magic> |
|
115 |
<glob pattern="*.diff"/> |
|
116 |
<glob pattern="*.patch"/> |
|
117 |
</mime-type> |
|
118 |
</mime-info> |
|
119 |
|
|
120 |
******************** |
|
121 |
|
|
122 |
|
|
123 |
|
|
0 | 124 |
tags/tmp_build/install/instalador-gvSIG-lin/install.xml | ||
---|---|---|
1 |
<installation version="1.0"> |
|
2 |
<info> |
|
3 |
<appname>gvSIG_1.2</appname> |
|
4 |
<appversion>1.2</appversion> |
|
5 |
<authors> |
|
6 |
<author name="Generalitat Valenciana. Conselleria d'Infraestructures i Transport" email="" /> |
|
7 |
<author name="Iver Tecnologías de la Información S.A." email="" /> |
|
8 |
</authors> |
|
9 |
<url>http://www.gvsig.gva.es/</url> |
|
10 |
<javaversion>1.5</javaversion> |
|
11 |
</info> |
|
12 |
|
|
13 |
<guiprefs height="600" resizable="yes" width="800"> |
|
14 |
<laf name="liquid"> |
|
15 |
<os family="unix" /> |
|
16 |
</laf> |
|
17 |
</guiprefs> |
|
18 |
|
|
19 |
<locale> |
|
20 |
<!-- only keep the languages which are also available in gvSIG --> |
|
21 |
<langpack iso3="spa"/> |
|
22 |
<langpack iso3="val"/> |
|
23 |
<langpack iso3="eng"/> |
|
24 |
<!-- <langpack iso3="cat"/> |
|
25 |
<langpack iso3="chn"/> --> |
|
26 |
<langpack iso3="cze"/> |
|
27 |
<!-- <langpack iso3="dan"/> --> |
|
28 |
<langpack iso3="deu"/> |
|
29 |
<!-- <langpack iso3="fin"/>--> |
|
30 |
<langpack iso3="fra"/> |
|
31 |
<langpack iso3="glg"/> |
|
32 |
<!-- <langpack iso3="hun"/> --> |
|
33 |
<langpack iso3="ita"/> |
|
34 |
<!-- <langpack iso3="jpn"/> |
|
35 |
<langpack iso3="mys"/> |
|
36 |
<langpack iso3="ned"/> |
|
37 |
<langpack iso3="nor"/> |
|
38 |
<langpack iso3="pol"/> --> |
|
39 |
<langpack iso3="por"/> |
|
40 |
<!-- <langpack iso3="rom"/> |
|
41 |
<langpack iso3="rus"/> |
|
42 |
<langpack iso3="scg"/> |
|
43 |
<langpack iso3="svk"/> |
|
44 |
<langpack iso3="swe"/> |
|
45 |
<langpack iso3="ukr"/> --> |
|
46 |
</locale> |
|
47 |
|
|
48 |
<resources> |
|
49 |
<res src="resources/gpl.txt" id="LicencePanel.licence"/> |
|
50 |
<res src="resources/LEEME.html" id="HTMLInfoPanel.info"/> |
|
51 |
<res src="resources/images/Logo_gvsig_gva.jpg" id="Installer.image"/> |
|
52 |
<res src="resources/unix_shortcut_spec.xml" id="Unix_shortcutSpec.xml"/> |
|
53 |
<res src="resources/andami-config.xml" id="andami-config.xml"/> |
|
54 |
</resources> |
|
55 |
|
|
56 |
<panels> |
|
57 |
<panel classname="HTMLInfoPanel"/> |
|
58 |
<panel classname="LicencePanel"/> |
|
59 |
<panel classname="PacksPanel"/> |
|
60 |
<panel classname="TargetPanel"/> |
|
61 |
<panel classname="InstallPanel"/> |
|
62 |
<panel classname="ShortcutPanel"/> |
|
63 |
<panel classname="SimpleFinishPanel"/> |
|
64 |
</panels> |
|
65 |
|
|
66 |
<packs> |
|
67 |
<pack name="gvSIG program" required="yes"> |
|
68 |
<description>gvSIG program files.</description> |
|
69 |
<file targetdir="$INSTALL_PATH" src="bin" override="true"/> |
|
70 |
|
|
71 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/gvSIG.sh" override="true"/> |
|
72 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/images/help.png" override="true"/> |
|
73 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/images/ico-gvSIG.png" override="true"/> |
|
74 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/images/ico-gvSIG16x16.png" override="true"/> |
|
75 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/images/uninstall16x16.png" override="true"/> |
|
76 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/images/uninstall.png" override="true"/> |
|
77 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/images/help16x16.png" override="true"/> |
|
78 |
<file os="unix" targetdir="$INSTALL_PATH" src="resources/install.sh" override="true"/> |
|
79 |
<parsable os="unix" targetfile="$INSTALL_PATH/install.sh"/> |
|
80 |
<file os="unix" targetdir="$INSTALL_PATH/Uninstaller" src="resources/uninstall.sh" override="true"/> |
|
81 |
<parsable os="unix" targetfile="$INSTALL_PATH/Uninstaller/uninstall.sh"/> |
|
82 |
<file os="unix" targetdir="$INSTALL_PATH/bin" src="resources/andami-config.xml" override="true"/> |
|
83 |
<parsable os="unix" targetfile="$INSTALL_PATH/bin/andami-config.xml"/> |
|
84 |
|
|
85 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/mrsid/libjmrsid.so.0.0.2" override="true"/> |
|
86 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/mrsid/install-mrsid.sh" override="true"/> |
|
87 |
|
|
88 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/install-ecw.sh" override="true"/> |
|
89 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/libjecwcompress.so.0.1.0" override="true"/> |
|
90 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/libjecw.so.0.0.1" override="true"/> |
|
91 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/libNCSCNet.so" override="true"/> |
|
92 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/libNCScnet.so" override="true"/> |
|
93 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/libNCSEcwC.so" override="true"/> |
|
94 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/libNCSEcw.so" override="true"/> |
|
95 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/ecw/libNCSUtil.so" override="true"/> |
|
96 |
|
|
97 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/install-gdal.sh" override="true"/> |
|
98 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libgdal.so.1.10.0" override="true"/> |
|
99 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libjasper-1.701.so.1.0.0" override="true"/> |
|
100 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libjgdal.so.0.6.0" override="true"/> |
|
101 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libodbc.so.1.0.0" override="true"/> |
|
102 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libpq.so.3.0" override="true"/> |
|
103 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libpng.so.3.1.2.5" override="true"/> |
|
104 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libcrypto.so.0.9.7" override="true"/> |
|
105 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/gdal/libssl.so.0.9.7" override="true"/> |
|
106 |
|
|
107 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/system/libstdc++.so.6" override="true"/> |
|
108 |
|
|
109 |
|
|
110 |
<parsable os="unix" targetfile="$INSTALL_PATH/bin/gvSIG.sh"/> |
|
111 |
<executable os="unix" |
|
112 |
targetfile="$INSTALL_PATH/bin/gvSIG.sh" |
|
113 |
stage="never" |
|
114 |
keep="true"/> |
|
115 |
|
|
116 |
<parsable os="unix" targetfile="$INSTALL_PATH/libs/install-mrsid.sh"/> |
|
117 |
|
|
118 |
<parsable os="unix" targetfile="$INSTALL_PATH/libs/install-ecw.sh"/> |
|
119 |
|
|
120 |
<parsable os="unix" targetfile="$INSTALL_PATH/libs/install-gdal.sh"/> |
|
121 |
|
|
122 |
<executable os="unix" |
|
123 |
targetfile="$INSTALL_PATH/install.sh" |
|
124 |
stage="postinstall" |
|
125 |
keep="false" |
|
126 |
failure="ask"/> |
|
127 |
|
|
128 |
<executable os="unix" |
|
129 |
targetfile="$INSTALL_PATH/libs/install-mrsid.sh" |
|
130 |
stage="postinstall" |
|
131 |
keep="false" |
|
132 |
failure="ask"/> |
|
133 |
|
|
134 |
<executable os="unix" |
|
135 |
targetfile="$INSTALL_PATH/libs/install-ecw.sh" |
|
136 |
stage="postinstall" |
|
137 |
keep="false" |
|
138 |
failure="ask"/> |
|
139 |
|
|
140 |
<executable os="unix" |
|
141 |
targetfile="$INSTALL_PATH/libs/install-gdal.sh" |
|
142 |
stage="postinstall" |
|
143 |
keep="false" |
|
144 |
failure="ask"/> |
|
145 |
</pack> |
|
146 |
|
|
147 |
<pack name="Catalog Client" required="no"> |
|
148 |
<description>Install Catalog Client.</description> |
|
149 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/es.gva.cit.gvsig.catalogClient" override="true"/> |
|
150 |
</pack> |
|
151 |
|
|
152 |
<pack name="WCS Client" required="no"> |
|
153 |
<description>Install WCS Client.</description> |
|
154 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wcs" override="true"/> |
|
155 |
</pack> |
|
156 |
|
|
157 |
<pack name="WMS Client" required="no"> |
|
158 |
<description>Install WMS Client.</description> |
|
159 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wms" override="true"/> |
|
160 |
</pack> |
|
161 |
|
|
162 |
<pack name="JDBC Client" required="no"> |
|
163 |
<description>Install JDBC Client For MySQL and PostGis.</description> |
|
164 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.jdbc_spatial" override="true"/> |
|
165 |
</pack> |
|
166 |
|
|
167 |
<!-- OJO PORQUE NO COMPILA |
|
168 |
<pack name="JDBC Oracle Spatial Client" required="no"> |
|
169 |
<description>Install JDBC Client For Oracle Spatial Data Base.</description> |
|
170 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.oracle_spatial" override="true"/> |
|
171 |
</pack> |
|
172 |
--> |
|
173 |
|
|
174 |
<pack name="Data Locator" required="no"> |
|
175 |
<description>Install Data Locator Plugin.</description> |
|
176 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.datalocator" override="true"/> |
|
177 |
</pack> |
|
178 |
|
|
179 |
<pack name="WFS Client" required="no"> |
|
180 |
<description>Install WFS Client.</description> |
|
181 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wfs2" override="true"/> |
|
182 |
</pack> |
|
183 |
|
|
184 |
<!-- OJO PORQUE NO COMPILA |
|
185 |
<pack name="ArcIms Client" required="no"> |
|
186 |
<description>ArcIms Client</description> |
|
187 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones" src="extensiones/es.prodevelop.cit.gvsig.arcims" override="true"/> |
|
188 |
</pack> |
|
189 |
--> |
|
190 |
|
|
191 |
<pack name="Geoprocessing" required="no"> |
|
192 |
<description>Install Geoprocessing.</description> |
|
193 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.geoprocess" override="true"/> |
|
194 |
</pack> |
|
195 |
|
|
196 |
<pack name="Additional Geoprocessing" required="no" depends="Geoprocessing"> |
|
197 |
<description>Install Additional Geoprocessing.</description> |
|
198 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.geoprocessextensions" override="true"/> |
|
199 |
</pack> |
|
200 |
|
|
201 |
<!-- OJO PORQUE NO COMPILA |
|
202 |
<pack name="Georeferencing" required="no"> |
|
203 |
<description>Install Georeferening.</description> |
|
204 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.georeferencing" override="true"/> |
|
205 |
</pack> |
|
206 |
--> |
|
207 |
|
|
208 |
<pack name="Edition" required="no"> |
|
209 |
<description>Install Edition.</description> |
|
210 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.cad" override="true"/> |
|
211 |
</pack> |
|
212 |
|
|
213 |
<pack name="Raster Tools" required="no"> |
|
214 |
<description>Install Raster Tools.</description> |
|
215 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.rastertools" override="true"/> |
|
216 |
</pack> |
|
217 |
|
|
218 |
<pack name="Scripting" required="no"> |
|
219 |
<description>Scripting.</description> |
|
220 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.scripting" override="true"/> |
|
221 |
</pack> |
|
222 |
|
|
223 |
|
|
224 |
<pack name="Center View To Point" required="no"> |
|
225 |
<description>Install Center View To Point Tool.</description> |
|
226 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.centerviewpoint" override="true"/> |
|
227 |
</pack> |
|
228 |
|
|
229 |
<pack name="Expression Field" required="no" depends="Scripting"> |
|
230 |
<description>Install Expression Field Tool.</description> |
|
231 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.expressionfield" override="true"/> |
|
232 |
</pack> |
|
233 |
|
|
234 |
<pack name="Annotations" required="no" depends="Edition"> |
|
235 |
<description>Install Annotation Layer Tool.</description> |
|
236 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.annotation" override="true"/> |
|
237 |
</pack> |
|
238 |
|
|
239 |
<pack name="ArcSDE Client" required="no" depends="Edition"> |
|
240 |
<description>Install ArcSDE Client for gvSIG</description> |
|
241 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.sde" override="true"/> |
|
242 |
</pack> |
|
243 |
|
|
244 |
<pack name="Remote Sensing" required="no" depends="Raster Tools"> |
|
245 |
<description>Install Remote Sensing tools for gvSIG</description> |
|
246 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.remotesensing" override="true"/> |
|
247 |
</pack> |
|
248 |
|
|
249 |
<pack name="JCRS" required="yes"> |
|
250 |
<description>Install advanced projections plugin.</description> |
|
251 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.crs" override="true"/> |
|
252 |
<!-- |
|
253 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib" src="bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/jcrs.jar" override="true"/> |
|
254 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib" src="bin/gvSIG/extensiones/com.iver.cit.gvsig/lib/jGridShiftApi.jar" override="true"/> |
|
255 |
--> |
|
256 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="../../binaries/linux/crs/libproj.so.0.5.0" override="true"/> |
|
257 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="../../binaries/linux/crs/libcrsjniproj.so" override="true"/> |
|
258 |
|
|
259 |
<file os="unix" targetdir="$INSTALL_PATH/libs" src="libs/linux/install-crs.sh" override="true"/> |
|
260 |
<parsable os="unix" targetfile="$INSTALL_PATH/libs/install-crs.sh"/> |
|
261 |
<executable os="unix" |
|
262 |
targetfile="$INSTALL_PATH/libs/install-crs.sh" |
|
263 |
stage="postinstall" |
|
264 |
keep="false" |
|
265 |
failure="ask"/> |
|
266 |
|
|
267 |
</pack> |
|
268 |
|
|
269 |
</packs> |
|
270 |
|
|
271 |
</installation> |
|
0 | 272 |
tags/tmp_build/install/instalador-gvSIG-lin/libs/linux/ecw/install-ecw.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
|
|
3 |
cd "$INSTALL_PATH/libs" |
|
4 |
|
|
5 |
rm -f libjecwcompress.so libjecwcompress.so.0 libjecwcompress.so.1 |
|
6 |
ln -s libjecwcompress.so.0.1.0 libjecwcompress.so |
|
7 |
ln -s libjecwcompress.so.0.1.0 libjecwcompress.so.0 |
|
8 |
|
|
9 |
rm -f libjecw.so libjecw.so.0 |
|
10 |
ln -s libjecw.so.0.0.1 libjecw.so |
|
11 |
ln -s libjecw.so.0.0.1 libjecw.so.0 |
|
12 |
|
|
13 |
#rm -f libNCSCnet.so libNCSCNet.so libNCScnet.so |
|
14 |
#ln -s libNCSCnet.so.0.0.0 libNCSCnet.so |
|
15 |
#ln -s libNCSCnet.so.0.0.0 libNCSCNet.so |
|
16 |
#ln -s libNCSCnet.so.0.0.0 libNCScnet.so |
|
17 |
|
|
18 |
#rm -f libNCSEcwC.so |
|
19 |
#ln -s libNCSEcwC.so.0.0.0 libNCSEcwC.so |
|
20 |
|
|
21 |
#rm -f libNCSEcw.so |
|
22 |
#ln -s libNCSEcw.so.0.0.0 libNCSEcw.so |
|
23 |
|
|
24 |
#rm -f libNCSUtil.so |
|
25 |
#ln -s libNCSUtil.so.0.0.0 libNCSUtil.so |
|
0 | 26 |
Also available in: Unified diff