Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/gnome-terminal/
Date: Sat, 28 Sep 2019 09:51:39
Message-Id: 1569664192.5b1f6e654bb9cccf56ee765994e9aa27f2782b8a.leio@gentoo
1 commit: 5b1f6e654bb9cccf56ee765994e9aa27f2782b8a
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 28 08:49:14 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 09:49:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1f6e65
7
8 x11-terms/gnome-terminal: bump to 3.32.2
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 x11-terms/gnome-terminal/Manifest | 2 +
14 .../gnome-terminal/gnome-terminal-3.32.2.ebuild | 84 ++++++++++++++++++++++
15 2 files changed, 86 insertions(+)
16
17 diff --git a/x11-terms/gnome-terminal/Manifest b/x11-terms/gnome-terminal/Manifest
18 index ed7ccc49a7c..1fd1d32606b 100644
19 --- a/x11-terms/gnome-terminal/Manifest
20 +++ b/x11-terms/gnome-terminal/Manifest
21 @@ -1,2 +1,4 @@
22 DIST gnome-terminal-3.30.2-notify-open-title-transparency.patch.xz 31748 BLAKE2B 6a25547fcdd387ea90c3ba13e53f31a118cc01c50c72f1f597162452ea65509e2fc8adaa2f6487859d8a53e828173d77a6f952d172f5a685e2b51864a82cce7f SHA512 51f32879c93a5ca489db9a604b28585787c9ec1a444c5e8c76bf26edeaa68e35fe9f76f94f32e99716a0d01643ac859475be13232c62675c703b5503781cb8d0
23 DIST gnome-terminal-3.30.3.tar.xz 2102108 BLAKE2B 1930bc97c8d77d0107dbb7e56d849e3941c6821863d25103d8d17135d334b6ceda5b5ef1cad81d02011fb7190fd5b39ce4176083af0af6bebb71f52e30cd2c7b SHA512 54d3b345a23905f65ccc7d238b2f9ebcfebc4ccccf504c41bdb3dc388ceee8e6f2dfbba7c0060ea6bcba8bb541a031fe619d462e024aef277f66b5c49792c291
24 +DIST gnome-terminal-3.32.2-cntr-ntfy-ttl-ts.patch.xz 31684 BLAKE2B 34c3473632d82983aec98a867e7353829521527f8f570e62e5fd7a1bd638b470c6f1ce7fde33d4604a2ca40e4b93be02a22dbdd4d1559a03bf230060310e81bf SHA512 76732fd57644431936b78a3ea3e8010b3f14fb0af52fa9c79540ed5ec5a0a45e6b31c9ace2b67a02559ec4e294927bf2033730d074727c3fe05054f39d1a8b42
25 +DIST gnome-terminal-3.32.2.tar.xz 2039236 BLAKE2B 967f87a362cf893c8d743caefc9b857d6c8092e59c3ce77a76dea5d50f503bea9c9e066e447724b6c7781bec808a4cccf8c3d646ecccb1800da9a0bdd7f28e4d SHA512 1be1e26b62b9364361982a34455fb5c818a2114edadb1146985f9e418ce5d51387d12b443c12022b8eec9c61c2137a1a780f390672406a1940f8b352b782e3cc
26
27 diff --git a/x11-terms/gnome-terminal/gnome-terminal-3.32.2.ebuild b/x11-terms/gnome-terminal/gnome-terminal-3.32.2.ebuild
28 new file mode 100644
29 index 00000000000..547e8c8c46e
30 --- /dev/null
31 +++ b/x11-terms/gnome-terminal/gnome-terminal-3.32.2.ebuild
32 @@ -0,0 +1,84 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="6"
37 +GNOME2_LA_PUNT="yes"
38 +
39 +inherit gnome2 readme.gentoo-r1
40 +
41 +DESCRIPTION="The Gnome Terminal"
42 +HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/"
43 +
44 +LICENSE="GPL-3+"
45 +SLOT="0"
46 +IUSE="debug +gnome-shell +nautilus vanilla"
47 +SRC_URI="${SRC_URI} !vanilla? ( https://dev.gentoo.org/~leio/distfiles/${P}-cntr-ntfy-ttl-ts.patch.xz )"
48 +
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
50 +
51 +# FIXME: automagic dependency on gtk+[X], just transitive but needs proper control, bug 624960
52 +RDEPEND="
53 + >=dev-libs/glib-2.42:2
54 + >=x11-libs/gtk+-3.20:3
55 + >=x11-libs/vte-0.56.2:2.91[!vanilla?]
56 + >=dev-libs/libpcre2-10
57 + >=gnome-base/dconf-0.14
58 + >=gnome-base/gsettings-desktop-schemas-0.1.0
59 + sys-apps/util-linux
60 + gnome-shell? ( gnome-base/gnome-shell )
61 + nautilus? ( >=gnome-base/nautilus-3 )
62 +"
63 +# itstool required for help/* with non-en LINGUAS, see bug #549358
64 +# xmllint required for glib-compile-resources, see bug #549304
65 +DEPEND="${RDEPEND}
66 + dev-libs/libxml2:2
67 + dev-util/gdbus-codegen
68 + dev-util/glib-utils
69 + >=dev-util/intltool-0.50
70 + dev-util/itstool
71 + sys-devel/gettext
72 + virtual/pkgconfig
73 +"
74 +
75 +DOC_CONTENTS="To get previous working directory inherited in new opened tab, or
76 + notifications of long-running commands finishing, you will need
77 + to add the following line to your ~/.bashrc:\n
78 + . /etc/profile.d/vte-2.91.sh"
79 +
80 +src_prepare() {
81 + if ! use vanilla; then
82 + # https://bugzilla.gnome.org/show_bug.cgi?id=695371
83 + # Fedora patches:
84 + # Restore transparency support (with compositing WMs only)
85 + # OSC 777 desktop notification support (notifications on tabs for long-running commands completing)
86 + # Restore "Set title" support
87 + # http://pkgs.fedoraproject.org/cgit/rpms/gnome-terminal.git/plain/gnome-terminal-notify-open-title-transparency.patch
88 + # Depends on vte[-vanilla] for OSC 777 patch in VTE
89 + eapply "${WORKDIR}"/${P}-cntr-ntfy-ttl-ts.patch
90 + fi
91 + gnome2_src_prepare
92 +}
93 +
94 +src_configure() {
95 + gnome2_src_configure \
96 + --disable-static \
97 + $(use_enable debug) \
98 + $(use_enable gnome-shell search-provider) \
99 + $(use_with nautilus nautilus-extension)
100 +}
101 +
102 +src_install() {
103 + DOCS="AUTHORS ChangeLog HACKING NEWS"
104 + gnome2_src_install
105 + if ! use vanilla; then
106 + # Separate "New Window/Tab" menu entries by default, instead of unified "New Terminal"
107 + insinto /usr/share/glib-2.0/schemas
108 + newins "${FILESDIR}"/separate-new-tab-window.gschema.override org.gnome.Terminal.gschema.override
109 + fi
110 + readme.gentoo_create_doc
111 +}
112 +
113 +pkg_postinst() {
114 + gnome2_pkg_postinst
115 + readme.gentoo_print_elog
116 +}