Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/vte/
Date: Sun, 27 Sep 2020 17:52:12
Message-Id: 1601229099.aded7dcda546cc5ffec65f8cc4e0a45084c20908.asturm@gentoo
1 commit: aded7dcda546cc5ffec65f8cc4e0a45084c20908
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 25 07:27:02 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 17:51:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aded7dcd
7
8 x11-libs/vte: Drop IUSE=python
9
10 Closes: https://bugs.gentoo.org/706500
11 Package-Manager: Portage-2.3.103, Repoman-2.3.23
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 x11-libs/vte/vte-0.28.2-r209.ebuild | 77 +++++++++++++++++++++++++++++++++++++
15 1 file changed, 77 insertions(+)
16
17 diff --git a/x11-libs/vte/vte-0.28.2-r209.ebuild b/x11-libs/vte/vte-0.28.2-r209.ebuild
18 new file mode 100644
19 index 00000000000..dc412695bb3
20 --- /dev/null
21 +++ b/x11-libs/vte/vte-0.28.2-r209.ebuild
22 @@ -0,0 +1,77 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI="6"
27 +
28 +inherit gnome2
29 +
30 +DESCRIPTION="GNOME terminal widget"
31 +HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/VTE"
32 +
33 +LICENSE="LGPL-2+"
34 +SLOT="0"
35 +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
36 +IUSE="debug +introspection"
37 +
38 +RDEPEND="
39 + >=dev-libs/glib-2.26:2
40 + >=x11-libs/gtk+-2.20:2[introspection?]
41 + >=x11-libs/pango-1.22.0
42 +
43 + sys-libs/ncurses:0=
44 + x11-libs/libX11
45 + x11-libs/libXft
46 +
47 + introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
48 +"
49 +DEPEND="${RDEPEND}
50 + dev-util/gtk-doc-am
51 + >=dev-util/intltool-0.35
52 + virtual/pkgconfig
53 + sys-devel/gettext
54 +"
55 +PDEPEND="x11-libs/gnome-pty-helper"
56 +
57 +PATCHES=(
58 + # https://bugzilla.gnome.org/show_bug.cgi?id=663779
59 + "${FILESDIR}"/${PN}-0.30.1-alt-meta.patch
60 +
61 + # https://bugzilla.gnome.org/show_bug.cgi?id=652290
62 + "${FILESDIR}"/${PN}-0.28.2-interix.patch
63 +
64 + # Fix CVE-2012-2738, upstream bug #676090
65 + "${FILESDIR}"/${PN}-0.28.2-limit-arguments.patch
66 +
67 + # Fix https://bugzilla.gnome.org/show_bug.cgi?id=542087
68 + # Patch from https://github.com/pld-linux/vte0/commit/1e8dce16b239e5d378b02e4d04a60e823df36257
69 + "${FILESDIR}"/${PN}-0.28.2-repaint-after-change-scroll-region.patch
70 +)
71 +
72 +DOCS="AUTHORS ChangeLog HACKING NEWS README"
73 +
74 +src_configure() {
75 + local myconf=""
76 +
77 + if [[ ${CHOST} == *-interix* ]]; then
78 + myconf="${myconf} --disable-Bsymbolic"
79 +
80 + # interix stropts.h is empty...
81 + export ac_cv_header_stropts_h=no
82 + fi
83 +
84 + # Do not disable gnome-pty-helper, bug #401389
85 + gnome2_src_configure --disable-python \
86 + --disable-deprecation \
87 + --disable-glade-catalogue \
88 + --disable-static \
89 + $(use_enable debug) \
90 + $(use_enable introspection) \
91 + --with-gtk=2.0 \
92 + ${myconf}
93 +}
94 +
95 +src_install() {
96 + gnome2_src_install
97 +
98 + rm -v "${ED}usr/libexec/gnome-pty-helper" || die
99 +}