hornetseye-openexr 1.0.1 → 1.0.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 -99
  4. data/config.rb +22 -0
  5. metadata +29 -56
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 57f348c8ddae4f23a1deca5a4cb921b4cedba0e0afb553f3902235d27b9228e4
4
+ data.tar.gz: a6762b9797551357ccfa1c29d17a80ad0dae7205951100523bffe55797c1a21b
5
+ SHA512:
6
+ metadata.gz: dbd73c2474630fac9e0eb26268cc55c414cdd58e843fd8901ad9cc0fcaad75b18b694efb1b686e0f3279e087289c42c932350c52b2c2d1d4256c14a1c5c1c7fc
7
+ data.tar.gz: 73f2a11b6782b15d08fea0725e775f2519ca40d24d2c5219d6605b2ee2aba5540a6609648af1755b6d29ff461b90daa2207d8eea5a4f30e256c7ea066d26fb89
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-openexr'
10
- PKG_VERSION = '1.0.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{Loading and saving images using OpenEXR}
24
- DESCRIPTION = %q{This Ruby extension provides reading and writing high dynamic range images using OpenEXR.}
25
- LICENSE = 'GPL-3+'
26
- AUTHOR = %q{Jan Wedekind}
27
- EMAIL = %q{jan@wedesoft.de}
28
- HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-openexr/}
8
+ require_relative 'config'
29
9
 
30
10
  OBJ = CC_FILES.ext 'o'
31
11
  $CXXFLAGS = "-DNDEBUG -DHAVE_CONFIG_H #{CFG[ 'CPPFLAGS' ]} #{CFG[ 'CFLAGS' ]} -I/usr/include/OpenEXR"
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
@@ -103,81 +84,6 @@ Rake::PackageTask.new PKG_NAME, PKG_VERSION do |p|
103
84
  p.package_files = PKG_FILES
104
85
  end
105
86
 
106
- begin
107
- require 'rubygems'
108
- require 'rubygems/builder'
109
- $SPEC = Gem::Specification.new do |s|
110
- s.name = PKG_NAME
111
- s.version = PKG_VERSION
112
- s.platform = Gem::Platform::RUBY
113
- s.date = Date.today.to_s
114
- s.summary = SUMMARY
115
- s.description = DESCRIPTION
116
- s.license = LICENSE
117
- s.author = AUTHOR
118
- s.email = EMAIL
119
- s.homepage = HOMEPAGE
120
- s.files = PKG_FILES
121
- s.test_files = TC_FILES
122
- s.require_paths = [ 'lib', 'ext' ]
123
- s.rubyforge_project = %q{hornetseye}
124
- s.extensions = %w{Rakefile}
125
- s.has_rdoc = 'yard'
126
- s.extra_rdoc_files = []
127
- s.rdoc_options = %w{--no-private}
128
- s.add_dependency %<malloc>, [ '~> 1.1' ]
129
- s.add_dependency %<multiarray>, [ '~> 1.0' ]
130
- s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
131
- s.add_development_dependency %q{rake}
132
- end
133
- GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
134
- $BINSPEC = Gem::Specification.new do |s|
135
- s.name = PKG_NAME
136
- s.version = PKG_VERSION
137
- s.platform = Gem::Platform::CURRENT
138
- s.date = Date.today.to_s
139
- s.summary = SUMMARY
140
- s.description = DESCRIPTION
141
- s.license = LICENSE
142
- s.author = AUTHOR
143
- s.email = EMAIL
144
- s.homepage = HOMEPAGE
145
- s.files = BIN_FILES
146
- s.test_files = TC_FILES
147
- s.require_paths = [ 'lib', 'ext' ]
148
- s.rubyforge_project = %q{hornetseye}
149
- s.has_rdoc = 'yard'
150
- s.extra_rdoc_files = []
151
- s.rdoc_options = %w{--no-private}
152
- s.add_dependency %<malloc>, [ '~> 1.1' ]
153
- s.add_dependency %<multiarray>, [ '~> 1.0' ]
154
- s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
155
- end
156
- GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
157
- desc "Build the gem file #{GEM_SOURCE}"
158
- task :gem => [ "pkg/#{GEM_SOURCE}" ]
159
- file "pkg/#{GEM_SOURCE}" => [ 'pkg' ] + $SPEC.files do
160
- when_writing 'Creating GEM' do
161
- Gem::Builder.new( $SPEC ).build
162
- verbose true do
163
- FileUtils.mv GEM_SOURCE, "pkg/#{GEM_SOURCE}"
164
- end
165
- end
166
- end
167
- desc "Build the gem file #{GEM_BINARY}"
168
- task :gem_binary => [ "pkg/#{GEM_BINARY}" ]
169
- file "pkg/#{GEM_BINARY}" => [ 'pkg' ] + $BINSPEC.files do
170
- when_writing 'Creating binary GEM' do
171
- Gem::Builder.new( $BINSPEC ).build
172
- verbose true do
173
- FileUtils.mv GEM_BINARY, "pkg/#{GEM_BINARY}"
174
- end
175
- end
176
- end
177
- rescue LoadError
178
- STDERR.puts 'Please install \'rubygems\' if you want to create Gem packages'
179
- end
180
-
181
87
  rule '.o' => '.cc' do |t|
182
88
  sh "#{CXX} #{$CXXFLAGS} -c -o #{t.name} #{t.source}"
183
89
  end
data/config.rb ADDED
@@ -0,0 +1,22 @@
1
+ require 'rake'
2
+
3
+ PKG_NAME = 'hornetseye-openexr'
4
+ PKG_VERSION = '1.0.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{Loading and saving images using OpenEXR}
18
+ DESCRIPTION = %q{This Ruby extension provides reading and writing high dynamic range images using OpenEXR.}
19
+ LICENSE = 'GPL-3+'
20
+ AUTHOR = %q{Jan Wedekind}
21
+ EMAIL = %q{jan@wedesoft.de}
22
+ HOMEPAGE = %q{http://wedesoft.github.io/hornetseye-openexr/}
metadata CHANGED
@@ -1,80 +1,56 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-openexr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.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.1'
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.1'
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 reading and writing high dynamic range images
79
55
  using OpenEXR.
80
56
  email: jan@wedesoft.de
@@ -83,51 +59,48 @@ 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-openexr/multiarray.rb
91
- - lib/hornetseye-openexr/node.rb
92
- - lib/hornetseye-openexr/openexrinput.rb
93
- - lib/hornetseye-openexr/openexroutput.rb
94
- - lib/hornetseye_openexr_ext.rb
64
+ - README.md
65
+ - Rakefile
66
+ - config.rb
67
+ - ext/error.hh
68
+ - ext/frame.cc
69
+ - ext/frame.hh
95
70
  - ext/init.cc
96
71
  - ext/openexrinput.cc
97
- - ext/openexroutput.cc
98
- - ext/frame.cc
99
72
  - ext/openexrinput.hh
73
+ - ext/openexroutput.cc
100
74
  - ext/openexroutput.hh
101
- - ext/frame.hh
102
- - ext/rubytools.hh
103
- - ext/error.hh
104
75
  - ext/rubyinc.hh
76
+ - ext/rubytools.hh
105
77
  - ext/rubytools.tcc
106
- homepage: http://wedesoft.github.com/hornetseye-openexr/
78
+ - lib/hornetseye-openexr/multiarray.rb
79
+ - lib/hornetseye-openexr/node.rb
80
+ - lib/hornetseye-openexr/openexrinput.rb
81
+ - lib/hornetseye-openexr/openexroutput.rb
82
+ - lib/hornetseye_openexr_ext.rb
83
+ homepage: http://wedesoft.github.io/hornetseye-openexr/
107
84
  licenses:
108
85
  - GPL-3+
109
- post_install_message:
86
+ metadata: {}
110
87
  rdoc_options:
111
- - --no-private
88
+ - "--no-private"
112
89
  require_paths:
113
90
  - lib
114
91
  - ext
115
92
  required_ruby_version: !ruby/object:Gem::Requirement
116
- none: false
117
93
  requirements:
118
- - - ! '>='
94
+ - - ">="
119
95
  - !ruby/object:Gem::Version
120
96
  version: '0'
121
97
  required_rubygems_version: !ruby/object:Gem::Requirement
122
- none: false
123
98
  requirements:
124
- - - ! '>='
99
+ - - ">="
125
100
  - !ruby/object:Gem::Version
126
101
  version: '0'
127
102
  requirements: []
128
- rubyforge_project: hornetseye
129
- rubygems_version: 1.8.23
130
- signing_key:
131
- specification_version: 3
103
+ rubygems_version: 3.6.3
104
+ specification_version: 4
132
105
  summary: Loading and saving images using OpenEXR
133
106
  test_files: []