From aa9f03189194b5b8d35efbf96c0db16d1708488e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 19 Aug 2009 21:20:56 +0000 Subject: x11/mrxvt: new aport A multi-tabbed X terminal emulator based on rxvt code http://materm.sourceforge.net/wiki/pmwiki.php Contributor: Mark Constable --- x11/mrxvt/APKBUILD | 45 ++++++++++++++++++++++ ...rxvt-0.5.4-002-fix-segfault-when-wd-empty.patch | 12 ++++++ x11/mrxvt/mrxvt.desktop | 10 +++++ 3 files changed, 67 insertions(+) create mode 100644 x11/mrxvt/APKBUILD create mode 100644 x11/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch create mode 100644 x11/mrxvt/mrxvt.desktop (limited to 'x11') 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 +# Maintainer: Mark Constable +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 -- cgit v1.2.3