hornetseye-dc1394 0.5.4 → 0.5.6

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.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING +12 -17
  3. data/Rakefile +5 -99
  4. data/config.rb +22 -0
  5. metadata +29 -57
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 838a7b7a57324c5b95471b9f7773f1b45997c6c01900f2e8ce09498b7153003f
4
+ data.tar.gz: 1d2f506ffebddd4c8e956fead202ab1a61adaa19831d425d9fa1bf775c9c6c20
5
+ SHA512:
6
+ metadata.gz: a7e8451ac6f915eeae68b39564b94e14025c0acab77bd08963ca876e25f5799ad46c6a6b255b55cc639c3a5eb43a0f59ec2ec01d054b291e2a34c71b4e111431
7
+ data.tar.gz: d42295e4a9061117c2f10ccde8fcdc5c9c8cfdef1bbf71a2bbf5a0ecaea272ae5580a2aff71ed655a71107531da0e94c8bb1ccb36901a2cb87b0c544d650e063
data/COPYING CHANGED
@@ -1,15 +1,11 @@
1
- This is the license for the computer vision library Hornetseye.
2
- Copyright (C) 2006 - 2010 Jan Wedekind, Sheffield, United Kingdom.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
3
 
4
-
5
- GNU GENERAL PUBLIC LICENSE
6
- Version 3, 29 June 2007
7
-
8
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
9
5
  Everyone is permitted to copy and distribute verbatim copies
10
6
  of this license document, but changing it is not allowed.
11
7
 
12
- Preamble
8
+ Preamble
13
9
 
14
10
  The GNU General Public License is a free, copyleft license for
15
11
  software and other kinds of works.
@@ -72,7 +68,7 @@ patents cannot be used to render the program non-free.
72
68
  The precise terms and conditions for copying, distribution and
73
69
  modification follow.
74
70
 
75
- TERMS AND CONDITIONS
71
+ TERMS AND CONDITIONS
76
72
 
77
73
  0. Definitions.
78
74
 
@@ -80,7 +76,7 @@ modification follow.
80
76
 
81
77
  "Copyright" also means copyright-like laws that apply to other kinds of
82
78
  works, such as semiconductor masks.
83
-
79
+
84
80
  "The Program" refers to any copyrightable work licensed under this
85
81
  License. Each licensee is addressed as "you". "Licensees" and
86
82
  "recipients" may be individuals or organizations.
@@ -513,7 +509,7 @@ actual knowledge that, but for the patent license, your conveying the
513
509
  covered work in a country, or your recipient's use of the covered work
514
510
  in a country, would infringe one or more identifiable patents in that
515
511
  country that you have reason to believe are valid.
516
-
512
+
517
513
  If, pursuant to or in connection with a single transaction or
518
514
  arrangement, you convey, or propagate by procuring conveyance of, a
519
515
  covered work, and grant a patent license to some of the parties
@@ -622,9 +618,9 @@ an absolute waiver of all civil liability in connection with the
622
618
  Program, unless a warranty or assumption of liability accompanies a
623
619
  copy of the Program in return for a fee.
624
620
 
625
- END OF TERMS AND CONDITIONS
621
+ END OF TERMS AND CONDITIONS
626
622
 
627
- How to Apply These Terms to Your New Programs
623
+ How to Apply These Terms to Your New Programs
628
624
 
629
625
  If you develop a new program, and you want it to be of the greatest
630
626
  possible use to the public, the best way to achieve this is to make it
@@ -649,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
649
645
  GNU General Public License for more details.
650
646
 
651
647
  You should have received a copy of the GNU General Public License
652
- along with this program. If not, see <http://www.gnu.org/licenses/>.
648
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
653
649
 
654
650
  Also add information on how to contact you by electronic and paper mail.
655
651
 
@@ -668,12 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
668
664
  You should also get your employer (if you work as a programmer) or school,
669
665
  if any, to sign a "copyright disclaimer" for the program, if necessary.
670
666
  For more information on this, and how to apply and follow the GNU GPL, see
671
- <http://www.gnu.org/licenses/>.
667
+ <https://www.gnu.org/licenses/>.
672
668
 
673
669
  The GNU General Public License does not permit incorporating your program
674
670
  into proprietary programs. If your program is a subroutine library, you
675
671
  may consider it more useful to permit linking proprietary applications with
676
672
  the library. If this is what you want to do, use the GNU Lesser General
677
673
  Public License instead of this License. But first, please read
678
- <http://www.gnu.org/philosophy/why-not-lgpl.html>.
679
-
674
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
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[ 'rubyhdrdir' ]
33
- $CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[ 'rubyhdrdir' ]} " +
34
- "-I#{CFG[ 'rubyhdrdir' ]}/#{CFG[ 'arch' ]}"
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.6'
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.io/hornetseye-dc1394/}
metadata CHANGED
@@ -1,80 +1,56 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-dc1394
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
5
- prerelease:
4
+ version: 0.5.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jan Wedekind
9
- autorequire:
10
8
  bindir: bin
11
9
  cert_chain: []
12
- date: 2013-09-30 00:00:00.000000000 Z
10
+ date: 2025-06-30 00:00:00.000000000 Z
13
11
  dependencies:
14
12
  - !ruby/object:Gem::Dependency
15
13
  name: malloc
16
14
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
15
  requirements:
19
- - - ~>
16
+ - - "~>"
20
17
  - !ruby/object:Gem::Version
21
18
  version: '1.2'
22
19
  type: :runtime
23
20
  prerelease: false
24
21
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
22
  requirements:
27
- - - ~>
23
+ - - "~>"
28
24
  - !ruby/object:Gem::Version
29
25
  version: '1.2'
30
26
  - !ruby/object:Gem::Dependency
31
27
  name: multiarray
32
28
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
29
  requirements:
35
- - - ~>
30
+ - - "~>"
36
31
  - !ruby/object:Gem::Version
37
32
  version: '1.0'
38
33
  type: :runtime
39
34
  prerelease: false
40
35
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
36
  requirements:
43
- - - ~>
37
+ - - "~>"
44
38
  - !ruby/object:Gem::Version
45
39
  version: '1.0'
46
40
  - !ruby/object:Gem::Dependency
47
41
  name: hornetseye-frame
48
42
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
43
  requirements:
51
- - - ~>
44
+ - - "~>"
52
45
  - !ruby/object:Gem::Version
53
46
  version: '1.0'
54
47
  type: :runtime
55
48
  prerelease: false
56
49
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
50
  requirements:
59
- - - ~>
51
+ - - "~>"
60
52
  - !ruby/object:Gem::Version
61
53
  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
54
  description: This Ruby extension provides camera input for DC1394 compatible firewire
79
55
  cameras using libdc1394 2.x.
80
56
  email: jan@wedesoft.de
@@ -83,51 +59,47 @@ extensions:
83
59
  - Rakefile
84
60
  extra_rdoc_files: []
85
61
  files:
86
- - Rakefile
87
- - README.md
62
+ - ".document"
88
63
  - COPYING
89
- - .document
90
- - lib/hornetseye_dc1394_ext.rb
91
- - lib/hornetseye-dc1394/dc1394input.rb
92
- - lib/hornetseye-dc1394/docs.rb
93
- - ext/init.cc
64
+ - README.md
65
+ - Rakefile
66
+ - config.rb
67
+ - ext/dc1394.cc
68
+ - ext/dc1394.hh
94
69
  - ext/dc1394input.cc
70
+ - ext/dc1394input.hh
95
71
  - ext/dc1394select.cc
96
- - ext/dc1394.cc
97
- - ext/frame.cc
98
- - ext/frame.hh
99
72
  - ext/dc1394select.hh
100
- - ext/dc1394.hh
101
- - ext/rubytools.hh
102
73
  - ext/error.hh
74
+ - ext/frame.cc
75
+ - ext/frame.hh
76
+ - ext/init.cc
103
77
  - ext/rubyinc.hh
104
- - ext/dc1394input.hh
78
+ - ext/rubytools.hh
105
79
  - ext/rubytools.tcc
106
- homepage: http://wedesoft.github.com/hornetseye-dc1394/
80
+ - lib/hornetseye-dc1394/dc1394input.rb
81
+ - lib/hornetseye-dc1394/docs.rb
82
+ - lib/hornetseye_dc1394_ext.rb
83
+ homepage: http://wedesoft.github.io/hornetseye-dc1394/
107
84
  licenses:
108
85
  - GPL-3+
109
- post_install_message:
110
- rdoc_options:
111
- - --no-private
86
+ metadata: {}
87
+ rdoc_options: []
112
88
  require_paths:
113
89
  - lib
114
90
  - ext
115
91
  required_ruby_version: !ruby/object:Gem::Requirement
116
- none: false
117
92
  requirements:
118
- - - ! '>='
93
+ - - ">="
119
94
  - !ruby/object:Gem::Version
120
95
  version: '0'
121
96
  required_rubygems_version: !ruby/object:Gem::Requirement
122
- none: false
123
97
  requirements:
124
- - - ! '>='
98
+ - - ">="
125
99
  - !ruby/object:Gem::Version
126
100
  version: '0'
127
101
  requirements: []
128
- rubyforge_project: hornetseye
129
- rubygems_version: 1.8.23
130
- signing_key:
131
- specification_version: 3
102
+ rubygems_version: 3.6.3
103
+ specification_version: 4
132
104
  summary: Capture from DC1394 compatible firewire camera
133
105
  test_files: []