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