hellosiyan / Viewnior

Elegant Image Viewer
https://siyanpanayotov.com/project/viewnior/
GNU General Public License v3.0
319 stars 55 forks source link

build with exiv2-0.28.0 #130

Open tastytea opened 1 year ago

tastytea commented 1 year ago

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

pinotree commented 6 months ago

@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!