diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-19 21:20:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-19 21:20:56 +0000 |
commit | aa9f03189194b5b8d35efbf96c0db16d1708488e (patch) | |
tree | f291891ca31c23e16942e8eb3f0064516aa40b58 /x11 | |
parent | 2d3cf19e7cb747d61547f0e5fb14d91eb0a4f04e (diff) | |
download | aports-aa9f03189194b5b8d35efbf96c0db16d1708488e.tar.bz2 aports-aa9f03189194b5b8d35efbf96c0db16d1708488e.tar.xz |
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>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/mrxvt/APKBUILD | 45 | ||||
-rw-r--r-- | x11/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch | 12 | ||||
-rw-r--r-- | x11/mrxvt/mrxvt.desktop | 10 |
3 files changed, 67 insertions, 0 deletions
diff --git a/x11/mrxvt/APKBUILD b/x11/mrxvt/APKBUILD new file mode 100644 index 0000000000..3dba1c4c83 --- /dev/null +++ b/x11/mrxvt/APKBUILD @@ -0,0 +1,45 @@ +# 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 --git a/x11/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch b/x11/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch new file mode 100644 index 0000000000..c9af740e50 --- /dev/null +++ b/x11/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch @@ -0,0 +1,12 @@ +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; + diff --git a/x11/mrxvt/mrxvt.desktop b/x11/mrxvt/mrxvt.desktop new file mode 100644 index 0000000000..fc2173ddb7 --- /dev/null +++ b/x11/mrxvt/mrxvt.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=mrxvt +Comment=MultiTabbed rxvt Terminal +Exec=mrxvt +Icon=mrxvt +Terminal=false +Type=Application +Categories=Application;TerminalEmulator; +GenericName=Terminal |