CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xterm: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Thu, 7 Jan 2010 15:07:12 +0000 (16:07 +0100)
committerJose V Beneyto <sepen@crux.nu>
Thu, 7 Jan 2010 15:07:12 +0000 (16:07 +0100)
xterm/.footprint [new file with mode: 0644]
xterm/.md5sum [new file with mode: 0644]
xterm/Pkgfile [new file with mode: 0644]
xterm/configure.diff [new file with mode: 0644]

diff --git a/xterm/.footprint b/xterm/.footprint
new file mode 100644 (file)
index 0000000..5160f1d
--- /dev/null
@@ -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 (file)
index 0000000..b5a9be1
--- /dev/null
@@ -0,0 +1,2 @@
+2bc971a1753fe57aca05fde7c005a16c  configure.diff
+933bff842e173ecab1e8d668d22711f4  xterm-254.tgz
diff --git a/xterm/Pkgfile b/xterm/Pkgfile
new file mode 100644 (file)
index 0000000..5cf6132
--- /dev/null
@@ -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 (file)
index 0000000..327e5ec
--- /dev/null
@@ -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