Revision 9338

View differences:

org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86_64/buildNumber.properties
1
#Mon Jan 28 18:19:49 CET 2019
2
buildNumber=128
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86_64/src/main/resources-plugin/autorun.sh
1
#!/bin/sh
2
#
3
# gvSIG. Desktop Geographic Information System.
4
#
5
# Copyright (C) 2007-2013 gvSIG Association.
6
#
7
# This program is free software; you can redistribute it and/or
8
# modify it under the terms of the GNU General Public License
9
# as published by the Free Software Foundation; either version 3
10
# of the License, or (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
# MA  02110-1301, USA.
21
#
22
# For any additional information, do not hesitate to contact us
23
# at info AT gvsig.com, or visit our website www.gvsig.com.
24
#
25

  
26

  
27
#
28
# Plugin autorun
29
# 
30

  
31
PLUGIN_NAME=$(basename "$PLUGIN_FOLDER")
32

  
33
add_library_path "$PLUGIN_FOLDER/jmrsid/lib64"
34

  
35
list_shared_library_dependencies "$PLUGIN_FOLDER/jmrsid/lib64/"libjmrsid*
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86_64/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 gvSIG Association.
6

  
7
    This program is free software; you can redistribute it and/or
8
    modify it under the terms of the GNU General Public License
9
    as published by the Free Software Foundation; either version 3
10
    of the License, or (at your option) any later version.
11

  
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16

  
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
    MA  02110-1301, USA.
21

  
22
    For any additional information, do not hesitate to contact us
23
    at info AT gvsig.com, or visit our website www.gvsig.com.
24

  
25
-->
26
<assembly>
27
  <id>gvsig-plugin-package</id>
28
  <formats>
29
    <format>zip</format>
30
  </formats>
31
  <baseDirectory>${gvsig.package.info.code}</baseDirectory>
32
  <includeBaseDirectory>true</includeBaseDirectory>
33
  <files>
34
    <file>
35
      <source>target/package.info</source>
36
    </file>
37
  </files>
38

  
39
  <fileSets>
40
    <fileSet>
41
      <directory>target/org.gvsig.raster.lizardtech.app.common</directory>
42
      <outputDirectory>.</outputDirectory>
43
      <excludes>
44
      	<exclude>package.info</exclude>
45
      </excludes>
46
    </fileSet>
47
    <fileSet>
48
      <directory>target/native/jmrsid</directory>
49
      <outputDirectory>./jmrsid</outputDirectory>
50
    </fileSet>
51
    <fileSet>
52
      <directory>src/main/resources-plugin</directory>
53
      <outputDirectory>.</outputDirectory>
54
    </fileSet>
55
  </fileSets>
56

  
57

  
58
  <dependencySets>
59
    <dependencySet>
60
      <useProjectArtifact>false</useProjectArtifact>
61
      <useTransitiveDependencies>false</useTransitiveDependencies>
62
      <outputDirectory>lib</outputDirectory>
63
		<includes>
64
            <include>org.gvsig:org.gvsig.jmrsid:jar</include>
65
		</includes>
66
    </dependencySet>
67
  </dependencySets>
68

  
69
</assembly>
70

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86_64/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.raster.lizardtech.app.lin.x86_64</artifactId>
5
  <packaging>jar</packaging>
6
   
7
 	<parent>
8
		<groupId>org.gvsig</groupId>
9
		<artifactId>org.gvsig.raster.lizardtech.app</artifactId>
10
    <version>2.2.75</version>
11
	</parent>
12

  
13
  <properties>
14
    <gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
15
    <gvsig.package.info.architecture>x86_64</gvsig.package.info.architecture>
16
    
17
    <jmrsid.classifier>linux-all-gcc4-X86_64-dynamic</jmrsid.classifier>
18
    <jmrsid.version>2.0.0</jmrsid.version>
19
    
20
    <!--
21
    No hay version dinamica de la libreria de mrsid, esta enlazada staticamente
22
    en jmrsid.
23
    <mrsid.classifier >linux-all-gcc4-X86_64-dynamic</mrsid.classifier>
24
 		<mrsid.version>7.0.0.2164</mrsid.version>     
25
 		-->
26
 		
27
  </properties>
28
  
29
  <dependencyManagement>
30
      <dependencies>
31
       <dependency>
32
            <groupId>org.gvsig</groupId>
33
            <artifactId>org.gvsig.jmrsid</artifactId>
34
            <version>${jmrsid.version}</version>
35
            <classifier>${jmrsid.classifier}</classifier>
36
            <type>tar.gz</type>
37
        </dependency>
38
        
39
        <!--
40
         <dependency>
41
	          <groupId>com.lizardtech</groupId>
42
	          <artifactId>mrsid</artifactId>
43
            <classifier>${mrsid.classifier}</classifier>
44
            <version>${mrsid.version}</version>
45
            <type>tar.gz</type>
46
	    </dependency>      
47
      -->
48
    </dependencies>
49
  </dependencyManagement>
50

  
51
  <dependencies>
52
  
53
    <dependency>
54
      <groupId>org.gvsig</groupId>
55
      <artifactId>org.gvsig.raster.lizardtech.app.common</artifactId>
56
      <type>zip</type>
57
    </dependency>
58
    <dependency>
59
			<groupId>org.gvsig</groupId>
60
			<artifactId>org.gvsig.andami</artifactId>
61
			<scope>compile</scope>
62
		</dependency>
63
		<dependency>
64
			<groupId>org.gvsig</groupId>
65
			<artifactId>org.gvsig.raster.lizardtech.io</artifactId>
66
			<scope>runtime</scope>
67
		</dependency>
68

  
69

  
70

  
71
		<dependency>
72
			  <groupId>org.gvsig</groupId>
73
        <artifactId>org.gvsig.jmrsid</artifactId>
74
        <version>${jmrsid.version}</version>
75
        <scope>compile</scope>
76
		</dependency>
77
    <dependency>
78
        <groupId>org.gvsig</groupId>
79
        <artifactId>org.gvsig.jmrsid</artifactId>
80
        <version>${jmrsid.version}</version>
81
        <classifier>${jmrsid.classifier}</classifier>
82
        <type>tar.gz</type>
83
        <scope>runtime</scope>
84
    </dependency>
85
    <!--
86
    <dependency>
87
        <groupId>com.lizardtech</groupId>
88
        <artifactId>mrsid</artifactId>
89
        <classifier>${mrsid.classifier}</classifier>
90
        <version>${mrsid.version}</version>
91
        <type>tar.gz</type>
92
        <scope>runtime</scope>
93
    </dependency>
94
    -->
95
  </dependencies>
96

  
97
  <build>
98
    <plugins>
99
  
100
      <plugin>
101
        <groupId>org.apache.maven.plugins</groupId>
102
        <artifactId>maven-dependency-plugin</artifactId>
103
        <executions>
104
          <execution>
105
          	<id>unpack</id>
106
	        <phase>process-sources</phase>
107
	        <goals>
108
	          <goal>unpack</goal>
109
	        </goals>
110
	        <configuration>
111
	          <artifactItems>
112
	            <artifactItem>
113
		            <groupId>org.gvsig</groupId>
114
		            <artifactId>org.gvsig.raster.lizardtech.app.common</artifactId>
115
		            <type>zip</type>
116
					      <overWrite>true</overWrite>
117
					      <outputDirectory>target</outputDirectory>
118
	            </artifactItem>
119
	            
120
	            <artifactItem>
121
                <groupId>org.gvsig</groupId>
122
                <artifactId>org.gvsig.jmrsid</artifactId>
123
                <version>${jmrsid.version}</version>
124
                <classifier>${jmrsid.classifier}</classifier>
125
                <type>tar.gz</type>
126
					      <overWrite>true</overWrite>
127
					      <outputDirectory>target/native/jmrsid</outputDirectory>
128
	            </artifactItem>
129
	     
130
	            <!--       
131
	            <artifactItem>
132
                <groupId>com.lizardtech</groupId>
133
                <artifactId>mrsid</artifactId>
134
                <classifier>${mrsid.classifier}</classifier>
135
                <version>${mrsid.version}</version>
136
                <type>tar.gz</type>
137
					      <overWrite>true</overWrite>
138
					      <outputDirectory>target/native/mrsid</outputDirectory>
139
	            </artifactItem>
140
	            -->
141
	            
142
	          </artifactItems>
143
	        </configuration>
144
          </execution>
145
        </executions>
146
	  </plugin>
147
  
148
  
149
    </plugins>
150
  </build>
151
  <!-- 
152
  The profiles only configure the automatic deploy of gvSIG plugin in the gvSIG
153
  configured in HOME/.gvsig-devel.properties
154
  -->
155
  <profiles>
156
  
157
    <profile>
158
      <id>gvsig-plugin-install-raster-linux-x86_64</id>
159
      <activation>
160
         <os>
161
             <family>unix</family>
162
             <name>linux</name>
163
             <arch>x86_64</arch>
164
         </os>
165
      </activation>
166
	    <properties>
167
	      <gvsig.install.plugin>true</gvsig.install.plugin>
168
	    </properties>
169
    </profile>
170

  
171
    <profile>
172
      <id>gvsig-plugin-install-raster-linux-amd64</id>
173
      <activation>
174
         <os>
175
             <family>unix</family>
176
             <name>linux</name>
177
             <arch>amd64</arch>
178
         </os>
179
      </activation>
180
      <properties>
181
         <gvsig.install.plugin>true</gvsig.install.plugin>
182
      </properties>
183
    </profile>
184

  
185
  </profiles>
186
  
187
</project>
188

  
0 189

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3

  
4
  <modelVersion>4.0.0</modelVersion>
5
  <artifactId>org.gvsig.raster.lizardtech.app</artifactId>
6
  <packaging>pom</packaging>
7
	<name>Formats: MrSID file format support</name>
8
	<description>Lizardtech data provider (MrSID) for gvSIG</description>
9
	<parent>
10
    <groupId>org.gvsig</groupId>
11
    <artifactId>org.gvsig.raster.lizardtech</artifactId>
12
    <version>2.2.75</version>
13
  </parent>
14
  
15
  <properties>
16
    <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.lizardtech/tags/</svn.tags.folder>
17
    <gvsig.install.plugin>false</gvsig.install.plugin>  
18
        
19
    <gvsig.package.info.state>testing</gvsig.package.info.state>
20
    <gvsig.package.info.official>true</gvsig.package.info.official>
21
    <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
22
    <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
23
		<gvsig.package.info.categories>Raster, Formats</gvsig.package.info.categories>
24
    <gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/Raster/pool/</gvsig.package.info.poolURL>
25
    <gvsig.package.info.dependencies />
26
    <gvsig.package.info.code>org.gvsig.raster.lizardtech.app</gvsig.package.info.code>
27
    <gvsig.package.info.codealias />
28
    <gvsig.package.info.name>${project.parent.name}</gvsig.package.info.name>
29
    <gvsig.package.info.description>${project.parent.description}</gvsig.package.info.description>
30
    <gvsig.install.plugin>false</gvsig.install.plugin>    
31
		<gvsig.package.info.dependencies>required: org.gvsig.raster.tilecache.app -ge 2</gvsig.package.info.dependencies>
32

  
33
  </properties>
34
  
35
  <modules>
36
    <module>org.gvsig.raster.lizardtech.app.common</module>
37
    <module>org.gvsig.raster.lizardtech.app.lin.x86</module>
38
    <module>org.gvsig.raster.lizardtech.app.lin.x86_64</module>
39
    <module>org.gvsig.raster.lizardtech.app.win.x86</module>
40
  </modules>
41

  
42

  
43
</project>
44

  
0 45

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.win.x86/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.raster.lizardtech.app.win.x86</artifactId>
5
  <packaging>jar</packaging>
6

  
7
 	<parent>
8
		<groupId>org.gvsig</groupId>
9
		<artifactId>org.gvsig.raster.lizardtech.app</artifactId>
10
    <version>2.2.75</version>
11
	</parent>
12

  
13
  <properties>
14
    <gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem>
15
    <gvsig.package.info.architecture>x86</gvsig.package.info.architecture>
16

  
17
    <jmrsid.classifier>win-nt-vs8-i386-dynamic</jmrsid.classifier>
18
    <jmrsid.version>2.0.0</jmrsid.version>
19

  
20
    <mrsid.classifier>win-nt-vs8-i386-dynamic</mrsid.classifier>
21
    <mrsid.version>7.0.0.2164</mrsid.version>
22

  
23
    <visualcppredist1.classifier>win-nt-vs8-i386-dynamic</visualcppredist1.classifier>
24
    <visualcppredist1.version>2008</visualcppredist1.version>
25

  
26
    <visualcppredist2.classifier>win-nt-vs9-i386-dynamic</visualcppredist2.classifier>
27
    <visualcppredist2.version>9.0.21022.8</visualcppredist2.version>
28

  
29

  
30
  </properties>
31

  
32
  <dependencyManagement>
33
      <dependencies>
34
       <dependency>
35
            <groupId>org.gvsig</groupId>
36
            <artifactId>org.gvsig.jmrsid</artifactId>
37
            <version>${jmrsid.version}</version>
38
            <classifier>${jmrsid.classifier}</classifier>
39
            <type>tar.gz</type>
40
        </dependency>
41

  
42
         <dependency>
43
	          <groupId>com.lizardtech</groupId>
44
	          <artifactId>mrsid</artifactId>
45
            <classifier>${mrsid.classifier}</classifier>
46
            <version>${mrsid.version}</version>
47
            <type>tar.gz</type>
48
	    </dependency>
49

  
50
	    <dependency>
51
		    <groupId>com.microsoft</groupId>
52
		    <artifactId>visualcppredist</artifactId>
53
		    <version>${visualcppredist1.version}</version>
54
		    <classifier>${visualcppredist1.classifier}</classifier>
55
		    <type>tar.gz</type>
56
	    </dependency>
57

  
58
	    <dependency>
59
		    <groupId>com.microsoft</groupId>
60
		    <artifactId>visualcppredist</artifactId>
61
		    <version>${visualcppredist2.version}</version>
62
		    <classifier>${visualcppredist2.classifier}</classifier>
63
		    <type>tar.gz</type>
64
	    </dependency>
65

  
66
    </dependencies>
67
  </dependencyManagement>
68

  
69
  <dependencies>
70

  
71
    <dependency>
72
      <groupId>org.gvsig</groupId>
73
      <artifactId>org.gvsig.raster.lizardtech.app.common</artifactId>
74
      <type>zip</type>
75
    </dependency>
76
    <dependency>
77
			<groupId>org.gvsig</groupId>
78
			<artifactId>org.gvsig.andami</artifactId>
79
			<scope>compile</scope>
80
		</dependency>
81
		<dependency>
82
			<groupId>org.gvsig</groupId>
83
			<artifactId>org.gvsig.raster.lizardtech.io</artifactId>
84
			<scope>runtime</scope>
85
		</dependency>
86

  
87

  
88

  
89
		<dependency>
90
			  <groupId>org.gvsig</groupId>
91
        <artifactId>org.gvsig.jmrsid</artifactId>
92
        <version>${jmrsid.version}</version>
93
        <scope>compile</scope>
94
		</dependency>
95
    <dependency>
96
        <groupId>org.gvsig</groupId>
97
        <artifactId>org.gvsig.jmrsid</artifactId>
98
        <version>${jmrsid.version}</version>
99
        <classifier>${jmrsid.classifier}</classifier>
100
        <type>tar.gz</type>
101
        <scope>runtime</scope>
102
    </dependency>
103
    <dependency>
104
        <groupId>com.lizardtech</groupId>
105
        <artifactId>mrsid</artifactId>
106
        <classifier>${mrsid.classifier}</classifier>
107
        <version>${mrsid.version}</version>
108
        <type>tar.gz</type>
109
        <scope>runtime</scope>
110
    </dependency>
111

  
112
    <dependency>
113
	    <groupId>com.microsoft</groupId>
114
	    <artifactId>visualcppredist</artifactId>
115
	    <version>${visualcppredist1.version}</version>
116
	    <classifier>${visualcppredist1.classifier}</classifier>
117
	    <type>tar.gz</type>
118
    </dependency>
119
    <dependency>
120
	    <groupId>com.microsoft</groupId>
121
	    <artifactId>visualcppredist</artifactId>
122
	    <version>${visualcppredist2.version}</version>
123
	    <classifier>${visualcppredist2.classifier}</classifier>
124
	    <type>tar.gz</type>
125
    </dependency>
126

  
127

  
128
  </dependencies>
129

  
130
  <build>
131
    <plugins>
132

  
133
      <plugin>
134
        <groupId>org.apache.maven.plugins</groupId>
135
        <artifactId>maven-dependency-plugin</artifactId>
136
        <executions>
137
          <execution>
138
          	<id>unpack</id>
139
	        <phase>process-sources</phase>
140
	        <goals>
141
	          <goal>unpack</goal>
142
	        </goals>
143
	        <configuration>
144
	          <artifactItems>
145

  
146
	            <artifactItem>
147
		            <groupId>org.gvsig</groupId>
148
		            <artifactId>org.gvsig.raster.lizardtech.app.common</artifactId>
149
		            <type>zip</type>
150
					      <overWrite>true</overWrite>
151
					      <outputDirectory>target</outputDirectory>
152
	            </artifactItem>
153

  
154
	            <artifactItem>
155
                <groupId>org.gvsig</groupId>
156
                <artifactId>org.gvsig.jmrsid</artifactId>
157
                <version>${jmrsid.version}</version>
158
                <classifier>${jmrsid.classifier}</classifier>
159
                <type>tar.gz</type>
160
					      <overWrite>true</overWrite>
161
					      <outputDirectory>target/native/jmrsid</outputDirectory>
162
	            </artifactItem>
163

  
164
	            <artifactItem>
165
                <groupId>com.lizardtech</groupId>
166
                <artifactId>mrsid</artifactId>
167
                <classifier>${mrsid.classifier}</classifier>
168
                <version>${mrsid.version}</version>
169
                <type>tar.gz</type>
170
					      <overWrite>true</overWrite>
171
					      <outputDirectory>target/native/mrsid</outputDirectory>
172
	            </artifactItem>
173

  
174
	            <artifactItem>
175
		      <groupId>com.microsoft</groupId>
176
		      <artifactId>visualcppredist</artifactId>
177
		      <version>${visualcppredist1.version}</version>
178
		      <classifier>${visualcppredist1.classifier}</classifier>
179
		      <type>tar.gz</type>
180
		      <overWrite>true</overWrite>
181
		      <outputDirectory>target/native/msv80</outputDirectory>
182
	            </artifactItem>
183

  
184
	            <artifactItem>
185
		      <groupId>com.microsoft</groupId>
186
		      <artifactId>visualcppredist</artifactId>
187
		      <version>${visualcppredist2.version}</version>
188
		      <classifier>${visualcppredist2.classifier}</classifier>
189
		      <type>tar.gz</type>
190
		      <overWrite>true</overWrite>
191
		      <outputDirectory>target/native/msv90</outputDirectory>
192
	            </artifactItem>
193

  
194
	          </artifactItems>
195
	        </configuration>
196
          </execution>
197
        </executions>
198
	  </plugin>
199

  
200

  
201
    </plugins>
202
  </build>
203

  
204
  <!--
205
  The profiles only configure the automatic deploy of gvSIG plugin in the gvSIG
206
  configured in HOME/.gvsig-devel.properties
207
  -->
208
  <profiles>
209

  
210
    <profile>
211
      <id>gvsig-plugin-install-raster-windows-x86</id>
212
      <activation>
213
         <os>
214
             <family>windows</family>
215
             <!-- Uncomment this when have support for amd64 -->
216
             <!--
217
             <arch>x86</arch>
218
             -->
219
         </os>
220
      </activation>
221
	  <properties>
222
	    <gvsig.install.plugin>true</gvsig.install.plugin>
223
	  </properties>
224
    </profile>
225

  
226
  </profiles>
227

  
228
</project>
229

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.win.x86/buildNumber.properties
1
#Mon Jan 28 18:19:49 CET 2019
2
buildNumber=128
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.win.x86/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 gvSIG Association.
6

  
7
    This program is free software; you can redistribute it and/or
8
    modify it under the terms of the GNU General Public License
9
    as published by the Free Software Foundation; either version 3
10
    of the License, or (at your option) any later version.
11

  
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16

  
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
    MA  02110-1301, USA.
21

  
22
    For any additional information, do not hesitate to contact us
23
    at info AT gvsig.com, or visit our website www.gvsig.com.
24

  
25
-->
26
<assembly>
27
  <id>gvsig-plugin-package</id>
28
  <formats>
29
    <format>zip</format>
30
  </formats>
31
  <baseDirectory>${gvsig.package.info.code}</baseDirectory>
32
  <includeBaseDirectory>true</includeBaseDirectory>
33
  <files>
34
    <file>
35
        <source>target/package.info</source>
36
    </file>
37
  </files>
38

  
39
  <fileSets>
40
    <fileSet>
41
      <directory>target/org.gvsig.raster.lizardtech.app.common</directory>
42
      <outputDirectory>.</outputDirectory>
43
      <excludes>
44
      	<exclude>package.info</exclude>
45
      </excludes>
46
    </fileSet>
47
    <fileSet>
48
      <directory>target/native/msv80</directory>
49
      <outputDirectory>./msv80</outputDirectory>
50
    </fileSet>
51
    <fileSet>
52
      <directory>target/native/msv90</directory>
53
      <outputDirectory>./msv90</outputDirectory>
54
    </fileSet>
55
    <fileSet>
56
      <directory>target/native/mrsid</directory>
57
      <outputDirectory>./mrsid</outputDirectory>
58
    </fileSet>
59
    <fileSet>
60
      <directory>target/native/jmrsid</directory>
61
      <outputDirectory>./jmrsid</outputDirectory>
62
    </fileSet>
63
    <fileSet>
64
      <directory>src/main/resources-plugin</directory>
65
      <outputDirectory>.</outputDirectory>
66
    </fileSet>
67
  </fileSets>
68

  
69

  
70
  <dependencySets>
71
    <dependencySet>
72
      <useProjectArtifact>false</useProjectArtifact>
73
      <useTransitiveDependencies>false</useTransitiveDependencies>
74
      <outputDirectory>lib</outputDirectory>
75
		<includes>
76
  		 <include>org.gvsig:org.gvsig.jmrsid:jar</include>
77
		</includes>
78
    </dependencySet>
79
  </dependencySets>
80

  
81
</assembly>
82

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.win.x86/src/main/resources-plugin/autorun.sh
1
#!/bin/sh
2
#
3
# gvSIG. Desktop Geographic Information System.
4
#
5
# Copyright (C) 2007-2013 gvSIG Association.
6
#
7
# This program is free software; you can redistribute it and/or
8
# modify it under the terms of the GNU General Public License
9
# as published by the Free Software Foundation; either version 3
10
# of the License, or (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
# MA  02110-1301, USA.
21
#
22
# For any additional information, do not hesitate to contact us
23
# at info AT gvsig.com, or visit our website www.gvsig.com.
24
#
25

  
26

  
27
#
28
# Plugin autorun
29
#
30

  
31
PLUGIN_NAME=$(basename "$PLUGIN_FOLDER")
32

  
33
add_library_path "$PLUGIN_FOLDER/jmrsid/bin"
34
add_library_path "$PLUGIN_FOLDER/mrsid/bin"
35
add_library_path "$PLUGIN_FOLDER/msv80/bin"
36
add_library_path "$PLUGIN_FOLDER/msv90/bin"
37

  
38
list_shared_library_dependencies "$PLUGIN_FOLDER/jmrsid/bin/"jmrsid*.dll
0 39

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86/src/main/resources-plugin/autorun.sh
1
#!/bin/sh
2
#
3
# gvSIG. Desktop Geographic Information System.
4
#
5
# Copyright (C) 2007-2013 gvSIG Association.
6
#
7
# This program is free software; you can redistribute it and/or
8
# modify it under the terms of the GNU General Public License
9
# as published by the Free Software Foundation; either version 3
10
# of the License, or (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
# MA  02110-1301, USA.
21
#
22
# For any additional information, do not hesitate to contact us
23
# at info AT gvsig.com, or visit our website www.gvsig.com.
24
#
25

  
26

  
27
#
28
# Plugin autorun
29
# 
30

  
31
PLUGIN_NAME=$(basename "$PLUGIN_FOLDER")
32

  
33
add_library_path "$PLUGIN_FOLDER/jmrsid/lib"
34

  
35
list_shared_library_dependencies "$PLUGIN_FOLDER/jmrsid/lib/"libjmrsid*
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 gvSIG Association.
6

  
7
    This program is free software; you can redistribute it and/or
8
    modify it under the terms of the GNU General Public License
9
    as published by the Free Software Foundation; either version 3
10
    of the License, or (at your option) any later version.
11

  
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16

  
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
    MA  02110-1301, USA.
21

  
22
    For any additional information, do not hesitate to contact us
23
    at info AT gvsig.com, or visit our website www.gvsig.com.
24

  
25
-->
26
<assembly>
27
  <id>gvsig-plugin-package</id>
28
  <formats>
29
    <format>zip</format>
30
  </formats>
31
  <baseDirectory>${gvsig.package.info.code}</baseDirectory>
32
  <includeBaseDirectory>true</includeBaseDirectory>
33
  <files>
34
    <file>
35
      <source>target/package.info</source>
36
    </file>
37
  </files>
38

  
39
  <fileSets>
40
    <fileSet>
41
      <directory>target/org.gvsig.raster.lizardtech.app.common</directory>
42
      <outputDirectory>.</outputDirectory>
43
      <excludes>
44
      	<exclude>package.info</exclude>
45
      </excludes>
46
    </fileSet>
47
    <fileSet>
48
      <directory>target/native/jmrsid</directory>
49
      <outputDirectory>./jmrsid</outputDirectory>
50
    </fileSet>
51
    <fileSet>
52
      <directory>src/main/resources-plugin</directory>
53
      <outputDirectory>.</outputDirectory>
54
    </fileSet>
55
  </fileSets>
56

  
57

  
58
  <dependencySets>
59
    <dependencySet>
60
      <useProjectArtifact>false</useProjectArtifact>
61
      <useTransitiveDependencies>false</useTransitiveDependencies>
62
      <outputDirectory>lib</outputDirectory>
63
		<includes>
64
            <include>org.gvsig:org.gvsig.jmrsid:jar</include>
65
		</includes>
66
    </dependencySet>
67
  </dependencySets>
68

  
69
</assembly>
70

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.raster.lizardtech.app.lin.x86</artifactId>
5
  <packaging>jar</packaging>
6
   
7
 	<parent>
8
		<groupId>org.gvsig</groupId>
9
		<artifactId>org.gvsig.raster.lizardtech.app</artifactId>
10
    <version>2.2.75</version>
11
	</parent>
12

  
13
  <properties>
14
    <gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
15
    <gvsig.package.info.architecture>x86</gvsig.package.info.architecture>
16
    
17
    <jmrsid.classifier>linux-all-gcc4-i386-dynamic</jmrsid.classifier>
18
    <jmrsid.version>2.0.0</jmrsid.version>
19
    
20
    <!--
21
    No hay version dinamica de la libreria de mrsid, esta enlazada staticamente
22
    en jmrsid.
23
    <mrsid.classifier >linux-all-gcc4-i386-dynamic</mrsid.classifier>
24
 		<mrsid.version>7.0.0.2164</mrsid.version>    
25
 		-->
26
  </properties>
27

  
28
  <dependencyManagement>
29
      <dependencies>
30
       <dependency>
31
            <groupId>org.gvsig</groupId>
32
            <artifactId>org.gvsig.jmrsid</artifactId>
33
            <version>${jmrsid.version}</version>
34
            <classifier>${jmrsid.classifier}</classifier>
35
            <type>tar.gz</type>
36
        </dependency>
37
        
38
        <!--    
39
         <dependency>
40
	          <groupId>com.lizardtech</groupId>
41
	          <artifactId>mrsid</artifactId>
42
            <classifier>${mrsid.classifier}</classifier>
43
            <version>${mrsid.version}</version>
44
            <type>tar.gz</type>
45
	      </dependency>      
46
        -->
47
      
48
    </dependencies>
49
  </dependencyManagement>
50

  
51
  <dependencies>
52
  
53
    <dependency>
54
      <groupId>org.gvsig</groupId>
55
      <artifactId>org.gvsig.raster.lizardtech.app.common</artifactId>
56
      <type>zip</type>
57
    </dependency>
58
    <dependency>
59
			<groupId>org.gvsig</groupId>
60
			<artifactId>org.gvsig.andami</artifactId>
61
			<scope>compile</scope>
62
		</dependency>
63
		<dependency>
64
			<groupId>org.gvsig</groupId>
65
			<artifactId>org.gvsig.raster.lizardtech.io</artifactId>
66
			<scope>runtime</scope>
67
		</dependency>
68

  
69

  
70

  
71
		<dependency>
72
			  <groupId>org.gvsig</groupId>
73
        <artifactId>org.gvsig.jmrsid</artifactId>
74
        <version>${jmrsid.version}</version>
75
        <scope>compile</scope>
76
		</dependency>
77
    <dependency>
78
        <groupId>org.gvsig</groupId>
79
        <artifactId>org.gvsig.jmrsid</artifactId>
80
        <version>${jmrsid.version}</version>
81
        <classifier>${jmrsid.classifier}</classifier>
82
        <type>tar.gz</type>
83
        <scope>runtime</scope>
84
    </dependency>
85
    
86
    <!--
87
    <dependency>
88
        <groupId>com.lizardtech</groupId>
89
        <artifactId>mrsid</artifactId>
90
        <classifier>${mrsid.classifier}</classifier>
91
        <version>${mrsid.version}</version>
92
        <type>tar.gz</type>
93
        <scope>runtime</scope>
94
    </dependency>
95
    -->
96
    
97
  </dependencies>
98

  
99
  <build>
100
    <plugins>
101
  
102
      <plugin>
103
        <groupId>org.apache.maven.plugins</groupId>
104
        <artifactId>maven-dependency-plugin</artifactId>
105
        <executions>
106
          <execution>
107
          	<id>unpack</id>
108
	        <phase>process-sources</phase>
109
	        <goals>
110
	          <goal>unpack</goal>
111
	        </goals>
112
	        <configuration>
113
	          <artifactItems>
114
	            <artifactItem>
115
		            <groupId>org.gvsig</groupId>
116
		            <artifactId>org.gvsig.raster.lizardtech.app.common</artifactId>
117
		            <type>zip</type>
118
					      <overWrite>true</overWrite>
119
					      <outputDirectory>target</outputDirectory>
120
	            </artifactItem>
121
	            
122
	            <artifactItem>
123
                <groupId>org.gvsig</groupId>
124
                <artifactId>org.gvsig.jmrsid</artifactId>
125
                <version>${jmrsid.version}</version>
126
                <classifier>${jmrsid.classifier}</classifier>
127
                <type>tar.gz</type>
128
					      <overWrite>true</overWrite>
129
					      <outputDirectory>target/native/jmrsid</outputDirectory>
130
	            </artifactItem>
131
	     
132
	            <!--       
133
	            <artifactItem>
134
                <groupId>com.lizardtech</groupId>
135
                <artifactId>mrsid</artifactId>
136
                <classifier>${mrsid.classifier}</classifier>
137
                <version>${mrsid.version}</version>
138
                <type>tar.gz</type>
139
					      <overWrite>true</overWrite>
140
					      <outputDirectory>target/native/mrsid</outputDirectory>
141
	            </artifactItem>
142
	            -->
143
	            
144
	          </artifactItems>
145
	        </configuration>
146
          </execution>
147
        </executions>
148
	  </plugin>
149
  
150
  
151
    </plugins>
152
  </build>
153

  
154
  <!-- 
155
  The profiles only configure the automatic deploy of gvSIG plugin in the gvSIG
156
  configured in HOME/.gvsig-devel.properties
157
  -->
158
  <profiles>
159
  
160
    <profile>
161
      <id>gvsig-plugin-install-raster-linux-x86</id>
162
      <activation>
163
         <os>
164
             <family>unix</family>
165
             <name>linux</name>
166
             <arch>x86</arch>
167
         </os>
168
      </activation>
169
	    <properties>
170
	      <gvsig.install.plugin>true</gvsig.install.plugin>
171
	    </properties>
172
    </profile>
173

  
174
    <profile>
175
      <id>gvsig-plugin-install-raster-linux-i386</id>
176
      <activation>
177
         <os>
178
             <family>unix</family>
179
             <name>linux</name>
180
             <arch>i386</arch>
181
         </os>
182
      </activation>
183
      <properties>
184
         <gvsig.install.plugin>true</gvsig.install.plugin>
185
      </properties>
186
    </profile>
187

  
188
  </profiles>
189
  
190
</project>
191

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.lin.x86/buildNumber.properties
1
#Mon Jan 28 18:19:48 CET 2019
2
buildNumber=128
0 3

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.common/src/main/resources-plugin/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="org.gvsig.raster.mainplugin" />
4
	<depends plugin-name="org.gvsig.raster.tilecache.app" optional="true" />
5
	<libraries library-dir="lib"/>
6
	<resourceBundle name="text"/>
7
	<extensions>
8
		<extension class-name="org.gvsig.raster.lizardtech.app.LizardTechExtension"
9
			description=""
10
			active="true"
11
			priority="1">
12
		</extension>
13
	</extensions>
14
</plugin-config>
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.common/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 gvSIG Association.
6

  
7
    This program is free software; you can redistribute it and/or
8
    modify it under the terms of the GNU General Public License
9
    as published by the Free Software Foundation; either version 3
10
    of the License, or (at your option) any later version.
11

  
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16

  
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
    MA  02110-1301, USA.
21

  
22
    For any additional information, do not hesitate to contact us
23
    at info AT gvsig.com, or visit our website www.gvsig.com.
24

  
25
-->
26
<assembly>
27
  <id>gvsig-plugin-package</id>
28
  <formats>
29
    <format>zip</format>
30
  </formats>
31
  <baseDirectory>${project.artifactId}</baseDirectory>
32
  <includeBaseDirectory>true</includeBaseDirectory>
33
  <files>
34
    <file>
35
      <source>target/${project.artifactId}-${project.version}.jar</source>
36
      <outputDirectory>lib</outputDirectory>
37
    </file>
38
    <file>
39
      <source>target/package.info</source>
40
    </file>
41
  </files>
42

  
43
  <fileSets>
44
    <fileSet>
45
      <directory>src/main/resources-plugin</directory>
46
      <outputDirectory>.</outputDirectory>
47
    </fileSet>
48
  </fileSets>
49

  
50

  
51
  <dependencySets>
52
    <dependencySet>
53
      <useProjectArtifact>false</useProjectArtifact>
54
      <useTransitiveDependencies>false</useTransitiveDependencies>
55
      <outputDirectory>lib</outputDirectory>
56
		  <includes>
57
        <include>org.gvsig:org.gvsig.raster.lizardtech.io:jar</include>
58
		  </includes>
59
    </dependencySet>
60
  </dependencySets>
61

  
62
</assembly>
63

  
64

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.common/src/main/java/org/gvsig/raster/lizardtech/app/LizardTechExtension.java
1
/* gvSIG. Geographic Information System of the Valencian Government
2
*
3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4
* of the Valencian Government (CIT)
5
* 
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
* 
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
* GNU General Public License for more details.
15
* 
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
19
* MA  02110-1301, USA.
20
* 
21
*/
22
package org.gvsig.raster.lizardtech.app;
23

  
24
import org.gvsig.andami.plugins.Extension;
25

  
26
/**
27
 * Entry point for this extension 
28
 * @author Nacho Brodin (nachobrodin@gmail.com)
29
 */
30
public class LizardTechExtension extends Extension {
31

  
32
	public void execute(String actionCommand) {
33
	}
34

  
35
	public void initialize() {
36
	}
37
	
38
	public boolean isEnabled() {
39
		return false;
40
	}
41

  
42
	public boolean isVisible() {
43
		return false;
44
	}
45

  
46
}
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.common/pom.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
	<modelVersion>4.0.0</modelVersion>
5
	<artifactId>org.gvsig.raster.lizardtech.app.common</artifactId>
6
	<packaging>jar</packaging>
7
	<name>${project.artifactId}</name>
8
	<description />
9
	<parent>
10
    <groupId>org.gvsig</groupId>
11
    <artifactId>org.gvsig.raster.lizardtech.app</artifactId>
12
    <version>2.2.75</version>
13
  </parent>
14

  
15
	<dependencies>
16
		<dependency>
17
			<groupId>org.gvsig</groupId>
18
			<artifactId>org.gvsig.andami</artifactId>
19
			<scope>compile</scope>
20
		</dependency>
21
    	<dependency>
22
			<groupId>org.gvsig</groupId>
23
			<artifactId>org.gvsig.raster.lizardtech.io</artifactId>
24
      <scope>runtime</scope>
25
		</dependency>
26
		<dependency>
27
			<groupId>org.gvsig</groupId>
28
			<artifactId>org.gvsig.jmrsid</artifactId>
29
      <scope>compile</scope>
30
		</dependency>
31
	</dependencies>
32
	
33
  <properties>
34
      <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
35
      <gvsig.install.plugin>false</gvsig.install.plugin>
36
      <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
37
      <gvsig.install.plugin.package>false</gvsig.install.plugin.package>
38
  </properties>		
39
</project>
40

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.app/org.gvsig.raster.lizardtech.app.common/buildNumber.properties
1
#Mon Jan 28 18:19:48 CET 2019
2
buildNumber=128
0 3

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.jni/readme.txt
1
Notas de compilaci?n de la librer?a jmrsid.
2

  
3
La compilaci?n de la librer?a jmrsid se realiza autom?ticamente ejecutando el build.xml
4
del proyecto. Para ello el sistema tiene que tener instalado y accesible:
5

  
6
- CMake - Probado con la versi?n 2.4
7
- Compilador gcc - g++ en el caso de Linux - La versi?n de dicho compilador tiene que ser
8
  compatible con el SDK que disponga el usuario. Se ha compilado con gcc 3.3
9
- Entorno de desarrollo Visual Studio en caso de Windows con las variables de
10
  entorno cargadas. La versi?n del compilador tambi?n depende del SDK que el ususario
11
  tenga. - Compilado con Visual Studio 2005
12
- SDK de LizardTech instalado y accesible. Si el SDK est? en alguna ruta distinta a las que
13
  se incluyen en el archivo FindMRSID, habr? que a?adirla a dicho archivo o instalar el SDK
14
  en alguna de las indicadas.
15
- JDK de Java.
16

  
17
Con ejecutar el build.xml es suficiente para generar la librer?a y el jar.
0 18

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.jni/CMakeLists.txt
1
project(jmrsid)
2

  
3
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
4

  
5
IF(WIN32)
6
    CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
7
ELSE(WIN32)
8
    IF(APPLE)
9
        CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
10
    ELSE(APPLE)
11
        CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR)
12
    ENDIF(APPLE)
13
ENDIF(WIN32)
14

  
15
if(COMMAND cmake_policy)
16
    # Works around warnings libraries linked against that don't
17
    # have absolute paths (e.g. -lpthreads)
18
    cmake_policy(SET CMP0003 NEW)
19

  
20
    # Works around warnings about escaped quotes in ADD_DEFINITIONS
21
    # statements.
22
    cmake_policy(SET CMP0005 NEW)
23

  
24
    # cmake-2.6.1 introduces policy cmp0008 decide how to treat full path libraries that do not appear to be valid library file names
25
    # quote from cvslog "Such libraries worked by accident in the VS IDE and Xcode generators in CMake 2.4 and below."
26
    if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4 AND ${CMAKE_PATCH_VERSION} GREATER 0)
27
        cmake_policy(SET CMP0008 OLD)
28
    endif()
29
endif()
30

  
31
SET(JMRSID_VERSION_MAJOR "2")
32
SET(JMRSID_VERSION_MINOR "0")
33
SET(JMRSID_VERSION_PATCH "0")
34

  
35
SET(VERSION "${JMRSID_VERSION_MAJOR}.${JMRSID_VERSION_MINOR}.${JMRSID_VERSION_PATCH}")
36

  
37
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../build/CMakeModules;${CMAKE_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}")
38

  
39
IF(UNIX OR APPLE)
40
	SET(CMAKE_CXX_FLAGS "-D_REENTRANT")
41
ENDIF()
42

  
43
FIND_PACKAGE(DepMan REQUIRED) 
44
INCLUDE(GeneralMacros) 
45

  
46
CONFIGURE_DEFAULTS()
47

  
48
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
49
  SET(CMAKE_INSTALL_PREFIX
50
    ${DEPMAN_PATH} CACHE PATH "depman path install prefix" FORCE
51
    )
52
ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
53

  
54
FIND_PACKAGE(JNI REQUIRED) 
55
FIND_PACKAGE(MRSID REQUIRED) 
56

  
57
ADD_SUBDIRECTORY(src/main/native)
58

  
59
CONFIGURE_END()
0 60

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.jni/build.xml
1
	<project name="libjni-mrsid" default="main" basedir=".">
2
	<description>
3
		Compila la librería jmrsid
4
	</description>
5
		
6
	<property name="src-java" location="src/main/java" />
7
	<property name="src-test-java" location="src/test/java" />
8
	<property name="jar-dist" location="jar-dist" />
9
	<property name="build" location="bin/" />
10
	<property name="build-test" location="bin-test/" />
11
	<property name="cmake_build" location="BMCMake/" />
12
	<property name="sdk-dir" location="/home/miguel/mrsid/Geo_DSDK-6.0.7.1407" />
13
	<property environment="env"/>
14
	<condition property="jmrsid_version" value="0.0.6">
15
		<os family="unix"/>
16
	</condition>
17
	<condition property="jmrsid_version" value="006">
18
		<os family="windows"/>
19
	</condition>
20
	<property name="jmrsid-jar" location="jmrsid-0.0.6.jar" />
21
	<condition property="cmake_generator" value="'Unix Makefiles'">
22
		<os family="unix"/>
23
	</condition>
24
	<condition property="cmake_generator" value="'NMake Makefiles'">
25
		<os family="windows"/>
26
	</condition>		
27

  
28
	<target name="main" description="compile java code, make jars, prepare and compile natives" depends="clean,jar,prepare-natives,compile-natives">
29
	</target>
30

  
31
	<target name="jar" description="makes jar file">
32
		<mkdir dir="${build}" />
33
		<javac srcdir="${src-java}" destdir="${build}" debug="true" />
34
		<mkdir dir="${jar-dist}" />
35
		<jar jarfile="${jmrsid-jar}" basedir="${build}" includes="es/gva/cit/jmrsid/**" />
36
		<move file="${jmrsid-jar}" todir="${jar-dist}" />
37
	</target>
38

  
39
	<target name="prepare-natives" description="prepares the natives to be compiled">
40
		<mkdir dir="${cmake_build}"/>
41
		<delete file="${cmake_build}/CMakeCache.txt"/>
42
		<exec dir="${cmake_build}" executable="cmake">
43
			<arg line=".." />
44
			<arg line="-G${cmake_generator}" />
45
			<arg line="-DMRSID_DIR=${sdk-dir}" />
46
			<arg line="-DCMAKE_BUILD_TYPE=Release" />
47
			<arg line="-DJMRSID_VERSION=${jmrsid_version}" />
48
		</exec>
49
	</target>
50

  
51
	<target name="compile-natives" description="compiles natives">
52
		<exec dir="${cmake_build}" executable="make" os="Linux">
53
			<arg line="install" />
54
		</exec>
55
		<exec dir="${cmake_build}" executable="nmake" os="Windows 98,Windows 2000,Windows XP,Windows NT (Unknown)">
56
			<arg line="install" />
57
		</exec>
58
	</target>
59

  
60
		
61
	<target name="clean" description="clean distribution">
62
		<delete dir="jar-dist"/>
63
		<delete dir="lib-dist"/>
64
		<delete dir="BMCMake"/>
65
	</target>
66

  
67
</project>
0 68

  
org.gvsig.raster.lizardtech/tags/org.gvsig.raster.lizardtech-2.2.75/org.gvsig.raster.lizardtech.jni/depman.xml
1
<depman>
2
	<package>
3
		<group>org.gvsig</group>
4
		<artifact>org.gvsig.jmrsid</artifact>
5
		<version>2.0.0-SNAPSHOT</version>
6
		<libraryType>dynamic</libraryType>
7
	</package>
8
 	<dependencies platform="win, mac, linux">
9
 		<dependency>
10
			<group>com.lizardtech</group>
11
			<artifact>mrsid</artifact>
12
			<version>7.0.0.2164</version>
13
			<type>dynamic</type>
14
		</dependency>
15
	</dependencies>
16
</depman>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff