summaryrefslogtreecommitdiffstats
path: root/test/rxvt-unicode/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-26 23:31:27 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-26 23:31:27 +0100
commitdec72baef7129468932f07dc3d6cf70c5b92ad44 (patch)
tree38f2ceb0f5a56d6443371dc88a90054a9cc556ad /test/rxvt-unicode/Pkgfile
parenta4a6af59a81f826d923111f0e5adde6e688c7c06 (diff)
downloadnutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.tar.gz
nutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.tar.bz2
nutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.tar.xz
nutyx-extra-dec72baef7129468932f07dc3d6cf70c5b92ad44.zip
rxvt-unicode dans test
Diffstat (limited to 'test/rxvt-unicode/Pkgfile')
-rw-r--r--test/rxvt-unicode/Pkgfile57
1 files changed, 57 insertions, 0 deletions
diff --git a/test/rxvt-unicode/Pkgfile b/test/rxvt-unicode/Pkgfile
new file mode 100644
index 000000000..811717734
--- /dev/null
+++ b/test/rxvt-unicode/Pkgfile
@@ -0,0 +1,57 @@
+# Description: Clone d'un terminal rxvt (urxvt) avec support 256 couileurs
+# URL:http://software.schmorp.de/pkg/rxvt-unicode.html
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: xorg-libxft
+
+name=rxvt-unicode
+version=9.06
+release=1
+source=(http://dist.schmorp.de/$name/$name-$version.tar.bz2 \
+ rxvt-unicode.desktop \
+ rxvt-unicode.png \
+ font-width-fix.patch \
+ gcc4.4.patch)
+
+build() {
+ cd $name-$version
+ # Add 256 color support
+ patch -p1 -i doc/urxvt-8.2-256color.patch || return 1
+
+ # Fix font width bug fix
+ patch -p0 -i ../font-width-fix.patch || return 1
+
+ # Port to compile with GCC4.4
+ patch -p0 -i ../gcc4.4.patch
+
+ ./configure --prefix=/usr \
+ --with-terminfo=/usr/share/terminfo \
+ --with-term=rxvt-256color \
+ --enable-smart-resize \
+ --enable-font-styles \
+ --enable-xim \
+ --enable-keepscrolling \
+ --enable-selectionscrolling \
+ --enable-xpm-background \
+ --enable-transparency \
+ --enable-utmp \
+ --enable-wtmp \
+ --enable-lastlog
+
+ make
+ make DESTDIR=$PKG install
+
+# install -d $PKG/usr/share/terminfo
+# export TERMINFO=$PKG/usr/share/terminfo
+# make DESTDIR=$PKG install
+
+ # install the tabbing wrapper
+ sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
+ install -D -m755 doc/rxvt-tabbed $PKG/usr/bin/urxvt-tabbed
+
+ # install freedesktop menu and icon ( icon from cvs checkout )
+ install -D -m644 ../rxvt-unicode.desktop \
+ $PKG/usr/share/applications/rxvt-unicode.desktop
+ install -Dm644 ../rxvt-unicode.png \
+ $PKG/usr/share/pixmaps/rxvt-unicode.png
+}