summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-09-07 04:04:31 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-09-07 04:04:31 +0000
commite6df81f228eda1c8cc31d114b877e7fd4feb0948 (patch)
tree56b5f5319a460fe3c3dcd57d375f543697ab2c5e /x11-terms
parentgnome 2.16 (diff)
downloadgentoo-2-e6df81f228eda1c8cc31d114b877e7fd4feb0948.tar.gz
gentoo-2-e6df81f228eda1c8cc31d114b877e7fd4feb0948.tar.bz2
gentoo-2-e6df81f228eda1c8cc31d114b877e7fd4feb0948.zip
gnome 2.16
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.03
-rw-r--r--x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch60
-rw-r--r--x11-terms/gnome-terminal/gnome-terminal-2.16.0.ebuild58
3 files changed, 121 insertions, 0 deletions
diff --git a/x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.0 b/x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.0
new file mode 100644
index 000000000000..62ba5ea46a71
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.0
@@ -0,0 +1,3 @@
+MD5 d49b53478d49a813c4ecc2836143bb5d gnome-terminal-2.16.0.tar.bz2 1914710
+RMD160 23a65e81c30d124a6dcf35d78f877fed834e8bcd gnome-terminal-2.16.0.tar.bz2 1914710
+SHA256 eda4689ee0a00742a3bb23337ef9f76faaeb5bb19f2f603db820dc8276d0c541 gnome-terminal-2.16.0.tar.bz2 1914710
diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch
new file mode 100644
index 000000000000..0d0a70b171f9
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch
@@ -0,0 +1,60 @@
+--- src/terminal-window.c 2006-05-25 12:31:18.000000000 -0500
++++ - 2006-05-25 12:33:48.497915000 -0500
+@@ -1592,8 +1592,22 @@
+ if (window->priv->active_term == screen)
+ return;
+
++ /* Workaround to remove gtknotebook's feature of computing its size based on
++ * all pages. When the widget is hidden, its size will not be taken into
++ * account.
++ */
++ if (window->priv->active_term)
++ {
++ GtkWidget *old_widget;
++ old_widget = terminal_screen_get_widget (window->priv->active_term);
++ gtk_widget_hide (old_widget);
++ }
++
+ widget = terminal_screen_get_widget (screen);
+
++ /* Make sure that the widget is no longer hidden due to the workaround */
++ gtk_widget_show (widget);
++
+ profile = terminal_screen_get_profile (screen);
+
+ if (!GTK_WIDGET_REALIZED (widget))
+@@ -1684,11 +1698,7 @@
+ TerminalScreen *screen;
+ GtkWidget *menu_item;
+ int old_grid_width, old_grid_height;
+- GtkWidget *old_widget;
+-
+- old_widget = NULL;
+- old_grid_width = -1;
+- old_grid_height = -1;
++ GtkWidget *old_widget, *new_widget;
+
+ if (window->priv->active_term == NULL)
+ return;
+@@ -1704,17 +1714,13 @@
+ screen = TERMINAL_SCREEN (page_widget);
+
+ g_assert (screen);
++
++ /* This is so that we maintain the same grid */
++ new_widget = terminal_screen_get_widget (screen);
++ terminal_widget_set_size (new_widget, old_grid_width, old_grid_height);
+
+ terminal_window_set_active (window, screen);
+
+- /* This is so we maintain the same grid moving among tabs with
+- * different fonts.
+- */
+-#ifdef DEBUG_GEOMETRY
+- g_fprintf (stderr,"setting size in switch_page handler\n");
+-#endif
+- terminal_window_set_size_force_grid (window, screen, TRUE, old_grid_width, old_grid_height);
+-
+ update_tab_sensitivity (window);
+
+ menu_item = screen_get_menuitem (screen);
diff --git a/x11-terms/gnome-terminal/gnome-terminal-2.16.0.ebuild b/x11-terms/gnome-terminal/gnome-terminal-2.16.0.ebuild
new file mode 100644
index 000000000000..2547b546c451
--- /dev/null
+++ b/x11-terms/gnome-terminal/gnome-terminal-2.16.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/gnome-terminal/gnome-terminal-2.16.0.ebuild,v 1.1 2006/09/07 04:04:31 dang Exp $
+
+inherit eutils gnome2
+
+DESCRIPTION="The Gnome Terminal"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static"
+
+RDEPEND="virtual/xft
+ >=x11-libs/gtk+-2.10
+ >=gnome-base/gconf-2
+ >=x11-libs/startup-notification-0.8
+ >=x11-libs/vte-0.13.4
+ >=gnome-base/gnome-vfs-2.4
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnomeui-2"
+DEPEND="${RDEPEND}
+ !gnome-base/gnome-core
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.9
+ >=app-text/scrollkeeper-0.3.11"
+# gnome-core overwrite /usr/bin/gnome-terminal
+
+DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
+
+
+pkg_setup() {
+ G2CONF="$(use_enable static)"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Use login shell by default (#12900)
+ epatch ${FILESDIR}/${PN}-2-default_shell.patch
+
+ # terminal enhancement, inserts a space after a DND URL
+ # patch by Zach Bagnall <yem@y3m.net> in #13801
+ epatch ${FILESDIR}/${PN}-2-dnd_url_add_space.patch
+
+ # patch gnome terminal to report as GNOME rather than xterm
+ # This needs to resolve a few bugs (#120294,)
+ # Leave out for now; causing too many problems
+ #epatch ${FILESDIR}/${PN}-2.13.90-TERM-gnome.patch
+
+ # patch to prevent gnome-term from resizing its windows when
+ # switching tabs
+ # Gnome Bug http://bugzilla.gnome.org/show_bug.cgi?id=338913
+ # Using patch from http://bugzilla.gnome.org/show_bug.cgi?id=95316
+ epatch ${FILESDIR}/${PN}-2.15-tab-switching-no-resize.patch
+}