commit:     d3dadae48035521fa70f87e4b0c9b9f7d648853e
Author:     Lukas Schmelting <lschmelting <AT> posteo <DOT> com>
AuthorDate: Sat Nov 29 17:06:39 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Dec 21 19:39:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3dadae4

gui-libs/vte-common: add 0.82.2

Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/44852
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gui-libs/vte-common/Manifest                       |  1 +
 .../files/vte-0.82.2-fix-unknown-variable.patch    | 44 +++++++++++
 gui-libs/vte-common/vte-common-0.82.2.ebuild       | 85 ++++++++++++++++++++++
 3 files changed, 130 insertions(+)

diff --git a/gui-libs/vte-common/Manifest b/gui-libs/vte-common/Manifest
index 2a510a2c30ae..f6545717eefc 100644
--- a/gui-libs/vte-common/Manifest
+++ b/gui-libs/vte-common/Manifest
@@ -2,3 +2,4 @@ DIST vte-0.76.3.tar.bz2 564747 BLAKE2B 
1ad65a18ca1aa2371dd74ef3ebaf1aa44358c4a1c
 DIST vte-0.78.5.tar.xz 577560 BLAKE2B 
b1a5a2cc9fee8eb0889d8ed8780d0f65e6d297c60c3c8cf351e1a01942c752d82d13337cd093bb65cb73f5d8c5530783b171f39dac6cd258a8d53340c14d079d
 SHA512 
10c252319e03d3882c197261b572d64c1d12871ac567bcb5f7042d516734ea6f24ade314e9146888eeea427c94ebe472a03d1967af6beeaddf212fc6fd13fe42
 DIST vte-0.80.3.tar.xz 586568 BLAKE2B 
5f32cdde611427fc490b443a7df229608b6cff1517da63eec2699db3436d2020ee5f361eccacfc842c66e04a8e4fa11a91ea7a383c18d7bc9d0517393f39a98c
 SHA512 
ef4066c20fe28f301557e4659d2565adf029e600b74527284102234b762010a100d285f33ab93e3539fb70b41bc18b802fdda1a46e2fab241b90a5bd24bd0119
 DIST vte-0.80.4.tar.xz 586804 BLAKE2B 
766b25fe9fc45e306db0e65e301b27aa448b2201eeb016c3d25829df28e1c7ac95bc2ca4af97979df92c4f631820761f38574501970af190cb77d0abceb66eeb
 SHA512 
02f76135236dc0bcfbf627614e26bdd24c217a0cc80f369399a67ff0cc2ca6cc12457e31c741c22e50e411db404648d70532b2b3d9d27de1a1941d353d037ae5
+DIST vte-0.82.2.tar.xz 6141828 BLAKE2B 
d0274f090b00451dc6b63dece2a2a2103c7e58e437e7fae1c94955d3ac7e3aff59c0fc3d2e7ed06921800cb85fcdbcb5b57ea3ef32b832c11a767fbc995fa57d
 SHA512 
73e90beec2672c04476d6673eeac448860faaa00e507f71f6c36122b38bbb5857b2d0b876a928254348ef0f006f5a091e0f09179d23d74d1e05bdbba28c65f74

diff --git a/gui-libs/vte-common/files/vte-0.82.2-fix-unknown-variable.patch 
b/gui-libs/vte-common/files/vte-0.82.2-fix-unknown-variable.patch
new file mode 100644
index 000000000000..b1dc17ad6fd1
--- /dev/null
+++ b/gui-libs/vte-common/files/vte-0.82.2-fix-unknown-variable.patch
@@ -0,0 +1,44 @@
+From f672ed15a88dd3e25c33aa0a5ef6f6d291a6d5c7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= <[email protected]>
+Date: Thu, 20 Nov 2025 18:21:20 +0100
+Subject: [PATCH] Fix undefined variable when building with no gtk
+
+src/meson.build:728:16: ERROR: Unknown variable "test_color_lightness_deps".
+---
+ src/meson.build | 18 +++++++++---------
+ 1 file changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/src/meson.build b/src/meson.build
+index 3320ca0e9..623c68987 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -756,17 +756,17 @@ if get_option('gtk3') or get_option('gtk4')
+   elif get_option('gtk4')
+     test_color_lightness_deps += [gtk4_dep,]
+   endif
+-endif
+ 
+-test_color_lightness = executable(
+-  'test-color-lightness',
+-  dependencies: test_color_lightness_deps,
+-  include_directories: top_inc,
+-  install: false,
+-  sources: test_color_lightness_sources,
+-)
++  test_color_lightness = executable(
++    'test-color-lightness',
++    dependencies: test_color_lightness_deps,
++    include_directories: top_inc,
++    install: false,
++    sources: test_color_lightness_sources,
++  )
+ 
+-test_units += [test_color_lightness,]
++  test_units += [test_color_lightness,]
++endif
+ 
+ test_minifont_common_sources = config_sources + files(
+   'minifont-test.cc'
+-- 
+GitLab
+

diff --git a/gui-libs/vte-common/vte-common-0.82.2.ebuild 
b/gui-libs/vte-common/vte-common-0.82.2.ebuild
new file mode 100644
index 000000000000..b3134f8409ec
--- /dev/null
+++ b/gui-libs/vte-common/vte-common-0.82.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{11..14} )
+GNOME_ORG_MODULE="vte"
+
+inherit flag-o-matic gnome.org meson python-any-r1
+
+DESCRIPTION="Library providing a virtual terminal emulator widget"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/vte";
+
+S="${WORKDIR}/vte-${PV}"
+
+# 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" # vte_api_version in meson.build
+
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="systemd"
+
+DEPEND="
+       || ( >=gui-libs/gtk-4.0.1:4 >=x11-libs/gtk+-3.24.22:3 )
+       >=x11-libs/cairo-1.0
+       dev-cpp/fast_float
+       >=dev-libs/fribidi-1.0.0
+       >=dev-libs/glib-2.60:2
+       >=x11-libs/pango-1.22.0
+       >=dev-libs/libpcre2-10.21
+       systemd? ( >=sys-apps/systemd-220:= )
+       >=app-arch/lz4-1.9
+       x11-libs/pango
+"
+BDEPEND="
+       ${PYTHON_DEPS}
+       dev-libs/libxml2:2
+       dev-util/glib-utils
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       "${FILESDIR}/vte-${PV}-fix-unknown-variable.patch"
+)
+
+src_prepare() {
+       default
+       use elibc_musl && eapply 
"${FILESDIR}"/${PN}-0.70.0-musl-W_EXITCODE.patch
+}
+
+src_configure() {
+       # Upstream don't support LTO & error out on it in meson.build (bug 
#926156)
+       filter-lto
+
+       local emesonargs=(
+               -Da11y=false
+               -Ddebug=false
+               -Ddocs=false
+               -Dgir=false
+               -Dfribidi=true # pulled in by pango anyhow
+               -Dglade=false
+               -Dgnutls=false
+               -Dgtk3=false
+               -Dgtk4=false
+               -Dicu=false
+               $(meson_use systemd _systemd)
+               -Dvapi=false
+       )
+       meson_src_configure
+}
+
+src_install() {
+       exeinto /usr/libexec/
+       doexe "${BUILD_DIR}"/src/vte-urlencode-cwd
+       insinto /etc/profile.d/
+       newins "${BUILD_DIR}"/src/vte.sh vte-${SLOT}.sh
+       newins "${BUILD_DIR}"/src/vte.csh vte-${SLOT}.csh
+       if  use systemd; then
+               insinto /usr/lib/systemd/user/vte-spawn-.scode.d/
+               newins "${S}"/src/vte-spawn-.scope.conf defaults.conf
+       fi
+       einstalldocs
+}

Reply via email to