From 6d08501401794c826d68897b4d5aab53d9feabb2 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 7 Jan 2010 16:07:12 +0100 Subject: [PATCH] xterm: initial import (verified compilation) --- xterm/.footprint | 25 +++++++++++++++++++++++++ xterm/.md5sum | 2 ++ xterm/Pkgfile | 33 +++++++++++++++++++++++++++++++++ xterm/configure.diff | 12 ++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 xterm/.footprint create mode 100644 xterm/.md5sum create mode 100644 xterm/Pkgfile create mode 100644 xterm/configure.diff diff --git a/xterm/.footprint b/xterm/.footprint new file mode 100644 index 0000000..5160f1d --- /dev/null +++ b/xterm/.footprint @@ -0,0 +1,25 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/koi8rxterm +-rwxr-xr-x root/root usr/bin/resize +-rwxr-xr-x root/root usr/bin/uxterm +-rwxr-xr-x root/root usr/bin/xterm +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/X11/ +drwxr-xr-x root/root usr/lib/X11/app-defaults/ +-rw-r--r-- root/root usr/lib/X11/app-defaults/KOI8RXTerm +-rw-r--r-- root/root usr/lib/X11/app-defaults/UXTerm +-rw-r--r-- root/root usr/lib/X11/app-defaults/XTerm +-rw-r--r-- root/root usr/lib/X11/app-defaults/XTerm-color +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/koi8rxterm.1.gz +-rw-r--r-- root/root usr/man/man1/resize.1.gz +-rw-r--r-- root/root usr/man/man1/uxterm.1.gz +-rw-r--r-- root/root usr/man/man1/xterm.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/xterm-color_32x32.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm-color_48x48.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm_32x32.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm_48x48.xpm diff --git a/xterm/.md5sum b/xterm/.md5sum new file mode 100644 index 0000000..b5a9be1 --- /dev/null +++ b/xterm/.md5sum @@ -0,0 +1,2 @@ +2bc971a1753fe57aca05fde7c005a16c configure.diff +933bff842e173ecab1e8d668d22711f4 xterm-254.tgz diff --git a/xterm/Pkgfile b/xterm/Pkgfile new file mode 100644 index 0000000..5cf6132 --- /dev/null +++ b/xterm/Pkgfile @@ -0,0 +1,33 @@ +# Description: The standard termulator. +# URL: http://dickey.his.com/xterm/xterm.html +# Packager: Han Boetes, han at mijncomputer dot nl +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: xorg-libxaw xorg-font-alias xorg-font-misc-misc + +name=xterm +version=254 +release=1 +source=(ftp://invisible-island.net/$name/$name-$version.tgz \ + configure.diff) + +build() { + cd $name-$version + [ -z "$BASH_VERSION" ] && patch -p0 -i $SRC/configure.diff + + export CFLAGS="$CFLAGS -I$CLFS/usr/include" + export LIBS="-lXft" + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --disable-nls \ + --enable-256-color \ + --enable-wide-chars + + sed -i Makefile -e "s|-I/usr/include|-I$CLFS/usr/include|g" + + make + make install DESTDIR=$PKG + chmod 0755 $PKG/usr/bin/$name +} diff --git a/xterm/configure.diff b/xterm/configure.diff new file mode 100644 index 0000000..327e5ec --- /dev/null +++ b/xterm/configure.diff @@ -0,0 +1,12 @@ +Fix a stupid bashism +--- configure.orig 2006-05-02 02:01:12.637169936 +0200 ++++ configure 2006-05-02 02:01:30.861399432 +0200 +@@ -5217,7 +5217,7 @@ if test "${with_app_defaults+set}" = set + withval="$with_app_defaults" + + else +- withval="${appsdir-'\$(exec_prefix)/lib/X11/app-defaults'}" ++ withval="${appsdir-'\$\(exec_prefix\)/lib/X11/app-defaults'}" + fi; + case ".$withval" in #(vi + .\$\(*\)*|.\'*\'*) #(vi -- 2.26.2