Install this version:
emerge -a =x11-libs/gnome-pty-helper-0.40.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-libs/gnome-pty-helper-0.40.2
Or alternatively:
emerge --autounmask-write -a =x11-libs/gnome-pty-helper-0.40.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.40.2 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GNOME_ORG_MODULE="vte"
inherit gnome2
DESCRIPTION="GNOME Setuid helper for opening ptys"
# gnome-pty-helper is inside vte
HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/VTE"
S="${WORKDIR}/vte-${PV}/gnome-pty-helper"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="+hardened"
# gnome-pty-helper was spit out with 0.27.90
RDEPEND="!<x11-libs/vte-0.27.90"
src_prepare() {
# As recommended by upstream (/usr/libexec/${PN} is a setgid binary)
if use hardened; then
export SUID_CFLAGS="-fPIE ${SUID_CFLAGS}"
export SUID_LDFLAGS="-pie ${SUID_LDFLAGS}"
fi
gnome2_src_prepare
}
Manage flags for this package:
euse -i <flag> -p x11-libs/gnome-pty-helper |
euse -E <flag> -p x11-libs/gnome-pty-helper |
euse -D <flag> -p x11-libs/gnome-pty-helper