Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gexiv2/files/, media-libs/gexiv2/
Date: Thu, 03 Jan 2019 14:40:43
Message-Id: 1546526402.f2761fa07fc6c9e75a27da4ff9cd52551e7d7b1f.asturm@gentoo
1 commit: f2761fa07fc6c9e75a27da4ff9cd52551e7d7b1f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 3 10:38:22 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 3 14:40:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2761fa0
7
8 media-libs/gexiv2: Drop 0.10.9
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 media-libs/gexiv2/Manifest | 1 -
14 .../gexiv2/files/gexiv2-0.10.9-exiv2-0.27.patch | 178 ---------------------
15 media-libs/gexiv2/gexiv2-0.10.9.ebuild | 71 --------
16 3 files changed, 250 deletions(-)
17
18 diff --git a/media-libs/gexiv2/Manifest b/media-libs/gexiv2/Manifest
19 index 2fc80a510e8..03b2c919d20 100644
20 --- a/media-libs/gexiv2/Manifest
21 +++ b/media-libs/gexiv2/Manifest
22 @@ -1,3 +1,2 @@
23 DIST gexiv2-0.10.10.tar.xz 638168 BLAKE2B ae75a06007dcaca4c22e463661073d796b77921a313a5bb450c488ee963f72c6095d7abc12dedc0d089a28905cf386062221073100ba3513d9fb13eb524365ee SHA512 41e5b4a9d81882ea4b1bc6f3b9ced95ca4d03f836de30ff90b7a43311e5319f7c0f46cbad767bf2b00926c8e5fd2c1e8ca2a2113c308e23b7a4c21205399abf7
24 DIST gexiv2-0.10.8.tar.xz 634696 BLAKE2B 182cda3bac5b3211e5ef8267628a86cc496c0242f25c5cd94ed9eab81c7460022373f3bb794c976fd0b9a10e49f9ca7109521ac6f99bbe7a4e0306a31db899da SHA512 4c25cf6884495151947a70e62a096f3279223673bece4d4ff02720b2820aaad9e80c8715e02bf46c3f5598f582fdf07b4b3ddabd017d53001245e3381a4cc286
25 -DIST gexiv2-0.10.9.tar.xz 380348 BLAKE2B 6e1479f1a4ac74f622f71eb554c42a5170091d6b1b790962ef415eab4b2528dececa2f2f7147cc662fa00503ec66766294f7efd9401bae4771e72c56724398ec SHA512 40683ce341c5eb09ad67a4a25ad14a791247a5b5f459acba424815e98d5797b0a7fb338fb4d4f1c234147c9268abe34570698fd4259cb80f7f7af76af0f0fba3
26
27 diff --git a/media-libs/gexiv2/files/gexiv2-0.10.9-exiv2-0.27.patch b/media-libs/gexiv2/files/gexiv2-0.10.9-exiv2-0.27.patch
28 deleted file mode 100644
29 index ca68a8475a1..00000000000
30 --- a/media-libs/gexiv2/files/gexiv2-0.10.9-exiv2-0.27.patch
31 +++ /dev/null
32 @@ -1,178 +0,0 @@
33 -From d8f96634e1df693eb0393cf82893a86dd2a92d2b Mon Sep 17 00:00:00 2001
34 -From: Jens Georg <mail@××××××.org>
35 -Date: Tue, 20 Nov 2018 12:43:21 +0100
36 -Subject: [PATCH] Replace single-file includes
37 -
38 -To improve compatibility with exiv2 0.27 as recommended in
39 -
40 -Fixes #34
41 -
42 -https://github.com/Exiv2/exiv2/issues/555#issuecomment-440023260
43 ----
44 - gexiv2/gexiv2-metadata-exif.cpp | 2 +-
45 - gexiv2/gexiv2-metadata-gps.cpp | 2 +-
46 - gexiv2/gexiv2-metadata-iptc.cpp | 2 +-
47 - gexiv2/gexiv2-metadata-private.h | 6 +-----
48 - gexiv2/gexiv2-metadata-xmp.cpp | 2 +-
49 - gexiv2/gexiv2-metadata.cpp | 9 ++-------
50 - gexiv2/gexiv2-preview-image-private.h | 2 +-
51 - gexiv2/gexiv2-preview-properties-private.h | 2 +-
52 - gexiv2/gexiv2-startup.cpp | 2 +-
53 - gexiv2/gexiv2-stream-io.cpp | 2 +-
54 - gexiv2/gexiv2-stream-io.h | 2 +-
55 - 11 files changed, 12 insertions(+), 21 deletions(-)
56 -
57 -diff --git a/gexiv2/gexiv2-metadata-exif.cpp b/gexiv2/gexiv2-metadata-exif.cpp
58 -index c87a460..f931b95 100644
59 ---- a/gexiv2/gexiv2-metadata-exif.cpp
60 -+++ b/gexiv2/gexiv2-metadata-exif.cpp
61 -@@ -12,7 +12,7 @@
62 - #include "gexiv2-metadata-private.h"
63 - #include <string>
64 - #include <glib-object.h>
65 --#include <exiv2/exif.hpp>
66 -+#include <exiv2/exiv2.hpp>
67 -
68 - G_BEGIN_DECLS
69 -
70 -diff --git a/gexiv2/gexiv2-metadata-gps.cpp b/gexiv2/gexiv2-metadata-gps.cpp
71 -index d49d97c..47592ec 100644
72 ---- a/gexiv2/gexiv2-metadata-gps.cpp
73 -+++ b/gexiv2/gexiv2-metadata-gps.cpp
74 -@@ -15,7 +15,7 @@
75 - #include <stdexcept>
76 - #include <stdio.h>
77 - #include <glib-object.h>
78 --#include <exiv2/exif.hpp>
79 -+#include <exiv2/exiv2.hpp>
80 -
81 - #include <limits>
82 -
83 -diff --git a/gexiv2/gexiv2-metadata-iptc.cpp b/gexiv2/gexiv2-metadata-iptc.cpp
84 -index 2371708..aeac1c7 100644
85 ---- a/gexiv2/gexiv2-metadata-iptc.cpp
86 -+++ b/gexiv2/gexiv2-metadata-iptc.cpp
87 -@@ -12,7 +12,7 @@
88 - #include "gexiv2-metadata-private.h"
89 - #include <string>
90 - #include <glib-object.h>
91 --#include <exiv2/iptc.hpp>
92 -+#include <exiv2/exiv2.hpp>
93 -
94 - G_BEGIN_DECLS
95 -
96 -diff --git a/gexiv2/gexiv2-metadata-private.h b/gexiv2/gexiv2-metadata-private.h
97 -index d85453c..8818c22 100644
98 ---- a/gexiv2/gexiv2-metadata-private.h
99 -+++ b/gexiv2/gexiv2-metadata-private.h
100 -@@ -11,11 +11,7 @@
101 - #define GEXIV2_METADATA_PRIVATE_H
102 -
103 - #include <gexiv2/gexiv2-metadata.h>
104 --#include <exiv2/image.hpp>
105 --#include <exiv2/exif.hpp>
106 --#include <exiv2/iptc.hpp>
107 --#include <exiv2/xmp.hpp>
108 --#include <exiv2/preview.hpp>
109 -+#include <exiv2/exiv2.hpp>
110 -
111 - G_BEGIN_DECLS
112 -
113 -diff --git a/gexiv2/gexiv2-metadata-xmp.cpp b/gexiv2/gexiv2-metadata-xmp.cpp
114 -index e4900f2..6f60cd0 100644
115 ---- a/gexiv2/gexiv2-metadata-xmp.cpp
116 -+++ b/gexiv2/gexiv2-metadata-xmp.cpp
117 -@@ -12,7 +12,7 @@
118 - #include "gexiv2-metadata-private.h"
119 - #include <string>
120 - #include <glib-object.h>
121 --#include <exiv2/xmp.hpp>
122 -+#include <exiv2/exiv2.hpp>
123 -
124 - G_BEGIN_DECLS
125 -
126 -diff --git a/gexiv2/gexiv2-metadata.cpp b/gexiv2/gexiv2-metadata.cpp
127 -index 98ded9d..9c791ef 100644
128 ---- a/gexiv2/gexiv2-metadata.cpp
129 -+++ b/gexiv2/gexiv2-metadata.cpp
130 -@@ -22,13 +22,8 @@
131 - #include <cmath>
132 - #include <glib-object.h>
133 - #include <gio/gio.h>
134 --#include <exiv2/image.hpp>
135 --#include <exiv2/xmpsidecar.hpp>
136 --#include <exiv2/exif.hpp>
137 --#include <exiv2/iptc.hpp>
138 --#include <exiv2/xmp.hpp>
139 --#include <exiv2/preview.hpp>
140 --#include <exiv2/jpgimage.hpp>
141 -+
142 -+#include <exiv2/exiv2.hpp>
143 -
144 -
145 - G_BEGIN_DECLS
146 -diff --git a/gexiv2/gexiv2-preview-image-private.h b/gexiv2/gexiv2-preview-image-private.h
147 -index 810304c..b52a84f 100644
148 ---- a/gexiv2/gexiv2-preview-image-private.h
149 -+++ b/gexiv2/gexiv2-preview-image-private.h
150 -@@ -11,7 +11,7 @@
151 - #define GEXIV2_PREVIEW_IMAGE_PRIVATE_H
152 -
153 - #include <gexiv2/gexiv2-preview-image.h>
154 --#include <exiv2/preview.hpp>
155 -+#include <exiv2/exiv2.hpp>
156 -
157 - G_BEGIN_DECLS
158 -
159 -diff --git a/gexiv2/gexiv2-preview-properties-private.h b/gexiv2/gexiv2-preview-properties-private.h
160 -index bacb392..b057604 100644
161 ---- a/gexiv2/gexiv2-preview-properties-private.h
162 -+++ b/gexiv2/gexiv2-preview-properties-private.h
163 -@@ -11,7 +11,7 @@
164 - #define GEXIV2_PREVIEW_PROPERTIES_PRIVATE_H
165 -
166 - #include <gexiv2/gexiv2-preview-properties.h>
167 --#include <exiv2/preview.hpp>
168 -+#include <exiv2/exiv2.hpp>
169 -
170 - G_BEGIN_DECLS
171 -
172 -diff --git a/gexiv2/gexiv2-startup.cpp b/gexiv2/gexiv2-startup.cpp
173 -index 179b6c7..de438de 100644
174 ---- a/gexiv2/gexiv2-startup.cpp
175 -+++ b/gexiv2/gexiv2-startup.cpp
176 -@@ -7,7 +7,7 @@
177 - * This is free software. See COPYING for details.
178 - */
179 -
180 --#include <exiv2/xmp.hpp>
181 -+#include <exiv2/exiv2.hpp>
182 - #include "gexiv2-startup.h"
183 - #include "gexiv2-version.h"
184 -
185 -diff --git a/gexiv2/gexiv2-stream-io.cpp b/gexiv2/gexiv2-stream-io.cpp
186 -index b772b74..454305d 100644
187 ---- a/gexiv2/gexiv2-stream-io.cpp
188 -+++ b/gexiv2/gexiv2-stream-io.cpp
189 -@@ -13,7 +13,7 @@
190 - #include "gexiv2-stream-io.h"
191 - #include "gexiv2-managed-stream.h"
192 -
193 --#include <exiv2/basicio.hpp>
194 -+#include <exiv2/exiv2.hpp>
195 - #include <gio/gio.h>
196 - #include <glib.h>
197 - #include <stdio.h>
198 -diff --git a/gexiv2/gexiv2-stream-io.h b/gexiv2/gexiv2-stream-io.h
199 -index 430ac01..8d1fe76 100644
200 ---- a/gexiv2/gexiv2-stream-io.h
201 -+++ b/gexiv2/gexiv2-stream-io.h
202 -@@ -16,7 +16,7 @@
203 - #define GEXIV2_STREAM_IO_H
204 -
205 - #include <gexiv2/gexiv2-managed-stream.h>
206 --#include <exiv2/basicio.hpp>
207 -+#include <exiv2/exiv2.hpp>
208 - #include <gio/gio.h>
209 -
210 -
211
212 diff --git a/media-libs/gexiv2/gexiv2-0.10.9.ebuild b/media-libs/gexiv2/gexiv2-0.10.9.ebuild
213 deleted file mode 100644
214 index eea5a85a5cc..00000000000
215 --- a/media-libs/gexiv2/gexiv2-0.10.9.ebuild
216 +++ /dev/null
217 @@ -1,71 +0,0 @@
218 -# Copyright 1999-2018 Gentoo Authors
219 -# Distributed under the terms of the GNU General Public License v2
220 -
221 -EAPI=7
222 -
223 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
224 -
225 -MY_PV=$(ver_cut 1-2)
226 -inherit autotools python-r1 toolchain-funcs vala xdg-utils
227 -
228 -DESCRIPTION="GObject-based wrapper around the Exiv2 library"
229 -HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
230 -SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz"
231 -
232 -LICENSE="LGPL-2.1"
233 -SLOT="0"
234 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
235 -IUSE="introspection python static-libs test vala"
236 -
237 -REQUIRED_USE="
238 - python? ( introspection ${PYTHON_REQUIRED_USE} )
239 - test? ( python introspection )
240 - vala? ( introspection )
241 -"
242 -
243 -RDEPEND="${PYTHON_DEPS}
244 - dev-libs/glib:2
245 - media-gfx/exiv2:=
246 - introspection? ( dev-libs/gobject-introspection:= )
247 - vala? ( $(vala_depend) )
248 -"
249 -DEPEND="${RDEPEND}"
250 -BDEPEND="
251 - dev-libs/gobject-introspection-common
252 - virtual/pkgconfig
253 - test? (
254 - dev-python/pygobject
255 - media-gfx/exiv2[xmp]
256 - )
257 -"
258 -
259 -PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.patch" )
260 -
261 -src_prepare() {
262 - xdg_environment_reset
263 - tc-export CXX
264 - use vala && vala_src_prepare
265 - default
266 - eautoreconf
267 -}
268 -
269 -src_configure() {
270 - econf \
271 - $(use_enable introspection) \
272 - $(use_enable static-libs static) \
273 - $(use_enable vala)
274 -}
275 -
276 -src_install() {
277 - emake DESTDIR="${D}" LIB="$(get_libdir)" install
278 - einstalldocs
279 -
280 - if use python ; then
281 - python_moduleinto gi/overrides/
282 - python_foreach_impl python_domodule GExiv2.py
283 - fi
284 -
285 - if ! use static-libs; then
286 - find "${D}" -name '*.la' -delete || die
287 - fi
288 -}