hornetseye-alsa 1.3.1 → 1.3.3

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 -97
  4. data/config.rb +24 -0
  5. metadata +25 -51
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 921bb985dd46866d4f3fa9d98cdcd48d77d2c70cea0ad2e13a11a9014c33f2e0
4
+ data.tar.gz: 604f3162d4a337c77154d85b0125c6749d8c99c6c9151bd6a8a524d55ea53cde
5
+ SHA512:
6
+ metadata.gz: c0ead7376fa4b521b10e44d0a4db7d2ecf69653cf0543735818abf9f85d9ff46e3d12a4695a4cc1c9c09e03c2059437871729e343d117d4eb5ef09f3768ba46e
7
+ data.tar.gz: 8cb234c21eea9cad4e2f12c6dc38315ddf5307879cfb15266ad2150a2ac890117b9a3c906c7e98a85c17ef3ed2fd739204b3d3b505e5fadb5614ea1921e4d713
data/COPYING CHANGED
@@ -1,15 +1,11 @@
1
- This is the license for the computer vision library Hornetseye.
2
- Copyright (C) 2006 - 2012 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-alsa'
10
- PKG_VERSION = '1.3.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{Play audio data using libalsa}
24
- DESCRIPTION = %q{This Ruby extension provides an interface for playing audio data using ALSA.}
25
- LICENSE = 'GPL-3+'
26
- AUTHOR = %q{Jan Wedekind}
27
- EMAIL = %q{jan@wedesoft.de}
28
- HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-alsa/}
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,79 +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_development_dependency %q{rake}
121
- end
122
- GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
123
- $BINSPEC = Gem::Specification.new do |s|
124
- s.name = PKG_NAME
125
- s.version = PKG_VERSION
126
- s.platform = Gem::Platform::CURRENT
127
- s.date = Date.today.to_s
128
- s.summary = SUMMARY
129
- s.description = DESCRIPTION
130
- s.license = LICENSE
131
- s.author = AUTHOR
132
- s.email = EMAIL
133
- s.homepage = HOMEPAGE
134
- s.files = BIN_FILES
135
- s.test_files = TC_FILES
136
- s.require_paths = [ 'lib', 'ext' ]
137
- s.rubyforge_project = %q{hornetseye}
138
- s.has_rdoc = 'yard'
139
- s.extra_rdoc_files = []
140
- s.rdoc_options = %w{--no-private}
141
- s.add_dependency %<malloc>, [ '~> 1.2' ]
142
- s.add_dependency %<multiarray>, [ '~> 1.0' ]
143
- end
144
- GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
145
- desc "Build the gem file #{GEM_SOURCE}"
146
- task :gem => [ "pkg/#{GEM_SOURCE}" ]
147
- file "pkg/#{GEM_SOURCE}" => [ 'pkg' ] + $SPEC.files do
148
- when_writing 'Creating GEM' do
149
- Gem::Builder.new( $SPEC ).build
150
- verbose true do
151
- FileUtils.mv GEM_SOURCE, "pkg/#{GEM_SOURCE}"
152
- end
153
- end
154
- end
155
- desc "Build the gem file #{GEM_BINARY}"
156
- task :gem_binary => [ "pkg/#{GEM_BINARY}" ]
157
- file "pkg/#{GEM_BINARY}" => [ 'pkg' ] + $BINSPEC.files do
158
- when_writing 'Creating binary GEM' do
159
- Gem::Builder.new( $BINSPEC ).build
160
- verbose true do
161
- FileUtils.mv GEM_BINARY, "pkg/#{GEM_BINARY}"
162
- end
163
- end
164
- end
165
- rescue LoadError
166
- STDERR.puts 'Please install \'rubygems\' if you want to create Gem packages'
167
- end
168
-
169
77
  rule '.o' => '.cc' do |t|
170
78
  sh "#{CXX} #{$CXXFLAGS} -c -o #{t.name} #{t.source}"
171
79
  end
data/config.rb ADDED
@@ -0,0 +1,24 @@
1
+ require 'rake'
2
+
3
+ PKG_NAME = 'hornetseye-alsa'
4
+ PKG_VERSION = '1.3.3'
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{Play audio data using libalsa}
18
+ DESCRIPTION = %q{This Ruby extension provides an interface for playing audio data using ALSA.}
19
+ LICENSE = 'GPL-3+'
20
+ AUTHOR = %q{Jan Wedekind}
21
+ EMAIL = %q{jan@wedesoft.de}
22
+ HOMEPAGE = %q{http://wedesoft.github.io/hornetseye-alsa/}
23
+
24
+
metadata CHANGED
@@ -1,64 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-alsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
5
- prerelease:
4
+ version: 1.3.3
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
- - !ruby/object:Gem::Dependency
47
- name: rake
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
40
  description: This Ruby extension provides an interface for playing audio data using
63
41
  ALSA.
64
42
  email: jan@wedesoft.de
@@ -67,48 +45,44 @@ extensions:
67
45
  - Rakefile
68
46
  extra_rdoc_files: []
69
47
  files:
70
- - Rakefile
71
- - README.md
48
+ - ".document"
72
49
  - COPYING
73
- - .document
74
- - lib/hornetseye_alsa_ext.rb
75
- - lib/hornetseye-alsa/alsainput.rb
76
- - lib/hornetseye-alsa/alsaoutput.rb
77
- - lib/hornetseye-alsa/docs.rb
78
- - ext/sequence.cc
79
- - ext/init.cc
50
+ - README.md
51
+ - Rakefile
52
+ - config.rb
80
53
  - ext/alsainput.cc
81
- - ext/alsaoutput.cc
82
- - ext/sequence.hh
83
54
  - ext/alsainput.hh
55
+ - ext/alsaoutput.cc
84
56
  - ext/alsaoutput.hh
85
57
  - ext/error.hh
58
+ - ext/init.cc
86
59
  - ext/rubyinc.hh
87
- homepage: http://wedesoft.github.com/hornetseye-alsa/
60
+ - ext/sequence.cc
61
+ - ext/sequence.hh
62
+ - lib/hornetseye-alsa/alsainput.rb
63
+ - lib/hornetseye-alsa/alsaoutput.rb
64
+ - lib/hornetseye-alsa/docs.rb
65
+ - lib/hornetseye_alsa_ext.rb
66
+ homepage: http://wedesoft.github.io/hornetseye-alsa/
88
67
  licenses:
89
68
  - GPL-3+
90
- post_install_message:
91
- rdoc_options:
92
- - --no-private
69
+ metadata: {}
70
+ rdoc_options: []
93
71
  require_paths:
94
72
  - lib
95
73
  - ext
96
74
  required_ruby_version: !ruby/object:Gem::Requirement
97
- none: false
98
75
  requirements:
99
- - - ! '>='
76
+ - - ">="
100
77
  - !ruby/object:Gem::Version
101
78
  version: '0'
102
79
  required_rubygems_version: !ruby/object:Gem::Requirement
103
- none: false
104
80
  requirements:
105
- - - ! '>='
81
+ - - ">="
106
82
  - !ruby/object:Gem::Version
107
83
  version: '0'
108
84
  requirements: []
109
- rubyforge_project: hornetseye
110
- rubygems_version: 1.8.23
111
- signing_key:
112
- specification_version: 3
85
+ rubygems_version: 3.6.3
86
+ specification_version: 4
113
87
  summary: Play audio data using libalsa
114
88
  test_files: []