diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
commit | 9526ee659401dee7160f35cb62ded2779bcbbc99 (patch) | |
tree | 812ad73bde9c84dcc02a3acbc5db576369ca314a /main/mrxvt | |
parent | 05e09c1126a898b6d0af491fef0401bf53e297f8 (diff) | |
download | aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2 aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz |
merged x11 repository into main
ref #255
Diffstat (limited to 'main/mrxvt')
-rw-r--r-- | main/mrxvt/APKBUILD | 45 | ||||
-rw-r--r-- | main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch | 12 | ||||
-rw-r--r-- | main/mrxvt/mrxvt.desktop | 10 |
3 files changed, 67 insertions, 0 deletions
diff --git a/main/mrxvt/APKBUILD b/main/mrxvt/APKBUILD new file mode 100644 index 0000000000..3dba1c4c83 --- /dev/null +++ b/main/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/main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch b/main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch new file mode 100644 index 0000000000..c9af740e50 --- /dev/null +++ b/main/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/main/mrxvt/mrxvt.desktop b/main/mrxvt/mrxvt.desktop new file mode 100644 index 0000000000..fc2173ddb7 --- /dev/null +++ b/main/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 |