summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-08-27 19:00:58 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-08-27 19:00:58 +0000
commitd58c443c43feb6607d4dce4ab47eb5f65930b61d (patch)
tree7911db2357de22100c30b3328ad3d6440488dc6e /x11-terms/mrxvt
parentAdding deprecation notice to the 2.4 sub-profiles for sparc as we no longer p... (diff)
downloadgentoo-2-d58c443c43feb6607d4dce4ab47eb5f65930b61d.tar.gz
gentoo-2-d58c443c43feb6607d4dce4ab47eb5f65930b61d.tar.bz2
gentoo-2-d58c443c43feb6607d4dce4ab47eb5f65930b61d.zip
Fix scrolling bug.
(Portage version: 2.1.3.7)
Diffstat (limited to 'x11-terms/mrxvt')
-rw-r--r--x11-terms/mrxvt/ChangeLog9
-rw-r--r--x11-terms/mrxvt/files/digest-mrxvt-0.5.3-r1 (renamed from x11-terms/mrxvt/files/digest-mrxvt-0.5.3)0
-rw-r--r--x11-terms/mrxvt/files/mrxvt-0.5.3-no-scroll-with-buffer.patch60
-rw-r--r--x11-terms/mrxvt/mrxvt-0.5.3-r1.ebuild (renamed from x11-terms/mrxvt/mrxvt-0.5.3.ebuild)10
4 files changed, 77 insertions, 2 deletions
diff --git a/x11-terms/mrxvt/ChangeLog b/x11-terms/mrxvt/ChangeLog
index 69fe25ddd98e..b16e2532d874 100644
--- a/x11-terms/mrxvt/ChangeLog
+++ b/x11-terms/mrxvt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-terms/mrxvt
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/ChangeLog,v 1.51 2007/08/22 20:21:30 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/ChangeLog,v 1.52 2007/08/27 19:00:58 nelchael Exp $
+
+*mrxvt-0.5.3-r1 (27 Aug 2007)
+
+ 27 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/mrxvt-0.5.3-no-scroll-with-buffer.patch, -mrxvt-0.5.3.ebuild,
+ +mrxvt-0.5.3-r1.ebuild:
+ Fix scrolling bug.
*mrxvt-0.5.3 (22 Aug 2007)
diff --git a/x11-terms/mrxvt/files/digest-mrxvt-0.5.3 b/x11-terms/mrxvt/files/digest-mrxvt-0.5.3-r1
index c4d1d0365bfd..c4d1d0365bfd 100644
--- a/x11-terms/mrxvt/files/digest-mrxvt-0.5.3
+++ b/x11-terms/mrxvt/files/digest-mrxvt-0.5.3-r1
diff --git a/x11-terms/mrxvt/files/mrxvt-0.5.3-no-scroll-with-buffer.patch b/x11-terms/mrxvt/files/mrxvt-0.5.3-no-scroll-with-buffer.patch
new file mode 100644
index 000000000000..08b926a2a904
--- /dev/null
+++ b/x11-terms/mrxvt/files/mrxvt-0.5.3-no-scroll-with-buffer.patch
@@ -0,0 +1,60 @@
+Index: src/rxvtlib.h
+===================================================================
+--- src/rxvtlib.h (revision 244)
++++ src/rxvtlib.h (working copy)
+@@ -280,7 +280,7 @@
+ #define Opt_forceTransparent ((1LU<<16) | IS_OPTION1)
+ #define Opt_mc_hack ((1LU<<17) | IS_OPTION1)
+ #define Opt_tripleclickwords ((1LU<<18) | IS_OPTION1)
+-#define Opt_scrollWithBuffer ((1LU<<19) | IS_OPTION1)
++/* #define Opt_scrollWithBuffer ((1LU<<19) | IS_OPTION1) */
+ #define Opt_mouseWheelScrollPage ((1LU<<21) | IS_OPTION1)
+ #define Opt_pointerBlank ((1LU<<22) | IS_OPTION1)
+ #define Opt_cursorBlink ((1LU<<23) | IS_OPTION1)
+Index: src/xdefaults.c
+===================================================================
+--- src/xdefaults.c (revision 244)
++++ src/xdefaults.c (working copy)
+@@ -203,8 +203,6 @@
+ "scroll-on-tty-output inhibit" ),
+ BOOL( "scrollTtyKeypress", "sk", Opt_scrollTtyKeypress,
+ "scroll-on-keypress" ),
+- BOOL( "scrollWithBuffer", "sw", Opt_scrollWithBuffer,
+- "scroll-with-buffer" ),
+
+ STRG(Rs_opacity, "opacity", "o", "%",
+ "transluscent window (true transparent) opaque degree", 0),
+Index: src/screen.c
+===================================================================
+--- src/screen.c (revision 244)
++++ src/screen.c (working copy)
+@@ -938,10 +938,6 @@
+ PVTS(r, page)->nscrolled = SVLINES;
+ else
+ PVTS(r, page)->nscrolled = (uint16_t)nscrolled;
+- if (ISSET_OPTION(r, Opt_scrollWithBuffer) &&
+- VSTART != 0 &&
+- VSTART != SVLINES)
+- rxvt_scr_page(r, page, UP, count);
+ }
+ else if (!spec)
+ row1 += SVLINES;
+Index: doc/mrxvt.1
+===================================================================
+--- doc/mrxvt.1 (revision 244)
++++ doc/mrxvt.1 (working copy)
+@@ -329,14 +329,6 @@
+ Draw floating scrollbar (i.e. without a trough).
+ .Op Cm scrollbarFloating
+ .
+-.BO sw
+-Scroll synchronusly with buffer. Normally
+-.Nm
+-does not keep the screen completely up to date while scrolling. This allows
+-.Nm
+-to run faster when network latencies are very high and is typically useful when running across a very large internet or many gateways.
+-.Op Cm scrollWithBuffer
+-.
+ .El
+ .Ed
+ .\" {{{2 color
diff --git a/x11-terms/mrxvt/mrxvt-0.5.3.ebuild b/x11-terms/mrxvt/mrxvt-0.5.3-r1.ebuild
index e4b8b80b3bac..2663eca1a31d 100644
--- a/x11-terms/mrxvt/mrxvt-0.5.3.ebuild
+++ b/x11-terms/mrxvt/mrxvt-0.5.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/mrxvt-0.5.3.ebuild,v 1.1 2007/08/22 20:21:30 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/mrxvt-0.5.3-r1.ebuild,v 1.1 2007/08/27 19:00:58 nelchael Exp $
inherit eutils
@@ -30,6 +30,14 @@ RDEPEND="!ppc-macos? (
DEPEND="${RDEPEND}
x11-proto/xproto"
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-no-scroll-with-buffer.patch"
+
+}
+
src_compile() {
local myconf