summaryrefslogtreecommitdiff
path: root/media-libs/gexiv2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-27 07:34:25 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-27 07:34:25 +0100
commit61faa1ea0e8302df305bc281038fc00dc7eb1dd4 (patch)
tree80638756ce07f0db3bcdc33653970fa5452df743 /media-libs/gexiv2
parent00757bf15f0eb42661625ed16888d00af9a79561 (diff)
gentoo auto-resync : 27:06:2023 - 07:34:25
Diffstat (limited to 'media-libs/gexiv2')
-rw-r--r--media-libs/gexiv2/Manifest3
-rw-r--r--media-libs/gexiv2/files/0.14.0-clean-up-python-support.patch175
-rw-r--r--media-libs/gexiv2/gexiv2-0.14.0.ebuild82
3 files changed, 0 insertions, 260 deletions
diff --git a/media-libs/gexiv2/Manifest b/media-libs/gexiv2/Manifest
index 48c666843328..b73e48762c4b 100644
--- a/media-libs/gexiv2/Manifest
+++ b/media-libs/gexiv2/Manifest
@@ -1,7 +1,4 @@
-AUX 0.14.0-clean-up-python-support.patch 7005 BLAKE2B 623b003ab5c03ed86585ac662c5ddae0857bc09ddf28f5a42ea40f60601758111bcb408f38bfaa1aa081d882750d343eef355977da2ee84b3a9675d560243e11 SHA512 3de9ec1e11e859b393e16ae9d6a15e98157869b8b9cb2e939e8642eb4f38e9aaca05c969094dae001425475113ce4dc0224d3bcffd72a581b310174d039d1fd8
AUX 0.14.1-revert-default-cpp_stdto17.patch 623 BLAKE2B b086cdf4a2fd6b5acd197201c6001af3e92cd8b06b80153dbbbd2d6b367f71c15439457774711057443928133096cc5497609f1b09cbdb22e55b6c2757da8bd6 SHA512 a3d37db9925cf157c39ddfb02459e3cf24b6d648929b9409152d7c322ecfdd436461533aa425810e8f5cceadf09baf8426975a832f3158e37e7c82b9d6b74571
-DIST gexiv2-0.14.0.tar.xz 387288 BLAKE2B bdbb4547486a248cd9c6559276ebac20d3af5211474b86eb6ebfb3a8c76670ff7c2d162435e0cbcb270f96c64f5bc1eedc2d63c021b65f57e1ad9ec8cf9a4bf8 SHA512 d745ae2d8ddcf0c8a2a7980eaa489f9b520af54242c5e4ddded9c3ae4a579c824c8cb659bd7e985ffa09f9fe37bdf73d6d9181d456711e0953b73023eb0f9f50
DIST gexiv2-0.14.1.tar.xz 387604 BLAKE2B 5939e377d8b20cfa0c000b1fb0311a0a904acb35b5cbb7841e9def80b20b79f42393524e761fa0d20dba5095b55b46a712759569eb869b832190f7448896de82 SHA512 f510e49c0b2633bcc370ca21af0822032f04f5d5b57c7f76807797601b0a98b7749fdf68df37a405c9d90734adf75282a3dad59c24830874f64f7bd33152052d
-EBUILD gexiv2-0.14.0.ebuild 1876 BLAKE2B 46df7ac87775001557d46b06e9bda3439054c1457f246984ffcc2cb1ca4e7b8c8c27f41d446331bd36c92486a18f366b7c6ba59757643bdf658664ba182f7d3a SHA512 a02d4cea39bcef8f5483e8bd7a260fabe78facf73812b9f79649388782a5d0710163d619cc6d7f8371115f32fbcee8efad6aba9dfc9cc6379c1ed70201e59845
EBUILD gexiv2-0.14.1.ebuild 1837 BLAKE2B 2f53f779aa09193ce4b36de5eecf559a6de7dac7c6ce0cf475179bf9774af90bc1e2f10e20ad157ed2593e4fe0c481737f7b498a50bd37f798181a1a0e118732 SHA512 64dea127058d3a066b8957f551063bc6aaefb5336161291968bc7487ff87689aa6b2b0673ab472640c2fc7c41ac448f8e00012c40e31d162fd2c0fde6383e1e5
MISC metadata.xml 615 BLAKE2B 76b7eab8ca423cb9a816de9ee01bcf7211b14da002292e95bda41db4ed779523b97b95115803ab10ba6b4117c03ff1fd83308d6eac111c1a7813620cc5c56080 SHA512 0a85fe161f01d944a319018dd1dd63b96eafb1d83f3547c707498697dc554088c5ab9fa8fd978a326357fc8a78728e548da2f16b2ccfdcbd2b6c68c5d3623f85
diff --git a/media-libs/gexiv2/files/0.14.0-clean-up-python-support.patch b/media-libs/gexiv2/files/0.14.0-clean-up-python-support.patch
deleted file mode 100644
index 0e2fbaa33fe8..000000000000
--- a/media-libs/gexiv2/files/0.14.0-clean-up-python-support.patch
+++ /dev/null
@@ -1,175 +0,0 @@
-https://gitlab.gnome.org/GNOME/gexiv2/-/merge_requests/64
-
-From 7e36a7dfeadfff134beabf502ca4d551f505fd8e Mon Sep 17 00:00:00 2001
-From: "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca>
-Date: Fri, 24 Sep 2021 11:48:34 -0400
-Subject: [PATCH] clean up python support
-
-- fix always failing gexiv2 test due to missing import gi
-- actually use override during testing
-- fix totally ignoring gexiv2 test status
-- fix broken build with -Dpython3=false
-- remove unnecessary configure_file
-- remove misleading explanation of -Dpython3=false (it also disables
- installing GExiv2.py)
-- remove unnecessary python3_girdir
----
- meson.build | 21 +++++--------------
- meson_options.txt | 1 -
- test/meson.build | 13 +++---------
- test/python/{gexiv2.py.in => gexiv2.py} | 3 ++-
- test/python/meson.build | 10 ---------
- .../{test_metadata.py.in => test_metadata.py} | 4 ++--
- test/python3-test.in | 4 ----
- 7 files changed, 12 insertions(+), 44 deletions(-)
- rename test/python/{gexiv2.py.in => gexiv2.py} (94%)
- rename test/python/{test_metadata.py.in => test_metadata.py} (99%)
- delete mode 100755 test/python3-test.in
-
-diff --git a/meson.build b/meson.build
-index 42f70cb..3f9426f 100644
---- a/meson.build
-+++ b/meson.build
-@@ -23,7 +23,6 @@ gio = dependency('gio-2.0', version : '>= 2.46.0')
- cc = meson.get_compiler('c')
- cpp = meson.get_compiler('cpp')
- math = cc.find_library('m', required : false)
--python3 = import('python').find_installation('python3', modules: 'gi', required: get_option('python3'))
-
- bmff_test = '''#include <exiv2/exiv2.hpp>
- #ifndef EXV_ENABLE_BMFF
-@@ -48,24 +47,14 @@ if get_option('gtk_doc')
- subdir('docs')
- endif
-
--if get_option('python3') == false
-- warning('\'python3\' is disabled, any Python tests will not be run.')
--else
-+if get_option('python3')
- if get_option('introspection') == false
- error('Build option \'python3\' requires \'introspection\' to be enabled.')
- endif
--
-- girdir = get_option('python3_girdir')
-- if girdir == 'auto'
-- python3_output = run_command(python3, ['-c', 'import gi; print(gi._overridesdir)'])
-- if python3_output.returncode() != 0
-- error('Finding the Python 3 gi/override path: ' + python3_output.stderr())
-- endif
-- girdir = python3_output.stdout().strip()
-- endif
--
-- message('Installing \'GExiv2.py\' into \'' + girdir + '\'')
-- python3.install_sources('GExiv2.py', subdir : girdir)
-+ python3 = import('python').find_installation('python3', modules: 'gi')
-+ python3.install_sources('GExiv2.py', subdir: 'gi/overrides')
-+else
-+ python3 = disabler()
- endif
-
- subdir('test')
-diff --git a/meson_options.txt b/meson_options.txt
-index 5e76789..edb3cfd 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -2,5 +2,4 @@ option('gtk_doc', type: 'boolean', value: false, description: 'Enable or disable
- option('introspection', type: 'boolean', value : true, description: 'Enable or disable GObject Introspection')
- option('vapi', type: 'boolean', value: true, description: 'Enable or disable generation of vala vapi file')
- option('tools', type: 'boolean', value: true, description: 'Enable or disable building the commandline tools')
--option('python3_girdir', type: 'string', value : 'auto', description : 'Installation dir for PyGObject3 overrides (default = auto)')
- option('python3', type: 'boolean', value : true, description : 'Enable or disable using Python 3 (and PyGObject module)')
-diff --git a/test/meson.build b/test/meson.build
-index c4f287d..0ae50ed 100644
---- a/test/meson.build
-+++ b/test/meson.build
-@@ -1,12 +1,11 @@
- test_sample_path = join_paths(meson.current_source_dir(), 'data')
--python_module_path = join_paths(meson.current_build_dir(), 'python')
-
- test_env = environment()
- test_env.set('G_SLICE', 'always-malloc')
- test_env.set('TEST_DATA_DIR', test_sample_path)
- test_env.prepend('GI_TYPELIB_PATH', typelib_path)
- test_env.prepend('LD_LIBRARY_PATH', typelib_path)
--test_env.prepend('PYTHONPATH', python_module_path)
-+test_env.prepend('PYTHONPATH', join_paths(meson.current_source_dir(), 'python'))
-
- regression_test = executable('gexiv2-regression', 'gexiv2-regression.c',
- dependencies : [gobject, gio, math],
-@@ -19,11 +18,5 @@ regression_test = executable('gexiv2-regression', 'gexiv2-regression.c',
-
- test('regression', regression_test, env : test_env)
-
--subdir('python')
--
--python3_test_conf = configuration_data()
--python3_test_conf.set('PYTHON3_PATH', python3.path())
--python3_test = configure_file(input: 'python3-test.in',
-- output : 'python3-test',
-- configuration: python3_test_conf)
--test('python3', find_program(python3_test), env : test_env)
-+test('python3-gexiv2', python3, args: ['-m', 'unittest', 'gexiv2'], env: test_env)
-+test('python3-metadata', python3, args: ['-m', 'unittest', 'test_metadata'], env: test_env)
-diff --git a/test/python/gexiv2.py.in b/test/python/gexiv2.py
-similarity index 94%
-rename from test/python/gexiv2.py.in
-rename to test/python/gexiv2.py
-index 4e01ff5..503815c 100644
---- a/test/python/gexiv2.py.in
-+++ b/test/python/gexiv2.py
-@@ -22,7 +22,8 @@
- import unittest
- import os
-
--gi.require_version('GExiv2', '@PROJECT_API_VERSION@')
-+import gi.overrides
-+gi.overrides.__path__.insert(0, os.path.join(os.path.dirname(__file__), '..', '..'))
- from gi.repository import GExiv2
-
-
-diff --git a/test/python/meson.build b/test/python/meson.build
-index 783ba0b..e69de29 100644
---- a/test/python/meson.build
-+++ b/test/python/meson.build
-@@ -1,10 +0,0 @@
--python_conf = configuration_data()
--python_conf.set('PROJECT_API_VERSION', project_api_version)
--
--gexiv2_py_file = configure_file(input: 'gexiv2.py.in',
-- output : 'gexiv2.py',
-- configuration: python_conf)
--
--test_metadata_py_file = configure_file(input: 'test_metadata.py.in',
-- output : 'test_metadata.py',
-- configuration: python_conf)
-diff --git a/test/python/test_metadata.py.in b/test/python/test_metadata.py
-similarity index 99%
-rename from test/python/test_metadata.py.in
-rename to test/python/test_metadata.py
-index 45d9d45..8d4296c 100644
---- a/test/python/test_metadata.py.in
-+++ b/test/python/test_metadata.py
-@@ -30,8 +30,8 @@ import tempfile
-
- PY3K = sys.version_info[0] == 3
-
--import gi
--gi.require_version('GExiv2', '@PROJECT_API_VERSION@')
-+import gi.overrides
-+gi.overrides.__path__.insert(0, os.path.join(os.path.dirname(__file__), '..', '..'))
- from gi.repository import GExiv2, GLib
- from fractions import Fraction
-
-diff --git a/test/python3-test.in b/test/python3-test.in
-deleted file mode 100755
-index 6fb3bf8..0000000
---- a/test/python3-test.in
-+++ /dev/null
-@@ -1,4 +0,0 @@
--#!/bin/sh
--
--'@PYTHON3_PATH@' -m unittest gexiv2
--'@PYTHON3_PATH@' -m unittest test_metadata
---
-2.34.1
-
diff --git a/media-libs/gexiv2/gexiv2-0.14.0.ebuild b/media-libs/gexiv2/gexiv2-0.14.0.ebuild
deleted file mode 100644
index 7b22a47b0e67..000000000000
--- a/media-libs/gexiv2/gexiv2-0.14.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit meson python-r1 vala
-
-DESCRIPTION="GObject-based wrapper around the Exiv2 library"
-HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gexiv2.git"
- inherit git-r3
-else
- SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
-fi
-
-LICENSE="LGPL-2.1+ GPL-2"
-SLOT="0"
-IUSE="gtk-doc +introspection python static-libs test +vala"
-REQUIRED_USE="
- python? ( introspection ${PYTHON_REQUIRED_USE} )
- test? ( python introspection )
- vala? ( introspection )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=media-gfx/exiv2-0.26:=
- >=dev-libs/glib-2.46.0:2
- introspection? ( >=dev-libs/gobject-introspection-1.54:= )
- python? (
- ${PYTHON_DEPS}
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- gtk-doc? (
- dev-util/gtk-doc
- app-text/docbook-xml-dtd:4.3
- )
- test? ( media-gfx/exiv2[xmp] )
- virtual/pkgconfig
- vala? ( $(vala_depend) )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-clean-up-python-support.patch
-)
-
-src_prepare() {
- default
- use vala && vala_setup
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_use gtk-doc gtk_doc)
- $(meson_use introspection)
- $(meson_use vala vapi)
- -Dtools=false # requires vala, freshly promoted tool that some other distros don't ship yet either
- # Prevents installation of python modules (uses install_data from meson
- # which does not optimize the modules)
- -Dpython3=false
- )
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- if use python ; then
- python_moduleinto gi/overrides/
- python_foreach_impl python_domodule GExiv2.py
- python_foreach_impl python_optimize
- fi
-}