octave-ruby 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -1
- data/octave-ruby.gemspec +2 -2
- metadata +2 -3
- data/ext/octave_api/Makefile +0 -214
data/History.txt
CHANGED
data/octave-ruby.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{octave-ruby}
|
3
|
-
s.version = "2.0.
|
3
|
+
s.version = "2.0.3"
|
4
4
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
6
6
|
s.authors = ["Jonathan Younger"]
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.email = ["jonathan@daikini.com"]
|
10
10
|
s.extensions = ["ext/octave_api/extconf.rb"]
|
11
11
|
s.extra_rdoc_files = ["History.txt", "LICENSE.txt", "Manifest.txt", "README.txt"]
|
12
|
-
s.files = ["History.txt", "LICENSE.txt", "Manifest.txt", "README.txt", "Rakefile", "ext/octave_api/MANIFEST", "ext/octave_api/
|
12
|
+
s.files = ["History.txt", "LICENSE.txt", "Manifest.txt", "README.txt", "Rakefile", "ext/octave_api/MANIFEST", "ext/octave_api/extconf.rb", "ext/octave_api/octave-includes.h", "ext/octave_api/octave-ruby.cpp", "ext/octave_api/octave-ruby.h", "ext/octave_api/octave_api.c", "ext/octave_api/octave_api.h", "ext/octave_api/or-array.cpp", "ext/octave_api/or-array.h", "ext/octave_api/or-boolean_matrix.cpp", "ext/octave_api/or-boolean_matrix.h", "ext/octave_api/or-cell_matrix.cpp", "ext/octave_api/or-cell_matrix.h", "ext/octave_api/or-hash.cpp", "ext/octave_api/or-hash.h", "ext/octave_api/or-matrix.cpp", "ext/octave_api/or-matrix.h", "ext/octave_api/or-string.cpp", "ext/octave_api/or-string.h", "ext/octave_api/or-struct_matrix.cpp", "ext/octave_api/or-struct_matrix.h", "ext/octave_api/or-variable.cpp", "ext/octave_api/or-variable.h", "lib/octave.rb", "lib/octave/driver/native/driver.rb", "lib/octave/engine.rb", "lib/octave/matrix.rb", "lib/octave/version.rb", "octave-ruby.gemspec", "setup.rb", "test/driver/native/test_conversions.rb", "test/driver/native/test_driver.rb", "test/test_engine.rb"]
|
13
13
|
s.has_rdoc = true
|
14
14
|
s.homepage = %q{http://octave-ruby.rubyforge.org/}
|
15
15
|
s.rdoc_options = ["--main", "README.txt"]
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 2.0.
|
8
|
+
- 3
|
9
|
+
version: 2.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jonathan Younger
|
@@ -37,7 +37,6 @@ files:
|
|
37
37
|
- README.txt
|
38
38
|
- Rakefile
|
39
39
|
- ext/octave_api/MANIFEST
|
40
|
-
- ext/octave_api/Makefile
|
41
40
|
- ext/octave_api/extconf.rb
|
42
41
|
- ext/octave_api/octave-includes.h
|
43
42
|
- ext/octave_api/octave-ruby.cpp
|
data/ext/octave_api/Makefile
DELETED
@@ -1,214 +0,0 @@
|
|
1
|
-
|
2
|
-
SHELL = /bin/sh
|
3
|
-
|
4
|
-
# V=0 quiet, V=1 verbose. other values don't work.
|
5
|
-
V = 0
|
6
|
-
Q1 = $(V:1=)
|
7
|
-
Q = $(Q1:0=@)
|
8
|
-
n=$(NULLCMD)
|
9
|
-
ECHO1 = $(V:1=@$n)
|
10
|
-
ECHO = $(ECHO1:0=@echo)
|
11
|
-
|
12
|
-
#### Start of system configuration section. ####
|
13
|
-
|
14
|
-
srcdir = /Volumes/MacintoshHD/Projects/Daikini/octave-ruby/ext/octave_api
|
15
|
-
topdir = /Users/jonathan/.rbenv/versions/1.9.3-p286/include/ruby-1.9.1
|
16
|
-
hdrdir = /Users/jonathan/.rbenv/versions/1.9.3-p286/include/ruby-1.9.1
|
17
|
-
arch_hdrdir = /Users/jonathan/.rbenv/versions/1.9.3-p286/include/ruby-1.9.1/$(arch)
|
18
|
-
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
19
|
-
prefix = $(DESTDIR)/Users/jonathan/.rbenv/versions/1.9.3-p286
|
20
|
-
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
21
|
-
exec_prefix = $(prefix)
|
22
|
-
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
23
|
-
sitehdrdir = $(rubyhdrdir)/site_ruby
|
24
|
-
rubyhdrdir = $(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)
|
25
|
-
vendordir = $(rubylibprefix)/vendor_ruby
|
26
|
-
sitedir = $(rubylibprefix)/site_ruby
|
27
|
-
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
28
|
-
mandir = $(datarootdir)/man
|
29
|
-
localedir = $(datarootdir)/locale
|
30
|
-
libdir = $(exec_prefix)/lib
|
31
|
-
psdir = $(docdir)
|
32
|
-
pdfdir = $(docdir)
|
33
|
-
dvidir = $(docdir)
|
34
|
-
htmldir = $(docdir)
|
35
|
-
infodir = $(datarootdir)/info
|
36
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
37
|
-
oldincludedir = $(DESTDIR)/usr/include
|
38
|
-
includedir = $(prefix)/include
|
39
|
-
localstatedir = $(prefix)/var
|
40
|
-
sharedstatedir = $(prefix)/com
|
41
|
-
sysconfdir = $(prefix)/etc
|
42
|
-
datadir = $(datarootdir)
|
43
|
-
datarootdir = $(prefix)/share
|
44
|
-
libexecdir = $(exec_prefix)/libexec
|
45
|
-
sbindir = $(exec_prefix)/sbin
|
46
|
-
bindir = $(exec_prefix)/bin
|
47
|
-
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
48
|
-
archdir = $(rubylibdir)/$(arch)
|
49
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
50
|
-
sitearchdir = $(sitelibdir)/$(sitearch)
|
51
|
-
vendorlibdir = $(vendordir)/$(ruby_version)
|
52
|
-
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
53
|
-
|
54
|
-
NULLCMD = :
|
55
|
-
|
56
|
-
CC = gcc
|
57
|
-
CXX = g++
|
58
|
-
LIBRUBY = $(LIBRUBY_A)
|
59
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
60
|
-
LIBRUBYARG_SHARED =
|
61
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
62
|
-
empty =
|
63
|
-
OUTFLAG = -o $(empty)
|
64
|
-
COUTFLAG = -o $(empty)
|
65
|
-
|
66
|
-
RUBY_EXTCONF_H =
|
67
|
-
cflags = $(optflags) $(debugflags) $(warnflags)
|
68
|
-
optflags = -O3
|
69
|
-
debugflags = -ggdb
|
70
|
-
warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration
|
71
|
-
CFLAGS = -fno-common $(cflags) -pipe $(ARCH_FLAG)
|
72
|
-
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
73
|
-
DEFS =
|
74
|
-
CPPFLAGS = -DHAVE_OCTAVE_H -I/usr/local/include -I/usr/local/lib/octave -I/usr/local/include/octave-3.6.2/octave -I/usr/local/lib/octave/3.6.2 -I/usr/local/include/octave-3.6.2
|
75
|
-
CXXFLAGS = $(CFLAGS) $(cxxflags)
|
76
|
-
ldflags = -L. -L'/Users/jonathan/.rbenv/versions/1.9.3-p286/lib'
|
77
|
-
dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace
|
78
|
-
ARCH_FLAG =
|
79
|
-
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
80
|
-
LDSHARED = g++ -pipe -bundle
|
81
|
-
LDSHAREDXX = $(CXX) -dynamic -bundle
|
82
|
-
AR = ar
|
83
|
-
EXEEXT =
|
84
|
-
|
85
|
-
RUBY_BASE_NAME = ruby
|
86
|
-
RUBY_INSTALL_NAME = ruby
|
87
|
-
RUBY_SO_NAME = ruby
|
88
|
-
arch = x86_64-darwin12.2.0
|
89
|
-
sitearch = $(arch)
|
90
|
-
ruby_version = 1.9.1
|
91
|
-
ruby = /Users/jonathan/.rbenv/versions/1.9.3-p286/bin/ruby
|
92
|
-
RUBY = $(ruby)
|
93
|
-
RM = rm -f
|
94
|
-
RM_RF = $(RUBY) -run -e rm -- -rf
|
95
|
-
RMDIRS = rmdir -p
|
96
|
-
MAKEDIRS = mkdir -p
|
97
|
-
INSTALL = /usr/bin/install -c
|
98
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
99
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
100
|
-
COPY = cp
|
101
|
-
|
102
|
-
#### End of system configuration section. ####
|
103
|
-
|
104
|
-
preload =
|
105
|
-
|
106
|
-
libpath = . $(libdir) /usr/local/lib/octave /usr/local/lib/octave/3.6.2
|
107
|
-
LIBPATH = -L. -L$(libdir) -L/usr/local/lib/octave -L/usr/local/lib/octave/3.6.2
|
108
|
-
DEFFILE =
|
109
|
-
|
110
|
-
CLEANFILES = mkmf.log
|
111
|
-
DISTCLEANFILES =
|
112
|
-
DISTCLEANDIRS =
|
113
|
-
|
114
|
-
extout =
|
115
|
-
extout_prefix =
|
116
|
-
target_prefix =
|
117
|
-
LOCAL_LIBS =
|
118
|
-
LIBS = -loctinterp -lcruft -loctave -lpthread -ldl -lobjc
|
119
|
-
SRCS = octave_api.c octave-ruby.cpp or-array.cpp or-boolean_matrix.cpp or-cell_matrix.cpp or-hash.cpp or-matrix.cpp or-string.cpp or-struct_matrix.cpp or-variable.cpp
|
120
|
-
OBJS = octave_api.o octave-ruby.o or-array.o or-boolean_matrix.o or-cell_matrix.o or-hash.o or-matrix.o or-string.o or-struct_matrix.o or-variable.o
|
121
|
-
TARGET = octave_api
|
122
|
-
DLLIB = $(TARGET).bundle
|
123
|
-
EXTSTATIC =
|
124
|
-
STATIC_LIB =
|
125
|
-
|
126
|
-
BINDIR = $(bindir)
|
127
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
128
|
-
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
129
|
-
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
130
|
-
HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
|
131
|
-
ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
|
132
|
-
|
133
|
-
TARGET_SO = $(DLLIB)
|
134
|
-
CLEANLIBS = $(TARGET).bundle
|
135
|
-
CLEANOBJS = *.o *.bak
|
136
|
-
|
137
|
-
all: $(DLLIB)
|
138
|
-
static: $(STATIC_LIB)
|
139
|
-
.PHONY: all install static install-so install-rb
|
140
|
-
.PHONY: clean clean-so clean-rb
|
141
|
-
|
142
|
-
clean-rb-default::
|
143
|
-
clean-rb::
|
144
|
-
clean-so::
|
145
|
-
clean: clean-so clean-rb-default clean-rb
|
146
|
-
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
147
|
-
|
148
|
-
distclean-rb-default::
|
149
|
-
distclean-rb::
|
150
|
-
distclean-so::
|
151
|
-
distclean: clean distclean-so distclean-rb-default distclean-rb
|
152
|
-
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
153
|
-
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
154
|
-
@-$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
|
155
|
-
|
156
|
-
realclean: distclean
|
157
|
-
install: install-so install-rb
|
158
|
-
|
159
|
-
install-so: $(RUBYARCHDIR)
|
160
|
-
install-so: $(RUBYARCHDIR)/$(DLLIB)
|
161
|
-
$(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
|
162
|
-
@-$(MAKEDIRS) $(@D)
|
163
|
-
$(INSTALL_PROG) $(DLLIB) $(@D)
|
164
|
-
install-rb: pre-install-rb install-rb-default
|
165
|
-
install-rb-default: pre-install-rb-default
|
166
|
-
pre-install-rb: Makefile
|
167
|
-
pre-install-rb-default: Makefile
|
168
|
-
pre-install-rb-default:
|
169
|
-
$(ECHO) installing default octave_api libraries
|
170
|
-
$(RUBYARCHDIR):
|
171
|
-
$(Q) $(MAKEDIRS) $@
|
172
|
-
|
173
|
-
site-install: site-install-so site-install-rb
|
174
|
-
site-install-so: install-so
|
175
|
-
site-install-rb: install-rb
|
176
|
-
|
177
|
-
.SUFFIXES: .c .m .cc .mm .cxx .cpp .C .o
|
178
|
-
|
179
|
-
.cc.o:
|
180
|
-
$(ECHO) compiling $(<)
|
181
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
182
|
-
|
183
|
-
.mm.o:
|
184
|
-
$(ECHO) compiling $(<)
|
185
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
186
|
-
|
187
|
-
.cxx.o:
|
188
|
-
$(ECHO) compiling $(<)
|
189
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
190
|
-
|
191
|
-
.cpp.o:
|
192
|
-
$(ECHO) compiling $(<)
|
193
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
194
|
-
|
195
|
-
.C.o:
|
196
|
-
$(ECHO) compiling $(<)
|
197
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
198
|
-
|
199
|
-
.c.o:
|
200
|
-
$(ECHO) compiling $(<)
|
201
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
|
202
|
-
|
203
|
-
.m.o:
|
204
|
-
$(ECHO) compiling $(<)
|
205
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
|
206
|
-
|
207
|
-
$(DLLIB): $(OBJS) Makefile
|
208
|
-
$(ECHO) linking shared-object $(DLLIB)
|
209
|
-
@-$(RM) $(@)
|
210
|
-
$(Q) $(LDSHAREDXX) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
$(OBJS): $(hdrdir)/ruby.h $(hdrdir)/ruby/defines.h $(arch_hdrdir)/ruby/config.h
|