diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-10-06 16:22:48 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-10-06 16:24:35 +0300 |
commit | 2b9dc043e918ee6e87f4e72e444dc4c9565bee9a (patch) | |
tree | da009e25d68d4f759e9d5dc08d286db9fa1ad214 /x11-terms/gnome-terminal | |
parent | x11-libs/vte: bump to 0.54.1 (diff) | |
download | gentoo-2b9dc043e918ee6e87f4e72e444dc4c9565bee9a.tar.gz gentoo-2b9dc043e918ee6e87f4e72e444dc4c9565bee9a.tar.bz2 gentoo-2b9dc043e918ee6e87f4e72e444dc4c9565bee9a.zip |
x11-terms/gnome-terminal: bump to 3.30.1
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'x11-terms/gnome-terminal')
-rw-r--r-- | x11-terms/gnome-terminal/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/gnome-terminal/files/separate-new-tab-window.gschema.override | 2 | ||||
-rw-r--r-- | x11-terms/gnome-terminal/gnome-terminal-3.30.1.ebuild | 85 |
3 files changed, 89 insertions, 0 deletions
diff --git a/x11-terms/gnome-terminal/Manifest b/x11-terms/gnome-terminal/Manifest index 78b5121561bb..dccf392cfb89 100644 --- a/x11-terms/gnome-terminal/Manifest +++ b/x11-terms/gnome-terminal/Manifest @@ -1,4 +1,6 @@ DIST gnome-terminal-3.24.2.tar.xz 1960952 BLAKE2B c94303cd8b322a37c70487fbab0f6ecd27b8e831cf44cdc80c82b31d2758f7c6927704d31c229cbbe41be565748238bbfcfae72470f273f7f3a9378c218af8b5 SHA512 08cd7b1b08cf22618554b1a051dcfee4a967165bfe93b77a6bc8b0c935695101e773e8d53a482d71aadb9ba7be7ac991d82dbf53b7a6f74f1f5144e4158f8a93 DIST gnome-terminal-3.28.1-notify-open-title-transparency.patch.xz 33036 BLAKE2B 76c35db10664e02d1537aae586b47062b2ad85a48279426478ab2c9a9a659f728a7c01af2caaf058a71f4918d3d1e35a14c01dd7c67a2cf1aa368b4f4bc6eae7 SHA512 87d77fe8d9ab5b9ca3ff7eddcd462bf718b0f2d9dc1a60a2744ef8015b0910b588e0dc57ab10964602efa47465fd59f91381969157d9255fb5370039319a5f44 DIST gnome-terminal-3.28.2.tar.xz 2094920 BLAKE2B 02f6e9b7273247169966e3125931e452ee4ac4669c53c79c93f49073511ef25a3f21df60510df0e7aefffad5e3ea14acdd1338a1c7ce934439863728e2d709ec SHA512 a20fe13fd2e533a90236410ce6ddd11e4da9da13f2d8952baa3cbf07379dbe253cf897b596421852084bbfc000264de11fb605c73909af8188baa93e46ddae8f +DIST gnome-terminal-3.30.1-notify-open-title-transparency.patch.xz 32204 BLAKE2B d32cabea06df4290c592814a60443c3fb627ae7e837560bffdd0f803fd970b2962d7fc1d57a53f9bc62bd0ceb23ccade623e0d7099cb2610e599d9c2243c3ec2 SHA512 14e6e9baf1cd3fdd34ba320502de0ba99b0259598947562b5057472b099e85bcb6c60be8e5f58296c222deb85c35ddf5feefd1dbfac83710050e038f6e1b3a28 +DIST gnome-terminal-3.30.1.tar.xz 2099736 BLAKE2B a3100c7faf10f5d8ed3f16ae3ee28a7850e181dcf97ed52c0509143aa88114583466ddd3dfa1ea61372674cd6f16f9490c5ba9fafa4f5ce56eaeebe33ce259d5 SHA512 486fe7a9841114d49428208fdea195f1ce6a27ecfc66e2c77632385a7b106a28d3e6a0f1a198bd08f3e2a89d201ac49dafa376c002eab6470ff9d64cf30194ec DIST gnome-terminal-notify-open-title-transparency.patch.xz 37448 BLAKE2B 159bbcf6ca387af8ae2f05c23b48afcdf11351025420ecfd10d1b8a1dd9c2c8016d1c89c6fca20dde3bf8ffe3a6091232a989cfd520fa6761f65eec29b569d84 SHA512 9af0d56df105a5bdb81b2609794669557a7f442f71b240ee10a6411fab20ad74c14489dbb9a536e208515053ea17776b3a15afb3b949a75a66f8c2ab3dbbff96 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 new file mode 100644 index 000000000000..65d39a4966be --- /dev/null +++ b/x11-terms/gnome-terminal/files/separate-new-tab-window.gschema.override @@ -0,0 +1,2 @@ +[org.gnome.Terminal.Legacy.Settings] +unified-menu=false diff --git a/x11-terms/gnome-terminal/gnome-terminal-3.30.1.ebuild b/x11-terms/gnome-terminal/gnome-terminal-3.30.1.ebuild new file mode 100644 index 000000000000..b824aba23f60 --- /dev/null +++ b/x11-terms/gnome-terminal/gnome-terminal-3.30.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +GNOME2_LA_PUNT="yes" + +inherit gnome2 readme.gentoo-r1 + +DESCRIPTION="The Gnome Terminal" +HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/" + +LICENSE="GPL-3+" +SLOT="0" +IUSE="debug +gnome-shell +nautilus vanilla" +SRC_URI="${SRC_URI} !vanilla? ( https://dev.gentoo.org/~leio/distfiles/${P}-notify-open-title-transparency.patch.xz )" + +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" + +# FIXME: automagic dependency on gtk+[X], just transitive but needs proper control, bug 624960 +RDEPEND=" + >=dev-libs/glib-2.42:2 + >=x11-libs/gtk+-3.20:3 + >=x11-libs/vte-0.54.1:2.91[!vanilla?] + >=dev-libs/libpcre2-10 + >=gnome-base/dconf-0.14 + >=gnome-base/gsettings-desktop-schemas-0.1.0 + sys-apps/util-linux + gnome-shell? ( gnome-base/gnome-shell ) + nautilus? ( >=gnome-base/nautilus-3 ) +" +# itstool required for help/* with non-en LINGUAS, see bug #549358 +# xmllint required for glib-compile-resources, see bug #549304 +DEPEND="${RDEPEND} + dev-libs/libxml2:2 + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/intltool-0.50 + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig +" + +DOC_CONTENTS="To get previous working directory inherited in new opened tab, or + notifications of long-running commands finishing, you will need + to add the following line to your ~/.bashrc:\n + . /etc/profile.d/vte-2.91.sh" + +src_prepare() { + if ! use vanilla; then + # https://bugzilla.gnome.org/show_bug.cgi?id=695371 + # Fedora patches: + # Restore transparency support (with compositing WMs only) + # OSC 777 desktop notification support (notifications on tabs for long-running commands completing) + # Restore separate menuitems for opening tabs and windows + # Restore "Set title" support + # http://pkgs.fedoraproject.org/cgit/rpms/gnome-terminal.git/plain/gnome-terminal-notify-open-title-transparency.patch + # Depends on vte[-vanilla] for OSC 777 patch in VTE + eapply "${WORKDIR}"/${P}-notify-open-title-transparency.patch + fi + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + $(use_enable debug) \ + $(use_enable gnome-shell search-provider) \ + $(use_with nautilus nautilus-extension) +} + +src_install() { + DOCS="AUTHORS ChangeLog HACKING NEWS" + gnome2_src_install + if ! use vanilla; then + # Separate "New Window/Tab" menu entries by default, instead of unified "New Terminal" + insinto /usr/share/glib-2.0/schemas + newins "${FILESDIR}"/separate-new-tab-window.gschema.override org.gnome.Terminal.gschema.override + fi + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} |