media-libs/gexiv2: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Pacho Ramos
2018-06-26 21:04:15 +02:00
parent 674534ac9c
commit aa850d00e3
7 changed files with 0 additions and 290 deletions
-3
View File
@@ -1,4 +1 @@
DIST gexiv2-0.10.3.tar.xz 244816 BLAKE2B 79177a679c0d10c90a266c023930e27318f2e784e599b8f84a7356534045695e4ca44890b87eb0da4c16673e6e58c3ad77c80e404df2e76662f5a9250fc58e85 SHA512 a258a95e3e9dddc6636430d8a2bc222b6605e5d0d122ea1b951f97568cecd04b2d3cbc522625918faf3b5a3e670b01db81a45c2c5c5d65e6eb4b4f4a2ac69e8f
DIST gexiv2-0.10.5.tar.xz 591752 BLAKE2B 2fe5beaec7a6c2c9c55e8669c1cd8077cb5636f9b188b1ae64212582a23b514ece68108dbd3d4369417af6901579a28b69beb1a44013b51a3517f7fcf4f3e409 SHA512 350e9db388d0aa1c106f3e5bf8862206977d650be0223229c61c6a3ee20642890fbfd7681a215b9c85c10d0787a00a25bc05a639e19a5f39be27cb6d1bb0fc06
DIST gexiv2-0.10.6.tar.xz 629872 BLAKE2B 9a0f0b98eb1f19d4642cd0fb692b8ec539d3aa98f5c47f04317466877c404955d86c7fb4b2399fee30191555340fbc7701e19132d707f57d123cb16771507570 SHA512 4b15b33af9266a69babd902d379edefe7afd3d2eef11aa3c144f9ddf9c645b697bae16b8d89f50e9b3da884f1ba32f505e118c5fef5204f5630e3a9c6fee7fca
DIST gexiv2-0.10.8.tar.xz 634696 BLAKE2B 182cda3bac5b3211e5ef8267628a86cc496c0242f25c5cd94ed9eab81c7460022373f3bb794c976fd0b9a10e49f9ca7109521ac6f99bbe7a4e0306a31db899da SHA512 4c25cf6884495151947a70e62a096f3279223673bece4d4ff02720b2820aaad9e80c8715e02bf46c3f5598f582fdf07b4b3ddabd017d53001245e3381a4cc286
@@ -1,53 +0,0 @@
From f295c5ce9d0a87ee0c2cc793ca191369e05b7cf1 Mon Sep 17 00:00:00 2001
From: Jens Georg <mail@jensge.org>
Date: Fri, 12 May 2017 19:50:58 +0200
Subject: iostream: Adapt to new Exiv2 API in 0.26
https://bugzilla.gnome.org/show_bug.cgi?id=782449
---
gexiv2/gexiv2-stream-io.cpp | 4 ++--
gexiv2/gexiv2-stream-io.h | 8 +++++++-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/gexiv2/gexiv2-stream-io.cpp b/gexiv2/gexiv2-stream-io.cpp
index 0ae3324..abfb843 100644
--- a/gexiv2/gexiv2-stream-io.cpp
+++ b/gexiv2/gexiv2-stream-io.cpp
@@ -142,7 +142,7 @@ long StreamIo::tell () const {
return cb->Position (cb->handle);
}
-long StreamIo::size () const {
+StreamIo::size_type StreamIo::size () const {
return cb->Length (cb->handle);
}
diff --git a/gexiv2/gexiv2-stream-io.h b/gexiv2/gexiv2-stream-io.h
index 76621a9..a26f4e6 100644
--- a/gexiv2/gexiv2-stream-io.h
+++ b/gexiv2/gexiv2-stream-io.h
@@ -25,6 +25,12 @@ public:
StreamIo (ManagedStreamCallbacks* cb);
+#if EXIV2_TEST_VERSION(0,26,0)
+ typedef size_t size_type;
+#else
+ typedef long size_type;
+#endif
+
virtual ~StreamIo ();
virtual int open ();
virtual int close ();
@@ -39,7 +45,7 @@ public:
virtual Exiv2::byte* mmap (bool isWriteable = false);
virtual int munmap ();
virtual long tell () const;
- virtual long size () const;
+ virtual size_type size () const;
virtual bool isopen () const;
virtual int error () const;
virtual bool eof () const;
--
cgit v0.12
@@ -1,11 +0,0 @@
diff -Naur gexiv2-0.10.5/gexiv2/gexiv2-metadata-gps.cpp gexiv2-0.10.5b/gexiv2/gexiv2-metadata-gps.cpp
--- gexiv2-0.10.5/gexiv2/gexiv2-metadata-gps.cpp 2017-03-19 18:00:55.000000000 +0100
+++ gexiv2-0.10.5b/gexiv2/gexiv2-metadata-gps.cpp 2017-03-26 09:45:44.638692802 +0200
@@ -12,6 +12,7 @@
#include "gexiv2-metadata-private.h"
#include <string>
#include <cmath>
+#include <stdexcept>
#include <stdio.h>
#include <glib-object.h>
#include <exiv2/exif.hpp>
-53
View File
@@ -1,53 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit eutils multilib python-r1 toolchain-funcs versionator xdg-utils
MY_PV=$(get_version_component_range 1-2)
DESCRIPTION="GObject-based wrapper around the Exiv2 library"
HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="introspection python static-libs"
REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.26.1:2
>=media-gfx/exiv2-0.21:0=
introspection? ( dev-libs/gobject-introspection:= )"
DEPEND="${RDEPEND}
dev-libs/gobject-introspection-common
virtual/pkgconfig"
src_prepare() {
xdg_environment_reset
tc-export CXX
epatch "${FILESDIR}/${P}-exiv-0.26.patch"
}
src_configure() {
econf \
$(use_enable introspection) \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" LIB="$(get_libdir)" install
dodoc AUTHORS NEWS README THANKS
if use python ; then
python_moduleinto gi/overrides/
python_foreach_impl python_domodule GExiv2.py
fi
use static-libs || prune_libtool_files --modules
}
-52
View File
@@ -1,52 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit eutils multilib python-r1 toolchain-funcs versionator xdg-utils
MY_PV=$(get_version_component_range 1-2)
DESCRIPTION="GObject-based wrapper around the Exiv2 library"
HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="introspection python static-libs"
REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.26.1:2
>=media-gfx/exiv2-0.21:0=
introspection? ( dev-libs/gobject-introspection:= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
xdg_environment_reset
tc-export CXX
epatch "${FILESDIR}/${P}-exiv-0.26.patch"
}
src_configure() {
econf \
$(use_enable introspection) \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" LIB="$(get_libdir)" install
dodoc AUTHORS NEWS README THANKS
if use python ; then
python_moduleinto gi/overrides/
python_foreach_impl python_domodule GExiv2.py
fi
use static-libs || prune_libtool_files --modules
}
-61
View File
@@ -1,61 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit autotools eutils multilib python-r1 toolchain-funcs versionator xdg-utils
MY_PV=$(get_version_component_range 1-2)
DESCRIPTION="GObject-based wrapper around the Exiv2 library"
HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="introspection python static-libs test"
REQUIRED_USE="
python? ( introspection ${PYTHON_REQUIRED_USE} )
test? ( python )
"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.26.1:2
>=media-gfx/exiv2-0.21:0=
introspection? ( dev-libs/gobject-introspection:= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-0.10.5-stdexcept.patch
"${FILESDIR}"/${PN}-0.10.3-exiv-0.26.patch
)
src_prepare() {
xdg_environment_reset
tc-export CXX
default
eautoreconf
}
src_configure() {
econf \
$(use_enable introspection) \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" LIB="$(get_libdir)" install
dodoc AUTHORS NEWS README THANKS
if use python ; then
python_moduleinto gi/overrides/
python_foreach_impl python_domodule GExiv2.py
fi
use static-libs || prune_libtool_files --modules
}
-57
View File
@@ -1,57 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit autotools eutils multilib python-r1 toolchain-funcs versionator xdg-utils
MY_PV=$(get_version_component_range 1-2)
DESCRIPTION="GObject-based wrapper around the Exiv2 library"
HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="introspection python static-libs test"
REQUIRED_USE="
python? ( introspection ${PYTHON_REQUIRED_USE} )
test? ( python )
"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.26.1:2
>=media-gfx/exiv2-0.21:0=
introspection? ( dev-libs/gobject-introspection:= )"
DEPEND="${RDEPEND}
dev-libs/gobject-introspection-common
virtual/pkgconfig"
src_prepare() {
xdg_environment_reset
tc-export CXX
default
eautoreconf
}
src_configure() {
econf \
$(use_enable introspection) \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" LIB="$(get_libdir)" install
dodoc AUTHORS NEWS README THANKS
if use python ; then
python_moduleinto gi/overrides/
python_foreach_impl python_domodule GExiv2.py
fi
use static-libs || prune_libtool_files --modules
}