summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2012-09-28 19:26:56 +0000
committerAndreas Proschofsky <suka@gentoo.org>2012-09-28 19:26:56 +0000
commitc1f746b0bf5c3c482eeefe240216470a37bd6e1a (patch)
treec642fa5d099554e450c1629f922e9a4702ff0dec
parentBump Shotwell to newest release (diff)
downloadsuka-master.tar.gz
suka-master.tar.bz2
suka-master.zip
Add gnome-terminal 3.6.0 with patch to hide title bar when maximizedHEADmaster
svn path=/; revision=352
-rw-r--r--x11-terms/gnome-terminal/Manifest4
-rw-r--r--x11-terms/gnome-terminal/files/gnome-terminal-2.22.0-default_shell.patch11
-rw-r--r--x11-terms/gnome-terminal/files/gnome-terminal-maximizee.patch23
-rw-r--r--x11-terms/gnome-terminal/gnome-terminal-3.6.0.ebuild48
4 files changed, 86 insertions, 0 deletions
diff --git a/x11-terms/gnome-terminal/Manifest b/x11-terms/gnome-terminal/Manifest
new file mode 100644
index 0000000..645bc14
--- /dev/null
+++ b/x11-terms/gnome-terminal/Manifest
@@ -0,0 +1,4 @@
+AUX gnome-terminal-2.22.0-default_shell.patch 491 SHA256 efcd9d5074cb4653a3725008290d6b6ae5e8835cfbcbc25f3dfcaf3e7aad2892 SHA512 bb3a5b25551d9d2d39dba791d0ff9231ef6f2247faf528ef7d699d5048fe3da26c06748add8b1529be80a7fcbe6f83dffea75fecb20cc68a393eff46a0915615 WHIRLPOOL 3c856ef243be930be1d6ff4f0afc8f464a3d97c8ab1859141b967a95bc583f34ce566352c61ec9105ab90e9ad369679ce5bedd9ebb0893545eae49e6e7a5e136
+AUX gnome-terminal-maximizee.patch 722 SHA256 4dc1b889b0b1299c49feeede4b6bc7e83e74681c8532b7098d5d5a4e1efc2be3 SHA512 255def9b2c510814ccc111c1f984c762747b673ac580aa7409d0b7af5e16b956b6c9af0323261c379f542d55590a1609449ecc44eebd8025f202e5406b3cc19a WHIRLPOOL b39107215f9cbc7e1259550a4d36171073c5a401f3262da329cb86e9ace23c888ead8dcf453fcca8c38d1d6cd6c3f9dc09fffc1d2ab64a8c3b83c45eea927c27
+DIST gnome-terminal-3.6.0.tar.xz 1860524 SHA256 5ee068ca7f4d0e410aabbddee3937559138163d84c00e5bef1e9050beb7409cd SHA512 b80cbbe880f7a4a0c03c88acfceb6f7f1fed527c3ba4724b902d6c491af3afc7e5e5d5d4edeab4f8e49b40949ad771cf87ddc03db622ac6d59d6cf79f00b59a1 WHIRLPOOL cb2e2118c857f5e84a6d731f3b32cd840bd78315d83926cfac52414cecca4b597d0ca80de5388194310e6b54193cc38e26a04a415a0cef9205af9d202ddcba4f
+EBUILD gnome-terminal-3.6.0.ebuild 1421 SHA256 6dfcae35dee2bbd642ffb80c7bd302456424b9e42df8b50edcdf912512395276 SHA512 4ba426c4679a006b11dd3bef41be93e40fa955525223ce24d85496b417f2146be2443586543e86d57f281384c58267d01771070c044e38a769c2250fe10770c5 WHIRLPOOL e6fc8819f8d715fd6fe52ec72542af9c67547522bd813a0ef7f10e982e1a551af2730ca0787cee4e990d7fc1699d98a8abc6d0486ac0af651716970255f48a66
diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-2.22.0-default_shell.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2.22.0-default_shell.patch
new file mode 100644
index 0000000..84bac04
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/gnome-terminal-2.22.0-default_shell.patch
@@ -0,0 +1,11 @@
+--- src/gnome-terminal.schemas.in 2003-02-21 20:06:56.000000000 -0600
++++ src/gnome-terminal.schemas.in 2003-02-21 20:07:13.000000000 -0600
+@@ -341,7 +341,7 @@
+ <applyto>/apps/gnome-terminal/profiles/Default/login_shell</applyto>
+ <owner>gnome-terminal</owner>
+ <type>bool</type>
+- <default>false</default>
++ <default>true</default>
+ <locale name="C">
+ <short>Whether to launch the command in the terminal as a login shell</short>
+ <long>
diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-maximizee.patch b/x11-terms/gnome-terminal/files/gnome-terminal-maximizee.patch
new file mode 100644
index 0000000..89a924a
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/gnome-terminal-maximizee.patch
@@ -0,0 +1,23 @@
+From 6b79b0085b6c8630ea21b27be6f35ccec99784e2 Mon Sep 17 00:00:00 2001
+From: Frédéric Péters <fpeters@0d.be>
+Date: Fri, 17 Feb 2012 15:05:03 +0000
+Subject: Do not show the titlebar when the window is maximized
+
+https://bugzilla.gnome.org/show_bug.cgi?id=670291
+---
+diff --git a/src/terminal-window.c b/src/terminal-window.c
+index 2a77c53..32ea1fb 100644
+--- a/src/terminal-window.c
++++ b/src/terminal-window.c
+@@ -1836,6 +1836,9 @@ terminal_window_init (TerminalWindow *window)
+ #endif
+
+ gtk_window_set_title (GTK_WINDOW (window), _("Terminal"));
++#if GTK_CHECK_VERSION (3, 3, 6)
++ gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE);
++#endif
+
+ priv->active_screen = NULL;
+
+--
+cgit v0.9.0.2
diff --git a/x11-terms/gnome-terminal/gnome-terminal-3.6.0.ebuild b/x11-terms/gnome-terminal/gnome-terminal-3.6.0.ebuild
new file mode 100644
index 0000000..a98a07b
--- /dev/null
+++ b/x11-terms/gnome-terminal/gnome-terminal-3.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/gnome-terminal/gnome-terminal-3.4.1.1.ebuild,v 1.3 2012/05/28 12:38:09 blueness Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+
+inherit eutils gnome2
+
+DESCRIPTION="The Gnome Terminal"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux"
+IUSE=""
+
+# FIXME: automagic dependency on gtk+[X]
+RDEPEND=">=dev-libs/glib-2.26.0:2
+ >=x11-libs/gtk+-3.3.17:3[X]
+ >=x11-libs/vte-0.30.0:2.90
+ >=gnome-base/gconf-2.31.3
+ >=gnome-base/gsettings-desktop-schemas-0.1.0
+ x11-libs/libSM
+ x11-libs/libICE"
+# gtk+:2 needed for gtk-builder-convert, bug 356239
+DEPEND="${RDEPEND}
+ || ( dev-util/gtk-builder-convert <=x11-libs/gtk+-2.24.10:2 )
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ >=app-text/gnome-doc-utils-0.3.2
+ >=app-text/scrollkeeper-0.3.11
+ sys-devel/gettext"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog HACKING NEWS README"
+ # FIXME: leave smclient configure unset until it accepts values from the
+ # switch and not from GDK_TARGET, bug #363033
+ G2CONF="${G2CONF} --with-gtk=3.0"
+}
+
+src_prepare() {
+ # Use login shell by default (#12900)
+ epatch "${FILESDIR}"/${PN}-2.22.0-default_shell.patch
+ epatch "${FILESDIR}"/${PN}-maximizee.patch
+
+ gnome2_src_prepare
+}