proj4rb 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ 0.4.3 (August 30, 2011)
2
+ - Remove Rake depedency in specfile
3
+
4
+ 0.4.2 (August 15, 2011)
5
+ - Minor build tweak to support MSVC++
6
+
7
+ 0.4.1 (July 30, 2011)
8
+ - Search first for binaries when using windows gems
9
+ - Add # encoding to test files
10
+ - Reformat tests files to use standard ruby 2 space indenting
11
+
12
+ 0.4.0 (July 30, 2011)
13
+ - Update to compile on Ruby 1.9.* (Fabio Renzo Panettieri)
14
+ - Add in gemspec file (Charlie Savage)
15
+ - Add rake-compiler as development dependency, remove older MinGW build system (Charlie Savage)
16
+ - Move to GitHub (Charlie Savage)
17
+
18
+ 0.3.1 (December 23, 2009)
19
+ - Update extconf.conf file to be more flexible to make it easier to build
20
+ on OS X when using MacPorts
21
+ - Updated windows binary to link against proj4.7
22
+
23
+ 0.3.0 (August 14, 2008)
24
+ - Removed Proj4::UV class which was previously deprecated
25
+ - New build infrastructure for Windows (Charlie Savage)
26
+ - Fixed memory leaks in forward() and inverse() methods (Charlie Savage)
27
+
28
+
@@ -0,0 +1,34 @@
1
+ # encoding: utf-8
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'proj4rb'
5
+ spec.version = "0.4.3"
6
+ spec.summary = "Ruby bindings for the Proj.4 Carthographic Projection library"
7
+ spec.description = <<-EOF
8
+ Proj4rb is a ruby binding for the Proj.4 Carthographic Projection library, that supports conversions between a very large number of geographic coordinate systems and datumspec.
9
+ EOF
10
+ spec.platform = Gem::Platform::RUBY
11
+ spec.authors = ['Guilhem Vellut', 'Jochen Topf', 'Charlie Savage']
12
+ spec.homepage = 'https://github.com/cfis/proj4rb'
13
+ spec.rubyforge_project = 'proj4rb'
14
+ spec.required_ruby_version = '>= 1.8.7'
15
+ spec.date = DateTime.now
16
+ spec.requirements << 'Proj.4 C library'
17
+ spec.require_path = 'lib'
18
+ spec.extensions = ["ext/extconf.rb"]
19
+ spec.files = Dir.glob(['Changelog',
20
+ 'MIT-LICENSE',
21
+ 'proj4rb.gemspec',
22
+ 'Rakefile',
23
+ 'README.rdoc',
24
+ 'data/**/*',
25
+ 'example/**/*',
26
+ 'ext/*.c',
27
+ 'ext/*.rb',
28
+ 'ext/vc/*.sln',
29
+ 'ext/vc/*.vcproj',
30
+ 'lib/**/*.rb'])
31
+
32
+ spec.test_files = Dir.glob('test/test*.rb')
33
+ spec.add_development_dependency('rake-compiler')
34
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proj4rb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 2
10
- version: 0.4.2
9
+ - 3
10
+ version: 0.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Guilhem Vellut
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-08-15 00:00:00 Z
20
+ date: 2011-08-30 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: rake-compiler
@@ -42,9 +42,11 @@ extensions:
42
42
  extra_rdoc_files: []
43
43
 
44
44
  files:
45
+ - Changelog
46
+ - MIT-LICENSE
47
+ - proj4rb.gemspec
45
48
  - Rakefile
46
49
  - README.rdoc
47
- - MIT-LICENSE
48
50
  - data/conus
49
51
  - data/epsg
50
52
  - data/epsg-deprecated
@@ -76,16 +78,8 @@ files:
76
78
  - example/list-projection-types.rb
77
79
  - example/list-units.rb
78
80
  - example/version.rb
79
- - ext/extconf.rb
80
- - ext/Makefile
81
- - ext/proj4_ruby-i386-mswin32_100.def
82
- - ext/proj4_ruby-i386-mswin32_100.exp
83
- - ext/proj4_ruby-i386-mswin32_100.lib
84
- - ext/proj4_ruby-i386-mswin32_100.pdb
85
- - ext/proj4_ruby.so
86
81
  - ext/projrb.c
87
- - ext/projrb.obj
88
- - ext/vc100.pdb
82
+ - ext/extconf.rb
89
83
  - ext/vc/proj4_ruby.sln
90
84
  - ext/vc/proj4_ruby.vcproj
91
85
  - lib/proj4.rb
@@ -132,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
126
  requirements:
133
127
  - Proj.4 C library
134
128
  rubyforge_project: proj4rb
135
- rubygems_version: 1.8.6
129
+ rubygems_version: 1.8.10
136
130
  signing_key:
137
131
  specification_version: 3
138
132
  summary: Ruby bindings for the Proj.4 Carthographic Projection library
@@ -1,284 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- # V=0 quiet, V=1 verbose. other values don't work.
5
- V = 1
6
- Q1 = $(V:1=)
7
- Q = $(Q1:0=@)
8
- n=$(NULLCMD)
9
- ECHO1 = $(V:1=@echo)
10
- ECHO = $(ECHO1:0=@echo)
11
-
12
- #### Start of system configuration section. ####
13
-
14
- srcdir = .
15
- topdir = C:/MinGW/local/ruby/include/ruby-1.9.1
16
- hdrdir = C:/MinGW/local/ruby/include/ruby-1.9.1
17
- arch_hdrdir = C:/MinGW/local/ruby/include/ruby-1.9.1/$(arch)
18
- VPATH = $(srcdir);$(arch_hdrdir)/ruby;$(hdrdir)/ruby
19
-
20
- DESTDIR = C:
21
- prefix = $(DESTDIR)/MinGW/local/ruby
22
- exec_prefix = $(prefix)
23
- rubylibprefix = $(prefix)/lib/$(RUBY_BASE_NAME)
24
- bindir = $(exec_prefix)/bin
25
- sbindir = $(exec_prefix)/sbin
26
- libexecdir = $(exec_prefix)/libexec
27
- datadir = $(prefix)/share
28
- sysconfdir = $(prefix)/etc
29
- sharedstatedir = $(DESTDIR)/etc
30
- localstatedir = $(DESTDIR)/var
31
- libdir = $(exec_prefix)/lib
32
- includedir = $(prefix)/include
33
- oldincludedir = $(DESTDIR)/usr/include
34
- infodir = $(datadir)/info
35
- mandir = $(datadir)/man
36
- ridir = $(datadir)/ri
37
- docdir = $(datadir)/doc/$(RUBY_BASE_NAME)
38
- sitedir = $(rubylibprefix)/site_ruby
39
- vendordir = $(rubylibprefix)/vendor_ruby
40
- rubyhdrdir = $(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)
41
- sitehdrdir = $(rubyhdrdir)/site_ruby
42
- vendorhdrdir = $(rubyhdrdir)/vendor_ruby
43
- rubylibdir = $(rubylibprefix)/$(ruby_version)
44
- archdir = $(rubylibdir)/$(arch)
45
- sitelibdir = $(sitedir)/$(ruby_version)
46
- sitearchdir = $(sitelibdir)/$(sitearch)
47
- vendorlibdir = $(vendordir)/$(ruby_version)
48
- vendorarchdir = $(vendorlibdir)/$(sitearch)
49
-
50
- NULLCMD =
51
-
52
- CC = cl -nologo
53
- CXX = $(CC)
54
- LIBRUBY = $(RUBY_SO_NAME).lib
55
- LIBRUBY_A = $(RUBY_SO_NAME)-static.lib
56
- LIBRUBYARG_SHARED = $(LIBRUBY)
57
- LIBRUBYARG_STATIC = $(LIBRUBY_A)
58
- OUTFLAG = -Fe
59
- COUTFLAG = -Fo
60
-
61
- RUBY_EXTCONF_H =
62
- cflags =
63
- optflags =
64
- debugflags =
65
- warnflags =
66
- CFLAGS = -MD -Zi -W2 -wd4996 -we4028 -we4142 -O2sy- -Zm600
67
- INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
68
- DEFS =
69
- CPPFLAGS = -DHAVE_PROJ_API_H
70
- CXXFLAGS = $(CFLAGS) -MD -Zi -W2 -wd4996 -we4028 -we4142 -O2sy- -Zm600
71
- ldflags = -incremental:no -debug -opt:ref -opt:icf
72
- dldflags = -incremental:no -debug -opt:ref -opt:icf -dll $(LIBPATH)
73
- ARCH_FLAG =
74
- DLDFLAGS = $(ldflags) $(dldflags)
75
- LDSHARED = cl -nologo -LD
76
- LDSHAREDXX = $(LDSHARED)
77
- AR = lib -nologo
78
- EXEEXT = .exe
79
-
80
- RUBY_BASE_NAME = ruby
81
- RUBY_INSTALL_NAME = ruby
82
- RUBY_SO_NAME = msvcr100-ruby191
83
- arch = i386-mswin32_100
84
- sitearch = i386-msvcr100
85
- ruby_version = 1.9.1
86
- ruby = C:/MinGW/local/ruby/bin/ruby
87
- RUBY = $(ruby:/=\)
88
- RM = $(RUBY) -run -e rm -- -f
89
- RM_RF = $(RUBY) -run -e rm -- -rf
90
- RMDIRS = $(RUBY) -run -e rmdir -- -p
91
- MAKEDIRS = @$(RUBY) -run -e mkdir -- -p
92
- INSTALL = @$(RUBY) -run -e install -- -vp
93
- INSTALL_PROG = $(INSTALL) -m 0755
94
- INSTALL_DATA = $(INSTALL) -m 0644
95
- COPY = @$(RUBY) -run -e cp -- -v
96
-
97
- #### End of system configuration section. ####
98
-
99
- preload =
100
-
101
- libpath = . $(libdir)
102
- LIBPATH = -libpath:. -libpath:$(libdir)
103
- DEFFILE = $(TARGET)-$(arch).def
104
-
105
- CLEANFILES = mkmf.log $(DEFFILE)
106
- DISTCLEANFILES = vc*.pdb
107
- DISTCLEANDIRS =
108
-
109
- extout =
110
- extout_prefix =
111
- target_prefix =
112
- LOCAL_LIBS =
113
- LIBS = $(LIBRUBYARG_SHARED) libproj.lib unicows.lib oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib imagehlp.lib
114
- SRCS = projrb.c
115
- OBJS = projrb.obj
116
- TARGET = proj4_ruby
117
- DLLIB = $(TARGET).so
118
- EXTSTATIC =
119
- STATIC_LIB =
120
-
121
- BINDIR = $(bindir)
122
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
123
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
124
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
125
- HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
126
- ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
127
-
128
- TARGET_SO = $(DLLIB)
129
- CLEANLIBS = $(TARGET).so
130
- CLEANOBJS = *.obj $(TARGET)-$(arch).exp $(TARGET)-$(arch).lib $(TARGET)-$(arch).pdb *.bak
131
-
132
- all: $(DLLIB)
133
- static: $(STATIC_LIB)
134
- .PHONY: all install static install-so install-rb
135
- .PHONY: clean clean-so clean-rb
136
-
137
- clean-rb-default::
138
- clean-rb::
139
- clean-so::
140
- clean: clean-so clean-rb-default clean-rb
141
- @-$(RM) $(CLEANLIBS:/=\) $(CLEANOBJS:/=\) $(CLEANFILES:/=\)
142
-
143
- distclean-rb-default::
144
- distclean-rb::
145
- distclean-so::
146
- distclean: clean distclean-so distclean-rb-default distclean-rb
147
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
148
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES:/=\)
149
- @-$(RMDIRS) $(DISTCLEANDIRS:/=\)
150
-
151
- realclean: distclean
152
- install: install-so install-rb
153
-
154
- install-so: $(RUBYARCHDIR)
155
- install-so: $(RUBYARCHDIR)/$(DLLIB)
156
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
157
- @-$(MAKEDIRS) $(@D:/=\)
158
- $(INSTALL_PROG) $(DLLIB:/=\) $(@D:/=\)
159
- install-rb: pre-install-rb install-rb-default
160
- install-rb-default: pre-install-rb-default
161
- pre-install-rb: Makefile
162
- pre-install-rb-default: Makefile
163
- pre-install-rb-default:
164
- $(ECHO) installing default proj4_ruby libraries
165
- $(RUBYARCHDIR):
166
- $(Q) $(MAKEDIRS) $@
167
-
168
- site-install: site-install-so site-install-rb
169
- site-install-so: install-so
170
- site-install-rb: install-rb
171
-
172
- .SUFFIXES: .c .m .cc .mm .cxx .cpp .obj
173
-
174
- {$(hdrdir)}.cc.obj:
175
- $(ECHO) compiling $(<:\=/)
176
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
177
-
178
- {$(topdir)}.cc.obj:
179
- $(ECHO) compiling $(<:\=/)
180
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
181
-
182
- {$(srcdir)}.cc.obj:
183
- $(ECHO) compiling $(<:\=/)
184
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
185
-
186
- .cc.obj:
187
- $(ECHO) compiling $(<:\=/)
188
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
189
-
190
- {$(hdrdir)}.mm.obj:
191
- $(ECHO) compiling $(<:\=/)
192
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
193
-
194
- {$(topdir)}.mm.obj:
195
- $(ECHO) compiling $(<:\=/)
196
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
197
-
198
- {$(srcdir)}.mm.obj:
199
- $(ECHO) compiling $(<:\=/)
200
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
201
-
202
- .mm.obj:
203
- $(ECHO) compiling $(<:\=/)
204
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
205
-
206
- {$(hdrdir)}.cxx.obj:
207
- $(ECHO) compiling $(<:\=/)
208
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
209
-
210
- {$(topdir)}.cxx.obj:
211
- $(ECHO) compiling $(<:\=/)
212
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
213
-
214
- {$(srcdir)}.cxx.obj:
215
- $(ECHO) compiling $(<:\=/)
216
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
217
-
218
- .cxx.obj:
219
- $(ECHO) compiling $(<:\=/)
220
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
221
-
222
- {$(hdrdir)}.cpp.obj:
223
- $(ECHO) compiling $(<:\=/)
224
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
225
-
226
- {$(topdir)}.cpp.obj:
227
- $(ECHO) compiling $(<:\=/)
228
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
229
-
230
- {$(srcdir)}.cpp.obj:
231
- $(ECHO) compiling $(<:\=/)
232
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
233
-
234
- .cpp.obj:
235
- $(ECHO) compiling $(<:\=/)
236
- $(Q) $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tp$(<:\=/)
237
-
238
- {$(hdrdir)}.c.obj:
239
- $(ECHO) compiling $(<:\=/)
240
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
241
-
242
- {$(topdir)}.c.obj:
243
- $(ECHO) compiling $(<:\=/)
244
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
245
-
246
- {$(srcdir)}.c.obj:
247
- $(ECHO) compiling $(<:\=/)
248
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
249
-
250
- .c.obj:
251
- $(ECHO) compiling $(<:\=/)
252
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
253
-
254
- {$(hdrdir)}.m.obj:
255
- $(ECHO) compiling $(<:\=/)
256
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
257
-
258
- {$(topdir)}.m.obj:
259
- $(ECHO) compiling $(<:\=/)
260
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
261
-
262
- {$(srcdir)}.m.obj:
263
- $(ECHO) compiling $(<:\=/)
264
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
265
-
266
- .m.obj:
267
- $(ECHO) compiling $(<:\=/)
268
- $(Q) $(CC) $(INCFLAGS) $(CFLAGS) $(CPPFLAGS) $(COUTFLAG)$(@) -c -Tc$(<:\=/)
269
-
270
- $(DLLIB): $(DEFFILE) $(OBJS) Makefile
271
- $(ECHO) linking shared-object $(DLLIB)
272
- @-$(RM) $(@:/=\)
273
- $(Q) $(LDSHARED) -Fe$(@) $(OBJS) $(LIBS) $(LOCAL_LIBS) -link $(DLDFLAGS) -implib:$(*F:.so=)-$(arch).lib -pdb:$(*F:.so=)-$(arch).pdb -def:$(DEFFILE)
274
- $(Q) @if exist $(@).manifest $(RUBY) -run -e wait_writable -- -n 10 $(@)
275
- $(Q) @if exist $(@).manifest mt -nologo -manifest $(@).manifest -outputresource:$(@);2
276
- $(Q) @if exist $(@).manifest $(RM) $(@:/=\).manifest
277
-
278
-
279
-
280
- $(DEFFILE):
281
- $(ECHO) generating $(@:\=/)
282
- $(Q) $(RUBY) -e "puts 'EXPORTS', '' + 'Init_$(TARGET)'.sub(/\..*\z/,'')" > $@
283
-
284
- $(OBJS): {.;$(VPATH)}$(hdrdir)/ruby.h {.;$(VPATH)}$(hdrdir)/ruby/defines.h $(arch_hdrdir)/ruby/config.h
@@ -1,2 +0,0 @@
1
- EXPORTS
2
- Init_proj4_ruby
Binary file
Binary file
Binary file