lib_raw 0.0.1

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bf2f96ea10537e5d4740822619592ce3070bbbd7
4
+ data.tar.gz: c797b83b2e26407a2be28d131779e819e9a27b8a
5
+ SHA512:
6
+ metadata.gz: 7a8023122bedeb21edb2939cf0d05b41ef53089f3f28b5d833147d6c513ee27b39fa3d576b6eed699b719f4bd20e0eea48ea109cabc2630aec71b986416c1816
7
+ data.tar.gz: eba82ebba2bc067ebeb9e6628c315924c62bde9c7cedf22735cbbfaac1e5baee05345e90c54a6fe1b020b439a0c53a3715ba797034e57a6caaad21941c73dbaa
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in lib_raw.gemspec
4
+ gemspec
5
+ gem "rake-compiler"
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2016 yoshida
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # LibRaw
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'lib_raw'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ # brew install libraw
18
+ $ gem install lib_raw
19
+
20
+ ## Usage
21
+
22
+ TODO: Write usage instructions here
23
+
24
+ ## Contributing
25
+
26
+ 1. Fork it
27
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
28
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
29
+ 4. Push to the branch (`git push origin my-new-feature`)
30
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/extensiontask"
3
+
4
+ Rake::ExtensionTask.new "lib_raw" do |ext|
5
+ ext.lib_dir = "lib/lib_raw"
6
+ end
@@ -0,0 +1,31 @@
1
+ require "mkmf"
2
+
3
+ have_library("stdc++")
4
+ have_library("raw_r")
5
+
6
+
7
+ #$CFLAGS << " -I#{File.dirname(__FILE__)}/src"
8
+ #$CFLAGS << " -I#{File.dirname(__FILE__)}/internal"
9
+
10
+ #try_link("#{File.dirname(__FILE__)}/src/libraw_cxx.cpp")
11
+
12
+ =begin
13
+ $srcs = %w{
14
+ ./lib_raw.cpp
15
+ ./internal/aahd_demosaic.cpp
16
+ ./internal/dcraw_common.cpp
17
+ ./internal/dcraw_fileio.cpp
18
+ ./internal/demosaic_packs.cpp
19
+ ./internal/dht_demosaic.cpp
20
+ ./internal/libraw_x3f.cpp
21
+ ./internal/wf_filtering.cpp
22
+ ./src/libraw_c_api.cpp
23
+ ./src/libraw_cxx.cpp
24
+ ./src/libraw_datastream.cpp
25
+ }
26
+ p $srcs
27
+ =end
28
+
29
+ #have_library("libraw_r")
30
+
31
+ create_makefile("lib_raw/lib_raw")