1
0
forked from ports/contrib

materm: Renamed to mrxvt. Updated 0.5.3 -> 0.5.4. Fixed dependencies and cleaned up.

This commit is contained in:
Jose V Beneyto 2008-08-04 19:36:18 +02:00
parent 2dd178dd4b
commit 7d13e9a7ae
6 changed files with 30 additions and 93 deletions

@ -1,2 +0,0 @@
0dac39bef63a4a69eab35c027e8c5bdf mrxvt-0.5.3.tar.gz
9032af5f981b91462ed916d27ae286b9 no-scroll-with-buffer-mrxvt-0.5.3.patch

@ -1,31 +0,0 @@
# Description: Multi-tabbed rxvt based terminal
# URL: http://materm.sourceforge.net/
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
# Depends on: xorg-libx11
name=materm
version=0.5.3
release=3
source=(http://dl.sourceforge.net/sourceforge/${name}/mrxvt-${version}.tar.gz \
http://dl.sourceforge.net/sourceforge/${name}/no-scroll-with-buffer-mrxvt-${version}.patch)
build() {
cd mrxvt-${version}
patch -p0 < ../no-scroll-with-buffer-mrxvt-${version}.patch
./configure --prefix=/usr \
--disable-debug \
--enable-menubar \
--enable-xft \
--with-save-lines=200 \
--with-x
make
make DESTDIR=${PKG} install
rm -rf ${PKG}/usr/share/doc
mv ${PKG}/usr/etc/{mrxvt/mrxvtrc,mrxvtrc}
mv ${PKG}/usr/etc/mrxvt/default.{menu,menu.sample}
mv ${PKG}/usr/etc/mrxvt/submenus.{menu,menu.sample}
mv ${PKG}/usr/share/man ${PKG}/usr
rm -f ${PKG}/usr/share/pixmaps/*.png
ln -sf /usr/bin/mrxvt ${PKG}/usr/bin/${name}
}

@ -1,60 +0,0 @@
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

1
mrxvt/.md5sum Normal file

@ -0,0 +1 @@
0232c8868484751dcb931a28f0756f69 mrxvt-0.5.4.tar.gz

29
mrxvt/Pkgfile Normal file

@ -0,0 +1,29 @@
# Description: Multi-tabbed rxvt based terminal
# URL: http://materm.sourceforge.net/
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
# Depends on: xorg-libxft
name=materm
version=0.5.4
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/mrxvt-$version.tar.gz )
build() {
cd mrxvt-$version
./configure --prefix=/usr \
--disable-debug \
--enable-menubar \
--enable-xft \
--with-save-lines=200 \
--with-x
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
mv $PKG/usr/etc/{mrxvt/mrxvtrc,mrxvtrc}
mv $PKG/usr/etc/mrxvt/default.{menu,menu.sample}
mv $PKG/usr/etc/mrxvt/submenus.{menu,menu.sample}
mv $PKG/usr/share/man $PKG/usr
rm -f $PKG/usr/share/pixmaps/*.png
ln -sf /usr/bin/mrxvt $PKG/usr/bin/$name
}