summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2008-07-09 13:10:40 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2008-07-09 13:10:40 +0000
commitcf2b17a3cecb49ccbfcee09bf9081723c70133c8 (patch)
tree774af4aff4d77bf66d1dec788d8be183124dfcf5
parentAdd gupnp-media-server (diff)
downloadmaintainer-cf2b17a3cecb49ccbfcee09bf9081723c70133c8.tar.gz
maintainer-cf2b17a3cecb49ccbfcee09bf9081723c70133c8.tar.bz2
maintainer-cf2b17a3cecb49ccbfcee09bf9081723c70133c8.zip
Gnome-terminal with orange cursor
svn path=/maintainer/; revision=94
-rw-r--r--x11-terms/gnome-terminal/Manifest5
-rw-r--r--x11-terms/gnome-terminal/files/gnome-terminal-2-dnd_url_add_space.patch22
-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-2.22.1-orange-cursor.patch21
-rw-r--r--x11-terms/gnome-terminal/gnome-terminal-2.22.3.ebuild57
5 files changed, 116 insertions, 0 deletions
diff --git a/x11-terms/gnome-terminal/Manifest b/x11-terms/gnome-terminal/Manifest
new file mode 100644
index 0000000..6e399f8
--- /dev/null
+++ b/x11-terms/gnome-terminal/Manifest
@@ -0,0 +1,5 @@
+AUX gnome-terminal-2-dnd_url_add_space.patch 1000 RMD160 e83cf094681389b3a82b5f9c5cd40431ccaef810 SHA1 468cd7aae84d809b714b8bc15e2e903deb437621 SHA256 d807989dc7aec88f1d01e9449a5d44232e5d01fb64bea91fb2a181bf3080116c
+AUX gnome-terminal-2.22.0-default_shell.patch 491 RMD160 211ce1834251f5e4c80ba7511a2cacf8c4c43424 SHA1 47b5cad036c28fc0e750684c42582b9c13609d26 SHA256 efcd9d5074cb4653a3725008290d6b6ae5e8835cfbcbc25f3dfcaf3e7aad2892
+AUX gnome-terminal-2.22.1-orange-cursor.patch 892 RMD160 23d3dae3715bd06e4219554f9611387a023cde6d SHA1 e9e3985c6b494aa9a048aff89f2e3b0711b04f8d SHA256 571af26e6223ce03977881bb7ddb6d80025b5d7617ac51bb08ea11ba002ef4c4
+DIST gnome-terminal-2.22.3.tar.bz2 1803177 RMD160 f90e99dbff067425b7bb7f373565485f7e60f04c SHA1 8aaf556134884d3f7430e7966ff2c87df5843e3e SHA256 fffe2b352167fa42680cae79be80c5082cd4a04f712564bc4ae5ff0253509cd7
+EBUILD gnome-terminal-2.22.3.ebuild 1716 RMD160 c2d8e5883c50fdcb25011076ca73e05523d92335 SHA1 5da31821272a7926241ccc62676b0f127e041c02 SHA256 808c51b6800668623252a12fe19d6b6edd0b983525f529a2f35d81dfae265bf8
diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-2-dnd_url_add_space.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2-dnd_url_add_space.patch
new file mode 100644
index 0000000..57f3b32
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/gnome-terminal-2-dnd_url_add_space.patch
@@ -0,0 +1,22 @@
+diff -ur gnome-terminal-2.0.2/src/terminal-screen.c gnome-terminal-2.0.2-spaced/src/terminal-screen.c
+--- gnome-terminal-2.0.2/src/terminal-screen.c 2002-10-19 06:24:26.000000000 +1300
++++ gnome-terminal-2.0.2-spaced/src/terminal-screen.c 2003-01-13 10:42:10.000000000 +1300
+@@ -1820,6 +1820,9 @@
+ str->str,
+ str->len);
+
++ terminal_widget_write_data_to_child (screen->priv->term,
++ " ", 1);
++
+ g_free (filename);
+ g_string_free (str, TRUE);
+ }
+@@ -1872,6 +1875,8 @@
+ flat = g_strjoinv (" ", uris);
+ terminal_widget_write_data_to_child (screen->priv->term,
+ flat, strlen (flat));
++ terminal_widget_write_data_to_child (screen->priv->term,
++ " ", 1);
+ g_free (flat);
+ }
+
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-2.22.1-orange-cursor.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2.22.1-orange-cursor.patch
new file mode 100644
index 0000000..8d13ac6
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/gnome-terminal-2.22.1-orange-cursor.patch
@@ -0,0 +1,21 @@
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN gnome-terminal-2.22.1.orig/src/terminal-widget-vte.c gnome-terminal-2.22.1/src/terminal-widget-vte.c
+--- gnome-terminal-2.22.1.orig/src/terminal-widget-vte.c 2008-03-20 06:16:25.000000000 -0400
++++ gnome-terminal-2.22.1/src/terminal-widget-vte.c 2008-04-12 15:21:46.000000000 -0400
+@@ -416,10 +416,17 @@ terminal_widget_set_colors (GtkWidget
+ const GdkColor *background,
+ const GdkColor *palette_entries)
+ {
++ GdkColor cursor;
+ g_return_if_fail(VTE_IS_TERMINAL(widget));
+ vte_terminal_set_colors(VTE_TERMINAL(widget), foreground, background,
+ palette_entries, TERMINAL_PALETTE_SIZE);
+ vte_terminal_set_background_tint_color(VTE_TERMINAL(widget), background);
++
++ cursor.red = 65280;
++ cursor.green = 30208;
++ cursor.blue = 0;
++
++ vte_terminal_set_color_cursor(VTE_TERMINAL(widget), &cursor);
+ }
+
+ void
diff --git a/x11-terms/gnome-terminal/gnome-terminal-2.22.3.ebuild b/x11-terms/gnome-terminal/gnome-terminal-2.22.3.ebuild
new file mode 100644
index 0000000..10f0056
--- /dev/null
+++ b/x11-terms/gnome-terminal/gnome-terminal-2.22.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 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.22.2.ebuild,v 1.1 2008/05/31 10:56:45 eva Exp $
+
+inherit eutils gnome2 autotools
+
+DESCRIPTION="The Gnome Terminal"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="virtual/xft
+ >=dev-libs/glib-2.15.2
+ >=x11-libs/gtk+-2.12
+ >=gnome-base/gconf-2.14
+ >=x11-libs/startup-notification-0.8
+ >=x11-libs/vte-0.15.3
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnome-2.14
+ >=gnome-base/libgnomeui-2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.9
+ >=app-text/gnome-doc-utils-0.3.2
+ >=app-text/scrollkeeper-0.3.11"
+
+DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Use login shell by default (#12900)
+ epatch "${FILESDIR}"/${PN}-2.22.0-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
+
+ # Fix deprecated API disabling in used libraries - this is not future-proof, bug 213340
+ # Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=523737
+ sed -i -e '/DISABLE_DEPRECATED/d' \
+ "${S}/src/Makefile.am" "${S}/src/Makefile.in"
+
+ # 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
+
+ # Orange cursor
+ epatch "${FILESDIR}"/${PN}-2.22.1-orange-cursor.patch
+
+ eautomake
+}