Revision 16890

View differences:

tags/tmp_build/install/HOWTO-Generate Distribution
1
========================
2
	DISTRIBUCION SVN
3
========================
4

  
5
* Para la generación de distribucines se ha usado el RapidSVN.
6
* Abrir el RapidSVN, una vez conectado con el repositorio, ir a Tags y crear
7
la carpeta tmp_build(si ya esta habrá que eliminarla antes de crearla). En comentario
8
poner pre_v1_x_Build_x (sustituir x según corresponda).
9
* Copiamos todos las carpetas que estan en branches/vX dentro de la carpeta tmp_build
10
que acabamos de crear. (la ruta a introducir sería https://gvsig.org/svn/gvSIG/tags/tmp_build)
11
* Hacer un switch del workspace: Team->Switch, y hay que cambiar en la ruta la parte "branches/vX"
12
por tags/tmp_build. Esto no se realiza sobre todos los proyectos a la vez, segun que plugin SVN 
13
se tenga en el Eclipse, se tendrá que hacer proyecto por proyecto, o se podrá hacer por conjuntos 
14
de proyectos que comparten la misma carpeta.
15
* Generar la distribución. Primero se lanzará el clean_all y build_all (appgvSIG/build.xml)
16
y se comprobara que el programa funciona adecuadamente. Después se lanzara el make_binaries_distribution.
17
* Lanzamos el distribution_1.5.sh para generar los binarios, los probamos y si todo funciona correctamente
18
hacemos commit de los build.number con formato v1_X_Build_X.
19
* De nuevo, como se hizo anteriormente, se hara un switch hacia "branches/vX".
20
* Se debe renombrar el "tags/tmp_build" por "tags/v1_X_Build_X"
21
* Se tiene que hacer une Merge (Team->Merge) seleccionando Advanced:
22
	Source 1: Trunk
23
	Source 2: "tags/v1_X_Build_X"
24
Esto tambien dependiendo del Plugin SVN de Eclipse se hara por proyectos o por conjuntos.
25
*Por último hacer commit sobre los cambios oportunos en el Trunk. 
tags/tmp_build/install/instalador-gvSIG-win/install_15.xml
1
<installation version="1.0">
2
	<info>
3
		<appname>gvSIG_1.1.1</appname>
4
		<appversion>1.1.1</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="windows" />
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
	<native os="windows" type="izpack" name="ShellLink.dll"/>
49

  
50
	<resources>
51
		<res src="resources/gpl.txt" id="LicencePanel.licence"/>
52
		<res src="resources/LEEME.html" id="HTMLInfoPanel.info"/>
53
		<res src="resources/images/Logo_gvsig_gva.jpg" id="Installer.image"/>
54
		<res src="resources/win_shortcut_spec.xml" id="shortcutSpec.xml"/>
55
	</resources>
56

  
57
	<panels>
58
		<panel classname="HTMLInfoPanel"/>
59
		<panel classname="LicencePanel"/>
60
		<panel classname="PacksPanel"/>
61
		<panel classname="TargetPanel"/>
62
		<panel classname="InstallPanel"/>
63
		<panel classname="ShortcutPanel"/>
64
		<panel classname="SimpleFinishPanel"/>
65
	</panels>
66

  
67
	<packs>
68
		<pack name="gvSIG program" required="yes">
69
			<description>gvSIG program files.</description>
70
			<file targetdir="$INSTALL_PATH" src="bin"/>
71

  
72
			<file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/images/ico-gvSIG.ico" override="true"/>
73
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/images/help.ico" override="true"/>
74

  
75
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/images/uninstall.ico" override="true"/>
76
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/uninstall.bat" override="true"/>
77
   	  <parsable os="windows" targetfile="$INSTALL_PATH/bin/uninstall.bat"/>
78

  
79
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/gvSIG.ini" override="true"/>
80
   	  <parsable os="windows" targetfile="$INSTALL_PATH/bin/gvSIG.ini"/>
81

  
82
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/gvSIG.exe" override="true"/>
83

  
84
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/da" override="true"/>
85
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/de" override="true"/>
86
	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/es" override="true"/>
87
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/fr" override="true"/>
88
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/it" override="true"/>
89
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/nl" override="true"/>
90
 	  <file os="windows" targetdir="$INSTALL_PATH/bin" src="tmpResources/pt-BR" override="true"/>
91

  
92
      <file os="windows" targetdir="$INSTALL_PATH/bin" src="resources/andami-config.xml" override="true"/>
93
      <parsable os="windows" targetfile="$INSTALL_PATH/bin/andami-config.xml"/>
94

  
95
      <file os="windows" targetdir="$INSTALL_PATH" src="resources/install.bat" override="true"/>
96
      <parsable os="windows" targetfile="$INSTALL_PATH/install.bat"/>
97
      <executable os="windows"
98
    		targetfile="$INSTALL_PATH/install.bat"
99
            stage="postinstall"
100
            keep="false"
101
            failure="ask"/>
102

  
103
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/system/msvcp71.dll" override="true"/>
104
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/system/msvcr71.dll" override="true"/>
105

  
106
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/mrsid/jmrsid.dll" override="true"/>
107
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/mrsid/lti_dsdk_cdll.dll" override="true"/>
108
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/mrsid/lti_dsdk_dll.dll" override="true"/>
109

  
110
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/jecwcompress.dll" override="true"/>
111
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/jecw.dll" override="true"/>
112
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCScnet.dll" override="true"/>
113
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCSEcwC.dll" override="true"/>
114
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCSEcw.dll" override="true"/>
115
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/ecw/NCSUtil.dll" override="true"/>
116

  
117
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/gdal.dll" override="true"/>
118
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/jgdal060.dll" override="true"/>
119
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/glut32.dll" override="true"/>
120
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/jpeg62.dll" override="true"/>
121
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/libimage.dll" override="true"/>
122
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/libpng13.dll" override="true"/>
123
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/libtiff3.dll" override="true"/>
124
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="libs/w32/gdal/zlib1.dll" override="true"/>
125

  
126
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/system/msvcp71.dll" override="true"/>
127
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/system/msvcr71.dll" override="true"/>
128

  
129
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/mrsid/jmrsid.dll" override="true"/>
130
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/mrsid/lti_dsdk_cdll.dll" override="true"/>
131
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/mrsid/lti_dsdk_dll.dll" override="true"/>
132

  
133
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/jecwcompress.dll" override="true"/>
134
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/jecw.dll" override="true"/>
135
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCScnet.dll" override="true"/>
136
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCSEcwC.dll" override="true"/>
137
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCSEcw.dll" override="true"/>
138
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/ecw/NCSUtil.dll" override="true"/>
139

  
140
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/gdal.dll" override="true"/>
141
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/jgdal060.dll" override="true"/>
142
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/glut32.dll" override="true"/>
143
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/jpeg62.dll" override="true"/>
144
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/libimage.dll" override="true"/>
145
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/libpng13.dll" override="true"/>
146
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/libtiff3.dll" override="true"/>
147
      <file os="windows" targetdir="$JAVA_HOME/bin" src="libs/w32/gdal/zlib1.dll" override="true"/>
148

  
149
  </pack>
150

  
151
		<pack name="Catalog Client" required="no">
152
			<description>Install Catalog Client.</description>
153
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/es.gva.cit.gvsig.catalogClient" override="true"/>
154
		</pack>
155

  
156
		<pack name="WCS Client" required="no">
157
			<description>Install WCS Client.</description>
158
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wcs" override="true"/>
159
		</pack>
160

  
161
		<pack name="WMS Client" required="no">
162
			<description>Install WMS Client.</description>
163
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wms" override="true"/>
164
		</pack>
165

  
166
		<pack name="JDBC Client" required="no">
167
			<description>Install JDBC Client For MySQL and PostGis.</description>
168
			<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.jdbc_spatial" override="true"/>
169
		</pack>
170

  
171
      <pack name="JDBC Oracle Spatial Client" required="no">
172
          <description>Install JDBC Client For Oracle Spatial Data Base.</description>
173
          <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.oracle_spatial" override="true"/>
174
      </pack>
175

  
176

  
177

  
178
		<pack name="Data Locator" required="no">
179
			<description>Install Data Locator Plugin.</description>
180
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.datalocator" override="true"/>
181
		</pack>
182

  
183
    <pack name="WFS Client" required="no">
184
      <description>Install WFS Client.</description>
185
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.wfs2" override="true"/>
186
    </pack>
187

  
188
    <pack name="ArcIms Client" required="no">
189
        <description>ArcIms Client</description>
190
        <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones" src="extensiones/es.prodevelop.cit.gvsig.arcims" override="true"/>
191
    </pack>
192

  
193
    <pack name="Geoprocessing" required="no">
194
      <description>Install Geoprocessing.</description>
195
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.geoprocess" override="true"/>
196
    </pack>
197

  
198
    <pack name="Additional Geoprocessing" required="no" depends="Geoprocessing">
199
      <description>Install Additional Geoprocessing.</description>
200
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.geoprocessextensions" override="true"/>
201
    </pack>
202

  
203

  
204
    <pack name="Georeferencing" required="no">
205
      <description>Install Georeferening.</description>
206
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.georeferencing" override="true"/>
207
    </pack>
208

  
209
    <pack name="Edition" required="no">
210
      <description>Install Edition.</description>
211
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.cit.gvsig.cad" override="true"/>
212
    </pack>
213

  
214
    <pack name="Raster Tools" required="no">
215
      <description>Install Raster Tools.</description>
216
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.rasterTools" override="true"/>
217
    </pack>
218

  
219
    <pack name="Scripting" required="no">
220
      <description>Scripting.</description>
221
      <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.scripting" override="true"/>
222
    </pack>
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.expresionfield" 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

  
240
    <pack name="JCRS" required="yes">
241
      <description>Instalar nueva extension de proyecciones.</description>
242
          <file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/org.gvsig.crs" override="true"/>
243
          <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"/>
244
      <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"/>
245

  
246
      <file os="windows" targetdir="$JAVA_HOME/bin" src="../../binaries/w32/crs/proj.dll" override="true"/>
247
      <file os="windows" targetdir="$JAVA_HOME/bin" src="../../binaries/w32/crs/CrsJniProj.dll" override="true"/>
248

  
249

  
250
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="../../binaries/w32/crs/proj.dll" override="true"/>
251
      <file os="windows" targetdir="$INSTALL_PATH/lib" src="../../binaries/w32/crs/CrsJniProj.dll" override="true"/>
252

  
253
    </pack>
254

  
255
	<pack name="Jai Image i/o" required="yes">
256
		<description>Jai Image i/o library</description>
257
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/bin" override="false"/>
258
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/lib" override="false"/>
259
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/COPYRIGHT-jai_imageio.txt" override="false"/>
260
           <file targetdir="$JAVA_HOME" src="tmpResources/jai_imageio-1_0_01-lib-windows/LICENSE-jai_imageio.txt" override="false"/>
261
	</pack>
262

  
263

  
264
	</packs>
265

  
266
</installation>
0 267

  
tags/tmp_build/install/instalador-gvSIG-win/resources/gvSIG.bat
1
@echo off
2
cd "$INSTALL_PATH\"
3

  
4
IF OS_%os% == OS_Windows_NT GOTO wnt
5
GOTO win
6

  
7
:wnt
8
SET PATH=$INSTALL_PATH\lib;%PATH%
9
cd bin
10
"$JAVA_HOME\bin\java.exe" -Djava.library.path="$INSTALL_PATH\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.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/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1
11
GOTO end
12

  
13
:win
14
SET PATH="$INSTALL_PATH\lib";%PATH%
15
cd bin
16
"$JAVA_HOME\bin\java.exe" -Djava.library.path="$INSTALL_PATH\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.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/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1
17

  
18
:end
19
pause
0 20

  
tags/tmp_build/install/instalador-gvSIG-win/resources/LEEME.html
1
<html>
2
<head>
3
<style type="text/css">
4
html, body, h1, h2, h3, h4, div, p, ul, li, input {
5
   font-family: Arial, Helvetica, sans-serif;
6
}
7

  
8
h1 {
9
   font-size: large;
10
}
11

  
12
h2 {
13
   font-size: large;
14
}
15

  
16
h3 {
17
   font-size: medium;
18
}
19
</style>
20
</head>
21
<body>
22
<h1>gvSIG, el SIG en software libre de la Generalitat Valenciana
23
(http://www.gvsig.gva.es).</h1>
24

  
25
<h2>Autores:</h2>
26
<ul>
27
<li>Generalitat Valenciana
28
 (Conselleria d'Infraestructures i Transport).</li>
29
<li>Iver Tecnolog&iacute;as de la Informaci&oacute;n S.A.</li>
30
</ul>
31

  
32
<p>Software con licencia GNU/GPL
33
(http://www.fsf.org/licensing/licenses/gpl.html)</p>
34

  
35
<p>Contacto:
36
	gvsig@gva.es<p>
37

  
38
<h2>Requisitos de la aplicaci&oacute;n:</h2>
39
<h3>Sistema</h3>
40
<ul>
41
<li>M&iacute;nimos: Pentium III / 256 MB RAM.</li>
42
<li>Recomendables: Pentium IV / 512 MB RAM.</li>
43
<li>Sistemas operativos: plataformas Windows y Linux.
44
 Probado en Win98/XP, Linux Suse 8.2/9.0/9.2 y Linux Debian (Lliurex).</li>
45
</ul>
46

  
47
<h3>Software instalado</h3> (disponible en http://www.gvsig.gva.es o en http://java.sun.com)
48
<ul>
49
<li>M&aacute;quina Virtual Java 1.4.2 (06 o superior).</li>
50
<li>JAI (Java Advanced Imaging).</li>
51
<li>JAI Image I/O.</li>
52
</ul>
53

  
54
<p style="text-align:justify">Nota: Las librer&iacute;as JAI y JAI Image I/O deben estar instaladas sobre la M&aacute;quina Virtual Java que gvSIG utilice en su ejecuci&oacute;n. Si se instala una nueva JVM en el sistema y se usa para ejecutar gvSIG ser&aacute; indispensable instalar las librer&iacute;as sobre &eacute;sta (gvSIG se ejecuta con la JVM que tenga por defecto el sistema operativo; para saber cu&aacute;l es, ejecutar <span style="monospace">"java&nbsp;-version"</span> en un interfaz de comandos o consola).</p>
55

  
56
<h2>M&aacute;s informaci&oacute;n y soporte en:</h2>
57
<h3> Web oficial del proyecto:</h3>
58
	http://www.gvsig.gva.es
59

  
60
<h3>Listas de distribuci&oacute;n:</h3>
61
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</span> (soporte para usuarios).
62
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</span> (soporte para desarrolladores).
63
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</span> (soporte para desarrolladores o usuarios de habla no hispana).
64

  
65
</body>
66
</html>
0 67

  
tags/tmp_build/install/instalador-gvSIG-win/resources/andami-config.xml
1
<andami-config locale-language="$ISO3_LANG" pluginsDirectory="gvSIG/extensiones">
2
	<andami update="yes"/>
3
        <plugin name="com.iver.cit.gvsig" update="yes"/>
4
        <plugin name="com.iver.core" update="no"/>
5
</andami-config>
0 6

  
tags/tmp_build/install/instalador-gvSIG-win/resources/gvSIG.ini.J15
1
[default]
2

  
3

  
4
; Ruta al achivo Jar a lanzar
5
jar =
6

  
7

  
8
; Comando a ejecutar:
9
;    Admite remplazo de variable:
10
;	* #JAVA# ejecutable de java
11
;	* #JAVA_HOME# path del Java_home
12
;	* #JAR# el valor de la variable 'jar' de este fichero
13
;	* #ARGS# cadena con todos los argumentos con los que se ha llamado al lanzador
14
;	* #ARG1#, #ARG2#, ... #ARG9#: parametro recivido en 'n' lugar
15
;	* #ARG0#: Nombre del ejecutable del lanzador
16
;    Tambien admite los valores de la seccion 'Variables' encerrados entre
17
;    el caracter almuadilla '#'
18
; 	 * Nota: los nombres de las variables son case sensitive
19
command = #JAVA# -Djava.library.path="#GVSIG_INSTALL_PATH#\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.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/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones #ARGS#
20

  
21

  
22

  
23

  
24
; Lanzar el Jar en ansincrono o no:
25
;     * si(se lanza el javaw.exe y finaliza el lanzador):S SI YES Y 1
26
;     * si(el lanzado se espera a que termine la ejecucion del javaw.exe):{distinto de los anterirores}
27
launchJarAsync = 0
28

  
29
; Modo: dice si se va a usar en modo lanzador de la instalacion o de la aplicacion
30
; (De momento solo afecta al titulo)
31
;     * Instalacion: INSTALL
32
;     * Applicacion: APPLICATION
33
launchMode = APPLICATION
34

  
35
; Realizar la comprobaciones o no:
36
;     * si(por defecto):S SI YES Y 1
37
;     * no(debera estar especificado el parametro'jre_home'):{distinto de los anterirores}
38
doChecks = No
39

  
40
; Ruta el Java_home a usar en caso de 'doChecks-->No'
41
jre_home = $JAVA_HOME
42
;ejemplo: jre_home = C:/Archivos de programa/Java/j2re1.4.2_11
43

  
44

  
45
; Habilita la pregunta al usuario de si hay que hacer las comprobaciones de JRE etc...
46
;     - por defecto se hace la pregunta
47
;     - Si la respuesta del usario es 'no' se solicita la usuario que indique el ejectuable de la JRE
48
;     * si(se pregunta al usario):S SI YES Y 1
49
;     * no(no se pregunta y se realizan las comprobaciones):{distinto de los anterirores}
50
askForCheckingProcess = No
51

  
52

  
53

  
54
; Version de JRE requerida
55
jre_version = 1.5.0
56
jre_version_prefered = 1.5.0_12
57

  
58

  
59

  
60
; Descarga remota
61
; 	* los valores valido de downloadEnabled son:
62
;		- habilitado: S SI YES Y 1
63
;		- deshabilitado: {distinto de los anteriores}
64
downloadEnabled = 0
65

  
66

  
67

  
68
; Path del instalable del jre (si no existe y estan
69
;	habilitadas las descargas, lo dejara aqui)
70
jre =
71
downloadJre =
72

  
73

  
74

  
75
; Path del instalable del jai (si no existe y estan
76
;	habilitadas las descargas, lo dejara aqui)
77
jai =
78
downloadJai =
79

  
80

  
81

  
82
; Path del instalable del jai io (si no existe y estan
83
;	habilitadas las descargas, lo dejara aqui)
84
jai_io =
85
downloadJai_io =
86

  
87

  
88

  
89
; Esta seccion indica una lista de fichero a
90
; copiar antes de lanzar el comando.
91
; Los ficheros se copiaran si no existen en el
92
; destino.
93
; Destino puede ser un directorio, pero debe finalizar
94
; con '/'
95
; Pueden usarse variables declaradas en la
96
; seccion 'variables' colocadas entre '#'
97
;  * Nota: los nombres de las variables son case sensitive
98
; Requiere los valores:
99
;	* source1: primer fichero origen
100
;	* target1: primer destino
101
;	* source2: segundo fichero origen
102
;	* target2: segundo destino
103
;	...
104
;	* source{n}: 'n' fichero origen
105
;	* target{n}: 'n' destino
106
[CopyRequiredFiles]
107
source1 = #GVSIG_INSTALL_PATH#/lib/msvcp71.dll
108
target1 = #JAVA_HOME#/bin/
109

  
110
source2 = #GVSIG_INSTALL_PATH#/lib/msvcr71.dll
111
target2 = #JAVA_HOME#/bin/
112

  
113

  
114

  
115
source3 = #GVSIG_INSTALL_PATH#/lib/jmrsid.dll
116
target3 = #JAVA_HOME#/bin/
117

  
118
source4 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_cdll.dll
119
target4 = #JAVA_HOME#/bin/
120

  
121
source5 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_dll.dll
122
target5 = #JAVA_HOME#/bin/
123

  
124

  
125

  
126
source6 = #GVSIG_INSTALL_PATH#/lib/jecwcompress.dll
127
target6 = #JAVA_HOME#/bin/
128

  
129
source7 = #GVSIG_INSTALL_PATH#/lib/jecw.dll
130
target7 = #JAVA_HOME#/bin/
131

  
132
source8 = #GVSIG_INSTALL_PATH#/lib/NCScnet.dll
133
target8 = #JAVA_HOME#/bin/
134

  
135
source9 = #GVSIG_INSTALL_PATH#/lib/NCSEcwC.dll
136
target9 = #JAVA_HOME#/bin/
137

  
138
source10 = #GVSIG_INSTALL_PATH#/lib/NCSEcw.dll
139
target10 = #JAVA_HOME#/bin/
140

  
141
source11 = #GVSIG_INSTALL_PATH#/lib/NCSUtil.dll
142
target11 = #JAVA_HOME#/bin/
143

  
144

  
145

  
146
source12 = #GVSIG_INSTALL_PATH#/lib/gdal.dll
147
target12 = #JAVA_HOME#/bin/
148

  
149

  
150
source13 = #GVSIG_INSTALL_PATH#/lib/jgdal060.dll
151
target13 = #JAVA_HOME#/bin/
152

  
153
source14 = #GVSIG_INSTALL_PATH#/lib/glut32.dll
154
target14 = #JAVA_HOME#/bin/
155

  
156
source15 = #GVSIG_INSTALL_PATH#/lib/jpeg62.dll
157
target15 = #JAVA_HOME#/bin/
158

  
159
source16 = #GVSIG_INSTALL_PATH#/lib/libimage.dll
160
target16 = #JAVA_HOME#/bin/
161

  
162
source17 = #GVSIG_INSTALL_PATH#/lib/libpng13.dll
163
target17 = #JAVA_HOME#/bin/
164

  
165
source18 = #GVSIG_INSTALL_PATH#/lib/libtiff3.dll
166
target18 = #JAVA_HOME#/bin/
167

  
168
source19 = #GVSIG_INSTALL_PATH#/lib/zlib1.dll
169
target19 = #JAVA_HOME#/bin/
170

  
171
; En esta seccion se pueden definir valores
172
; que se pueden utilizar en el parametro 'command'
173
; o en la copia de los ficheros
174
;  * Nota: los nombres son case sensitive
175
[Variables]
176
GVSIG_INSTALL_PATH = $INSTALL_PATH
177

  
178
[EnvironVariables]
179
PROJ_LIB=$INSTALL_PATH/bin/gvSIG/extensiones/org.gvsig.crs/data
0 180

  
tags/tmp_build/install/instalador-gvSIG-win/resources/install.bat
1
REM This is used at installation time, in order to perform some extra actions
2
REM that the installer is not able to do
3

  
4
REM different syntax in win98 and (nt, xp)
5

  
6
SET > salida.txt
7
SET
8
IF OS_%os% == OS_Windows_NT GOTO wnt
9
GOTO win
10

  
11
:wnt
12
IF NOT EXIST $USER_HOME\gvSIG MKDIR $USER_HOME\gvSIG
13
IF NOT EXIST $USER_HOME\gvSIG\andami-config.xml COPY $INSTALL_PATH\bin\andami-config.xml $USER_HOME\gvSIG\andami-config.xml
14

  
15
:win
16
IF NOT EXIST "$USER_HOME"\gvSIG MKDIR "$USER_HOME"\gvSIG
17
IF NOT EXIST "$USER_HOME"\gvSIG\andami-config.xml COPY "$INSTALL_PATH"\bin\andami-config.xml "$USER_HOME"\gvSIG\andami-config.xml
18

  
19

  
0 20

  
tags/tmp_build/install/instalador-gvSIG-win/resources/gvSIG.ini
1
[default]
2

  
3

  
4
; Ruta al achivo Jar a lanzar
5
jar = 
6

  
7

  
8
; Comando a ejecutar:
9
;    Admite remplazo de variable:
10
;	* #JAVA# ejecutable de java
11
;	* #JAVA_HOME# path del Java_home
12
;	* #JAR# el valor de la variable 'jar' de este fichero
13
;	* #ARGS# cadena con todos los argumentos con los que se ha llamado al lanzador
14
;	* #ARG1#, #ARG2#, ... #ARG9#: parametro recivido en 'n' lugar
15
;	* #ARG0#: Nombre del ejecutable del lanzador
16
;    Tambien admite los valores de la seccion 'Variables' encerrados entre
17
;    el caracter almuadilla '#'
18
; 	 * Nota: los nombres de las variables son case sensitive
19
command = #JAVA# -Djava.library.path="#GVSIG_INSTALL_PATH#\lib" -cp andami.jar;./lib/gvsig-i18n.jar;./lib/beans.jar;./lib/log4j-1.2.8.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/looks-2.0.2.jar;./lib/JWizardComponent.jar;./lib/kxml2.jar;./lib/jcalendar.jar -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones #ARGS#
20

  
21

  
22

  
23

  
24
; Lanzar el Jar en ansincrono o no:
25
;     * si(se lanza el javaw.exe y finaliza el lanzador):S SI YES Y 1
26
;     * si(el lanzado se espera a que termine la ejecucion del javaw.exe):{distinto de los anterirores}
27
launchJarAsync = 0
28

  
29
; Modo: dice si se va a usar en modo lanzador de la instalacion o de la aplicacion
30
; (De momento solo afecta al titulo)
31
;     * Instalacion: INSTALL
32
;     * Applicacion: APPLICATION
33
launchMode = APPLICATION
34

  
35
; Realizar la comprobaciones o no:
36
;     * si(por defecto):S SI YES Y 1
37
;     * no(debera estar especificado el parametro'jre_home'):{distinto de los anterirores}
38
doChecks = No
39

  
40
; Ruta el Java_home a usar en caso de 'doChecks-->No'
41
jre_home = $JAVA_HOME
42
;ejemplo: jre_home = C:/Archivos de programa/Java/j2re1.4.2_11
43

  
44

  
45
; Habilita la pregunta al usuario de si hay que hacer las comprobaciones de JRE etc...
46
;     - por defecto se hace la pregunta
47
;     - Si la respuesta del usario es 'no' se solicita la usuario que indique el ejectuable de la JRE
48
;     * si(se pregunta al usario):S SI YES Y 1
49
;     * no(no se pregunta y se realizan las comprobaciones):{distinto de los anterirores}
50
askForCheckingProcess = No
51

  
52

  
53

  
54
; Version de JRE requerida
55
jre_version = 1.4.2
56
jre_version_prefered = 1.4.2_06
57

  
58

  
59

  
60
; Descarga remota
61
; 	* los valores valido de downloadEnabled son:
62
;		- habilitado: S SI YES Y 1
63
;		- deshabilitado: {distinto de los anteriores}
64
downloadEnabled = 0
65

  
66

  
67

  
68
; Path del instalable del jre (si no existe y estan
69
;	habilitadas las descargas, lo dejara aqui)
70
jre = 
71
downloadJre = 
72

  
73

  
74

  
75
; Path del instalable del jai (si no existe y estan
76
;	habilitadas las descargas, lo dejara aqui)
77
jai = 
78
downloadJai = 
79

  
80

  
81

  
82
; Path del instalable del jai io (si no existe y estan
83
;	habilitadas las descargas, lo dejara aqui)
84
jai_io = 
85
downloadJai_io = 
86

  
87

  
88

  
89
; Esta seccion indica una lista de fichero a
90
; copiar antes de lanzar el comando.
91
; Los ficheros se copiaran si no existen en el
92
; destino.
93
; Destino puede ser un directorio, pero debe finalizar
94
; con '/'
95
; Pueden usarse variables declaradas en la
96
; seccion 'variables' colocadas entre '#'
97
;  * Nota: los nombres de las variables son case sensitive
98
; Requiere los valores:
99
;	* source1: primer fichero origen
100
;	* target1: primer destino
101
;	* source2: segundo fichero origen
102
;	* target2: segundo destino
103
;	...
104
;	* source{n}: 'n' fichero origen
105
;	* target{n}: 'n' destino
106
[CopyRequiredFiles]
107
source1 = #GVSIG_INSTALL_PATH#/lib/msvcp71.dll
108
target1 = #JAVA_HOME#/bin/
109

  
110
source2 = #GVSIG_INSTALL_PATH#/lib/msvcr71.dll
111
target2 = #JAVA_HOME#/bin/
112

  
113

  
114

  
115
source3 = #GVSIG_INSTALL_PATH#/lib/jmrsid.dll
116
target3 = #JAVA_HOME#/bin/
117

  
118
source4 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_cdll.dll
119
target4 = #JAVA_HOME#/bin/
120

  
121
source5 = #GVSIG_INSTALL_PATH#/lib/lti_dsdk_dll.dll
122
target5 = #JAVA_HOME#/bin/
123

  
124

  
125

  
126
source6 = #GVSIG_INSTALL_PATH#/lib/jecwcompress.dll
127
target6 = #JAVA_HOME#/bin/
128

  
129
source7 = #GVSIG_INSTALL_PATH#/lib/jecw.dll
130
target7 = #JAVA_HOME#/bin/
131

  
132
source8 = #GVSIG_INSTALL_PATH#/lib/NCScnet.dll
133
target8 = #JAVA_HOME#/bin/
134

  
135
source9 = #GVSIG_INSTALL_PATH#/lib/NCSEcwC.dll
136
target9 = #JAVA_HOME#/bin/
137

  
138
source10 = #GVSIG_INSTALL_PATH#/lib/NCSEcw.dll
139
target10 = #JAVA_HOME#/bin/
140

  
141
source11 = #GVSIG_INSTALL_PATH#/lib/NCSUtil.dll
142
target11 = #JAVA_HOME#/bin/
143

  
144

  
145

  
146
source12 = #GVSIG_INSTALL_PATH#/lib/gdal.dll
147
target12 = #JAVA_HOME#/bin/
148

  
149

  
150
source13 = #GVSIG_INSTALL_PATH#/lib/jgdal060.dll
151
target13 = #JAVA_HOME#/bin/
152

  
153
source14 = #GVSIG_INSTALL_PATH#/lib/glut32.dll
154
target14 = #JAVA_HOME#/bin/
155

  
156
source15 = #GVSIG_INSTALL_PATH#/lib/jpeg62.dll
157
target15 = #JAVA_HOME#/bin/
158

  
159
source16 = #GVSIG_INSTALL_PATH#/lib/libimage.dll
160
target16 = #JAVA_HOME#/bin/
161

  
162
source17 = #GVSIG_INSTALL_PATH#/lib/libpng13.dll
163
target17 = #JAVA_HOME#/bin/
164

  
165
source18 = #GVSIG_INSTALL_PATH#/lib/libtiff3.dll
166
target18 = #JAVA_HOME#/bin/
167

  
168
source19 = #GVSIG_INSTALL_PATH#/lib/zlib1.dll
169
target19 = #JAVA_HOME#/bin/
170

  
171
; En esta seccion se pueden definir valores 
172
; que se pueden utilizar en el parametro 'command'
173
; o en la copia de los ficheros
174
;  * Nota: los nombres son case sensitive
175
[Variables]
176
GVSIG_INSTALL_PATH = $INSTALL_PATH
177

  
178
[EnvironVariables]
179
PROJ_LIB=$INSTALL_PATH/bin/gvSIG/extensiones/org.gvsig.crs/data
0 180

  
tags/tmp_build/install/instalador-gvSIG-win/resources/launcher-Win32.ini.j15
1
[default]
2
; Nombre de la aplicacion
3
appname = gvSIG
4

  
5
; Ruta al achivo Jar a lanzar
6
jar = %JARNAME%
7

  
8

  
9
; Comando a ejecutar:
10
;    Admite remplazo de variable:
11
;	* #JAVA# ejecutable de java
12
;	* #JAVA_HOME# path del Java_home
13
;	* #JAR# el valor de la variable 'jar' de este fichero
14
;	* #ARGS# cadena con todos los argumentos con los que se ha llamado al lanzador
15
;	* #ARG1#, #ARG2#, ... #ARG9#: parametro recivido en 'n' lugar
16
;	* #ARG0#: Nombre del ejecutable del lanzador
17
;    Tambien admite los valores de la seccion 'Variables' encerrados entre
18
;    el caracter almuadilla '#'
19
; 	 * Nota: los nombres de las variables son case sensitive
20
command = #JAVA# -jar #JAR#
21

  
22

  
23

  
24

  
25
; Lanzar el Jar en ansincrono o no:
26
;     * si(se lanza el javaw.exe y finaliza el lanzador):S SI YES Y 1
27
;     * si(el lanzado se espera a que termine la ejecucion del javaw.exe):{distinto de los anterirores}
28
launchJarAsync = 0
29

  
30
; Modo: dice si se va a usar en modo lanzador de la instalacion o de la aplicacion
31
; (De momento solo afecta al titulo)
32
;     * Instalacion: INSTALL
33
;     * Applicacion: APPLICATION
34
launchMode = INSTALL
35

  
36
; Realizar la comprobaciones o no:
37
;     * si(por defecto):S SI YES Y 1
38
;     * no(debera estar especificado el parametro'jre_home'):{distinto de los anterirores}
39
doChecks = YES
40

  
41
; Realizar la comprobacion de codigo que
42
; retorna la JRE
43
;     * si(por defecto):S SI YES Y 1
44
;     * no:{distinto de los anterirores}
45
checksJREExecutionTerminationCode = YES
46

  
47

  
48

  
49
; Ruta el Java_home a usar en caso de 'doChecks-->No'
50
jre_home =
51
;ejemplo: jre_home = C:/Archivos de programa/Java/j2re1.4.2_11
52

  
53

  
54
; Habilita la pregunta al usuario de si hay que hacer las comprobaciones de JRE etc...
55
;     - por defecto se hace la pregunta
56
;     - Si la respuesta del usario es 'no' se solicita la usuario que indique el ejectuable de la JRE
57
;     * si(se pregunta al usario):S SI YES Y 1
58
;     * no(no se pregunta y se realizan las comprobaciones):{distinto de los anterirores}
59
askForCheckingProcess = SI
60

  
61

  
62

  
63
; Version de JRE requerida
64
jre_version = 1.5.0
65
jre_version_prefered = 1.5.0_12
66

  
67

  
68

  
69
; Descarga remota
70
; 	* los valores valido de downloadEnabled son:
71
;		- habilitado: S SI YES Y 1
72
;		- deshabilitado: {distinto de los anteriores}
73
downloadEnabled = 1
74

  
75

  
76

  
77
; Path del instalable del jre (si no existe y estan
78
;	habilitadas las descargas, lo dejara aqui)
79
jre = jre-1_5_0_12-windows-i586-p.exe
80
downloadJre = http://www.gvsig.org/runtime/jre-1_5_0_12-windows-i586-p.exe
81

  
82

  
83
; Comprobar si esta instaladas las Jai
84
;	- habilitado: S SI YES Y 1 (por defecto)
85
;	- deshabilitado: {distinto de los anteriores}
86
checkJai=S
87
; Path del instalable del jai (si no existe y estan
88
;	habilitadas las descargas, lo dejara aqui)
89
jai = jai-1_1_3-lib-windows-i586-jre.exe
90
;downloadJai = http://www.gvsig.org/jai-1_1_2_01-lib-windows-i586-jre.exe
91
downloadJai = http://www.gvsig.gva.es/fileadmin/conselleria/images/Documentacion/descargas/software/windows/jai-1_1_3-lib-windows-i586-jre.exe
92

  
93

  
94
; Comprobar si esta instaladas las Jai Image I/O
95
;	- habilitado: S SI YES Y 1 (por defecto)
96
;	- deshabilitado: {distinto de los anteriores}
97
checkJai_io=N
98
; Path del instalable del jai io (si no existe y estan
99
;	habilitadas las descargas, lo dejara aqui)
100
jai_io =
101
downloadJai_io =
102

  
103

  
104

  
105
; Esta seccion indica una lista de fichero a
106
; copiar antes de lanzar el comando.
107
; Los ficheros se copiaran si no existen en el
108
; destino.
109
; Destino puede ser un directorio, pero debe finalizar
110
; con '/'
111
; Pueden usarse variables declaradas en la
112
; seccion 'variables' colocadas entre '#'
113
;  * Nota: los nombres de las variables son case sensitive
114
; Requiere los valores:
115
;	* source1: primer fichero origen
116
;	* target1: primer destino
117
;	* source2: segundo fichero origen
118
;	* target2: segundo destino
119
;	...
120
;	* source{n}: 'n' fichero origen
121
;	* target{n}: 'n' destino
122
[CopyRequiredFiles]
123
source1=
124
target1=
125

  
126
source2=
127
target2=
128

  
129
source3=
130
target3=
131

  
132

  
133
; En esta seccion se pueden definir valores
134
; que se pueden utilizar en el parametro 'command'
135
; o en la copia de los ficheros
136
;  * Nota: los nombres son case sensitive
137
[Variables]
138

  
139

  
140

  
141
; En esta seccion se pueden definir valores
142
; que se estableceran como variables de entorno
143
; al arrancar el lanzador (y heredara la aplicacion)
144
[EnvironVariables]
0 145

  
tags/tmp_build/install/instalador-gvSIG-win/resources/uninstall.bat
1
java -jar "$INSTALL_PATH/Uninstaller/uninstaller.jar"
0 2

  
tags/tmp_build/install/instalador-gvSIG-win/resources/gpl.txt
1
	GNU GENERAL PUBLIC LICENSE
2
	Version 2, June 1991
3

  
4
	 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
5

  
6
		Preamble
7

  
8
	The licenses for most software are designed to take away your freedom to share and change it.  By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.  This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it.  (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.)  You can apply it to your programs, too.
9

  
10
	When we speak of free software, we are referring to freedom, not price.  Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
11

  
12
	To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
13

  
14
	For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have.  You must make sure that they, too, receive or can get the source code.  And you must show them these terms so they know their
15
rights.
16

  
17
	We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
18

  
19
	Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software.  If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
20

  
21
	Finally, any free program is threatened constantly by software	patents.  We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary.  To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
22

  
23
	The precise terms and conditions for copying, distribution and modification follow.
24

  
25
				GNU GENERAL PUBLIC LICENSE
26
	TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
27

  
28
	0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License.  The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language.  (Hereinafter, translation is included without limitation in the term "modification".)  Each licensee is addressed as "you".
29

  
30
	Activities other than copying, distribution and modification are not covered by this License; they are outside its scope.  The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
31

  
32
1.	You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
33

  
34
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
35

  
36
2.	You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
37

  
38
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
39

  
40
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
41

  
42
c)	If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License.  (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43

  
44
These requirements apply to the modified work as a whole.  If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works.  But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
45

  
46
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
47

  
48
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
49

  
50
3.	You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
51

  
52
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53

  
54
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
55

  
56
c)	Accompany it with the information you received as to the offer to distribute corresponding source code.  (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
57

  
58
The source code for a work means the preferred form of the work for making modifications to it.  For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable.  However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
59

  
60
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
61

  
62
4.	You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License.  Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License.
63
However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
64

  
65
5.	You are not required to accept this License, since you have not signed it.  However, nothing else grants you permission to modify or distribute the Program or its derivative works.  These actions are prohibited by law if you do not accept this License.  Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
66

  
67
6.	Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions.  You may not impose any further restrictions on the recipients' exercise of the rights granted herein.
68
You are not responsible for enforcing compliance by third parties to this License.
69

  
70
7.	If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License.  If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all.  For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
71

  
72
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
73

  
74
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices.  Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
75

  
76
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
77

  
78
8.	If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded.  In such case, this License incorporates the limitation as if written in the body of this License.
79

  
80
9.	The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time.  Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
81

  
82
Each version is given a distinguishing version number.  If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation.  If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
83

  
84
10.	If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission.  For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this.  Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
85

  
86
NO WARRANTY
87

  
88
11.	BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
89

  
90
12.	IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
91

  
92
END OF TERMS AND CONDITIONS
93

  
94
How to Apply These Terms to Your New Programs
95

  
96
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
97

  
98
To do so, attach the following notices to the program.  It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
99

  
100
<one line to give the program's name and a brief idea of what it does.> Copyright (C) <year>  <name of author>
101

  
102
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 2 of the License, or (at your option) any later version.
103

  
104
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.
105

  
106
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
107

  
108

  
109
Also add information on how to contact you by electronic and paper mail.
110

  
111
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
112

  
113
Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
114
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
115

  
116
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License.  Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
117

  
118
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary.  Here is a sample; alter the names:
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff