Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

tastytea
Copy link
Contributor

exiv2-0.28.0 replaced Exiv2::Image::AutoPtr with Exiv2::Image::UniquePtr¹ and Exiv2::AnyError with Exiv2::Error². this patch makes Viewnior build with 0.28.0 and 0.27.6.

i have tested opening a JPEG image and looking at its EXIF metadata with both versions of exiv2.

¹ include/exiv2/image.hpp
² include/exiv2/error.hpp

tastytea added 2 commits May 16, 2023 11:33
exiv2-0.28.0 removed Exiv2::Image::AutoPtr and added
Exiv2::Image::UniquePtr instead. since it's a typedef for
std::unique_ptr<Image>, i'm using that directly instead of adding a
condition on the exiv2 version.
exiv2-0.28.0 changed Exiv2::AnyError to Exiv2::Error.
@pinotree
Copy link

@hellosiyan would you please take a look at this MR or #134? This way Viewnior can be built (and work) against newer versions of the Exiv2 library. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants