diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-16 18:23:49 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-16 18:44:48 +0200 |
commit | 20ba04676102f3046057353632426af42da72536 (patch) | |
tree | b6581f2289b1608d354da8406fdce14a7c49cd18 | |
parent | kde-frameworks/kdelibs: Add support for exiv-0.27 (diff) | |
download | kde-sunset-20ba0467.tar.gz kde-sunset-20ba0467.tar.bz2 kde-sunset-20ba0467.zip |
kde-apps/libkexiv2: Add support for exiv-0.27
Thanks-to: Tommy Yu <y@metatoaster.com>
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-apps/libkexiv2/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/libkexiv2/files/exiv-0.27.patch | 21 | ||||
-rw-r--r-- | kde-apps/libkexiv2/libkexiv2-4.14.3.ebuild | 6 |
3 files changed, 26 insertions, 3 deletions
diff --git a/kde-apps/libkexiv2/Manifest b/kde-apps/libkexiv2/Manifest index 537e8c8b..1d6782bd 100644 --- a/kde-apps/libkexiv2/Manifest +++ b/kde-apps/libkexiv2/Manifest @@ -1 +1 @@ -DIST libkexiv2-4.14.3.tar.xz 136292 SHA256 c487078cc7349768dc76f0eabd98e546762fdd3fda9da088fbfa74785daf0efd SHA512 3700bf4370e6746a482d03ee654d9c32d7de816cfacbdcbb5347036234dc30da93fb85e2d1d4fbcdc9cbe01f23eaab1533e39541068a9294d1690856de75a29b WHIRLPOOL 83331db4c66a6a523baf549a476722e1fc5af7b5ef5c4fe521e50e0eb5eb3a1cb50a9df611e5aa8aa51432a40dc75c6804958443803af282655470d37a02d9cb +DIST libkexiv2-4.14.3.tar.xz 136292 BLAKE2B 5775b8657222f5f728b1936550dd5face0fe559e457d4a098dec1e73dd53fa683b3c5bec4408fea5742918ee15ab1cdc20e422becebcfa8ba8fed6c589f6e8da SHA512 3700bf4370e6746a482d03ee654d9c32d7de816cfacbdcbb5347036234dc30da93fb85e2d1d4fbcdc9cbe01f23eaab1533e39541068a9294d1690856de75a29b diff --git a/kde-apps/libkexiv2/files/exiv-0.27.patch b/kde-apps/libkexiv2/files/exiv-0.27.patch new file mode 100644 index 00000000..b82370c8 --- /dev/null +++ b/kde-apps/libkexiv2/files/exiv-0.27.patch @@ -0,0 +1,21 @@ +--- libkexiv2/kexiv2_p.h.orig 2018-12-24 08:09:07.000000000 -0800 ++++ libkexiv2/kexiv2_p.h 2018-12-24 08:10:00.000000000 -0800 +@@ -85,6 +85,7 @@ + #include <exiv2/types.hpp> + #include <exiv2/exif.hpp> + #include <exiv2/xmpsidecar.hpp> ++#include <exiv2/version.hpp> + + // Check if Exiv2 support XMP + +--- libkexiv2/kexiv2exif.cpp.orig 2014-10-06 23:07:22.000000000 -0700 ++++ libkexiv2/kexiv2exif.cpp 2018-12-24 08:06:26.000000000 -0800 +@@ -986,7 +986,7 @@ + + if (pos == d->exifMetadata().end() || pos->count() != 1 || pos->toLong() != 0) + { +- throw Exiv2::Error(1, "Exif.Image.NewSubfileType missing or not set as main image"); ++ throw Exiv2::Error(Exiv2::kerErrorMessage, "Exif.Image.NewSubfileType missing or not set as main image"); + } + + // Remove sub-IFD tags diff --git a/kde-apps/libkexiv2/libkexiv2-4.14.3.ebuild b/kde-apps/libkexiv2/libkexiv2-4.14.3.ebuild index d24a6e11..950ce572 100644 --- a/kde-apps/libkexiv2/libkexiv2-4.14.3.ebuild +++ b/kde-apps/libkexiv2/libkexiv2-4.14.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -10,7 +10,9 @@ KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="debug +xmp" DEPEND=" - >=media-gfx/exiv2-0.20:=[xmp=] + >=media-gfx/exiv2-0.27:=[xmp=] virtual/jpeg:0 " RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/exiv-0.27.patch" ) |