hornetseye-kinect 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +5 -99
- data/config.rb +22 -0
- metadata +26 -34
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 363f10e5c30d198dfaffd65c10de716abdec217d
|
4
|
+
data.tar.gz: 565b0f8a87162d5024f85b37a1e98a1cb6ae1908
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8aeb4c2e25b81876c0551603327e9243484afca140be63f3abec1adc9464c96964df974b0eafaf5e57da40b4d728ccb51436730d8acc28e677613bb24ff4921d
|
7
|
+
data.tar.gz: 084e6da717ddf2809c8c7a815c3fb69fa94ad5ee1ffb6057e0ffd7a7c1edc210a18c69b3f3a5f80f8f816a40532b2d30937f9474a005dcd32b028a769a00c2c4
|
data/Rakefile
CHANGED
@@ -5,34 +5,15 @@ require 'rake/testtask'
|
|
5
5
|
require 'rake/packagetask'
|
6
6
|
require 'rake/loaders/makefile'
|
7
7
|
require 'rbconfig'
|
8
|
-
|
9
|
-
PKG_NAME = 'hornetseye-kinect'
|
10
|
-
PKG_VERSION = '1.1.1'
|
11
|
-
CFG = RbConfig::CONFIG
|
12
|
-
CXX = ENV[ 'CXX' ] || 'g++'
|
13
|
-
RB_FILES = FileList[ 'lib/**/*.rb' ]
|
14
|
-
CC_FILES = FileList[ 'ext/*.cc' ]
|
15
|
-
HH_FILES = FileList[ 'ext/*.hh' ] + FileList[ 'ext/*.tcc' ]
|
16
|
-
TC_FILES = FileList[ 'test/tc_*.rb' ]
|
17
|
-
TS_FILES = FileList[ 'test/ts_*.rb' ]
|
18
|
-
SO_FILE = "ext/#{PKG_NAME.tr '\-', '_'}.#{CFG[ 'DLEXT' ]}"
|
19
|
-
PKG_FILES = [ 'Rakefile', 'README.md', 'COPYING', '.document' ] +
|
20
|
-
RB_FILES + CC_FILES + HH_FILES + TS_FILES + TC_FILES
|
21
|
-
BIN_FILES = [ 'README.md', 'COPYING', '.document', SO_FILE ] +
|
22
|
-
RB_FILES + TS_FILES + TC_FILES
|
23
|
-
SUMMARY = %q{Acquisition of images and depth maps using libfreenect}
|
24
|
-
DESCRIPTION = %q{This Ruby extension provides an interface to the Microsoft Kinect}
|
25
|
-
LICENSE = 'GPL-3+'
|
26
|
-
AUTHOR = %q{Jan Wedekind}
|
27
|
-
EMAIL = %q{jan@wedesoft.de}
|
28
|
-
HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-kinect/}
|
8
|
+
require_relative 'config'
|
29
9
|
|
30
10
|
OBJ = CC_FILES.ext 'o'
|
31
11
|
# $CXXFLAGS = "-DNDEBUG -DHAVE_CONFIG_H #{CFG[ 'CPPFLAGS' ]} #{CFG[ 'CFLAGS' ]}"
|
32
12
|
$CXXFLAGS = "-g #{CFG[ 'CPPFLAGS' ]} #{CFG[ 'CFLAGS' ]}"
|
33
|
-
if CFG[
|
34
|
-
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[
|
35
|
-
|
13
|
+
if CFG['rubyarchhdrdir']
|
14
|
+
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG['rubyhdrdir']} -I#{CFG['rubyarchhdrdir']}"
|
15
|
+
elsif CFG['rubyhdrdir']
|
16
|
+
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG['rubyhdrdir' ]} -I#{CFG['rubyhdrdir']}/#{CFG['arch']}"
|
36
17
|
else
|
37
18
|
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[ 'archdir' ]}"
|
38
19
|
end
|
@@ -120,81 +101,6 @@ Rake::PackageTask.new PKG_NAME, PKG_VERSION do |p|
|
|
120
101
|
p.package_files = PKG_FILES
|
121
102
|
end
|
122
103
|
|
123
|
-
begin
|
124
|
-
require 'rubygems'
|
125
|
-
require 'rubygems/builder'
|
126
|
-
$SPEC = Gem::Specification.new do |s|
|
127
|
-
s.name = PKG_NAME
|
128
|
-
s.version = PKG_VERSION
|
129
|
-
s.platform = Gem::Platform::RUBY
|
130
|
-
s.date = Date.today.to_s
|
131
|
-
s.summary = SUMMARY
|
132
|
-
s.description = DESCRIPTION
|
133
|
-
s.license = LICENSE
|
134
|
-
s.author = AUTHOR
|
135
|
-
s.email = EMAIL
|
136
|
-
s.homepage = HOMEPAGE
|
137
|
-
s.files = PKG_FILES
|
138
|
-
s.test_files = TC_FILES
|
139
|
-
s.require_paths = [ 'lib', 'ext' ]
|
140
|
-
s.rubyforge_project = %q{hornetseye}
|
141
|
-
s.extensions = %w{Rakefile}
|
142
|
-
s.has_rdoc = 'yard'
|
143
|
-
s.extra_rdoc_files = []
|
144
|
-
s.rdoc_options = %w{--no-private}
|
145
|
-
s.add_dependency %<malloc>, [ '~> 1.1' ]
|
146
|
-
s.add_dependency %<multiarray>, [ '~> 1.0' ]
|
147
|
-
s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
|
148
|
-
s.add_development_dependency %q{rake}
|
149
|
-
end
|
150
|
-
GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
|
151
|
-
$BINSPEC = Gem::Specification.new do |s|
|
152
|
-
s.name = PKG_NAME
|
153
|
-
s.version = PKG_VERSION
|
154
|
-
s.platform = Gem::Platform::CURRENT
|
155
|
-
s.date = Date.today.to_s
|
156
|
-
s.summary = SUMMARY
|
157
|
-
s.description = DESCRIPTION
|
158
|
-
s.license = LICENSE
|
159
|
-
s.author = AUTHOR
|
160
|
-
s.email = EMAIL
|
161
|
-
s.homepage = HOMEPAGE
|
162
|
-
s.files = BIN_FILES
|
163
|
-
s.test_files = TC_FILES
|
164
|
-
s.require_paths = [ 'lib', 'ext' ]
|
165
|
-
s.rubyforge_project = %q{hornetseye}
|
166
|
-
s.has_rdoc = 'yard'
|
167
|
-
s.extra_rdoc_files = []
|
168
|
-
s.rdoc_options = %w{--no-private}
|
169
|
-
s.add_dependency %<malloc>, [ '~> 1.1' ]
|
170
|
-
s.add_dependency %<multiarray>, [ '~> 1.0' ]
|
171
|
-
s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
|
172
|
-
end
|
173
|
-
GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
|
174
|
-
desc "Build the gem file #{GEM_SOURCE}"
|
175
|
-
task :gem => [ "pkg/#{GEM_SOURCE}" ]
|
176
|
-
file "pkg/#{GEM_SOURCE}" => [ 'pkg' ] + $SPEC.files do
|
177
|
-
when_writing 'Creating GEM' do
|
178
|
-
Gem::Builder.new( $SPEC ).build
|
179
|
-
verbose true do
|
180
|
-
FileUtils.mv GEM_SOURCE, "pkg/#{GEM_SOURCE}"
|
181
|
-
end
|
182
|
-
end
|
183
|
-
end
|
184
|
-
desc "Build the gem file #{GEM_BINARY}"
|
185
|
-
task :gem_binary => [ "pkg/#{GEM_BINARY}" ]
|
186
|
-
file "pkg/#{GEM_BINARY}" => [ 'pkg' ] + $BINSPEC.files do
|
187
|
-
when_writing 'Creating binary GEM' do
|
188
|
-
Gem::Builder.new( $BINSPEC ).build
|
189
|
-
verbose true do
|
190
|
-
FileUtils.mv GEM_BINARY, "pkg/#{GEM_BINARY}"
|
191
|
-
end
|
192
|
-
end
|
193
|
-
end
|
194
|
-
rescue LoadError
|
195
|
-
STDERR.puts 'Please install \'rubygems\' if you want to create Gem packages'
|
196
|
-
end
|
197
|
-
|
198
104
|
rule '.o' => '.cc' do |t|
|
199
105
|
sh "#{CXX} #{$CXXFLAGS} -c -o #{t.name} #{t.source}"
|
200
106
|
end
|
data/config.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
PKG_NAME = 'hornetseye-kinect'
|
4
|
+
PKG_VERSION = '1.1.2'
|
5
|
+
CFG = RbConfig::CONFIG
|
6
|
+
CXX = ENV[ 'CXX' ] || 'g++'
|
7
|
+
RB_FILES = ['config.rb'] + FileList[ 'lib/**/*.rb' ]
|
8
|
+
CC_FILES = FileList[ 'ext/*.cc' ]
|
9
|
+
HH_FILES = FileList[ 'ext/*.hh' ] + FileList[ 'ext/*.tcc' ]
|
10
|
+
TC_FILES = FileList[ 'test/tc_*.rb' ]
|
11
|
+
TS_FILES = FileList[ 'test/ts_*.rb' ]
|
12
|
+
SO_FILE = "ext/#{PKG_NAME.tr '\-', '_'}.#{CFG[ 'DLEXT' ]}"
|
13
|
+
PKG_FILES = [ 'Rakefile', 'README.md', 'COPYING', '.document' ] +
|
14
|
+
RB_FILES + CC_FILES + HH_FILES + TS_FILES + TC_FILES
|
15
|
+
BIN_FILES = [ 'README.md', 'COPYING', '.document', SO_FILE ] +
|
16
|
+
RB_FILES + TS_FILES + TC_FILES
|
17
|
+
SUMMARY = %q{Acquisition of images and depth maps using libfreenect}
|
18
|
+
DESCRIPTION = %q{This Ruby extension provides an interface to the Microsoft Kinect}
|
19
|
+
LICENSE = 'GPL-3+'
|
20
|
+
AUTHOR = %q{Jan Wedekind}
|
21
|
+
EMAIL = %q{jan@wedesoft.de}
|
22
|
+
HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-kinect/}
|
metadata
CHANGED
@@ -1,78 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hornetseye-kinect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jan Wedekind
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: malloc
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.1'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.1'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: multiarray
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '1.0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '1.0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: hornetseye-frame
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '1.0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '1.0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rake
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
description: This Ruby extension provides an interface to the Microsoft Kinect
|
@@ -82,48 +73,49 @@ extensions:
|
|
82
73
|
- Rakefile
|
83
74
|
extra_rdoc_files: []
|
84
75
|
files:
|
85
|
-
-
|
86
|
-
- README.md
|
76
|
+
- ".document"
|
87
77
|
- COPYING
|
88
|
-
- .
|
89
|
-
-
|
90
|
-
-
|
78
|
+
- README.md
|
79
|
+
- Rakefile
|
80
|
+
- config.rb
|
81
|
+
- ext/error.hh
|
91
82
|
- ext/frame.cc
|
83
|
+
- ext/frame.hh
|
92
84
|
- ext/init.cc
|
93
85
|
- ext/kinectcontext.cc
|
94
|
-
- ext/kinectinput.cc
|
95
|
-
- ext/error.hh
|
96
|
-
- ext/frame.hh
|
97
86
|
- ext/kinectcontext.hh
|
87
|
+
- ext/kinectinput.cc
|
98
88
|
- ext/kinectinput.hh
|
99
89
|
- ext/rubyinc.hh
|
100
90
|
- ext/rubytools.hh
|
101
91
|
- ext/rubytools.tcc
|
92
|
+
- lib/hornetseye-kinect/kinectinput.rb
|
93
|
+
- lib/hornetseye_kinect_ext.rb
|
102
94
|
homepage: http://wedesoft.github.com/hornetseye-kinect/
|
103
95
|
licenses:
|
104
96
|
- GPL-3+
|
97
|
+
metadata: {}
|
105
98
|
post_install_message:
|
106
99
|
rdoc_options:
|
107
|
-
- --no-private
|
100
|
+
- "--no-private"
|
108
101
|
require_paths:
|
109
102
|
- lib
|
110
103
|
- ext
|
111
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
105
|
requirements:
|
114
|
-
- -
|
106
|
+
- - ">="
|
115
107
|
- !ruby/object:Gem::Version
|
116
108
|
version: '0'
|
117
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
119
110
|
requirements:
|
120
|
-
- -
|
111
|
+
- - ">="
|
121
112
|
- !ruby/object:Gem::Version
|
122
113
|
version: '0'
|
123
114
|
requirements: []
|
124
115
|
rubyforge_project: hornetseye
|
125
|
-
rubygems_version:
|
116
|
+
rubygems_version: 2.4.6
|
126
117
|
signing_key:
|
127
|
-
specification_version:
|
118
|
+
specification_version: 4
|
128
119
|
summary: Acquisition of images and depth maps using libfreenect
|
129
120
|
test_files: []
|
121
|
+
has_rdoc: yard
|