+++ /dev/null
-# ChangeLog for x11-terms/multi-gnome-terminal
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/multi-gnome-terminal/ChangeLog,v 1.24 2005/01/16 22:10:11 foser Exp $
-
- 16 Jan 2005; foser <foser@gentoo.org> multi-gnome-terminal-1.6.2-r1.ebuild :
- Add gcc2 patch (#65029) thnx to Matt Taylor
-
-*multi-gnome-terminal-1.6.2-r1 (03 Sep 2004)
-
- 03 Sep 2004; foser <foser@gentoo.org> multi-gnome-terminal-1.6.2-r1.ebuild :
- Add patch disabling the logging of keystrokes (#62322)
-
- 03 Sep 2004; Luca Barbato <lu_zero@gentoo.org>
- +files/multi-gnome-terminal-1.6.2-gcc-3.4.patch,
- multi-gnome-terminal-1.6.2.ebuild:
- gcc-3.4 fix
-
- 21 Aug 2004; <spider@gentoo.org> multi-gnome-terminal-1.6.2.ebuild:
- ORBit moved, updating deps
-
- 17 Apr 2004; Jason Wever <weeve@gentoo.org>
- multi-gnome-terminal-1.6.2.ebuild:
- Added ~sparc keyword.
-
-*multi-gnome-terminal-1.6.2 (28 Apr 2003)
-
- 06 Dec 2003; foser <foser@gentoo.org> multi-gnome-terminal-1.6.2.ebuild :
- Fix deps, requestedin #34585
-
- 28 Apr 2003; Martin Schlemmer <azarah@gentoo.org> multi-gnome-terminal-1.6.2.ebuild :
- Update version.
-
-*multi-gnome-terminal-1.6.1 (18 Oct 2002)
-
- 21 Oct 2002; Calum Selkirk <cselkirk@gentoo.org>
- multi-gnome-terminal-1.6.1.ebuild :
-
- Added ppc to KEYWORDS.
-
- 18 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
-
- Update to latest version.
-
-*multi-gnome-terminal-1.5.2-r2 (1 Aug 2002)
-
- 1 Aug 2002; Martin Schlemmer <azarah@gentoo.org> :
-
- MDK.
-
- 29 Jul 2002; Martin Schlemmer <azarah@gentoo.org> multi-gnome-terminal-1.5.2.ebuild :
-
- We dialup guys like bz2's more :) Some other fixes I had laying around.
-
-*multi-gnome-terminal-1.5.2 (29 Jul 2002)
-
- 29 Jul 2002; Gabriele Giorgetti <stroke@gentoo.org> multi-gnome-terminal-1.5.2.ebuild :
-
- New version. (Closes bug #5627). Thanks to Leonardo Boshell <gentoo@kapcoweb.com>
- for this new ebuild.
-
-*multi-gnome-terminal-1.5.1 (12 Jul 2002)
-
- 12 Jul 2002; Gabriele Giorgetti <stroke@gentoo.org> multi-gnome-terminal-1.5.1.ebuild :
-
- New version.
-
-
- 18 Jun 2002; Martin Schlemmer <azarah@gentoo.org> multi-gnome-terminal-1.5.0.ebuild :
-
- I forgot ages ago to remove the pkg_postinst() message, as the docs and
- keybindings is fixed now.
-
-*multi-gnome-terminal-1.5.0 (16 Jun 2002)
-
- 16 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> :
-
- Version update. Removed 1.5.0_rcs.
-
-*multi-gnome-terminal-1.5.0_rc4 (10 Jun 2002)
-
- 10 Jun 2002; M.Schlemmer <azarah@gentoo.org> :
-
- Version update.
-
-*multi-gnome-terminal-1.5.0_rc2 (8 Jun 2002)
-
- 8 Jun 2002; M.Schlemmer <azarah@gentoo.org> :
-
- Update version to fix bugs if ~/.gnome/MultiTerminal do not exist.
- Thanks to the author for being so nice and adding the _beta or _rc
- to the tarball to make our live easier!
-
-*multi-gnome-terminal-1.4.0 (28 Apr 2002)
-
-*multi-gnome-terminal-1.3.13 (26 Feb 2002)
-
- 26 Feb 2002; M.Schlemmer <azarah@gentoo.org> multi-gnome-terminal-1.3.13.ebuild :
-
- New version.
-
- 21 Feb 2002; M.Schlemmer <azarah@gentoo.org> multi-gnome-terminal-1.3.12.ebuild :
-
- Just take Scrollkeeper update out of the 'make intall', and into
- pkg_postinst().
-
-*multi-gnome-terminal-1.3.12 (21 Feb 2002)
-
-*multi-gnome-terminal-1.3.10 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
+++ /dev/null
-MD5 5806380ad2f4f13944e3d896ecd6e989 multi-gnome-terminal-1.6.2-r1.ebuild 2072
-MD5 c6908d4157f0fe8f88ccaea64f443340 ChangeLog 3671
-MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 d2af4e1acb1bc5842cf1b8b11cb80a3e files/digest-multi-gnome-terminal-1.6.2-r1 80
-MD5 d16349605d01294d01361abd286e360a files/multi-gnome-terminal-1.6.2-zvt_term.patch 366
-MD5 763affd4473fc41fbbfa967a23a9cbf0 files/multi-gnome-terminal-1.6.2-remove_debug.patch 2559
-MD5 a799552d002f0a012c2001e045e42a2c files/multi-gnome-terminal-1.6.2-gcc-3.4.patch 1250
+++ /dev/null
-MD5 52b65d2326efc4273716383b0196e95f multi-gnome-terminal-1.6.2.tar.bz2 1616529
+++ /dev/null
-diff -ruN multi-gnome-terminal-1.6.2.orig/gnome-terminal/vt.c multi-gnome-terminal-1.6.2/gnome-terminal/vt.c
---- multi-gnome-terminal-1.6.2.orig/gnome-terminal/vt.c 2004-09-03 08:44:36.521631688 +0200
-+++ multi-gnome-terminal-1.6.2/gnome-terminal/vt.c 2004-09-03 08:52:39.949139536 +0200
-@@ -782,6 +782,7 @@
- vt_up(vt);
- break;
- default:
-+ break;
- }
-
- }
-@@ -806,6 +807,7 @@
- vt_down(vt);
- break;
- default:
-+ break;
- }
- }
-
-@@ -870,6 +872,7 @@
- }
- break;
- default:
-+ break;
- }
- }
-
-@@ -956,6 +959,7 @@
- }
- break;
- default:
-+ break;
- }
- /*vt->cursorx = (vt->cursorx-1) & (~7);*/
- }
-@@ -980,6 +984,7 @@
- }
- break;
- default:
-+ break;
- }
- }
-
-@@ -2073,9 +2078,11 @@
- */
- break;
- default:
-+ break;
- }
- break;
- default:
-+ break;
- }
- /* do nothing!*/
- }
-@@ -2102,6 +2109,7 @@
- break;
- default:
- vt_reset_terminal(vt, 0);
-+ break;
- }
- }
-
-@@ -2134,6 +2142,7 @@
- } else {
- d(printf("Unknown function %d\n", i));
- }
-+ break;
- }
- }
- }
-@@ -2284,6 +2293,7 @@
- } else {
- d(printf("Unknown dtterm (CSI %d [; Ps [; Ps ]]t) sequence\n", cmd));
- }
-+ break;
- }
- }
-
+++ /dev/null
-diff -urN multi-gnome-terminal-1.6.2/gnome-terminal/enhanced_gui.c multi-gnome-terminal-1.6.2-CVS/gnome-terminal/enhanced_gui.c
---- multi-gnome-terminal-1.6.2/gnome-terminal/enhanced_gui.c 2002-10-13 09:18:04.000000000 -0400
-+++ multi-gnome-terminal-1.6.2-CVS/gnome-terminal/enhanced_gui.c 2004-04-01 06:20:18.000000000 -0500
-@@ -5531,7 +5531,7 @@
- }
- }
- #define EVENT_STATE_MASK (GDK_SHIFT_MASK | GDK_MOD1_MASK | GDK_CONTROL_MASK)
--#define kkd(x) x
-+#define kkd(x)
- /* ========================================================== */
- /* Function to handle keybindings */
- gint snooper_func(GtkWidget* widget, GdkEventKey *event, gpointer data)
-diff -urN multi-gnome-terminal-1.6.2/gnome-terminal/zvtterm.c multi-gnome-terminal-1.6.2-CVS/gnome-terminal/zvtterm.c
---- multi-gnome-terminal-1.6.2/gnome-terminal/zvtterm.c 2002-09-10 08:17:29.000000000 -0400
-+++ multi-gnome-terminal-1.6.2-CVS/gnome-terminal/zvtterm.c 2004-04-01 06:20:18.000000000 -0500
-@@ -4504,9 +4504,12 @@
- static void
- zvt_term_readdata (gpointer data, gint fd, GdkInputCondition condition)
- {
-+ int select_retval;
-+ struct timeval tv;
-+ fd_set rfds;
- gboolean update;
-- gchar buffer[4096];
-- gint count, saveerrno;
-+ gchar buffer[32768];
-+ gint count, total_count, saveerrno;
- struct _vtx *vx;
- ZvtTerm *term;
- int screen;
-@@ -4535,23 +4538,46 @@
- vt_cursor_state (term, 0);
- vt_match_highlight(term->vx, 0);
- #endif
-- while ( (saveerrno == EAGAIN) && (count = read (fd, buffer, 4096)) > 0) {
--
--#if 0
-- int i =0;
-- while(i<count)
-- {
-- if (buffer[i]==27)
-- printf("<Esc> ");
-- else
-- printf("(%d,%c) ", buffer[i], buffer[i]);
-- i++;
-- }
-- printf("\n count=%d\n", count);
--#endif
--
-+
-+
-+ select_retval=1;
-+ total_count=0;
-+ count=1;
-+
-+ while ( (count>0) && (select_retval==1) && (total_count<32768) )
-+ {
-+ count=0;
-+ int maxread=32768-total_count;
-+ if (maxread>4096)
-+ maxread=4096;
-+
-+ count = read (fd, &buffer[total_count], maxread);
-+ saveerrno=errno;
-+ if (count == -1)
-+ {
-+ perror("read()");
-+ break;
-+ }
-+ if (count>0)
-+ total_count+=count;
-+
-+ FD_ZERO(&rfds);
-+ FD_SET(fd, &rfds);
-+ tv.tv_sec = 0;
-+ tv.tv_usec = 10000;
-+ select_retval = select(fd+1, &rfds, NULL, NULL, &tv);
-+ if (select_retval == -1)
-+ {
-+ perror("select()");
-+ break;
-+ }
-+ }
-+
-+ if (total_count) {
-+
-+ count=total_count;
-+
- update = TRUE;
-- saveerrno = errno;
- #ifdef MGT_NEW_DATA_PROCESSING
- in_data = g_malloc0(sizeof (struct in_data_t));
- in_data->term = term;
+++ /dev/null
---- multi-gnome-terminal-1.6.2/gnome-terminal/zvtterm.c~ 2004-09-22 18:55:37 -0400
-+++ multi-gnome-terminal-1.6.2/gnome-terminal/zvtterm.c 2004-09-22 19:06:43 -0400
-@@ -4546,8 +4546,8 @@
-
- while ( (count>0) && (select_retval==1) && (total_count<32768) )
- {
-- count=0;
- int maxread=32768-total_count;
-+ count=0;
- if (maxread>4096)
- maxread=4096;
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>gnome</herd>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/multi-gnome-terminal/multi-gnome-terminal-1.6.2-r1.ebuild,v 1.3 2005/01/16 22:10:11 foser Exp $
-
-IUSE="nls"
-
-inherit libtool eutils
-
-DESCRIPTION="Extended version of the Gnome Terminal."
-SRC_URI="mirror://sourceforge/multignometerm/${P}.tar.bz2"
-HOMEPAGE="http://multignometerm.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~sparc ~amd64"
-
-DEPEND="=x11-libs/gtk+-1*
- >=gnome-base/gnome-libs-1.4.1.7
- >=media-libs/gdk-pixbuf-0.11.0-r1
- =gnome-base/libglade-0*
- >=app-text/scrollkeeper-0.3.10-r1
- =gnome-base/orbit-0*"
-
-RDEPEND="nls? ( sys-devel/gettext )"
-
-src_unpack() {
-
- unpack ${A}
- epatch "${FILESDIR}/${P}-gcc-3.4.patch"
- # Fix loggin keystrokes (#62322)
- epatch ${FILESDIR}/${P}-remove_debug.patch
- # gcc2 fix (#65029)
- epatch ${FILESDIR}/${P}-zvt_term.patch
-
-}
-
-src_compile() {
-
- elibtoolize
-
- local myconf=""
- use nls || myconf="--disable-nls"
-
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --sysconfdir=/etc \
- ${myconf} || die
-
- emake || die "Compilation failed"
-}
-
-src_install() {
-
- cp ${S}/omf-install/Makefile ${S}/omf-install/Makefile.orig
- sed -e "s:scrollkeeper-update.*::g" \
- ${S}/omf-install/Makefile.orig > ${S}/omf-install/Makefile
-
- # Remove the NO_XALF nonsense from the .desktop file
- cp ${S}/gnome-terminal/multi-gnome-terminal.desktop \
- ${S}/gnome-terminal/mgt.desktop.old
- sed -e "s:NO_XALF ::" \
- ${S}/gnome-terminal/mgt.desktop.old > \
- ${S}/gnome-terminal/multi-gnome-terminal.desktop
-
- make DESTDIR=${D} install || die "Installation failed"
-
- dosym mgt/multignometerm.png /usr/share/pixmaps/multignometerm.png
-
- dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
-}
-
-pkg_postinst() {
-
- echo ">>> Updating Scrollkeeper database..."
- scrollkeeper-update &>/dev/null
-}
-
-pkg_postrm() {
-
- echo ">>> Updating Scrollkeeper database..."
- scrollkeeper-update &>/dev/null
-}
-