summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-06 19:39:56 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-06 20:11:59 +0200
commitb5dfdb6d3fc0c1345c5afba699c5e07274b5d215 (patch)
tree9ebcaf7a4495e916fd8330dda02217c3c5c7aed7
parentdev-libs/c-blosc: Remove old (diff)
downloadgentoo-b5dfdb6d3fc0c1345c5afba699c5e07274b5d215.tar.gz
gentoo-b5dfdb6d3fc0c1345c5afba699c5e07274b5d215.tar.bz2
gentoo-b5dfdb6d3fc0c1345c5afba699c5e07274b5d215.zip
dev-libs/libgit2-glib: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-libs/libgit2-glib/Manifest1
-rw-r--r--dev-libs/libgit2-glib/files/1.1.0-meson-Use-install_symlink.patch80
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild66
3 files changed, 0 insertions, 147 deletions
diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest
index 17d388ed886f..7e08a7a2c53d 100644
--- a/dev-libs/libgit2-glib/Manifest
+++ b/dev-libs/libgit2-glib/Manifest
@@ -1,2 +1 @@
-DIST libgit2-glib-1.1.0.tar.xz 140128 BLAKE2B e1e87fca17ec801059245c5687399f48886450f7ca7ea948f2179fed383543dec1b18b78abc3ec5581f570b488a166e1e03e99201385698877075be8b3205dbe SHA512 5e493b85a2bcbfea2a291e6dd243ee6948a31e7305c96c0bf04a750114de6ba3a06b435502eeae09bc1b91d34d5174e27bd4171fe969f1b376e820f82a3b5e1d
DIST libgit2-glib-1.2.0.tar.xz 140576 BLAKE2B f49f808e7f97c45d7df49d780fdf036422b794e551f2e42d934b015fb227b1cb80d5067198a5ef7ac0539460bf6c0eab74025bcf367a0aebb43518448015e22e SHA512 37004e86c663ce5fe1bd54878b908575eb9195c1012e88e39c2efdb0b6cfa1de3d2ed9754cecc1b942d001698870025c87d95856f2a0a9f2d0dba1979b07b1f8
diff --git a/dev-libs/libgit2-glib/files/1.1.0-meson-Use-install_symlink.patch b/dev-libs/libgit2-glib/files/1.1.0-meson-Use-install_symlink.patch
deleted file mode 100644
index d5ca886685ec..000000000000
--- a/dev-libs/libgit2-glib/files/1.1.0-meson-Use-install_symlink.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-https://gitlab.gnome.org/GNOME/libgit2-glib/-/merge_requests/37
-
-From 1659bb3a124c935848203828304c9efe943258db Mon Sep 17 00:00:00 2001
-From: Matt Turner <mattst88@gmail.com>
-Date: Thu, 13 Apr 2023 17:36:52 -0400
-Subject: [PATCH] meson: Use install_symlink
-
-New in v0.61.0, the install_symlink function lets us install symlinks
-directly from Meson, allowing us to remove the meson_vapi_link.py
-script.
----
- meson.build | 10 ++++++++--
- meson_vapi_link.py | 27 ---------------------------
- 2 files changed, 8 insertions(+), 29 deletions(-)
- delete mode 100755 meson_vapi_link.py
-
-diff --git a/meson.build b/meson.build
-index 8f30cda..5598e19 100644
---- a/meson.build
-+++ b/meson.build
-@@ -3,7 +3,7 @@ project(
- version: '1.1.0',
- default_options: 'buildtype=debugoptimized',
- license: 'LGPL2+',
-- meson_version: '>= 0.50.0',
-+ meson_version: '>= 0.61.0',
- )
-
- libgit2_glib_version = meson.project_version()
-@@ -136,7 +136,13 @@ if enable_vapi
- assert(enable_gir, 'vapi support was requested, but introspection support is mandatory.')
- assert(add_languages('vala', required: false), 'vapi support was requested, but vala not found.')
-
-- meson.add_install_script('meson_vapi_link.py', libgit2_glib_datadir)
-+ foreach ext : ['vapi', 'deps']
-+ install_symlink(
-+ 'ggit-1.0.' + ext,
-+ install_dir: libgit2_glib_prefix / libgit2_glib_datadir / 'vala' / 'vapi',
-+ pointing_to: 'libgit2-glib-1.0.' + ext,
-+ )
-+ endforeach
- endif
-
- # Check for libgit2 ssh support
-diff --git a/meson_vapi_link.py b/meson_vapi_link.py
-deleted file mode 100755
-index 20afe0c..0000000
---- a/meson_vapi_link.py
-+++ /dev/null
-@@ -1,27 +0,0 @@
--#!/usr/bin/env python3
--
--import os
--import shutil
--import sys
--
--prefix = os.environ['MESON_INSTALL_DESTDIR_PREFIX'] if os.environ.get('DESTDIR') else os.environ['MESON_INSTALL_PREFIX']
--
--datadir = os.path.join(prefix, sys.argv[1])
--
--vapidir = os.path.join(datadir, 'vala', 'vapi')
--os.chdir(vapidir)
--
--# FIXME: meson will not track the creation of these files
--# https://github.com/mesonbuild/meson/blob/master/mesonbuild/scripts/uninstall.py#L39
--old = 'ggit-1.0'
--new = 'libgit2-glib-1.0'
--
--for ext in ['vapi', 'deps']:
-- src = '{}.{}'.format(new, ext)
-- dest = '{}.{}'.format(old, ext)
-- try:
-- os.symlink(src, dest)
-- except FileExistsError:
-- pass
-- except OSError:
-- shutil.copy(src, dest)
---
-2.39.2
-
diff --git a/dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild b/dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild
deleted file mode 100644
index 121c3a8099ea..000000000000
--- a/dev-libs/libgit2-glib/libgit2-glib-1.1.0.ebuild
+++ /dev/null
@@ -1,66 +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 gnome.org meson python-r1 vala xdg
-
-DESCRIPTION="Git library for GLib"
-HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
-
-LICENSE="LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
-IUSE="gtk-doc python +ssh +vala"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- >=dev-libs/gobject-introspection-1.54:=
- >=dev-libs/glib-2.44.0:2
- >=dev-libs/libgit2-0.26.0:0=[ssh?]
- python? (
- ${PYTHON_DEPS}
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- virtual/pkgconfig
- gtk-doc? ( dev-util/gi-docgen )
- vala? ( $(vala_depend) )
-"
-
-PATCHES=(
- "${FILESDIR}/${PV}-meson-Use-install_symlink.patch"
-)
-
-src_prepare() {
- default
-
- sed -i -e '/meson_python_compile.py/d' meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_use gtk-doc gtk_doc)
- -Dintrospection=true
- -Dpython=false # we install python scripts manually
- $(meson_use ssh)
- $(meson_use vala vapi)
- )
-
- use vala && vala_setup
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- if use python ; then
- python_moduleinto gi.overrides
- python_foreach_impl python_domodule libgit2-glib/Ggit.py
- fi
-}