Commit aa9f0318 authored by Natanael Copa's avatar Natanael Copa

x11/mrxvt: new aport

A multi-tabbed X terminal emulator based on rxvt code
http://materm.sourceforge.net/wiki/pmwiki.php

Contributor: Mark Constable <markc@renta.net>
parent 2d3cf19e
# Contributor: Mark Constable <markc@renta.net>
# Maintainer: Mark Constable <markc@renta.net>
pkgname=mrxvt
pkgver=0.5.4
pkgrel=0
pkgdesc="A multi-tabbed X terminal emulator based on rxvt code"
url="http://materm.sourceforge.net/wiki/pmwiki.php"
license="GPL"
makedepends="libpng-dev jpeg-dev libxft-dev libxpm-dev libx11-dev"
subpackages="$pkgname-doc"
source="
http://downloads.sourceforge.net/sourceforge/materm/$pkgname-$pkgver.tar.gz
mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch
mrxvt.desktop
"
build()
{
cd "$srcdir"/$pkgname-$pkgver
patch -p1 < ../mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch || return 1
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-xft \
--enable-text-shadow \
--enable-transparency \
--enable-smart-resize \
--enable-menubar \
--disable-ourstrings \
--enable-linespace \
--enable-256colors \
--enable-xim \
--enable-thai \
--enable-greek \
--enable-cjk \
--enable-backspace-key \
--with-save-lines=2048 || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -Dm644 ../mrxvt.desktop $pkgdir/usr/share/applications/mrxvt.desktop
}
md5sums="0232c8868484751dcb931a28f0756f69 mrxvt-0.5.4.tar.gz
e4a8bb2521246aba85f8dcaa01aed527 mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch
6ba3bcd484c8dad1b0b48465ded54de3 mrxvt.desktop"
diff -ru a/src/tabbar.c b/src/tabbar.c
--- a/src/tabbar.c 2009-08-19 21:12:48.000000000 +0000
+++ b/src/tabbar.c 2009-08-19 21:13:35.000000000 +0000
@@ -1314,7 +1314,7 @@
if( p.we_wordc > 1)
rxvt_msg( DBG_ERROR, DBG_TABBAR,
"Too many words when expanding %s\n", cwdOption );
- else
+ else if( NOT_NULL( *p.we_wordv ) )
{
filename = *p.we_wordv;
[Desktop Entry]
Encoding=UTF-8
Name=mrxvt
Comment=MultiTabbed rxvt Terminal
Exec=mrxvt
Icon=mrxvt
Terminal=false
Type=Application
Categories=Application;TerminalEmulator;
GenericName=Terminal
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment