CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xinit: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Fri, 18 Dec 2009 19:09:24 +0000 (20:09 +0100)
committerJose V Beneyto <sepen@crux.nu>
Fri, 18 Dec 2009 19:09:24 +0000 (20:09 +0100)
xorg-xinit/.footprint [new file with mode: 0644]
xorg-xinit/.md5sum [new file with mode: 0644]
xorg-xinit/Pkgfile [new file with mode: 0644]

diff --git a/xorg-xinit/.footprint b/xorg-xinit/.footprint
new file mode 100644 (file)
index 0000000..b8d62ce
--- /dev/null
@@ -0,0 +1,12 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/startx
+-rwxr-xr-x     root/root       usr/bin/xinit
+drwxr-xr-x     root/root       usr/lib/
+drwxr-xr-x     root/root       usr/lib/X11/
+drwxr-xr-x     root/root       usr/lib/X11/xinit/
+-rw-r--r--     root/root       usr/lib/X11/xinit/xinitrc
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/startx.1.gz
+-rw-r--r--     root/root       usr/man/man1/xinit.1.gz
diff --git a/xorg-xinit/.md5sum b/xorg-xinit/.md5sum
new file mode 100644 (file)
index 0000000..aa5364a
--- /dev/null
@@ -0,0 +1 @@
+fe1696cab2fbed6fa059d0cd1c53ac13  xinit-1.2.0.tar.bz2
diff --git a/xorg-xinit/Pkgfile b/xorg-xinit/Pkgfile
new file mode 100644 (file)
index 0000000..c2fb54e
--- /dev/null
@@ -0,0 +1,28 @@
+# Description: X Window System initializer
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck tilman at crux dot nu
+# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-server
+
+name=xorg-xinit
+version=1.2.0
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/app/xinit-$version.tar.bz2)
+
+build() {
+  cd xinit-$version
+
+  export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
+  export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+  export XORG_LIBS="$DEFAULT_LIBS -lXfont -lXrender -lXau -lpixman-1 -lXdmcp -lXv -lcrypt"
+  export XORG_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/xorg -fvisibility=hidden -DRENDER -DRANDR -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/pixman-1"
+  export XINIT_LIBS="$XORG_LIBS"
+  export XINIT_CFLAGS="$XORG_CFLAGS"
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr --mandir=/usr/man
+
+  make
+  make DESTDIR=$PKG install
+}