Skip to content

Commit

Permalink
feat(build): Add new olympus14.cpp file to build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Apr 10, 2024
1 parent f78100e commit 615925b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions libraw-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ homepage = "https://github.com/aftershootco/libraw-sys"

[dependencies]
futures = { version = "0.3.28", optional = true }
image = { version = "0.24" , optional = true }
image = { version = "0.25" , optional = true }
img-parts = { version = "0.3.0", optional = true }
libc = { version = "0.2.135", optional = true }
libraw-sys = { version = "1.0.0-rc.1", path = "../libraw-sys" }
libraw-sys = { version = "1.0.0-rc.2", path = "../libraw-sys" }
semver = "1.0"
thiserror = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion libraw-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libraw-sys"
version = "1.0.0-rc.1"
version = "1.0.0-rc.2"
edition = "2021"
license = "LGPL-2.1-or-later or CDDL-1.0"
build = "build.rs"
Expand Down
15 changes: 8 additions & 7 deletions libraw-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,13 @@ fn build(out_dir: impl AsRef<Path>, libraw_dir: impl AsRef<Path>) -> Result<()>
"src/decoders/generic.cpp",
"src/decoders/kodak_decoders.cpp",
"src/decoders/load_mfbacks.cpp",
"src/decoders/olympus14.cpp",
"src/decoders/pana8.cpp",
"src/decoders/sonycc.cpp",
"src/decompressors/losslessjpeg.cpp",
"src/decoders/smal.cpp",
"src/decoders/sonycc.cpp",
"src/decoders/unpack.cpp",
"src/decoders/unpack_thumb.cpp",
"src/decompressors/losslessjpeg.cpp",
"src/demosaic/aahd_demosaic.cpp",
"src/demosaic/ahd_demosaic.cpp",
"src/demosaic/dcb_demosaic.cpp",
Expand All @@ -104,6 +105,8 @@ fn build(out_dir: impl AsRef<Path>, libraw_dir: impl AsRef<Path>) -> Result<()>
"src/demosaic/xtrans_demosaic.cpp",
"src/integration/dngsdk_glue.cpp",
"src/integration/rawspeed_glue.cpp",
"src/libraw_c_api.cpp",
"src/libraw_datastream.cpp",
"src/metadata/adobepano.cpp",
"src/metadata/canon.cpp",
"src/metadata/ciff.cpp",
Expand Down Expand Up @@ -132,11 +135,9 @@ fn build(out_dir: impl AsRef<Path>, libraw_dir: impl AsRef<Path>) -> Result<()>
"src/postprocessing/dcraw_process.cpp",
"src/postprocessing/mem_image.cpp",
"src/postprocessing/postprocessing_aux.cpp",
//"src/postprocessing/postprocessing_ph.cpp",
"src/postprocessing/postprocessing_utils.cpp",
"src/postprocessing/postprocessing_utils_dcrdefs.cpp",
"src/preprocessing/ext_preprocess.cpp",
//"src/preprocessing/preprocessing_ph.cpp"
"src/preprocessing/raw2image.cpp",
"src/preprocessing/subtract_black.cpp",
"src/tables/cameralist.cpp",
Expand All @@ -155,12 +156,12 @@ fn build(out_dir: impl AsRef<Path>, libraw_dir: impl AsRef<Path>) -> Result<()>
"src/write/apply_profile.cpp",
"src/write/file_write.cpp",
"src/write/tiff_writer.cpp",
//"src/write/write_ph.cpp"
"src/x3f/x3f_parse_process.cpp",
"src/x3f/x3f_utils_patched.cpp",
"src/libraw_c_api.cpp",
//"src/libraw_cxx.cpp"
"src/libraw_datastream.cpp",
//"src/postprocessing/postprocessing_ph.cpp",
//"src/preprocessing/preprocessing_ph.cpp"
//"src/write/write_ph.cpp"
];

let sources = sources
Expand Down

0 comments on commit 615925b

Please sign in to comment.