hornetseye-openexr 0.2.0 → 0.3.0
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.
- data/README.md +23 -1
- data/Rakefile +6 -7
- data/ext/init.cc +2 -2
- metadata +14 -14
data/README.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
hornetseye-openexr
|
2
|
-
|
2
|
+
==================
|
3
|
+
|
4
|
+
**Author**: Jan Wedekind
|
5
|
+
**Copyright**: 2010, 2011
|
6
|
+
**License**: GPL
|
7
|
+
|
8
|
+
Synopsis
|
9
|
+
--------
|
10
|
+
|
3
11
|
This Ruby extension provides reading and writing high dynamic range images using OpenEXR.
|
4
12
|
|
13
|
+
Installation
|
14
|
+
------------
|
15
|
+
*hornetseye-openexr* requires the OpenEXR development headers. If you are running Debian or (K)ubuntu, you can install them like this:
|
16
|
+
|
17
|
+
$ sudo aptitude install libopenexr-dev
|
18
|
+
|
19
|
+
To install this Ruby extension, use the following command:
|
20
|
+
|
21
|
+
$ sudo gem install hornetseye-openexr
|
22
|
+
|
23
|
+
Alternatively you can build and install the Ruby extension from source as follows:
|
24
|
+
|
25
|
+
$ rake
|
26
|
+
$ sudo rake install
|
5
27
|
|
data/Rakefile
CHANGED
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
|
|
7
7
|
require 'rbconfig'
|
8
8
|
|
9
9
|
PKG_NAME = 'hornetseye-openexr'
|
10
|
-
PKG_VERSION = '0.
|
10
|
+
PKG_VERSION = '0.3.0'
|
11
11
|
CFG = RbConfig::CONFIG
|
12
12
|
CXX = ENV[ 'CXX' ] || 'g++'
|
13
13
|
RB_FILES = FileList[ 'lib/**/*.rb' ]
|
@@ -91,8 +91,7 @@ end
|
|
91
91
|
begin
|
92
92
|
require 'yard'
|
93
93
|
YARD::Rake::YardocTask.new :yard do |y|
|
94
|
-
y.
|
95
|
-
y.files << FileList[ 'lib/**/*.rb' ]
|
94
|
+
y.files << RB_FILES
|
96
95
|
end
|
97
96
|
rescue LoadError
|
98
97
|
STDERR.puts 'Please install \'yard\' if you want to generate documentation'
|
@@ -125,8 +124,8 @@ begin
|
|
125
124
|
s.extra_rdoc_files = []
|
126
125
|
s.rdoc_options = %w{--no-private}
|
127
126
|
s.add_dependency %<malloc>, [ '~> 1.1' ]
|
128
|
-
s.add_dependency %<multiarray>, [ '~> 0.
|
129
|
-
s.add_dependency %<hornetseye-frame>, [ '~> 0.
|
127
|
+
s.add_dependency %<multiarray>, [ '~> 0.23' ]
|
128
|
+
s.add_dependency %<hornetseye-frame>, [ '~> 0.11' ]
|
130
129
|
s.add_development_dependency %q{rake}
|
131
130
|
end
|
132
131
|
GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
|
@@ -148,8 +147,8 @@ begin
|
|
148
147
|
s.extra_rdoc_files = []
|
149
148
|
s.rdoc_options = %w{--no-private}
|
150
149
|
s.add_dependency %<malloc>, [ '~> 1.1' ]
|
151
|
-
s.add_dependency %<multiarray>, [ '~> 0.
|
152
|
-
s.add_dependency %<hornetseye-frame>, [ '~> 0.
|
150
|
+
s.add_dependency %<multiarray>, [ '~> 0.23' ]
|
151
|
+
s.add_dependency %<hornetseye-frame>, [ '~> 0.11' ]
|
153
152
|
end
|
154
153
|
GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
|
155
154
|
desc "Build the gem file #{GEM_SOURCE}"
|
data/ext/init.cc
CHANGED
@@ -31,8 +31,8 @@ extern "C" {
|
|
31
31
|
|
32
32
|
void Init_hornetseye_openexr(void)
|
33
33
|
{
|
34
|
-
|
35
|
-
|
34
|
+
rb_eval_string( "require 'multiarray'" );
|
35
|
+
rb_eval_string( "require 'hornetseye_frame'" );
|
36
36
|
VALUE mHornetseye = rb_define_module( "Hornetseye" );
|
37
37
|
OpenEXRInput::registerRubyClass( mHornetseye );
|
38
38
|
OpenEXROutput::registerRubyClass( mHornetseye );
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 3
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.3.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jan Wedekind
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2011-06-29 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -41,8 +41,8 @@ dependencies:
|
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
segments:
|
43
43
|
- 0
|
44
|
-
-
|
45
|
-
version: "0.
|
44
|
+
- 23
|
45
|
+
version: "0.23"
|
46
46
|
type: :runtime
|
47
47
|
version_requirements: *id002
|
48
48
|
- !ruby/object:Gem::Dependency
|
@@ -55,8 +55,8 @@ dependencies:
|
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
segments:
|
57
57
|
- 0
|
58
|
-
-
|
59
|
-
version: "0.
|
58
|
+
- 11
|
59
|
+
version: "0.11"
|
60
60
|
type: :runtime
|
61
61
|
version_requirements: *id003
|
62
62
|
- !ruby/object:Gem::Dependency
|
@@ -85,21 +85,21 @@ files:
|
|
85
85
|
- README.md
|
86
86
|
- COPYING
|
87
87
|
- .document
|
88
|
-
- lib/hornetseye_openexr_ext.rb
|
89
88
|
- lib/hornetseye-openexr/multiarray.rb
|
90
89
|
- lib/hornetseye-openexr/node.rb
|
91
|
-
- lib/hornetseye-openexr/openexroutput.rb
|
92
90
|
- lib/hornetseye-openexr/openexrinput.rb
|
93
|
-
-
|
91
|
+
- lib/hornetseye-openexr/openexroutput.rb
|
92
|
+
- lib/hornetseye_openexr_ext.rb
|
94
93
|
- ext/init.cc
|
95
|
-
- ext/frame.cc
|
96
94
|
- ext/openexrinput.cc
|
95
|
+
- ext/openexroutput.cc
|
96
|
+
- ext/frame.cc
|
97
|
+
- ext/openexrinput.hh
|
98
|
+
- ext/openexroutput.hh
|
97
99
|
- ext/frame.hh
|
98
100
|
- ext/rubytools.hh
|
99
|
-
- ext/openexroutput.hh
|
100
|
-
- ext/rubyinc.hh
|
101
101
|
- ext/error.hh
|
102
|
-
- ext/
|
102
|
+
- ext/rubyinc.hh
|
103
103
|
- ext/rubytools.tcc
|
104
104
|
has_rdoc: yard
|
105
105
|
homepage: http://wedesoft.github.com/hornetseye-openexr/
|