hornetseye-dc1394 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +5 -99
- data/config.rb +22 -0
- metadata +29 -52
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3891fddae13062cacf17a0f9d8664ea3c248fe3c
|
4
|
+
data.tar.gz: af89be008e789de3fcf5c0aac2826d8f8bc01574
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d2d9e5e101790e069e75a82a5c12bf8be746405d5ee488417f10f4155b2e5c58eea1df9785ab89a4117adec2ee70a5ab55afa6c711f20643d9e2a9ce4875f149
|
7
|
+
data.tar.gz: 015c295b5f43d483389ba591752b332aebfe0d7a508a8381c84cba90214d0ccab0be661063350013a48539f6640ddcd97a0da7a9a172ac330f934f7c1bf9b851
|
data/Rakefile
CHANGED
@@ -5,33 +5,14 @@ require 'rake/testtask'
|
|
5
5
|
require 'rake/packagetask'
|
6
6
|
require 'rake/loaders/makefile'
|
7
7
|
require 'rbconfig'
|
8
|
-
|
9
|
-
PKG_NAME = 'hornetseye-dc1394'
|
10
|
-
PKG_VERSION = '0.5.4'
|
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{Capture from DC1394 compatible firewire camera}
|
24
|
-
DESCRIPTION = %q{This Ruby extension provides camera input for DC1394 compatible firewire cameras using libdc1394 2.x.}
|
25
|
-
LICENSE = 'GPL-3+'
|
26
|
-
AUTHOR = %q{Jan Wedekind}
|
27
|
-
EMAIL = %q{jan@wedesoft.de}
|
28
|
-
HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-dc1394/}
|
8
|
+
require_relative 'config'
|
29
9
|
|
30
10
|
OBJ = CC_FILES.ext 'o'
|
31
11
|
$CXXFLAGS = "-DNDEBUG #{CFG[ 'CPPFLAGS' ]} #{CFG[ 'CFLAGS' ]}"
|
32
|
-
if CFG[
|
33
|
-
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[
|
34
|
-
|
12
|
+
if CFG['rubyarchhdrdir']
|
13
|
+
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG['rubyhdrdir']} -I#{CFG['rubyarchhdrdir']}"
|
14
|
+
elsif CFG['rubyhdrdir']
|
15
|
+
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG['rubyhdrdir' ]} -I#{CFG['rubyhdrdir']}/#{CFG['arch']}"
|
35
16
|
else
|
36
17
|
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[ 'archdir' ]}"
|
37
18
|
end
|
@@ -93,81 +74,6 @@ Rake::PackageTask.new PKG_NAME, PKG_VERSION do |p|
|
|
93
74
|
p.package_files = PKG_FILES
|
94
75
|
end
|
95
76
|
|
96
|
-
begin
|
97
|
-
require 'rubygems'
|
98
|
-
require 'rubygems/builder'
|
99
|
-
$SPEC = Gem::Specification.new do |s|
|
100
|
-
s.name = PKG_NAME
|
101
|
-
s.version = PKG_VERSION
|
102
|
-
s.platform = Gem::Platform::RUBY
|
103
|
-
s.date = Date.today.to_s
|
104
|
-
s.summary = SUMMARY
|
105
|
-
s.description = DESCRIPTION
|
106
|
-
s.license = LICENSE
|
107
|
-
s.author = AUTHOR
|
108
|
-
s.email = EMAIL
|
109
|
-
s.homepage = HOMEPAGE
|
110
|
-
s.files = PKG_FILES
|
111
|
-
s.test_files = TC_FILES
|
112
|
-
s.require_paths = [ 'lib', 'ext' ]
|
113
|
-
s.rubyforge_project = %q{hornetseye}
|
114
|
-
s.extensions = %w{Rakefile}
|
115
|
-
s.has_rdoc = 'yard'
|
116
|
-
s.extra_rdoc_files = []
|
117
|
-
s.rdoc_options = %w{--no-private}
|
118
|
-
s.add_dependency %<malloc>, [ '~> 1.2' ]
|
119
|
-
s.add_dependency %<multiarray>, [ '~> 1.0' ]
|
120
|
-
s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
|
121
|
-
s.add_development_dependency %q{rake}
|
122
|
-
end
|
123
|
-
GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
|
124
|
-
$BINSPEC = Gem::Specification.new do |s|
|
125
|
-
s.name = PKG_NAME
|
126
|
-
s.version = PKG_VERSION
|
127
|
-
s.platform = Gem::Platform::CURRENT
|
128
|
-
s.date = Date.today.to_s
|
129
|
-
s.summary = SUMMARY
|
130
|
-
s.description = DESCRIPTION
|
131
|
-
s.license = LICENSE
|
132
|
-
s.author = AUTHOR
|
133
|
-
s.email = EMAIL
|
134
|
-
s.homepage = HOMEPAGE
|
135
|
-
s.files = BIN_FILES
|
136
|
-
s.test_files = TC_FILES
|
137
|
-
s.require_paths = [ 'lib', 'ext' ]
|
138
|
-
s.rubyforge_project = %q{hornetseye}
|
139
|
-
s.has_rdoc = 'yard'
|
140
|
-
s.extra_rdoc_files = []
|
141
|
-
s.rdoc_options = %w{--no-private}
|
142
|
-
s.add_dependency %<malloc>, [ '~> 1.2' ]
|
143
|
-
s.add_dependency %<multiarray>, [ '~> 1.0' ]
|
144
|
-
s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
|
145
|
-
end
|
146
|
-
GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
|
147
|
-
desc "Build the gem file #{GEM_SOURCE}"
|
148
|
-
task :gem => [ "pkg/#{GEM_SOURCE}" ]
|
149
|
-
file "pkg/#{GEM_SOURCE}" => [ 'pkg' ] + $SPEC.files do
|
150
|
-
when_writing 'Creating GEM' do
|
151
|
-
Gem::Builder.new( $SPEC ).build
|
152
|
-
verbose true do
|
153
|
-
FileUtils.mv GEM_SOURCE, "pkg/#{GEM_SOURCE}"
|
154
|
-
end
|
155
|
-
end
|
156
|
-
end
|
157
|
-
desc "Build the gem file #{GEM_BINARY}"
|
158
|
-
task :gem_binary => [ "pkg/#{GEM_BINARY}" ]
|
159
|
-
file "pkg/#{GEM_BINARY}" => [ 'pkg' ] + $BINSPEC.files do
|
160
|
-
when_writing 'Creating binary GEM' do
|
161
|
-
Gem::Builder.new( $BINSPEC ).build
|
162
|
-
verbose true do
|
163
|
-
FileUtils.mv GEM_BINARY, "pkg/#{GEM_BINARY}"
|
164
|
-
end
|
165
|
-
end
|
166
|
-
end
|
167
|
-
rescue LoadError
|
168
|
-
STDERR.puts 'Please install \'rubygems\' if you want to create Gem packages'
|
169
|
-
end
|
170
|
-
|
171
77
|
rule '.o' => '.cc' do |t|
|
172
78
|
sh "#{CXX} #{$CXXFLAGS} -c -o #{t.name} #{t.source}"
|
173
79
|
end
|
data/config.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
PKG_NAME = 'hornetseye-dc1394'
|
4
|
+
PKG_VERSION = '0.5.5'
|
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{Capture from DC1394 compatible firewire camera}
|
18
|
+
DESCRIPTION = %q{This Ruby extension provides camera input for DC1394 compatible firewire cameras using libdc1394 2.x.}
|
19
|
+
LICENSE = 'GPL-3+'
|
20
|
+
AUTHOR = %q{Jan Wedekind}
|
21
|
+
EMAIL = %q{jan@wedesoft.de}
|
22
|
+
HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-dc1394/}
|
metadata
CHANGED
@@ -1,80 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hornetseye-dc1394
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.5
|
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.2'
|
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.2'
|
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
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: rake
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
55
|
description: This Ruby extension provides camera input for DC1394 compatible firewire
|
79
56
|
cameras using libdc1394 2.x.
|
80
57
|
email: jan@wedesoft.de
|
@@ -83,51 +60,51 @@ extensions:
|
|
83
60
|
- Rakefile
|
84
61
|
extra_rdoc_files: []
|
85
62
|
files:
|
86
|
-
-
|
87
|
-
- README.md
|
63
|
+
- ".document"
|
88
64
|
- COPYING
|
89
|
-
- .
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
93
|
-
- ext/
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- config.rb
|
68
|
+
- ext/dc1394.cc
|
69
|
+
- ext/dc1394.hh
|
94
70
|
- ext/dc1394input.cc
|
71
|
+
- ext/dc1394input.hh
|
95
72
|
- ext/dc1394select.cc
|
96
|
-
- ext/dc1394.cc
|
97
|
-
- ext/frame.cc
|
98
|
-
- ext/frame.hh
|
99
73
|
- ext/dc1394select.hh
|
100
|
-
- ext/dc1394.hh
|
101
|
-
- ext/rubytools.hh
|
102
74
|
- ext/error.hh
|
75
|
+
- ext/frame.cc
|
76
|
+
- ext/frame.hh
|
77
|
+
- ext/init.cc
|
103
78
|
- ext/rubyinc.hh
|
104
|
-
- ext/
|
79
|
+
- ext/rubytools.hh
|
105
80
|
- ext/rubytools.tcc
|
81
|
+
- lib/hornetseye-dc1394/dc1394input.rb
|
82
|
+
- lib/hornetseye-dc1394/docs.rb
|
83
|
+
- lib/hornetseye_dc1394_ext.rb
|
106
84
|
homepage: http://wedesoft.github.com/hornetseye-dc1394/
|
107
85
|
licenses:
|
108
86
|
- GPL-3+
|
87
|
+
metadata: {}
|
109
88
|
post_install_message:
|
110
|
-
rdoc_options:
|
111
|
-
- --no-private
|
89
|
+
rdoc_options: []
|
112
90
|
require_paths:
|
113
91
|
- lib
|
114
92
|
- ext
|
115
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
94
|
requirements:
|
118
|
-
- -
|
95
|
+
- - ">="
|
119
96
|
- !ruby/object:Gem::Version
|
120
97
|
version: '0'
|
121
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
99
|
requirements:
|
124
|
-
- -
|
100
|
+
- - ">="
|
125
101
|
- !ruby/object:Gem::Version
|
126
102
|
version: '0'
|
127
103
|
requirements: []
|
128
104
|
rubyforge_project: hornetseye
|
129
|
-
rubygems_version:
|
105
|
+
rubygems_version: 2.4.6
|
130
106
|
signing_key:
|
131
|
-
specification_version:
|
107
|
+
specification_version: 4
|
132
108
|
summary: Capture from DC1394 compatible firewire camera
|
133
109
|
test_files: []
|
110
|
+
has_rdoc: yard
|