From: Jose V Beneyto Date: Wed, 23 Dec 2009 14:24:04 +0000 (+0100) Subject: mrxvt: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=77457b73cde97547730f29357bd2bcea635f98fd;p=attic%2Fports%2Fopt-cross.git mrxvt: initial import (verified compilation) --- diff --git a/mrxvt/.footprint b/mrxvt/.footprint new file mode 100644 index 0000000..d1f44bc --- /dev/null +++ b/mrxvt/.footprint @@ -0,0 +1,18 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +lrwxrwxrwx root/root usr/bin/materm -> /usr/bin/mrxvt +-rwxr-xr-x root/root usr/bin/mrxvt +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/mrxvt/ +-rw-r--r-- root/root usr/etc/mrxvt/default.menu.sample +-rw-r--r-- root/root usr/etc/mrxvt/mrxvtrc.sample +-rw-r--r-- root/root usr/etc/mrxvt/submenus.menu.sample +-rw-r--r-- root/root usr/etc/mrxvtrc +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/mrxvt.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/mrxvt-csh.xpm +-rw-r--r-- root/root usr/share/pixmaps/mrxvt-root.xpm +-rw-r--r-- root/root usr/share/pixmaps/mrxvt.xpm diff --git a/mrxvt/.md5sum b/mrxvt/.md5sum new file mode 100644 index 0000000..df15115 --- /dev/null +++ b/mrxvt/.md5sum @@ -0,0 +1,2 @@ +2b6ecc9d68185e56a50eca0a2548fa8b mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch +0232c8868484751dcb931a28f0756f69 mrxvt-0.5.4.tar.gz diff --git a/mrxvt/Pkgfile b/mrxvt/Pkgfile new file mode 100644 index 0000000..73f6466 --- /dev/null +++ b/mrxvt/Pkgfile @@ -0,0 +1,43 @@ +# Description: Multi-tabbed rxvt based terminal +# URL: http://materm.sourceforge.net/ +# Packager: Jose V Beneyto sepen at users dot sourceforge dot net +# Maintainer: Jose V Beneyto sepen at users dot sourceforge dot net +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: xorg-libxft + +name=mrxvt +version=0.5.4 +release=2 +source=(http://dl.sourceforge.net/sourceforge/materm/$name-$version.tar.gz \ + $name-$version-001-fix-segfault-when-wd-empty.patch) + +build() { + cd $name-$version + + patch -p0 -i $SRC/$name-$version-001-fix-segfault-when-wd-empty.patch + echo "ac_cv_func_setpgrp_void=yes" > config.cache + + export CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/freetype2" + export LDFLAGS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lX11" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --disable-debug \ + --enable-menubar \ + --enable-xft \ + --with-save-lines=200 \ + --with-x \ + --cache-file=config.cache + + 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/$name $PKG/usr/bin/materm +} diff --git a/mrxvt/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch b/mrxvt/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch new file mode 100644 index 0000000..a52a102 --- /dev/null +++ b/mrxvt/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch @@ -0,0 +1,13 @@ +Index: src/tabbar.c +=================================================================== +--- src/tabbar.c (revision 337) ++++ src/tabbar.c (working copy) +@@ -1327,7 +1327,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; +