mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-libs/vte: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/41697 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST vte-0.68.0-command-notify.patch.xz 9748 BLAKE2B de2d4c9b7f2c2b21518984f818d0052c0084398f5f4ee30d766a6adb9c4536fdec5027c753d3d710fb7432e67472b7f8ca44f1dd5f51aaef48d9124708975d24 SHA512 89be91cdba36749f97bac872f0f2196be7d36a58beaf94fa24a3ae9c266bdfbf4f4fbf1d10f43a276540653fff7062eb844107016e7f014437f2903d251dc1d7
|
||||
DIST vte-0.68.0.tar.bz2 507598 BLAKE2B 10274d9e804f00bf071b7848633ca8de2953f4e91dc2967e33b7d6698bb304baac4f0e0431debae5a972c2c56c65efd1c5b92455a17db08cf254ddec56d3276e SHA512 785df7261b5075f166e59de7d3535b381564715ce65efd4837a130e153528691b610fc6160c00f0f17008f5f4ee94c23350d9a477b4b1d58da6ace083e5caae1
|
||||
DIST vte-0.76.3-a11y-implement-GtkAccessibleText.patch.xz 9548 BLAKE2B 2c34f44cff5e1abf00358984c8000a3d7bce3b020be08052d016ca69864f9ab9b1a22ca6709dd5e78a13c8e43a6c4ace1fc1e74f5be83a9988c2b0083880ab95 SHA512 490ec91f27a8a873ee03f8aebb222217c85b2f865e6662dcc5efc1d9fe3765c966d4e9cd8691c4f1779e232139822eb1aa0f464e7090da96c6c17b556f642927
|
||||
DIST vte-0.76.3-command-notify.patch.xz 4336 BLAKE2B d3fd8eef9c3322af20ceac4678635edbb00159fa88147a897f655a5920c638da19fff10e08215a891df2cdd5721cd808b6041d84e74980a9f129e07de621526b SHA512 1c974ae97823659bee873036d656423255fae2b71baa4f4221b656055d69d55120f5cccfe3d9e514a64a2c5f87f94c1e4b47b4a2a233faf28ca06a959efe3e3b
|
||||
DIST vte-0.76.3.tar.bz2 564747 BLAKE2B 1ad65a18ca1aa2371dd74ef3ebaf1aa44358c4a1cbcfa39296fde10e03a76cdbdd2ca7f229f1b4507016e8b986824407d937952a45306eab5e6c0ca5ee9cec8b SHA512 8b7e18831e99ac92159f7b39c6404879cebf22f1f2dcb3feb38cad61f374767f631923c219e153551e9f30ee75c1e8e975fbbf3a6027b9c62ba4f948e3c9f199
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
https://gitlab.gnome.org/GNOME/vte/-/issues/350
|
||||
|
||||
From d459d32126119c8d78f8239b8b857a255e6005d7 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Turner <mattst88@gmail.com>
|
||||
Date: Sat, 1 May 2021 08:31:45 -0400
|
||||
Subject: [PATCH] meson: Find python explicitly to honor downstream python
|
||||
choice
|
||||
|
||||
---
|
||||
meson.build | 1 +
|
||||
src/meson.build | 2 ++
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 4f5a7c57..6404802f 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -461,6 +461,7 @@ pango_dep = dependency('pango', version: '>=' + pango_req_version)
|
||||
pcre2_dep = dependency('libpcre2-8', version: '>=' + pcre2_req_version)
|
||||
pthreads_dep = dependency('threads')
|
||||
zlib_dep = dependency('zlib')
|
||||
+python = import('python').find_installation('python3')
|
||||
|
||||
if get_option('fribidi')
|
||||
fribidi_dep = dependency('fribidi', version: '>=' + fribidi_req_version)
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index a1440da5..4ac6a7f2 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -60,6 +60,7 @@ modes_sources = files(
|
||||
modes_sources += custom_target(
|
||||
'modes',
|
||||
command: [
|
||||
+ python,
|
||||
files('modes.py'),
|
||||
'--destdir', '@OUTDIR@',
|
||||
],
|
||||
@@ -92,6 +93,7 @@ parser_sources = files(
|
||||
parser_sources += custom_target(
|
||||
'parser-seq',
|
||||
command: [
|
||||
+ python,
|
||||
files('parser-seq.py'),
|
||||
'--destdir', '@OUTDIR@',
|
||||
],
|
||||
--
|
||||
2.26.3
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit flag-o-matic gnome.org meson python-any-r1 vala xdg
|
||||
|
||||
DESCRIPTION="Library providing a virtual terminal emulator widget"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/VTE https://gitlab.gnome.org/GNOME/vte"
|
||||
|
||||
# Once SIXEL support ships (0.66 or later), might need xterm license (but code might be considered upgraded to LGPL-3+)
|
||||
LICENSE="LGPL-3+ GPL-3+"
|
||||
SLOT="2.91"
|
||||
IUSE="+crypt debug gtk-doc +icu +introspection systemd +vala vanilla"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
# Upstream is hostile and refuses to upload tarballs.
|
||||
SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
SRC_URI="${SRC_URI} !vanilla? ( https://dev.gentoo.org/~mattst88/distfiles/${PN}-0.68.0-command-notify.patch.xz )"
|
||||
|
||||
RDEPEND="
|
||||
>=x11-libs/gtk+-3.24.22:3[introspection?]
|
||||
>=dev-libs/fribidi-1.0.0
|
||||
>=dev-libs/glib-2.52:2
|
||||
crypt? ( >=net-libs/gnutls-3.2.7:0= )
|
||||
icu? ( dev-libs/icu:= )
|
||||
>=x11-libs/pango-1.22.0
|
||||
>=dev-libs/libpcre2-10.21
|
||||
systemd? ( >=sys-apps/systemd-220:= )
|
||||
sys-libs/zlib
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.56:= )
|
||||
x11-libs/pango[introspection?]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2
|
||||
dev-util/glib-utils
|
||||
gtk-doc? ( >=dev-util/gtk-doc-1.13
|
||||
app-text/docbook-xml-dtd:4.1.2 )
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.64.1-meson-Find-python-explicitly-to-honor-downstream-pyt.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
xdg_environment_reset
|
||||
|
||||
use elibc_musl && eapply "${FILESDIR}"/${PN}-0.66.2-musl-W_EXITCODE.patch
|
||||
|
||||
if ! use vanilla; then
|
||||
# Part of https://src.fedoraproject.org/rpms/vte291/raw/f31/f/vte291-cntnr-precmd-preexec-scroll.patch
|
||||
# Adds OSC 777 support for desktop notifications in gnome-terminal or elsewhere
|
||||
eapply "${WORKDIR}"/${PN}-0.68.0-command-notify.patch
|
||||
fi
|
||||
|
||||
# -Ddebugg option enables various debug support via VTE_DEBUG, but also ggdb3; strip the latter
|
||||
sed -e '/ggdb3/d' -i meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Upstream don't support LTO & error out on it in meson.build (bug #926156)
|
||||
filter-lto
|
||||
|
||||
local emesonargs=(
|
||||
-Da11y=true
|
||||
$(meson_use debug debugg)
|
||||
$(meson_use gtk-doc docs)
|
||||
$(meson_use introspection gir)
|
||||
-Dfribidi=true # pulled in by pango anyhow
|
||||
-Dglade=true
|
||||
$(meson_use crypt gnutls)
|
||||
-Dgtk3=true
|
||||
-Dgtk4=false
|
||||
$(meson_use icu)
|
||||
$(meson_use systemd _systemd)
|
||||
$(meson_use vala vapi)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
mv "${ED}"/etc/profile.d/vte{,-${SLOT}}.sh || die
|
||||
}
|
||||
Reference in New Issue
Block a user