summaryrefslogtreecommitdiffstats
path: root/display
diff options
context:
space:
mode:
authorroot2006-04-24 09:03:08 -0500
committerroot2006-04-24 09:03:08 -0500
commit84d8b510ac289af0a43bfa9e110844af27a90196 (patch)
treed7093929b954dd2f71114bff270755e18f737eb1 /display
initial commit from stable 0.3
Diffstat (limited to 'display')
-rw-r--r--display/MAINTAINER3
-rwxr-xr-xdisplay/atitvout/BUILD8
-rwxr-xr-xdisplay/atitvout/DEPENDS1
-rwxr-xr-xdisplay/atitvout/DETAILS16
-rw-r--r--display/atitvout/HISTORY3
-rwxr-xr-xdisplay/dfbsee/DEPENDS1
-rwxr-xr-xdisplay/dfbsee/DETAILS17
-rw-r--r--display/dfbsee/HISTORY8
-rwxr-xr-xdisplay/directfb-extra/BUILD18
-rwxr-xr-xdisplay/directfb-extra/DEPENDS16
-rwxr-xr-xdisplay/directfb-extra/DETAILS15
-rw-r--r--display/directfb-extra/HISTORY25
-rwxr-xr-xdisplay/directfb-extra/INSTALL5
-rwxr-xr-xdisplay/directfb/BUILD11
-rwxr-xr-xdisplay/directfb/CONFIGURE45
-rwxr-xr-xdisplay/directfb/DEPENDS19
-rwxr-xr-xdisplay/directfb/DETAILS78
-rw-r--r--display/directfb/DirectFB-0.9.22.tar.gz.sigbin0 -> 65 bytes
-rw-r--r--display/directfb/HISTORY56
-rwxr-xr-xdisplay/directfb/INSTALL14
-rwxr-xr-xdisplay/directfb/PRE_BUILD8
-rw-r--r--display/directfb/gfxdrivers11
-rwxr-xr-xdisplay/fbv/BUILD7
-rwxr-xr-xdisplay/fbv/DEPENDS3
-rwxr-xr-xdisplay/fbv/DETAILS16
-rw-r--r--display/fbv/HISTORY11
-rwxr-xr-xdisplay/fresco/BUILD22
-rwxr-xr-xdisplay/fresco/DEPENDS42
-rwxr-xr-xdisplay/fresco/DETAILS27
-rw-r--r--display/fresco/HISTORY36
-rwxr-xr-xdisplay/fresco/PREPARE9
-rwxr-xr-xdisplay/libggi/BUILD2
-rwxr-xr-xdisplay/libggi/DEPENDS18
-rwxr-xr-xdisplay/libggi/DETAILS27
-rw-r--r--display/libggi/HISTORY29
-rwxr-xr-xdisplay/libgii/BUILD8
-rwxr-xr-xdisplay/libgii/CONFIGURE1
-rwxr-xr-xdisplay/libgii/DEPENDS4
-rwxr-xr-xdisplay/libgii/DETAILS27
-rw-r--r--display/libgii/HISTORY30
-rwxr-xr-xdisplay/libgii/PRE_BUILD6
-rw-r--r--display/libgii/eventparse.c.patch13
-rwxr-xr-xdisplay/qingy-themes/BUILD1
-rwxr-xr-xdisplay/qingy-themes/DEPENDS1
-rwxr-xr-xdisplay/qingy-themes/DETAILS17
-rw-r--r--display/qingy-themes/HISTORY18
-rwxr-xr-xdisplay/qingy-themes/INSTALL8
-rw-r--r--display/qingy-themes/sorcerous/VeraBd.ttfbin0 -> 58716 bytes
-rw-r--r--display/qingy-themes/sorcerous/power_mouseover.pngbin0 -> 3682 bytes
-rw-r--r--display/qingy-themes/sorcerous/power_normal.pngbin0 -> 1846 bytes
-rw-r--r--display/qingy-themes/sorcerous/reset_mouseover.pngbin0 -> 3037 bytes
-rw-r--r--display/qingy-themes/sorcerous/reset_normal.pngbin0 -> 1424 bytes
-rw-r--r--display/qingy-themes/sorcerous/screensaver_mouseover.pngbin0 -> 4332 bytes
-rw-r--r--display/qingy-themes/sorcerous/screensaver_normal.pngbin0 -> 2143 bytes
-rw-r--r--display/qingy-themes/sorcerous/sleep_mouseover.pngbin0 -> 3293 bytes
-rw-r--r--display/qingy-themes/sorcerous/sleep_normal.pngbin0 -> 1408 bytes
-rw-r--r--display/qingy-themes/sorcerous/sorcerouslogin.jpgbin0 -> 82127 bytes
-rw-r--r--display/qingy-themes/sorcerous/theme186
-rw-r--r--display/qingy-themes/sourcemage/VeraBd.ttfbin0 -> 58716 bytes
-rw-r--r--display/qingy-themes/sourcemage/power_mouseover.pngbin0 -> 3682 bytes
-rw-r--r--display/qingy-themes/sourcemage/power_normal.pngbin0 -> 1846 bytes
-rw-r--r--display/qingy-themes/sourcemage/reset_mouseover.pngbin0 -> 3037 bytes
-rw-r--r--display/qingy-themes/sourcemage/reset_normal.pngbin0 -> 1424 bytes
-rw-r--r--display/qingy-themes/sourcemage/screensaver_mouseover.pngbin0 -> 4332 bytes
-rw-r--r--display/qingy-themes/sourcemage/screensaver_normal.pngbin0 -> 2143 bytes
-rw-r--r--display/qingy-themes/sourcemage/sleep_mouseover.pngbin0 -> 3293 bytes
-rw-r--r--display/qingy-themes/sourcemage/sleep_normal.pngbin0 -> 1408 bytes
-rw-r--r--display/qingy-themes/sourcemage/smgl.jpgbin0 -> 63495 bytes
-rw-r--r--display/qingy-themes/sourcemage/theme208
-rwxr-xr-xdisplay/qingy/BUILD8
-rwxr-xr-xdisplay/qingy/CONFIGURE14
-rwxr-xr-xdisplay/qingy/DEPENDS26
-rwxr-xr-xdisplay/qingy/DETAILS20
-rwxr-xr-xdisplay/qingy/FINAL9
-rw-r--r--display/qingy/HISTORY45
-rwxr-xr-xdisplay/qingy/INSTALL8
-rwxr-xr-xdisplay/qingy/PRE_BUILD24
-rw-r--r--display/qingy/config.patch89
-rw-r--r--display/qingy/inittab.qingy17
-rwxr-xr-xdisplay/qingy/pam.qingy11
-rw-r--r--display/qingy/shutdown.patch39
-rwxr-xr-xdisplay/svgalib/BUILD53
-rwxr-xr-xdisplay/svgalib/DETAILS18
-rw-r--r--display/svgalib/HISTORY64
-rwxr-xr-xdisplay/svgalib/INSTALL13
-rwxr-xr-xdisplay/svgalib/TRIGGERS1
-rwxr-xr-xdisplay/xdirectfb/BUILD131
-rwxr-xr-xdisplay/xdirectfb/CONFLICTS6
-rwxr-xr-xdisplay/xdirectfb/DEPENDS8
-rwxr-xr-xdisplay/xdirectfb/DETAILS115
-rwxr-xr-xdisplay/xdirectfb/HISTORY54
-rwxr-xr-xdisplay/xdirectfb/POST_INSTALL5
-rwxr-xr-xdisplay/xdirectfb/PRE_BUILD20
-rwxr-xr-xdisplay/xdirectfb/PROVIDES3
-rwxr-xr-xdisplay/xdirectfb/TRIGGERS8
-rw-r--r--display/xdirectfb/desktop/xterm.desktop8
-rwxr-xr-xdisplay/xdirectfb/init.d/xdm7
-rwxr-xr-xdisplay/xdirectfb/pam.d/xdm7
-rw-r--r--display/xdirectfb/xfree86-xft-releasefile-crash.patch11
-rwxr-xr-xdisplay/y/DEPENDS15
-rwxr-xr-xdisplay/y/DETAILS30
-rw-r--r--display/y/HISTORY43
102 files changed, 2085 insertions, 0 deletions
diff --git a/display/MAINTAINER b/display/MAINTAINER
new file mode 100644
index 0000000000..1cc0d2c1a4
--- /dev/null
+++ b/display/MAINTAINER
@@ -0,0 +1,3 @@
+Proudly brought to you by The Nomadic Gurus Association, the letter "z" and the number "2"
+# 2004-11-03
+Jackson "toomanymirrors" Alley jalley@toomanymirrors.homelinux.com
diff --git a/display/atitvout/BUILD b/display/atitvout/BUILD
new file mode 100755
index 0000000000..5b43a59b18
--- /dev/null
+++ b/display/atitvout/BUILD
@@ -0,0 +1,8 @@
+(
+
+ sedit "s:local/::g" Makefile &&
+ make &&
+ prepare_install &&
+ make install
+
+) > ${C_FIFO} 2>&1
diff --git a/display/atitvout/DEPENDS b/display/atitvout/DEPENDS
new file mode 100755
index 0000000000..a4d54ddf36
--- /dev/null
+++ b/display/atitvout/DEPENDS
@@ -0,0 +1 @@
+depends X11-SERVER
diff --git a/display/atitvout/DETAILS b/display/atitvout/DETAILS
new file mode 100755
index 0000000000..e270ee6f7f
--- /dev/null
+++ b/display/atitvout/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=atitvout
+ VERSION=0.4
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
+ SOURCE_URL[0]=http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/${SOURCE}
+ MD5[0]=4f3582ea9e3458ffb26680c018e7d57d
+ WEB_SITE=http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/
+ ENTERED=20040411
+ UPDATED=20040411
+ LICENSE[0]=GPL
+ SHORT="TV Out support for ATI cards"
+cat << EOF
+This utility program may be used for executing several configuration commands for the TV Out connector of ATI Rage Mobility P/M graphics boards under GNU/Linux on x86. It is intended primarily to enable TV Out support after bootup and for switching the used TV standard from NTSC to PAL.
+
+The utility makes use of x86-VESA-BIOS-calls and thus is not portable to other architectures like PPC: No TV-Out on Macs with this tool.
+EOF
diff --git a/display/atitvout/HISTORY b/display/atitvout/HISTORY
new file mode 100644
index 0000000000..30047e5463
--- /dev/null
+++ b/display/atitvout/HISTORY
@@ -0,0 +1,3 @@
+2004-04-11 Eric Sandall <eric@sandall.us>
+ * Created
+
diff --git a/display/dfbsee/DEPENDS b/display/dfbsee/DEPENDS
new file mode 100755
index 0000000000..e7f3bb6fca
--- /dev/null
+++ b/display/dfbsee/DEPENDS
@@ -0,0 +1 @@
+depends directfb
diff --git a/display/dfbsee/DETAILS b/display/dfbsee/DETAILS
new file mode 100755
index 0000000000..9e89052aa1
--- /dev/null
+++ b/display/dfbsee/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=dfbsee
+ PACKAGE_NAME=DFBSee
+ VERSION=0.7.4
+ SOURCE=$PACKAGE_NAME-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$PACKAGE_NAME-$VERSION
+ SOURCE_URL[0]=http://directfb.org/downloads/Programs/$SOURCE
+ MD5[0]=5030015ed621c2c51855d6cfc9140e72
+ WEB_SITE=http://directfb.org
+ ENTERED=20041101
+ UPDATED=20041101
+ LICENSE[0]=GPL
+ BUILD_API=2
+ SHORT="DFB graphics/video viewer"
+cat << EOF
+DFBsee is an image/video viewer for direct framebuffer users.
+No need for X when you want to view something ;)
+EOF
diff --git a/display/dfbsee/HISTORY b/display/dfbsee/HISTORY
new file mode 100644
index 0000000000..dbc288db03
--- /dev/null
+++ b/display/dfbsee/HISTORY
@@ -0,0 +1,8 @@
+2004-12-16 Eric Sandall <eric@sandall.us>
+ * DETAILS: Typo fix, thanks Terry. :)
+ Added UPDATED field
+ * DEPENDS: Depends on directfb, thanks Terry ;)
+
+2004-11-01 Arjan Bouter <abouter@sourcemage.org>
+ * Added spell
+
diff --git a/display/directfb-extra/BUILD b/display/directfb-extra/BUILD
new file mode 100755
index 0000000000..6b41b8edae
--- /dev/null
+++ b/display/directfb-extra/BUILD
@@ -0,0 +1,18 @@
+#
+# Rebuild configure so it doensn't "need" cpp
+#
+aclocal &&
+autoconf &&
+
+if [ -f /usr/include/linux/fusion.h ]
+ then OPTS="$OPTS --enable-multi"
+fi &&
+
+export CPPFLAGS="$CPPFLAGS -I/usr/include/libmpeg3/" &&
+./configure --build=$BUILD \
+ --prefix=${INSTALL_ROOT}/usr \
+ --sysconfdir=${INSTALL_ROOT}/etc \
+ --localstatedir=${INSTALL_ROOT}/var \
+ --disable-avifile \
+ $OPTS &&
+make
diff --git a/display/directfb-extra/DEPENDS b/display/directfb-extra/DEPENDS
new file mode 100755
index 0000000000..02a600a71f
--- /dev/null
+++ b/display/directfb-extra/DEPENDS
@@ -0,0 +1,16 @@
+AVER=`installed_version avifile|cut -d. -f1,2`
+depends directfb &&
+depends freetype2 "--enable-freetype" &&
+depends jpeg "--enable-jpeg" &&
+depends libpng "--enable-png" &&
+
+optional_depends "sdl" "--enable-sdl" "--enable-sdl=no" "build with SDL support" &&
+optional_depends "libmpeg3" "--enable-libmpeg3" "--enable-libmpeg3=no" "build Libmpeg3 video provider" &&
+optional_depends "imlib2" "--with-imlib2" "--without-imlib2" "with Imlib2 image support"
+# avifile breaks directfb. :(
+#optional_depends "avifile" "--with-avifile" "--without-avifile" "with AVI video support"
+# swift-flash doesn't install flash.h nor -lflash
+# modified swift-flash to install those files; find flash.h just fine, but not the library
+#optional_depends "swift-flash" "--with-flash" "--without-flash" "with Flash support" &&
+# They want OpenQuicktime, not quicktime4linux
+#optional_depends "quicktime4linux" "--with-quicktime" "--without-quicktime" "for QuickTime support"
diff --git a/display/directfb-extra/DETAILS b/display/directfb-extra/DETAILS
new file mode 100755
index 0000000000..3009628e50
--- /dev/null
+++ b/display/directfb-extra/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=directfb-extra
+ VERSION=0.9.22
+ SOURCE=DirectFB-extra-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/DirectFB-extra-$VERSION
+ SOURCE_URL[0]=http://www.directfb.org/download/DirectFB-extra/$SOURCE
+ MD5[0]=62fd52aba85c9c955737bde7b336523c
+ WEB_SITE=http://www.directfb.org/
+ ENTERED=20030916
+ UPDATED=20030916
+ LICENSE[0]=LGPL
+ BUILD_API=2
+ SHORT="Additional driver providers for directfb"
+cat << EOF
+Additional image/video/font providers and graphics/input drivers.
+EOF
diff --git a/display/directfb-extra/HISTORY b/display/directfb-extra/HISTORY
new file mode 100644
index 0000000000..ff5c4d788e
--- /dev/null
+++ b/display/directfb-extra/HISTORY
@@ -0,0 +1,25 @@
+2005-04-24 Eric Sandall <eric@sandall.us>
+ * BUILD: Spell aclocal correctly
+
+2005-04-13 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 0.9.22
+ Added BUILD_API=2
+ Shortened SHORT
+ * BUILD: Converted to build_api 2
+ Run aclocal and autoconf so it doesn't need g++
+ * INSTALL: Branched from BUILD
+ Converted to build_api 2
+
+2004-08-27 Arjan Bouter <a_bouter@ezrs.com>
+ * changed SDL to sdl in DEPENDS
+ to reflect lowercase spell-change
+
+2003-09-19 Eric Sandall <eric@sandall.us>
+ * Separated out directfb-extras, as that requires
+ directfb to be installed.
+ * Some cleanup as well.
+ * Added more optional dependencies
+
+2003-09-16 hgg <hgreig@bigpond.net.au>
+ * Created this spell
+
diff --git a/display/directfb-extra/INSTALL b/display/directfb-extra/INSTALL
new file mode 100755
index 0000000000..303f7ec8d0
--- /dev/null
+++ b/display/directfb-extra/INSTALL
@@ -0,0 +1,5 @@
+make install &&
+
+###something changed so libggi needs these symlinks.
+ln -sf ${INSTALL_ROOT}/usr/include/directfb/* \
+ ${INSTALL_ROOT}/usr/include/directfb-internal/
diff --git a/display/directfb/BUILD b/display/directfb/BUILD
new file mode 100755
index 0000000000..fa9cd7293d
--- /dev/null
+++ b/display/directfb/BUILD
@@ -0,0 +1,11 @@
+if [ -f /usr/include/linux/fusion.h ]; then
+ OPTS="$OPTS --enable-multi"
+fi &&
+
+OPTS="--enable-linux-input \
+ --with-gfxdrivers=$gfxdrivers \
+ $OPTS" &&
+
+export CPPFLAGS="$CPPFLAGS -I/usr/include/libmpeg3/" &&
+
+default_build
diff --git a/display/directfb/CONFIGURE b/display/directfb/CONFIGURE
new file mode 100755
index 0000000000..fe88b36137
--- /dev/null
+++ b/display/directfb/CONFIGURE
@@ -0,0 +1,45 @@
+add_status() {
+ while [ -n "$1" ]; do
+ echo "$1"
+ echo "$2"
+ echo "off"
+ shift 2
+ done
+}
+
+
+make_gfxdrivers_checklist() {
+ add_status `cat $SCRIPT_DIRECTORY/gfxdrivers`
+}
+
+
+get_gfx() {
+
+ BACKTITLE="DirectFB GFXDRIVER Configuration"
+ TITLE="Chipset Manufacturer selection"
+ HELP="Choose the chiipset your card uses, don't bother with any others if you don't have the
+hardware. If none are selected then all will be installed."
+
+ dialog --backtitle "$BACKTITLE" \
+ --title "$TITLE" \
+ --stdout \
+ --separate-output \
+ --checklist "$HELP" \
+ 0 0 0 \
+ `make_gfxdrivers_checklist`
+
+}
+
+if ! grep -q "gfxdrivers" $SPELL_CONFIG ;then
+ if query "select gfxdrivers to compile ?" n
+ then
+ gfxdrivers=all
+ OLD_IFS=$IFS
+ export IFS="
+"
+ gfxdrivers=`get_gfx | tr '\n' ','`
+ echo "gfxdrivers=$gfxdrivers" >> $SPELL_CONFIG
+ export IFS=$OLD_IFS
+ else echo gfxdrivers=all >> $SPELL_CONFIG
+ fi
+fi
diff --git a/display/directfb/DEPENDS b/display/directfb/DEPENDS
new file mode 100755
index 0000000000..550002b79a
--- /dev/null
+++ b/display/directfb/DEPENDS
@@ -0,0 +1,19 @@
+depends automake &&
+depends freetype2 "--enable-freetype" &&
+depends jpeg "--enable-jpeg" &&
+depends libpng "--enable-png" &&
+
+optional_depends sdl \
+ "--enable-sdl" \
+ "--enable-sdl=no" \
+ "build with SDL support" &&
+
+optional_depends libmpeg3 \
+ "--enable-libmpeg3" \
+ "--enable-libmpeg3=no" \
+ "build Libmpeg3 video provider" &&
+
+optional_depends fbset \
+ "" \
+ "" \
+ "for framebuffer utilities"
diff --git a/display/directfb/DETAILS b/display/directfb/DETAILS
new file mode 100755
index 0000000000..95ba49fb9f
--- /dev/null
+++ b/display/directfb/DETAILS
@@ -0,0 +1,78 @@
+ SPELL=directfb
+ VERSION=0.9.22
+ SOURCE=DirectFB-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/DirectFB-$VERSION
+ SOURCE_URL[0]=http://www.directfb.org/download/DirectFB/$SOURCE
+ SOURCE_GPG="gurus.gpg:${SOURCE}.sig"
+ WEB_SITE=http://www.directfb.org/
+ ENTERED=20030916
+ UPDATED=20031027
+ LICENSE[0]=LGPL
+ BUILD_API=2
+ SHORT="Graphics acceleration on Framebuffer Device"
+cat << EOF
+DirectFB is a thin library that provides hardware graphics acceleration,
+input device handling and abstraction, integrated windowing
+system with support for translucent windows and multiple display
+layers on top of the Linux Framebuffer Device. It is a complete
+hardware abstraction layer with software fallbacks for every graphics
+operation that is not supported by the underlying hardware.
+DirectFB adds graphical power to embedded systems and
+sets a new standard for graphics under Linux
+
+Usage Requirements
+------------------
+Depending on the DirectFB application you want to run, you need some
+ or all of these:
+
+ - A working frame buffer device (check the output of 'fbset -i').
+ - A keyboard (if it works on the console, everything should be fine).
+ - A PS/2 or serial mouse for windowing. USB and ADB mice do also work
+ via PS/2 emulation.
+
+ To access the frame buffer device and the mouse you need access to
+ /dev/tty0, /dev/fb0 and the mouse device (/dev/psaux, /dev/mouse).
+ You can either run all DirectFB applications as root or allow users
+ to access these devices. A reasonable way to do this is to add users
+ to the group tty (or some other group) and allow this group to read
+ and write the files in /dev:
+
+ crw-rw---- 1 root tty 29, 0 /dev/fb0
+ crw-rw---- 1 root tty 10, 1 /dev/psaux
+ crw-rw---- 1 root tty 4, 0 /dev/tty0
+
+Configuring the Linux frame buffer device
+-----------------------------------------
+
+ DirectFB needs a Linux kernel with frame buffer support. Check the
+ documentation in the kernel tree (/usr/src/linux/Documentation/fb/) on
+ how to enable the frame buffer device for your graphics card.
+
+ The generic VESA frame buffer device does not support mode switching
+ and you will not get hardware acceleration. To make DirectFB work with
+ veasfb, you should add the following lines to /etc/lilo.conf:
+
+ append="video=vesa:ywrap,mtrr"
+
+ 'ywrap' enables panning with wraparound.
+ 'mtrr' enables setting caching type for the frame buffer to write-combining.
+
+ vga=791
+
+ This sets the mode on startup. 791 means 1024x768@16, 788 means 800x600@16.
+
+ All VESA Video Modes:
+
+ Bits 640x480 800x600 1024x768 1280x1024 1600x1200
+ 8 769 771 773 775 796
+ 16 785 788 791 794 798
+ 32 786 789 792 795 799
+
+ Other frame buffer devices support mode switching. DirectFB will only
+ support modes listed in your /etc/fb.modes file. By default the first
+ entry found is used.
+
+ If you have a Matrox card you may want to try the vsync patch found in
+ the patches directory that enables applications to "idle wait" for the
+ vertical retrace.
+EOF
diff --git a/display/directfb/DirectFB-0.9.22.tar.gz.sig b/display/directfb/DirectFB-0.9.22.tar.gz.sig
new file mode 100644
index 0000000000..71ebdb6aae
--- /dev/null
+++ b/display/directfb/DirectFB-0.9.22.tar.gz.sig
Binary files differ
diff --git a/display/directfb/HISTORY b/display/directfb/HISTORY
new file mode 100644
index 0000000000..fa7f1040b5
--- /dev/null
+++ b/display/directfb/HISTORY
@@ -0,0 +1,56 @@
+2005-08-17 Eric Sandall <eric@sandall.us>
+ * DETAILS: Tarball changed:
+ Removed directfb.spec and lib/{direct,fusion,voodo}/build.h
+ These four files are now generated by their .in automake friends
+ Converted to GPG signing: Level 1 verification
+ * PRE_BUILD: Moved calls to aclocal and autoconf here
+ * BUILD: Removed calls to aclocal and autoconf
+ Moved custom flags to OPTS and set to use default_build
+ * DEPENDS: Added dependency on automake (for aclocal and autoconf calls
+ in PRE_BUILD)
+ * DirectFB-0.9.22.tar.gz.sig: Added
+
+2005-04-13 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 0.9.22
+ * g++.patch.bz2,PRE_BUILD: Removed
+ * BUILD: Run aclocal and autoconf to regenerate configure, now
+ works without g++ and no patching. :)
+
+2005-04-03 Arjan Bouter <abouter@sourcemage.org>
+ * BUILD: fixed manpage location
+
+2004-12-14 Eric Sandall <eric@sandall.us>
+ * PRE_BUILD: Apply g++ removal patch:
+ * g++.patch.bz2: Remove g++ checks from configure, otherwise
+ this fails without g++ installed (stupid packagers!)
+
+2004-12-12 Eric Sandall <eric@sandall.us>
+ * DETAILS: Added BUILD_API=2
+ Shortened SHORT
+ * BUILD: Converted to build_api 2
+ * INSTALL: Branched from BUILD
+ Converted to build_api 2
+ Copy default fb.modes if /etc/fb.modes doesn't exist
+
+2004-08-03 Eric Sandall <eric@sandall.us>
+ * DEPENDS: SDL renamed to sdl
+ Formatted to Guru Handbook
+ * HISTORY: Formatted to Guru Handbook
+
+2004-01-22 hgg <hgreig@bigpond.net.au>
+ * BUILD,CONFIGURE,gfxdrivers: choose which drivers to build ( bug # 4798 )
+
+2003-12-12 hgg <hgreig@bigpond.net.au>
+ * DEPENDS: remove avifile, was only needed for the extras package
+
+2003-10-27 hgg <hgreig@bigpond.net.au>
+ * DETAILS: update to 0.9.20
+
+2003-09-19 Eric Sandall <eric@sandall.us>
+ * DETAILS,BUILD: Separated out directfb-extras, as that requires directfb
+ to be installed.
+ Some cleanup as well.
+
+2003-09-16 hgg <hgreig@bigpond.net.au>
+ * Created this spell
+
diff --git a/display/directfb/INSTALL b/display/directfb/INSTALL
new file mode 100755
index 0000000000..e394bcffbb
--- /dev/null
+++ b/display/directfb/INSTALL
@@ -0,0 +1,14 @@
+make install &&
+
+#
+# Something changed so libggi needs these symlinks
+#
+ln -sf ${INSTALL_ROOT}/usr/include/directfb/* \
+ ${INSTALL_ROOT}/usr/include/directfb-internal/ &&
+
+#
+# Copy default fb.modes
+#
+if [ ! -f /etc/fb.modes ]; then
+ cp fb.modes /etc
+fi
diff --git a/display/directfb/PRE_BUILD b/display/directfb/PRE_BUILD
new file mode 100755
index 0000000000..4379c98e21
--- /dev/null
+++ b/display/directfb/PRE_BUILD
@@ -0,0 +1,8 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+#
+# Remake configure so it doesn't "need" cpp
+#
+aclocal &&
+autoconf
diff --git a/display/directfb/gfxdrivers b/display/directfb/gfxdrivers
new file mode 100644
index 0000000000..5da8407abe
--- /dev/null
+++ b/display/directfb/gfxdrivers
@@ -0,0 +1,11 @@
+ati128 ATI Rage 128
+cle266 VIA CLE266
+cyber5k TVIA CyberPro
+i810 Intel i810
+matrox Matrox
+neomagic NeoMagic
+nsc NSC Geode
+nvidia nVidia RIVA TNT
+radeon ATI Radeon
+savage S3 Savage
+tdfx 3Dfx Voodoo
diff --git a/display/fbv/BUILD b/display/fbv/BUILD
new file mode 100755
index 0000000000..598481e6b2
--- /dev/null
+++ b/display/fbv/BUILD
@@ -0,0 +1,7 @@
+ sedit 's/^LIBS.*/& -lz -lm/' Makefile &&
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ $OPTS &&
+ make
diff --git a/display/fbv/DEPENDS b/display/fbv/DEPENDS
new file mode 100755
index 0000000000..38fea499e7
--- /dev/null
+++ b/display/fbv/DEPENDS
@@ -0,0 +1,3 @@
+depends libungif &&
+depends libpng &&
+depends jpeg
diff --git a/display/fbv/DETAILS b/display/fbv/DETAILS
new file mode 100755
index 0000000000..cd9b075515
--- /dev/null
+++ b/display/fbv/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=fbv
+ VERSION=0.99
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION/
+ SOURCE_URL[0]=http://s-tech.elsat.net.pl/fbv/$SOURCE
+ MD5[0]=fa13993fc3b9bf105a52c107f12011c3
+ WEB_SITE=http://s-tech.elsat.net.pl/fbv
+ ENTERED=20020217
+ UPDATED=20050403
+ BUILD_API=2
+ LICENSE=GPL
+ SHORT="Framebuffer image viewer"
+cat << EOF
+fbv is a simple program to view pictures on a framebuffer console.
+EOF
+
diff --git a/display/fbv/HISTORY b/display/fbv/HISTORY
new file mode 100644
index 0000000000..26752cd299
--- /dev/null
+++ b/display/fbv/HISTORY
@@ -0,0 +1,11 @@
+2005-04-03 Arjan Bouter <abouter@sourcemage.org>
+ * DETAILS, BUILD: api2 conversion
+ * BUILD: added manpage location fix
+
+2004-04-12 Robert Helgesson <rycee@home.se>
+ * DETAILS: Updated to version 0.99.
+ * DETAILS: Removed MAINTAINER.
+ * BUILD, DETAILS, DEPENDS: Cleanup.
+ * BUILD: Link with libz and libm (bug #6600)
+ * HISTORY: Added.
+
diff --git a/display/fresco/BUILD b/display/fresco/BUILD
new file mode 100755
index 0000000000..6040df7043
--- /dev/null
+++ b/display/fresco/BUILD
@@ -0,0 +1,22 @@
+export LDFLAGS="$LDFLAGS -L /usr/X11R6/lib" &&
+
+if [ "$CVS" = "yes" ]; then
+ ./autogen.sh
+fi &&
+
+./configure --build=$BUILD \
+ --prefix=${INSTALL_ROOT}/usr \
+ --sysconfdir=${INSTALL_ROOT}/etc \
+ --localstatedir=${INSTALL_ROOT}/var \
+ --enable-python-runtime \
+ --enable-cxx-demos \
+ $OPTS &&
+
+###first time make will choke on bad "False"
+make
+for i in $(grep -rl False Fresco-C++/);
+do sedit "s/False/false/g" $i
+done &&
+make_single &&
+make &&
+make_normal
diff --git a/display/fresco/DEPENDS b/display/fresco/DEPENDS
new file mode 100755
index 0000000000..9a227bca94
--- /dev/null
+++ b/display/fresco/DEPENDS
@@ -0,0 +1,42 @@
+depends CVS &&
+depends autoconf &&
+depends omniorb &&
+depends freetype2 &&
+depends libpng &&
+depends perl &&
+depends OPENGL &&
+
+optional_depends libggi \
+ "--enable-ggi" \
+ "--enable-ggi=no" \
+ "to use General Graphics Interface to run display server" &&
+
+optional_depends python \
+ "--enable-python-runtime" \
+ "--enable-python-runtime=no" \
+ "to enable Python runtime support" &&
+
+optional_depends omniorbpy \
+ "--enable-python-demos" \
+ "--enable-python-demos=no" \
+ "to build the bundled demos" &&
+
+optional_depends sdl \
+ "--enable-sdl" \
+ "--enable-sdl=no" \
+ "to use SDL to run display server" &&
+
+optional_depends libart_lgpl \
+ "" \
+ "" \
+ "to use libart to render console" &&
+
+optional_depends directfb \
+ "" \
+ "" \
+ "for DirectFB fbdev access" &&
+
+optional_depends ttf-bitstream-vera \
+ "--with-fontpath=/usr/share/fonts/truetype" \
+ "" \
+ "if you don't already have some fonts for fresco"
diff --git a/display/fresco/DETAILS b/display/fresco/DETAILS
new file mode 100755
index 0000000000..0d0a8ce89d
--- /dev/null
+++ b/display/fresco/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=fresco
+if [ "$CVS" = "yes" ]; then
+ VERSION=cvs
+ SOURCE=$SPELL-$VERSION.tar.bz2
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
+ SOURCE_URL[0]=cvs://:pserver:anonymous@src.fresco.org:/cvs/fresco:Fresco
+ MD5[0]="IGNORE"
+else
+ VERSION=M2
+ SOURCE=Fresco-$VERSION.tar.gz
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/Fresco-${VERSION}
+ SOURCE_URL[0]=http://download.fresco.org/releases/${VERSION}/src/${SOURCE}
+ MD5[0]=d4e1887490e5430af5567db61f6d5951
+fi
+ WEB_SITE=http://www2.fresco.org/index.html
+ ENTERED=20030915
+ UPDATED=20030915
+ LICENSE[0]=LGPL
+ BUILD_API=2
+ SHORT="Windowing system originally based on InterViews"
+cat << EOF
+Fresco is a consistent, configurable, stand alone, modular, and device
+independent user interface system, formerly known as Berlin. Fresco is based
+on the concept of a server side scene graph. It uses CORBA, which results in
+the whole system being network- and language transparent. To access input
+and output devices low-level graphic libraries are used.
+EOF
diff --git a/display/fresco/HISTORY b/display/fresco/HISTORY
new file mode 100644
index 0000000000..d99935548e
--- /dev/null
+++ b/display/fresco/HISTORY
@@ -0,0 +1,36 @@
+2005-04-07 Eric Sandall <eric@sandall.us>
+ * DETAILS: Removed MAKE_NJOBS=1
+ Added BUILD_API=2
+ Shortened SHORT
+ * BUILD: Run make_single before make
+ Run make_normal after make
+
+2004-12-16 Eric Sandall <eric@sandall.us>
+ * DEPENDS: Python renamed to python
+ Shortened entry for ttf-bitstream-vera
+
+2004-08-03 Eric Sandall <eric@sandall.us>
+ * DEPENDS: omniORB, omniORBpy, and SDL lower-cased
+ Formatted to Guru Handbook
+
+2004-05-14 Eric Sandall <eric@sandall.us>
+ * DEPENDS: Depends on any provider of CVS (Bug #6396)
+
+2004-02-24 Eric Sandall <eric@sandall.us>
+ * DETAILS: Added M2 version
+ * PREPARE: Select between cvs or versioned
+ * BUILD: Versioned fresco breaks when autogen.sh is run
+ Formatted to Guru Handbook
+
+2004-01-22 hgg <hgreig@bigpond.net.au>
+ * DEPENDS: add cvs
+
+2003-10-16 hgg <hgreig@bigpond.net.au>
+ * DEPENDS: update to OPENGL
+
+2003-09-15 hgg <hgreig@bigpond.net.au>
+ * Added to x11 section
+
+2003-03-04 Christian Mertes <c_mertes@bigfoot.de>
+ * Created this spell.
+
diff --git a/display/fresco/PREPARE b/display/fresco/PREPARE
new file mode 100755
index 0000000000..cff2086282
--- /dev/null
+++ b/display/fresco/PREPARE
@@ -0,0 +1,9 @@
+if ! grep -q CVS $SPELL_CONFIG
+then
+ CVS=no &&
+ if query "Would you like to build the latest cvs version of $SPELL ?" n
+ then CVS=yes
+ fi &&
+
+ echo CVS=$CVS >> $SPELL_CONFIG
+fi
diff --git a/display/libggi/BUILD b/display/libggi/BUILD
new file mode 100755
index 0000000000..e55e8b1705
--- /dev/null
+++ b/display/libggi/BUILD
@@ -0,0 +1,2 @@
+invoke_gcc &&
+default_build
diff --git a/display/libggi/DEPENDS b/display/libggi/DEPENDS
new file mode 100755
index 0000000000..6735635762
--- /dev/null
+++ b/display/libggi/DEPENDS
@@ -0,0 +1,18 @@
+depends libgii &&
+depends gcc34 &&
+optional_depends "aalib" \
+ "--enable-aa" \
+ "--disable-aa" \
+ "for ascii output driver" &&
+optional_depends "X11-LIBS" \
+ "--enable-x" \
+ "--disable-x" \
+ "for X11 output driver" &&
+optional_depends "directfb" \
+ "--enable-directfb" \
+ "--disable-directfb" \
+ "for directfb output driver" &&
+optional_depends "svgalib" \
+ "--enable-svga" \
+ "--disable-svga --disable-vgagl" \
+ "for svga output driver"
diff --git a/display/libggi/DETAILS b/display/libggi/DETAILS
new file mode 100755
index 0000000000..cfde5b814e
--- /dev/null
+++ b/display/libggi/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=libggi
+ VERSION=2.1.1
+ SOURCE=${SPELL}-${VERSION}.src.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=$SOURCEFORGE_URL/ggi/$SOURCE
+ SOURCE_URL[1]=ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0//$SOURCE
+ MD5[0]=097f77ba72dc08dd6bf8771a933192bc
+ LICENSE[0]=MIT
+ GCC_VERSION=3.4
+ WEB_SITE=http://www.ggi-project.org/
+ ENTERED=20020730
+ UPDATED=20040106
+ DOCS="doc/*.txt FAQ NEWS README"
+ SHORT="General Graphics Interface"
+cat << EOF
+GGI stands for "General Graphics Interface", and it is a project that
+aims to develop a reliable, stable and fast graphics system that works
+everywhere. We want to allow any program using GGI to run on any
+platform requiring at most a recompile.
+
+It all started out with some people being annoyed by the fact that
+graphics in Linux means either X or svgalib, and if you use both at
+the same time, you can easily crash the graphics card and make the
+system unusable. Nowadays, GGI development also involves a portable
+userspace library, 3D graphics, and anything else that is fun to hack
+:-)
+EOF
diff --git a/display/libggi/HISTORY b/display/libggi/HISTORY
new file mode 100644
index 0000000000..61ce1675e2
--- /dev/null
+++ b/display/libggi/HISTORY
@@ -0,0 +1,29 @@
+2005-06-12 David Brown <dmlb2000@excite.com>
+ * DETAILS: updated 2.1.1 and gcc 3.4
+ * BUILD: added gcc34 invoke
+ * DEPENDS: depends gcc34
+
+2004-01-06 hgg <hgreig@bigpond.net.au>
+ * DETAILS: update to 2.0.4
+
+2003-12-12 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * DEPENDS: add --disable-vgagl to the disable switch for svgalib
+
+2003-11-24 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * BUILD: use default_build
+ * DEPENDS: added optional_depends on X11-LIBS, directfb, aalib and
+ svgalib
+
+2003-07-29 hgg <hgreig@bigpond.net.au>
+ * BUILD: Update gcc check so it actually works :-)
+
+2003-06-25 hgg <hgreig@bigpond.net.au>
+ * DETAILS: Update to 2.0.3
+ * BUILD, libggi-gcc3.3.patch: Add patch and check for gcc3.3
+
+2002-10-14 Julian v. Bock <julian@wongr.net>
+ * DETAILS: add LICENSE and MD5 fields.
+
+2002-08-06 Julian v. Bock <julian@wongr.net>
+ * DEPENDS, DETAILS, HISTORY: add spell.
+
diff --git a/display/libgii/BUILD b/display/libgii/BUILD
new file mode 100755
index 0000000000..e7362fbe0c
--- /dev/null
+++ b/display/libgii/BUILD
@@ -0,0 +1,8 @@
+#
+# Make EVDEV optional
+#
+if [ "$LIBGII_EVDEV" == "n" ]; then
+ OPTS="$OPTS --disable-linux-evdev"
+fi &&
+
+default_build
diff --git a/display/libgii/CONFIGURE b/display/libgii/CONFIGURE
new file mode 100755
index 0000000000..51dec73502
--- /dev/null
+++ b/display/libgii/CONFIGURE
@@ -0,0 +1 @@
+config_query LIBGII_EVDEV "Use the Linux Event Interface (Needs CONFIG_INPUT_EVDEV)?" n
diff --git a/display/libgii/DEPENDS b/display/libgii/DEPENDS
new file mode 100755
index 0000000000..53f03b4a22
--- /dev/null
+++ b/display/libgii/DEPENDS
@@ -0,0 +1,4 @@
+optional_depends X11-LIBS \
+ "" \
+ "--without-x" \
+ "for X11 input support"
diff --git a/display/libgii/DETAILS b/display/libgii/DETAILS
new file mode 100755
index 0000000000..ef18d59576
--- /dev/null
+++ b/display/libgii/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=libgii
+ VERSION=0.9.1
+ SOURCE=${SPELL}-${VERSION}.src.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=$SOURCEFORGE_URL/ggi/$SOURCE
+ SOURCE_URL[1]=ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/$SOURCE
+ MD5[0]=772385b557a46e43742decf66cd8c793
+ WEB_SITE=http://www.ggi-project.org/
+ ENTERED=20020730
+ UPDATED=20040106
+ LICENSE[0]=MIT
+ BUILD_API=2
+ DOCS="doc/*.txt FAQ NEWS README"
+ SHORT="General Graphics Interface Infrastructure(?)"
+cat << EOF
+GGI stands for "General Graphics Interface", and it is a project that
+aims to develop a reliable, stable and fast graphics system that works
+everywhere. We want to allow any program using GGI to run on any
+platform requiring at most a recompile.
+
+It all started out with some people being annoyed by the fact that
+graphics in Linux means either X or svgalib, and if you use both at
+the same time, you can easily crash the graphics card and make the
+system unusable. Nowadays, GGI development also involves a portable
+userspace library, 3D graphics, and anything else that is fun to hack
+:-)
+EOF
diff --git a/display/libgii/HISTORY b/display/libgii/HISTORY
new file mode 100644
index 0000000000..e9ee06304b
--- /dev/null
+++ b/display/libgii/HISTORY
@@ -0,0 +1,30 @@
+2005-06-12 David Brown <dmlb2000@excite.com>
+ * DETAILS: updated 0.9.1
+
+2004-09-18 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 0.8.6 (Bug #7367)
+ Added BUILD_API=2
+ * BUILD: Converted to BUILD_API 2
+ Set OPTS to use/not use EVDEV
+ Remove sedit for 2.6 kernels (now patches in PRE_BUILD)
+ * CONFIGURE: Make using CONFIG_INPUT_EVDEV optional
+ * DEPENDS: Formatted to Guru Handbook
+ * eventparse.c.patch: Remove duplicate case statement
+ * PRE_BUILD: Apply eventparse.c.patch if using a 2.6 kernel
+
+2004-01-06 hgg <hgreig@bigpond.net.au>
+ * DETAILS: Update to 0.8.4
+ * BUILD: 2.6 changed a keycode
+
+2003-11-24 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * DEPENDS: added optional_depends on X11-LIBS
+
+2003-06-25 hgg <hgreig@bigpond.net.au>
+ * DETAILS: Update to 0.8.3
+
+2002-10-14 Julian v. Bock <julian@wongr.net>
+ * DETAILS: add LICENSE and MD5 fields.
+
+2002-08-06 Julian v. Bock <julian@wongr.net>
+ * DETAILS, HISTORY: add spell.
+
diff --git a/display/libgii/PRE_BUILD b/display/libgii/PRE_BUILD
new file mode 100755
index 0000000000..4972e61ef8
--- /dev/null
+++ b/display/libgii/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+
+if grep UTS_RELEASE /usr/include/linux/version.h | grep -q \"2.6; then
+ cd $SOURCE_DIRECTORY &&
+ patch -p1 < $SCRIPT_DIRECTORY/eventparse.c.patch
+fi
diff --git a/display/libgii/eventparse.c.patch b/display/libgii/eventparse.c.patch
new file mode 100644
index 0000000000..8b2a251694
--- /dev/null
+++ b/display/libgii/eventparse.c.patch
@@ -0,0 +1,13 @@
+diff -urpN libgii-0.8.6.old/input/linux_evdev/eventparse.c libgii-0.8.6/input/linux_evdev/eventparse.c
+--- libgii-0.8.6.old/input/linux_evdev/eventparse.c 2004-09-18 18:54:38.812165144 -0700
++++ libgii-0.8.6/input/linux_evdev/eventparse.c 2004-09-18 18:55:14.134795288 -0700
+@@ -232,9 +232,6 @@ dispatch_event(struct gii_input *inp, st
+ #ifdef EV_FF_STATUS
+ case EV_FF_STATUS:
+ #endif
+-#ifdef EV_RST
+- case EV_RST:
+-#endif
+ default:
+ return 0;
+ }
diff --git a/display/qingy-themes/BUILD b/display/qingy-themes/BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/display/qingy-themes/BUILD
@@ -0,0 +1 @@
+true
diff --git a/display/qingy-themes/DEPENDS b/display/qingy-themes/DEPENDS
new file mode 100755
index 0000000000..81f7fd27ff
--- /dev/null
+++ b/display/qingy-themes/DEPENDS
@@ -0,0 +1 @@
+depends qingy
diff --git a/display/qingy-themes/DETAILS b/display/qingy-themes/DETAILS
new file mode 100755
index 0000000000..36abb0df55
--- /dev/null
+++ b/display/qingy-themes/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=qingy-themes
+ QINGY_BRANCH=0.3
+ VERSION=1.0
+ SOURCE=qingy_${QINGY_BRANCH}_themepack_$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/qingy_${QINGY_BRANCH}_themepack_$VERSION
+ SOURCE_URL[0]=${SOURCEFORGE_URL}/qingy/${SOURCE}
+ MD5[0]=57235d347211caac9f9cef5541207342
+ WEB_SITE=http://qingy.sourceforge.net/
+ ENTERED=20040203
+ UPDATED=20050407
+ LICENSE[0]=GPL
+ BUILD_API=2
+ ARCHIVE="off"
+ SHORT="Qingy themes"
+cat << EOF
+Themepack for Qingy.
+EOF
diff --git a/display/qingy-themes/HISTORY b/display/qingy-themes/HISTORY
new file mode 100644
index 0000000000..f5178ff6b0
--- /dev/null
+++ b/display/qingy-themes/HISTORY
@@ -0,0 +1,18 @@
+2005-04-07 Arjan Bouter <abouter@sourcemage.org>
+ * sorcerous theme added
+
+2004-11-01 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * sourcemage/courbd.ttf, sourcemage/theme, sourcemage/VerBd.ttf:
+ changed font to Bitstream Vera Bold
+
+2004-10-31 Arjan Bouter <abouter@sourcemage.org>
+ * BUILD: added check to look for /etc/qingy/themes
+ * BUILD_API 2 conversion
+
+2004-02-04 Eric Sandall <eric@sandall.us>
+ * BUILD: Don't create /etc/qingy nor /etc/qingy/themes,
+ as qingy creates those.
+
+2004-02-03 Eric Sandall <eric@sandall.us>
+ * Created
+
diff --git a/display/qingy-themes/INSTALL b/display/qingy-themes/INSTALL
new file mode 100755
index 0000000000..84b3ed6232
--- /dev/null
+++ b/display/qingy-themes/INSTALL
@@ -0,0 +1,8 @@
+ I_DIR=/etc/qingy/themes &&
+ [ ! -d "${I_DIR}" ] && mkdir -p "${I_DIR}"
+ cp -a * ${I_DIR} &&
+ cp -a ${SCRIPT_DIRECTORY}/sourcemage \
+ ${I_DIR} &&
+ cp -a ${SCRIPT_DIRECTORY}/sorcerous \
+ ${I_DIR} &&
+ chown -R root.root ${I_DIR}
diff --git a/display/qingy-themes/sorcerous/VeraBd.ttf b/display/qingy-themes/sorcerous/VeraBd.ttf
new file mode 100644
index 0000000000..51d6111d72
--- /dev/null
+++ b/display/qingy-themes/sorcerous/VeraBd.ttf
Binary files differ
diff --git a/display/qingy-themes/sorcerous/power_mouseover.png b/display/qingy-themes/sorcerous/power_mouseover.png
new file mode 100644
index 0000000000..ed875a7b83
--- /dev/null
+++ b/display/qingy-themes/sorcerous/power_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/power_normal.png b/display/qingy-themes/sorcerous/power_normal.png
new file mode 100644
index 0000000000..6701eba4c9
--- /dev/null
+++ b/display/qingy-themes/sorcerous/power_normal.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/reset_mouseover.png b/display/qingy-themes/sorcerous/reset_mouseover.png
new file mode 100644
index 0000000000..ac77553ad5
--- /dev/null
+++ b/display/qingy-themes/sorcerous/reset_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/reset_normal.png b/display/qingy-themes/sorcerous/reset_normal.png
new file mode 100644
index 0000000000..fe59ce8e15
--- /dev/null
+++ b/display/qingy-themes/sorcerous/reset_normal.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/screensaver_mouseover.png b/display/qingy-themes/sorcerous/screensaver_mouseover.png
new file mode 100644
index 0000000000..2e0b74d798
--- /dev/null
+++ b/display/qingy-themes/sorcerous/screensaver_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/screensaver_normal.png b/display/qingy-themes/sorcerous/screensaver_normal.png
new file mode 100644
index 0000000000..62238b5054
--- /dev/null
+++ b/display/qingy-themes/sorcerous/screensaver_normal.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/sleep_mouseover.png b/display/qingy-themes/sorcerous/sleep_mouseover.png
new file mode 100644
index 0000000000..337b891e57
--- /dev/null
+++ b/display/qingy-themes/sorcerous/sleep_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/sleep_normal.png b/display/qingy-themes/sorcerous/sleep_normal.png
new file mode 100644
index 0000000000..a22200f614
--- /dev/null
+++ b/display/qingy-themes/sorcerous/sleep_normal.png
Binary files differ
diff --git a/display/qingy-themes/sorcerous/sorcerouslogin.jpg b/display/qingy-themes/sorcerous/sorcerouslogin.jpg
new file mode 100644
index 0000000000..c5230cf2d5
--- /dev/null
+++ b/display/qingy-themes/sorcerous/sorcerouslogin.jpg
Binary files differ
diff --git a/display/qingy-themes/sorcerous/theme b/display/qingy-themes/sorcerous/theme
new file mode 100644
index 0000000000..d51a2cad4e
--- /dev/null
+++ b/display/qingy-themes/sorcerous/theme
@@ -0,0 +1,186 @@
+theme
+{
+ background = "sorcerouslogin.jpg"
+ font = "VeraBd.ttf"
+
+
+# opacity values, from 0 (transparent) to 255 (opaque)
+ button_opacity = 128
+ window_opacity = 128
+ selected_window_opacity = 207
+
+# Colors can be given in a hex quadruplet (values from 00 to ff)
+# or via comma-separated decimals (0 to 255). Format is RGBA
+# mask_text_color = [ 28b428ff ]
+# cursor_text_color = [ 145a14dd ]
+# other_text_color = [ 404040ff ]
+ default_text_color = [2cc318ff]
+ default_cursor_color = [2cc318aa]
+ other_text_color = [2cc31810]
+}
+
+window
+{
+ # window geometry
+ x = 200
+ y = 55
+ width = 130
+ height = 50
+
+ text_size = medium
+ text_orientation = right
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "label"
+ content = "Mage:"
+ linkto = "login"
+}
+
+window
+{
+ # window geometry
+ x = 340
+ y = 61
+ width = 560
+ height = 50
+
+ text_size = medium
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "login"
+}
+
+window
+{
+ # window geometry
+ x = 200
+ y = 85
+ width = 130
+ height = 50
+
+ text_size = medium
+ text_orientation = right
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "label"
+ content = "Passwd:"
+ linkto = "password"
+}
+
+window
+{
+ # window geometry
+ x = 340
+ y = 91
+ width = 560
+ height = 50
+
+ text_size = medium
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "password"
+}
+
+window
+{
+ # window geometry
+ x = 200
+ y = 115
+ width = 130
+ height = 50
+
+ text_size = medium
+ text_orientation = right
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "label"
+ content = "Session:"
+ linkto = "session"
+}
+
+window
+{
+ # window geometry
+ x = 340
+ y = 121
+ width = 300
+ height = 50
+
+ text_size = medium
+ text_color =[ffffff50]
+ cursor_color =[ffffff10]
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "combo"
+
+ # In this case: what text do you want to display?
+ command = "sessions"
+}
+
+
+window
+{
+ # window geometry
+ x = 300
+ y = 450
+ type = "button"
+
+ # Allowed commands:
+ # "halt", "reboot", "sleep", "screensaver"
+ command = "halt"
+
+ # Image prefix: will be converted to
+ # "<name>_normal.png" and "<name>_mouseover.png"
+ content = "power"
+}
+
+window
+{
+ x = 350
+ y = 450
+ type = "button"
+ command = "reboot"
+ content = "reset"
+}
+
+window
+{
+ x = 400
+ y = 450
+ type = "button"
+ command = "screensaver"
+ content = "screensaver"
+}
+
+window
+{
+ x = 450
+ y = 450
+ type = "button"
+ command = "sleep"
+ content = "sleep"
+}
+
diff --git a/display/qingy-themes/sourcemage/VeraBd.ttf b/display/qingy-themes/sourcemage/VeraBd.ttf
new file mode 100644
index 0000000000..51d6111d72
--- /dev/null
+++ b/display/qingy-themes/sourcemage/VeraBd.ttf
Binary files differ
diff --git a/display/qingy-themes/sourcemage/power_mouseover.png b/display/qingy-themes/sourcemage/power_mouseover.png
new file mode 100644
index 0000000000..ed875a7b83
--- /dev/null
+++ b/display/qingy-themes/sourcemage/power_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/power_normal.png b/display/qingy-themes/sourcemage/power_normal.png
new file mode 100644
index 0000000000..6701eba4c9
--- /dev/null
+++ b/display/qingy-themes/sourcemage/power_normal.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/reset_mouseover.png b/display/qingy-themes/sourcemage/reset_mouseover.png
new file mode 100644
index 0000000000..ac77553ad5
--- /dev/null
+++ b/display/qingy-themes/sourcemage/reset_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/reset_normal.png b/display/qingy-themes/sourcemage/reset_normal.png
new file mode 100644
index 0000000000..fe59ce8e15
--- /dev/null
+++ b/display/qingy-themes/sourcemage/reset_normal.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/screensaver_mouseover.png b/display/qingy-themes/sourcemage/screensaver_mouseover.png
new file mode 100644
index 0000000000..2e0b74d798
--- /dev/null
+++ b/display/qingy-themes/sourcemage/screensaver_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/screensaver_normal.png b/display/qingy-themes/sourcemage/screensaver_normal.png
new file mode 100644
index 0000000000..62238b5054
--- /dev/null
+++ b/display/qingy-themes/sourcemage/screensaver_normal.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/sleep_mouseover.png b/display/qingy-themes/sourcemage/sleep_mouseover.png
new file mode 100644
index 0000000000..337b891e57
--- /dev/null
+++ b/display/qingy-themes/sourcemage/sleep_mouseover.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/sleep_normal.png b/display/qingy-themes/sourcemage/sleep_normal.png
new file mode 100644
index 0000000000..a22200f614
--- /dev/null
+++ b/display/qingy-themes/sourcemage/sleep_normal.png
Binary files differ
diff --git a/display/qingy-themes/sourcemage/smgl.jpg b/display/qingy-themes/sourcemage/smgl.jpg
new file mode 100644
index 0000000000..42102125c5
--- /dev/null
+++ b/display/qingy-themes/sourcemage/smgl.jpg
Binary files differ
diff --git a/display/qingy-themes/sourcemage/theme b/display/qingy-themes/sourcemage/theme
new file mode 100644
index 0000000000..0001b1cbf2
--- /dev/null
+++ b/display/qingy-themes/sourcemage/theme
@@ -0,0 +1,208 @@
+theme
+{
+ background = "smgl.jpg"
+ font = "VeraBd.ttf"
+
+
+# opacity values, from 0 (transparent) to 255 (opaque)
+ button_opacity = 128
+ window_opacity = 128
+ selected_window_opacity = 207
+
+# Colors can be given in a hex quadruplet (values from 00 to ff)
+# or via comma-separated decimals (0 to 255). Format is RGBA
+# mask_text_color = [ 28b428ff ]
+# cursor_text_color = [ 145a14dd ]
+# other_text_color = [ 404040ff ]
+ default_text_color = [ff0000ff]
+ default_cursor_color = [ff0000aa]
+ other_text_color = [f0000010]
+}
+
+
+window
+{
+ # window geometry
+ x = 110
+ y = 525
+ width = 780
+ height = 200
+
+ text_size = medium
+ text_orientation = left
+
+ # update time, 0 means do not update
+ time = 1
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "label"
+ content = "Today must be <INS_CMD_HERE>"
+ command = "date"
+}
+
+window
+{
+ # window geometry
+ x = 0
+ y = 140
+ width = 220
+ height = 50
+
+ text_size = large
+ text_orientation = right
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "label"
+ content = "Login:"
+ linkto = "login"
+}
+
+window
+{
+ # window geometry
+ x = 240
+ y = 140
+ width = 560
+ height = 50
+
+ text_size = large
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "login"
+}
+
+window
+{
+ # window geometry
+ x = 0
+ y = 215
+ width = 220
+ height = 50
+
+ text_size = large
+ text_orientation = right
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "label"
+ content = "Passwd:"
+ linkto = "password"
+}
+
+window
+{
+ # window geometry
+ x = 240
+ y = 215
+ width = 560
+ height = 50
+
+ text_size = large
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "password"
+}
+
+window
+{
+ # window geometry
+ x = 0
+ y = 290
+ width = 220
+ height = 50
+
+ text_size = large
+ text_orientation = right
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "label"
+ content = "Session:"
+ linkto = "session"
+}
+
+window
+{
+ # window geometry
+ x = 240
+ y = 290
+ width = 560
+ height = 50
+
+ text_size = large
+ text_color =[ffffff50]
+ cursor_color =[ffffff10]
+
+ # update time, 0 means do not update
+ time = 0
+
+ # window type, allowed values are:
+ # "label", "button", "login", "password", "combo"
+ type = "combo"
+
+ # In this case: what text do you want to display?
+ command = "sessions"
+}
+
+
+window
+{
+ # window geometry
+ x = 360
+ y = 375
+ type = "button"
+
+ # Allowed commands:
+ # "halt", "reboot", "sleep", "screensaver"
+ command = "halt"
+
+ # Image prefix: will be converted to
+ # "<name>_normal.png" and "<name>_mouseover.png"
+ content = "power"
+}
+
+window
+{
+ x = 430
+ y = 375
+ type = "button"
+ command = "reboot"
+ content = "reset"
+}
+
+window
+{
+ x = 500
+ y = 375
+ type = "button"
+ command = "screensaver"
+ content = "screensaver"
+}
+
+window
+{
+ x = 570
+ y = 375
+ type = "button"
+ command = "sleep"
+ content = "sleep"
+}
+
diff --git a/display/qingy/BUILD b/display/qingy/BUILD
new file mode 100755
index 0000000000..6c7ac5ffa9
--- /dev/null
+++ b/display/qingy/BUILD
@@ -0,0 +1,8 @@
+OPTS="--with-themes-dir=/etc/qingy/themes \
+ $QINGY_SCREENSAVERS \
+ $QINGY_CRYPTO_OPTION \
+ $QINGY_OPTIMIZATIONS \
+ $QINGY_STATIC \
+ $OPTS" &&
+
+default_build
diff --git a/display/qingy/CONFIGURE b/display/qingy/CONFIGURE
new file mode 100755
index 0000000000..035ba3dfc0
--- /dev/null
+++ b/display/qingy/CONFIGURE
@@ -0,0 +1,14 @@
+config_query QINGY_XINIT 'Allow X server to accept tcp connections?' n &&
+
+config_query_option QINGY_SCREENSAVERS 'Enable screen savers?' y \
+ '--enable-screen-savers' '--disable-screen-savers' &&
+
+config_query_option QINGY_CRYPTO_OPTION \
+ 'encrypt communications between qingy and its user interface?' y \
+ '--enable-crypto' '--disable-crypto'
+
+config_query_option QINGY_OPTIMIZATIONS 'Enable optimizations?' y \
+ '--enable-optimizations' '--disable-optimizations' &&
+
+config_query_option QINGY_STATIC 'Build statically?' n \
+ '--enable-static-build' '--disable-static-build'
diff --git a/display/qingy/DEPENDS b/display/qingy/DEPENDS
new file mode 100755
index 0000000000..42e47652ea
--- /dev/null
+++ b/display/qingy/DEPENDS
@@ -0,0 +1,26 @@
+depends directfb &&
+
+optional_depends X11-SERVER \
+ '' \
+ '' \
+ 'For X sessions' &&
+
+optional_depends gpm \
+ '--enable-gpm-lock' \
+ '--disable-gpm-lock' \
+ 'Gpm mouse support' &&
+
+optional_depends shadow \
+ '--enable-shadow' \
+ '--disable-shadow' \
+ 'for shadow password support' &&
+
+optional_depends linux-pam \
+ '--enable-pam' \
+ '--disable-pam' \
+ 'for PAM support' &&
+
+optional_depends emacs \
+ '--enable-emacs' \
+ '--disable-emacs' \
+ 'to compile emacs major mode'
diff --git a/display/qingy/DETAILS b/display/qingy/DETAILS
new file mode 100755
index 0000000000..278b83d22e
--- /dev/null
+++ b/display/qingy/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=qingy
+ VERSION=0.6.0
+ SOURCE=$SPELL-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+ MD5[0]=5362e9bf3d04de10747bb2bf5ba953b4
+ WEB_SITE=http://qingy.sourceforge.net
+ ENTERED=20040913
+ UPDATED=20050314
+ LICENSE[0]=GPL
+ BUILD_API=2
+ SHORT="A login manager for DirectFB"
+cat << EOF
+Qingy is a DirectFB based agetty replacement.
+The graphical effects are obtained using the frame-buffer, thus
+avoiding the nuisance of running an X server just to login as it
+happens with the various *DMs. Also, it has some nice features, such as
+text sessions as well as X sessions, screensavers, themes to customize
+and an experimental locking feature.
+EOF
diff --git a/display/qingy/FINAL b/display/qingy/FINAL
new file mode 100755
index 0000000000..9643b17276
--- /dev/null
+++ b/display/qingy/FINAL
@@ -0,0 +1,9 @@
+cat << EOF
+************************************************
+** Warning: **
+** To enable qingy for logging in **
+** you'll need to add some lines to **
+** /etc/inittab, look at /etc/inittab.qingy **
+** for examples **
+************************************************
+EOF
diff --git a/display/qingy/HISTORY b/display/qingy/HISTORY
new file mode 100644
index 0000000000..b672ad79e2
--- /dev/null
+++ b/display/qingy/HISTORY
@@ -0,0 +1,45 @@
+2005-06-11 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 0.6.0
+ * CONFIGURE: Added query for communication encryption, screen savers,
+ optimizations, and static builds
+ Removed power keys option (now customizable in the config)
+ * DEPENDS: Added optional dependency on shadow
+ Added flags for gpm locking
+ * BUILD: Pass query flags to OPTS
+ Have OPTS passed last so user config overrides our settings
+ * config.patch,shutdown.patch: Updated to 0.6.0
+
+2005-06-02 Eric Sandall <eric@sandall.us>
+ * PRE_BUILD: Patch $SOURCE_DIRECTORY/media/Makefile.in with our
+ config.patch
+ * INSTALL: Use install_config_file for config files
+ * config.patch: Modify qingy to not install settings and welcomes with
+ default_install
+
+2005-03-14 Arjan Bouter <abouter@sourcemage.org>
+ * DEPENDS: optional depends on X11-SERVER and gpm
+ * PRE_BUILD: added autodetection of installed shells
+ also removed emacs session if emacs isn't around
+ and made the -nolisten-tcp xinit argument optional
+ changed the xsessions dir to /etc/qingy/xsessions
+ * BUILD: added powerkeys option
+ * CONFIGURE: added
+
+2005-03-08 Arjan Bouter <abouter@sourcemage.org>
+ * cleaned up spell
+ * pam.qingy: fixed typo
+ * DETAILS: A more detailed description
+ * INSTALL, PRE_BUILD: added
+ * added a patch for shutdown
+
+2005-01-23 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * DEPENDS: Linux-PAM renamed to linux-pam
+
+2005-01-10 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 0.5.3
+ Filled in UPDATED
+ * DEPENDS: Formatted to Guru Handbook
+
+2004-10-30 Arjan Bouter <abouter@sourcemage.org>
+ * Added this spell
+
diff --git a/display/qingy/INSTALL b/display/qingy/INSTALL
new file mode 100755
index 0000000000..1cb511b24a
--- /dev/null
+++ b/display/qingy/INSTALL
@@ -0,0 +1,8 @@
+default_install &&
+
+install_config_file $SCRIPT_DIRECTORY/inittab.qingy \
+ $INSTALL_ROOT/etc/inittab.qingy &&
+install_config_file $SOURCE_DIRECTORY/media/welcomes \
+ $INSTALL_ROOT/etc/qingy/welcomes &&
+install_config_file $SOURCE_DIRECTORY/media/settings \
+ $INSTALL_ROOT/etc/qingy/settings
diff --git a/display/qingy/PRE_BUILD b/display/qingy/PRE_BUILD
new file mode 100755
index 0000000000..92c1e0a2f3
--- /dev/null
+++ b/display/qingy/PRE_BUILD
@@ -0,0 +1,24 @@
+default_pre_build &&
+patch $SOURCE_DIRECTORY/media/Makefile.in \
+ $SCRIPT_DIRECTORY/config.patch &&
+cd ${SOURCE_DIRECTORY} &&
+patch -p1 < $SCRIPT_DIRECTORY/shutdown.patch &&
+if ! ( echo $OPTS | grep -q "enable-emacs" ); then
+ rm media/sessions/emacs &&
+ sedit "s/emacs//" media/sessions/Makefile.am &&
+ sedit "s/emacs//" media/sessions/Makefile.in
+fi &&
+# some voodoo to get the other installed shells to show up as
+# available sessions
+for QINGY_SHELL in $(grep -v -e "/bin/bash" -e "/bin/sh" ${INSTALL_ROOT}/etc/shells ); do
+ QINGY_BASENAME=$(basename $QINGY_SHELL)
+ builtin echo "$QINGY_SHELL" >> media/sessions/$QINGY_BASENAME &&
+ sedit "s/session_SCRIPTS\ =\ /session_SCRIPTS\ =\ $QINGY_BASENAME/" media/sessions/Makefile.am &&
+ sedit "s/session_SCRIPTS\ =\ /session_SCRIPTS\ =\ $QINGY_BASENAME/" media/sessions/Makefile.in
+done &&
+if [ "$QINGY_XINIT" = "y" ]; then
+ sedit "s/-nolisten\ tcp//" media/Makefile.am &&
+ sedit "s/-nolisten\ tcp//" media/Makefile.in
+fi &&
+sedit "s#/etc/X11/Sessions#/etc/qingy/xsessions#g" configure &&
+cp ${SCRIPT_DIRECTORY}/pam.qingy ${SOURCE_DIRECTORY}/media/pam/default/qingy
diff --git a/display/qingy/config.patch b/display/qingy/config.patch
new file mode 100644
index 0000000000..5f1024fc03
--- /dev/null
+++ b/display/qingy/config.patch
@@ -0,0 +1,89 @@
+diff -Naur qingy-0.6.0.orig/media/Makefile.in qingy-0.6.0/media/Makefile.in
+--- qingy-0.6.0.orig/media/Makefile.in 2005-06-11 09:45:28.085391488 -0700
++++ qingy-0.6.0/media/Makefile.in 2005-06-11 09:45:59.110674928 -0700
+@@ -257,42 +257,6 @@
+
+ clean-lisp:
+ -rm -f elc-stamp $(ELCFILES)
+-dist_settingsdataDATA_INSTALL = $(INSTALL_DATA)
+-install-dist_settingsdataDATA: $(dist_settingsdata_DATA)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(settingsdatadir)
+- @list='$(dist_settingsdata_DATA)'; for p in $$list; do \
+- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+- f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " $(dist_settingsdataDATA_INSTALL) $$d$$p $(DESTDIR)$(settingsdatadir)/$$f"; \
+- $(dist_settingsdataDATA_INSTALL) $$d$$p $(DESTDIR)$(settingsdatadir)/$$f; \
+- done
+-
+-uninstall-dist_settingsdataDATA:
+- @$(NORMAL_UNINSTALL)
+- @list='$(dist_settingsdata_DATA)'; for p in $$list; do \
+- f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " rm -f $(DESTDIR)$(settingsdatadir)/$$f"; \
+- rm -f $(DESTDIR)$(settingsdatadir)/$$f; \
+- done
+-nodist_settingsdataDATA_INSTALL = $(INSTALL_DATA)
+-install-nodist_settingsdataDATA: $(nodist_settingsdata_DATA)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(settingsdatadir)
+- @list='$(nodist_settingsdata_DATA)'; for p in $$list; do \
+- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+- f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " $(nodist_settingsdataDATA_INSTALL) $$d$$p $(DESTDIR)$(settingsdatadir)/$$f"; \
+- $(nodist_settingsdataDATA_INSTALL) $$d$$p $(DESTDIR)$(settingsdatadir)/$$f; \
+- done
+-
+-uninstall-nodist_settingsdataDATA:
+- @$(NORMAL_UNINSTALL)
+- @list='$(nodist_settingsdata_DATA)'; for p in $$list; do \
+- f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " rm -f $(DESTDIR)$(settingsdatadir)/$$f"; \
+- rm -f $(DESTDIR)$(settingsdatadir)/$$f; \
+- done
+
+ # This directory's subdirectories are mostly independent; you can cd
+ # into them and run `make' without going through this Makefile.
+@@ -510,8 +474,7 @@
+
+ info-am:
+
+-install-data-am: install-dist_settingsdataDATA install-lispLISP \
+- install-nodist_settingsdataDATA
++install-data-am: install-lispLISP
+
+ install-exec-am:
+
+@@ -537,8 +500,7 @@
+
+ ps-am:
+
+-uninstall-am: uninstall-dist_settingsdataDATA uninstall-info-am \
+- uninstall-lispLISP uninstall-nodist_settingsdataDATA
++uninstall-am: uninstall-info-am uninstall-lispLISP
+
+ uninstall-info: uninstall-info-recursive
+
+@@ -548,18 +510,18 @@
+ distclean-recursive distclean-tags distdir dvi dvi-am \
+ dvi-recursive info info-am info-recursive install install-am \
+ install-data install-data-am install-data-recursive \
+- install-dist_settingsdataDATA install-exec install-exec-am \
++ install-exec install-exec-am \
+ install-exec-recursive install-info install-info-am \
+ install-info-recursive install-lispLISP install-man \
+- install-nodist_settingsdataDATA install-recursive install-strip \
++ install-recursive install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ installdirs-recursive maintainer-clean maintainer-clean-generic \
+ maintainer-clean-recursive mostlyclean mostlyclean-generic \
+ mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
+ pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+- uninstall uninstall-am uninstall-dist_settingsdataDATA \
++ uninstall uninstall-am \
+ uninstall-info-am uninstall-info-recursive uninstall-lispLISP \
+- uninstall-nodist_settingsdataDATA uninstall-recursive
++ uninstall-recursive
+
+
+ settings: Makefile
diff --git a/display/qingy/inittab.qingy b/display/qingy/inittab.qingy
new file mode 100644
index 0000000000..bdb0182e4e
--- /dev/null
+++ b/display/qingy/inittab.qingy
@@ -0,0 +1,17 @@
+to enable qingy logins, you'll have to
+change these lines in /etc/initab
+
+tty1:linux:/sbin/agetty /dev/tty1 9600
+tty2:linux:/sbin/agetty /dev/tty2 9600
+tty3:linux:/sbin/agetty /dev/tty3 9600
+
+and replace them with:
+
+tty1:linux:/usr/sbin/qingy tty1
+tty2:linux:/usr/sbin/qingy tty2
+tty3:linux:/usr/sbin/qingy tty3
+
+remember, qingy is beta software!
+better leave the rest to agetty.
+also, to get a normal login
+hit <escape> in qingy
diff --git a/display/qingy/pam.qingy b/display/qingy/pam.qingy
new file mode 100755
index 0000000000..2c289dc971
--- /dev/null
+++ b/display/qingy/pam.qingy
@@ -0,0 +1,11 @@
+#
+# The PAM configuration file for `qingy' service
+#
+
+auth requisite pam_securetty.so
+auth required pam_unix.so
+auth optional pam_group.so
+account requisite pam_time.so
+account required pam_unix.so
+password required pam_unix.so shadow md5
+session required pam_unix.so
diff --git a/display/qingy/shutdown.patch b/display/qingy/shutdown.patch
new file mode 100644
index 0000000000..4122cbb2a4
--- /dev/null
+++ b/display/qingy/shutdown.patch
@@ -0,0 +1,39 @@
+diff -Naur qingy-0.6.0.orig/src/DirectFB/directfb_mode.c qingy-0.6.0/src/DirectFB/directfb_mode.c
+--- qingy-0.6.0.orig/src/DirectFB/directfb_mode.c 2005-06-11 09:45:28.087391184 -0700
++++ qingy-0.6.0/src/DirectFB/directfb_mode.c 2005-06-11 09:54:00.652469448 -0700
+@@ -585,7 +585,7 @@
+ primary->DrawString (primary, "shutting down system...", -1, screen_width / 2, screen_height / 2, DSTF_CENTER);
+ primary->Flip (primary, NULL, 0);
+ }
+- execl ("/sbin/shutdown", "/sbin/shutdown", "-h", "now", (char*)NULL);
++ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-h", "now", (char*)NULL);
+ }
+ if (action == DO_REBOOT)
+ {
+@@ -594,7 +594,7 @@
+ primary->DrawString (primary, "rebooting system...", -1, screen_width / 2, screen_height / 2, DSTF_CENTER);
+ primary->Flip (primary, NULL, 0);
+ }
+- execl ("/sbin/shutdown", "/sbin/shutdown", "-r", "now", (char*)NULL);
++ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-r", "now", (char*)NULL);
+ }
+
+ /* we should never get here unless call to /sbin/shutdown fails */
+diff -Naur qingy-0.6.0.orig/src/main.c qingy-0.6.0/src/main.c
+--- qingy-0.6.0.orig/src/main.c 2005-06-11 09:45:28.088391032 -0700
++++ qingy-0.6.0/src/main.c 2005-06-11 09:54:17.990833616 -0700
+@@ -295,12 +295,12 @@
+ case EXIT_SHUTDOWN_R:
+ if (username) memset(username, '\0', sizeof(username));
+ if (password) memset(password, '\0', sizeof(password));
+- execl ("/sbin/shutdown", "/sbin/shutdown", "-r", "now", (char*)NULL);
++ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-r", "now", (char*)NULL);
+ break;
+ case EXIT_SHUTDOWN_H:
+ if (username) memset(username, '\0', sizeof(username));
+ if (password) memset(password, '\0', sizeof(password));
+- execl ("/sbin/shutdown", "/sbin/shutdown", "-h", "now", (char*)NULL);
++ execl ("/sbin/shutdown", "/sbin/shutdown", "-q", "-h", "now", (char*)NULL);
+ break;
+ case EXIT_SLEEP:
+ if (username) memset(username, '\0', sizeof(username));
diff --git a/display/svgalib/BUILD b/display/svgalib/BUILD
new file mode 100755
index 0000000000..ef7dee2850
--- /dev/null
+++ b/display/svgalib/BUILD
@@ -0,0 +1,53 @@
+message "${MESSAGE_COLOR}If this fails, disable kernel module versioning{$DEFAULT_COLOR}" &&
+
+# Some other fixes I needed to do
+sedit 's:<config.h>:\"config.h\":' threeDKit/3dinit.c &&
+sedit 's:<config.h>:\"config.h\":' threeDKit/3dkit.c &&
+sedit 's:<config.h>:\"config.h\":' threeDKit/triangl.c &&
+sedit 's:<config.h>:\"config.h\":' threeDKit/wrapsurf.c &&
+
+# Disable kernel module support while building stages
+sedit 's:installmodule ::' Makefile &&
+
+# First build static
+make_single &&
+make static &&
+
+# Have to remove for shared to build ...
+rm -f src/svgalib_helper.h &&
+# Then build shared ...
+make shared &&
+
+# Missing in some cases ...
+ln -s libvga.so.${VERSION} sharedlib/libvga.so &&
+# Build lrmi and tools ...
+make LDFLAGS="-L../sharedlib" textutils lrmi utils &&
+# Build the gl stuff too
+make -C gl &&
+make -C gl libvgagl.so.${VERSION} &&
+# Missing in some cases ...
+ln -s libvgagl.so.${VERSION} sharedlib/libvgagl.so &&
+rm -f src/svgalib_helper.h &&
+make -C src libvga.so.${VERSION} &&
+cp -a src/libvga.so.${VERSION} sharedlib/ &&
+# Build threeDKit ...
+make LDFLAGS='-L../sharedlib' -C threeDKit lib3dkit.a &&
+# Build demo's ...
+make CFLAGS="${CFLAGS} -I../gl -I../include" demoprogs \
+ LDFLAGS='-L../sharedlib' &&
+
+cd kernel/svgalib_helper &&
+if [ `uname -r | cut -d. -f1,2` == "2.6" ]
+then
+ message "${MESSAGE_COLOR}Building for 2.6...${DEFAULT_COLOR}" &&
+ make
+else
+ message "${MESSAGE_COLOR}Building for 2.4...${DEFAULT_COLOR}" &&
+ env -u ARCH \
+ make -f Makefile.alt INCLUDEDIR="/usr/src/linux/include" \
+ clean all
+fi &&
+cd - &&
+
+sedit 's/\(install: $(INSTALLAOUTLIB) \)installheaders \(.*\)/\1\2/g' \
+Makefile
diff --git a/display/svgalib/DETAILS b/display/svgalib/DETAILS
new file mode 100755
index 0000000000..d45cae6312
--- /dev/null
+++ b/display/svgalib/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=svgalib
+ VERSION=1.9.21
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=http://www.arava.co.il/matan/svgalib/${SOURCE}
+ MD5[0]='8a01bb4a56cd74a0642031781d760152'
+ WEB_SITE=http://www.svgalib.org/
+ ENTERED=20011117
+ UPDATED=20011117
+ LICENSE[0]=GPL
+ BUILD_API=2
+ SHORT="Graphics library to provide VGA and SVGA modes in a console"
+cat << EOF
+svgalib is a low-level graphics library that provides VGA and SVGA
+modes in a console. It is not intended as an alternative to X for
+apps, but rather a set of tools for things like VGA games, image
+viewing in modes that X cannot support, etc.
+EOF
diff --git a/display/svgalib/HISTORY b/display/svgalib/HISTORY
new file mode 100644
index 0000000000..2a777701ee
--- /dev/null
+++ b/display/svgalib/HISTORY
@@ -0,0 +1,64 @@
+2005-04-21 Sergey Lipnevich <sergey@sourcemage.org>
+ * DETAILS: upgrade to 1.9.21.
+
+2005-04-07 Eric Sandall <eric@sandall.us>
+ * DETAILS: Removed MAKE_NJOBS=1
+ * BUILD: Run make_single before make
+ * INSTALL: Run make_normal before make install
+
+2004-09-18 Eric Sandall <eric@sandall.us>
+ * TRIGGERS: Recast when linux is cast (Bug #7335)
+
+2004-07-11 Eric Sandall <eric@sandall.us>
+ * WIP: Works better than it did...
+ Removed, seems to work fine here
+
+2004-07-09 Eric Sandall <eric@sandall.us>
+ * linux-2.6.patch: Remove unneeded patch
+ * INSTALL: No longer apply linux-2.6.patch
+ Use different install command for 2.6 kernels
+ * BUILD: Use different compile command for 2.6 kernels
+ Should use `make` not `make clean all` for 2.6
+
+2004-07-08 Eric Sandall <eric@sandall.us>
+ * DETAILS: BUILD_API=2
+ Shortened SHORT
+ * BUILD: Converted to BUILD_API 2
+ Add "-I../include" to CFLAGS for making demoprogs (Bug #7069)
+ * INSTALL: Added
+ Apply linux-2.6.patch if running a 2.6 kernel
+ * linux-2.6.patch: Patch for no modversions.h in 2.6 kernels
+ (Bug #7072)
+ * WIP: The patch is never applied...
+
+2004-07-02 Seth Woolley <seth@tautology.org>
+ * BUILD: make all, not modules for helper module.
+
+2004-06-22 Sergey Lipnevich <sergey@sourcemage.org>
+ * DETAILS: upgrade to 1.9.19;
+ * BUILD,*.patch: remove patches.
+
+2004-05-14 Eric Sandall <eric@sandall.us>
+ * BUILD: Remove reference to gentoo's patch, since
+ I forgot to add it and svgalib works without it. :)
+ Bug #6554 thanks to Adam Clark
+
+2004-05-12 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 1.9.18 (Bug #6554)
+ Still fails with multiple make jobs
+ Removed MAINTAINER
+ * svgalib-1.9.18-gcc33.patch,svgalib-1.9.18-gcc34.patch
+ svgalib-1.9.18-linux2.6-v2.patch: Added (Bug #6554) from:
+ http://www.gentoo.org/cgi-bin/viewcvs.cgi/media-libs/svgalib/files
+ * BUILD: Apply patches from Gentoo
+ Do some voodoo from Gentoo's ebuild
+ Fix a few extra files for threeDKit
+ * HISTORY: Formatted to Guru Handbook
+
+2003-07-10 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 1.9.17 (Bug #3692)
+ Added MAKE_NJOBS=1
+
+2002-06-12 Unet <unet@sourcemage.org>
+ * Created this.
+
diff --git a/display/svgalib/INSTALL b/display/svgalib/INSTALL
new file mode 100755
index 0000000000..44d4ac49b6
--- /dev/null
+++ b/display/svgalib/INSTALL
@@ -0,0 +1,13 @@
+make_normal &&
+make prefix=${INSTALL_ROOT}/usr install &&
+cd kernel/svgalib_helper &&
+if [ `uname -r | cut -d. -f1,2` == "2.6" ]
+then
+ message "${MESSAGE_COLOR}Installing for 2.6...${DEFAULT_COLOR}" &&
+ make install
+else
+ message "${MESSAGE_COLOR}Installing for 2.4...${DEFAULT_COLOR}" &&
+ env -u ARCH \
+ make -f Makefile.alt prefix=${INSTALL_ROOT} \
+ INCLUDEDIR="/usr/src/linux/include" install
+fi
diff --git a/display/svgalib/TRIGGERS b/display/svgalib/TRIGGERS
new file mode 100755
index 0000000000..bb1c400625
--- /dev/null
+++ b/display/svgalib/TRIGGERS
@@ -0,0 +1 @@
+on_cast linux cast_self
diff --git a/display/xdirectfb/BUILD b/display/xdirectfb/BUILD
new file mode 100755
index 0000000000..ac8a823519
--- /dev/null
+++ b/display/xdirectfb/BUILD
@@ -0,0 +1,131 @@
+
+message "Building xdirectfb takes a very long time."
+
+(
+ rm -f config/cf/host.def &&
+
+ if (echo $CFLAGS | grep -q -- "-Os"); then
+ export CFLAGS="-O2 ${CFLAGS//-Os/}"
+ fi &&
+
+ if spell_ok linux-pam
+ then echo "#define HasPam YES" >> config/cf/site.def
+ fi &&
+
+ ### xdirectfb specific stuff
+ cp $SOURCE_DIRECTORY/programs/Xserver/hw/xfree86/xf86Version.h $SOURCE_DIRECTORY/ &&
+ cp $SOURCE_DIRECTORY/programs/Xserver/hw/xfree86/xf86Date.h $SOURCE_DIRECTORY/ &&
+cat <<__EOF__ >config/cf/host.def
+
+#define DefaultCCOptions $CFLAGS
+#define DefaultGcc2i386Opt $CFLAGS
+#define LibraryCDebugFlags $CFLAGS
+#define DefaultCDebugFlags $CFLAGS
+#define HasShm YES
+#define HasZlib YES
+#define HasFreetype2 YES
+#define HasFontconfig YES
+#define BuildFreetype2Library NO
+#define HasExpat YES
+#define XDirectFBServer YES
+#define BuildScanpci YES
+#define BuildXF86VidModeLibrary YES
+#define BuildXInputLib YES
+#define BuildXIE YES
+#define BuildXvLibrary YES
+#define BuildXvExt YES
+#define BuildXvMCLibrary YES
+#define BuildXvMCExt YES
+#define BuildXF86DGALibrary YES
+#define BuildGLXLibrary YES
+#define BuildGlxExt YES
+#define BuildXF86MiscLibrary YES
+#define BuildXextLib YES
+#define BuildGLULibrary YES
+#define BuildOSMesaLib YES
+#define BuildXprint YES
+__EOF__
+ # end
+
+ if echo $CFLAGS| grep -q "mmmx"
+ then echo "#define HasMMXSupport YES" >> config/cf/host.def
+ fi &&
+ if echo $CFLAGS| grep -q "msse"
+ then echo "#define HasSSESupport YES" >> config/cf/host.def
+ fi &&
+ if echo $CFLAGS| grep -q "m3dnow"
+ then echo "#define Has3DNowSupport YES" >> config/cf/host.def
+ fi &&
+
+ cd config/util &&
+ make -f Makefile.ini lndir &&
+ cp lndir $SOURCE_DIRECTORY.bld/ &&
+ cd $SOURCE_DIRECTORY.bld &&
+ ./lndir ../xc/ &&
+ ### Fix Bug #3486, which stops the build process
+ ln -sf $SOURCE_DIRECTORY.bld/lib/font/builtins $SOURCE_DIRECTORY.bld/lib/font/builtins/unshared &&
+ ### Some IMAKE issues from the XDirectFB patches need fixing
+ # we are about to symlink some headers
+ # normally make World does a make clean too so the symlinks would get removed
+ #unless we do the following to the Imakefile
+ sedit "s/\$(RM) -r \$(BUILDINCDIR)//" $SOURCE_DIRECTORY/Imakefile &&
+ # now make some dirs and the symlinks
+ mkdir -p $SOURCE_DIRECTORY.bld/exports/include/X11/PM &&
+ mkdir -p $SOURCE_DIRECTORY.bld/exports/include/X11/extensions &&
+ mkdir -p $SOURCE_DIRECTORY.bld/exports/include/X11/fonts &&
+ ln -sf $SOURCE_DIRECTORY/programs/proxymngr/PM* $SOURCE_DIRECTORY.bld/exports/include/X11/PM/ &&
+ ln -sf $SOURCE_DIRECTORY/lib/font/include/fontenc.h $SOURCE_DIRECTORY.bld/exports/include/X11/fonts/ &&
+ ln -sf $SOURCE_DIRECTORY/programs/xlsfonts/dsimple.h $SOURCE_DIRECTORY.bld/exports/include &&
+ sedit "s/hw\/i810//" $SOURCE_DIRECTORY.bld/lib/XvMC/Imakefile &&
+ sedit "s/INCLUDES = \$(KRB5_INCLUDE)/& \-I greeter\//" $SOURCE_DIRECTORY.bld/programs/xdm/Imakefile &&
+
+ make World
+
+ ### Some more IMAKE issues from the XDirectFB patches need fixing
+ man2html $SOURCE_DIRECTORY.bld/doc/man/Xext/XTransparency._man > $SOURCE_DIRECTORY.bld/doc/man/Xext/XTransparency.3x.html &&
+ ### Start compiling where the prior left off
+ make &&
+ prepare_install &&
+
+ ### the following is needed for pkgconfig to find the .pc files
+ mkdir -p ${INSTALL_ROOT}/usr/X11R6/lib &&
+ ln -sf ${INSTALL_ROOT}/usr/lib/pkgconfig ${INSTALL_ROOT}/usr/X11R6/lib &&
+ make install &&
+ ### more IMAKE foobars
+ mkdir -p ${INSTALL_ROOT}/usr/X11R6/lib/X11/doc/html/ &&
+ install -c -m 0444 $SOURCE_DIRECTORY.bld/doc/man/Xext/XTransparency.3x.html \
+ ${INSTALL_ROOT}/usr/X11R6/lib/X11/doc/html/XTransparency.3.html &&
+ cp $SOURCE_DIRECTORY/config/cf/directfb.cf ${INSTALL_ROOT}/usr/X11R6/lib/X11/config/ &&
+ cp $SOURCE_DIRECTORY/include/extensions/xf86vm* ${INSTALL_ROOT}/usr/X11R6/include/X11/extensions/ &&
+ ### normal
+ make install.man &&
+ mkdir -p /usr/X11R6/include/GL
+
+) > $C_FIFO 2>&1 && (
+
+ rm -f /usr/X11R6/include/zlib.h
+ rm -f /usr/X11R6/lib/libz.a
+
+ if [ ! -e /etc/skel/.xsession ]; then
+ cp $SCRIPT_DIRECTORY/xsession /etc/skel/.xsession
+ fi
+
+ if [ ! -e /usr/bin/X11 ]; then
+ ln -sf /usr/X11R6/bin /usr/bin/X11
+ fi
+
+ if [ ! -e /usr/X11 ]; then
+ ln -sf X11R6 /usr/X11
+ fi
+
+ if [ ! -e /usr/include/X11 ]; then
+ ln -sf ../X11R6/include/X11 /usr/include/X11
+ fi
+
+ if [ ! -e /usr/lib/X11 ]; then
+ ln -sf ../X11R6/lib/X11 /usr/lib/X11
+ fi
+
+)
+
+
diff --git a/display/xdirectfb/CONFLICTS b/display/xdirectfb/CONFLICTS
new file mode 100755
index 0000000000..31e5567a91
--- /dev/null
+++ b/display/xdirectfb/CONFLICTS
@@ -0,0 +1,6 @@
+conflicts xorg
+conflicts xfree86-4.3
+conflicts xfree86-devel
+conflicts xfree86
+conflicts xfree86-libs
+conflicts nvidia_driver
diff --git a/display/xdirectfb/DEPENDS b/display/xdirectfb/DEPENDS
new file mode 100755
index 0000000000..fb21b070be
--- /dev/null
+++ b/display/xdirectfb/DEPENDS
@@ -0,0 +1,8 @@
+depends bison &&
+depends flex &&
+depends fontconfig &&
+depends perl &&
+depends directfb &&
+depends man &&
+
+optional_depends "linux-pam" "" "" "for PAM authentication"
diff --git a/display/xdirectfb/DETAILS b/display/xdirectfb/DETAILS
new file mode 100755
index 0000000000..cee2fdf21c
--- /dev/null
+++ b/display/xdirectfb/DETAILS
@@ -0,0 +1,115 @@
+ SPELL=xdirectfb
+ VERSION=1.0-rc5
+ BASE=4.3.0.1
+ OLD=4.3.0
+ XVERS=${OLD//./}
+ SOURCE=XDirectFB-$VERSION.tar.gz
+ SOURCE2=X${XVERS}src-1.tgz
+ SOURCE3=X${XVERS}src-2.tgz
+ SOURCE4=X${XVERS}src-3.tgz
+ SOURCE5=X${XVERS}src-4.tgz
+ SOURCE6=X${XVERS}src-5.tgz
+ SOURCE7=X${XVERS}src-6.tgz
+ SOURCE8=X${XVERS}src-7.tgz
+ SOURCE9=${OLD}-${BASE}.diff.gz
+ SOURCE_DIRECTORY=$BUILD_DIRECTORY/xc
+ SOURCE_URL[0]=http://www.directfb.org/download/XDirectFB/$SOURCE
+ SOURCE2_URL[0]=$XFREE86_URL/${OLD}/source/$SOURCE2
+ SOURCE3_URL[0]=$XFREE86_URL/${OLD}/source/$SOURCE3
+ SOURCE4_URL[0]=$XFREE86_URL/${OLD}/source/$SOURCE4
+ SOURCE5_URL[0]=$XFREE86_URL/${OLD}/source/$SOURCE5
+ SOURCE6_URL[0]=$XFREE86_URL/${OLD}/source/$SOURCE6
+ SOURCE7_URL[0]=$XFREE86_URL/${OLD}/source/$SOURCE7
+ SOURCE8_URL[0]=$XFREE86_URL/${OLD}/source/$SOURCE8
+ SOURCE9_URL[0]=$XFREE86_URL/${OLD}/fixes/$SOURCE9
+ MD5[0]=01c289504ed9e3602821ae3622fa6051
+ MD5[1]=90fd1261c1a70510a12fececedadf1a9
+ MD5[2]=b8a1c45dd8c59549e435111115a439d3
+ MD5[3]=793531f6c1bdf9d4d2f3f878901192b8
+ MD5[4]=d40bfdcc2ed4e496c1ad7a71f2e3fc64
+ MD5[5]=3b8d6ded289c64af6055c915f05326e8
+ MD5[6]=fb8a4e286d9691a13bc2df84e5149a0e
+ MD5[7]=f689e23a1bf1c15a91c998be971e5660
+ MD5[8]=204b3ba31b6c34442bfa902337a548db
+ WEB_SITE=http://www.directfb.org/xdirectfb.xml
+ ENTERED=20030916
+ UPDATED=20050822
+ LICENSE[0]=LGPL
+ LICENSE[1]=XCL
+ LICENSE[2]=XCL
+ LICENSE[3]=XCL
+ LICENSE[4]=XCL
+ LICENSE[5]=XCL
+ LICENSE[6]=XCL
+ LICENSE[7]=XCL
+ LICENSE[8]=XCL
+ LICENSE[9]=XCL
+ FUZZ="off"
+ SHORT="a rootless X Server using DirectFB"
+cat << EOF
+XDirectFB is a rootless X Server using DirectFB windows for X11 toplevel windows.
+It builds on top of the latest stable release of the X11 project,
+and currently is a replacement for our xfree86 spell, given time this might change.
+This way you can adjust the opacity of every application with your mouse wheel
+(while holding Meta down over a window).Window movements are initiated by the
+applications or the window manager. The graphical movement is done by
+DirectFB using available hardware acceleration. Overlapping toplevel windows
+do not cause expose events, i.e. redrawing of the window contents, as they are
+DirectFB windows and therefore have an own surface, a.k.a. backing store.
+
+Usage Requirements
+------------------
+Depending on the DirectFB application you want to run, you need some
+ or all of these:
+
+ - A working frame buffer device (check the output of 'fbset -i').
+ - A keyboard (if it works on the console, everything should be fine).
+ - A PS/2 or serial mouse for windowing. USB and ADB mice do also work
+ via PS/2 emulation.
+
+ To access the frame buffer device and the mouse you need access to
+ /dev/tty0, /dev/fb0 and the mouse device (/dev/psaux, /dev/mouse).
+ You can either run all DirectFB applications as root or allow users
+ to access these devices. A reasonable way to do this is to add users
+ to the group tty (or some other group) and allow this group to read
+ and write the files in /dev:
+
+ crw-rw---- 1 root tty 29, 0 /dev/fb0
+ crw-rw---- 1 root tty 10, 1 /dev/psaux
+ crw-rw---- 1 root tty 4, 0 /dev/tty0
+
+Configuring the Linux frame buffer device
+-----------------------------------------
+
+ DirectFB needs a Linux kernel with frame buffer support. Check the
+ documentation in the kernel tree (/usr/src/linux/Documentation/fb/) on
+ how to enable the frame buffer device for your graphics card.
+
+ The generic VESA frame buffer device does not support mode switching
+ and you will not get hardware acceleration. To make DirectFB work with
+ veasfb, you should add the following lines to /etc/lilo.conf:
+
+ append="video=vesa:ywrap,mtrr"
+
+ 'ywrap' enables panning with wraparound.
+ 'mtrr' enables setting caching type for the frame buffer to write-combining.
+
+ vga=791
+
+ This sets the mode on startup. 791 means 1024x768@16, 788 means 800x600@16.
+
+ All VESA Video Modes:
+
+ Bits 640x480 800x600 1024x768 1280x1024 1600x1200
+ 8 769 771 773 775 796
+ 16 785 788 791 794 798
+ 32 786 789 792 795 799
+
+ Other frame buffer devices support mode switching. DirectFB will only
+ support modes listed in your /etc/fb.modes file. By default the first
+ entry found is used.
+
+ If you have a Matrox card you may want to try the vsync patch found in
+ the patches directory that enables applications to "idle wait" for the
+ vertical retrace.
+EOF
diff --git a/display/xdirectfb/HISTORY b/display/xdirectfb/HISTORY
new file mode 100755
index 0000000000..b595069c7f
--- /dev/null
+++ b/display/xdirectfb/HISTORY
@@ -0,0 +1,54 @@
+2005-08-22 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * PRE_BUILD, xfree86-xft-releasefile-crash.patch:
+ fix a crasher bug that affects gnome-font-viewer (control-center2)
+
+2005-01-23 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * BUILD, DEPENDS, TRIGGERS: Linux-PAM renamed to linux-pam
+
+2004-12-14 Eric Sandall <eric@sandall.us>
+ * DEPENDS: Depends on man for man2html in BUILD
+
+2004-10-13 Arjan Bouter <abouter@sourcemage.org>
+ * added desktop files
+
+2004-07-17 Eric Sandall <eric@sandall.us>
+ * CONFLICTS: NVIDIA_driver renamed to nvidia_driver
+
+2004-04-08 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * CONFLICTS: added conflicts xorg and xfree86-4.3
+
+2004-02-27 Eric Sandall <eric@sandall.us>
+ * DEPENDS: Added dependency on bison (Thanks to elshaa)
+
+2003-12-15 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * POST_INSTALL: run ldconfig after adding /usr/X11R6/lib
+ to /etc/ld.so.conf
+
+2003-11-29 hgg <hgreig@bigpond.net.au>
+ * BUILD: a few extra extensions built and some compile optimisations (normally handled in xfree86.cf, but
+ this uses directfb.cf, so I manually added some checks)
+
+2003-11-28 hgg <hgreig@bigpond.net.au>
+ * CONFLICTS: NVIDIA_driver
+ * BUILD: add some necessary libs to the buildlist, fix some Imake foobarrs also
+
+2003-10-20 hgg <hgreig@bigpond.net.au>
+ * POST_INSTALL: correct typo
+
+2003-10-10 hgg <hgreig@bigpond.net.au>
+ * POST_INSTALL: add /usr/X11R6/lib to /etc/ld.so.conf
+ * HISTORY: convert to new format
+ * PROVIDES: uppercase now
+
+2003-09-19 Eric Sandall <eric@sandall.us>
+ * DETAILS,PROVIDES: Wrong case in PROVIDES
+ Updated UPDATED to re-register correct provisions
+ Removed TABs from DETAILS
+
+2003-09-19 hgg <hgreig@bigpond.net.au>
+ * CONFLICTS: Update CONFLICTS
+ * BUILD: Move bugfix in build to before make World
+
+2003-09-13 hgg <hgreig@bigpond.net.au>
+ * ALL: Create this spell
+
diff --git a/display/xdirectfb/POST_INSTALL b/display/xdirectfb/POST_INSTALL
new file mode 100755
index 0000000000..50eb3a0ded
--- /dev/null
+++ b/display/xdirectfb/POST_INSTALL
@@ -0,0 +1,5 @@
+rm_source_dir $SOURCE_DIRECTORY.bld
+if ! grep -q /usr/X11R6/lib /etc/ld.so.conf
+then echo "/usr/X11R6/lib/" >> /etc/ld.so.conf
+ ldconfig
+fi
diff --git a/display/xdirectfb/PRE_BUILD b/display/xdirectfb/PRE_BUILD
new file mode 100755
index 0000000000..02798f25bc
--- /dev/null
+++ b/display/xdirectfb/PRE_BUILD
@@ -0,0 +1,20 @@
+mk_source_dir $SOURCE_DIRECTORY &&
+unpack $SOURCE2 ${MD5[1]} &&
+unpack $SOURCE3 ${MD5[2]} &&
+unpack $SOURCE4 ${MD5[3]} &&
+unpack $SOURCE5 ${MD5[4]} &&
+unpack $SOURCE6 ${MD5[5]} &&
+unpack $SOURCE7 ${MD5[6]} &&
+unpack $SOURCE8 ${MD5[7]} &&
+unpack $SOURCE9 ${MD5[8]} &&
+cd $SOURCE_DIRECTORY &&
+# Apply 4.3.0.1 patch
+zcat ${SOURCE_CACHE}/${SOURCE9} | patch -p1 &&
+unpack $SOURCE ${MD5[0]} &&
+cp -a XDirectFB-$VERSION/programs/Xserver/hw/directfb programs/Xserver/hw/ &&
+cp XDirectFB-$VERSION/config/cf/directfb.cf config/cf/ &&
+patch -p0 < XDirectFB-$VERSION/xc-directfb.diff &&
+patch -p1 < XDirectFB-$VERSION/xc-transparency-extension.diff &&
+rm -rf XDirectFB-* &&
+patch -p0 < $SCRIPT_DIRECTORY/xfree86-xft-releasefile-crash.patch &&
+mk_source_dir $SOURCE_DIRECTORY.bld
diff --git a/display/xdirectfb/PROVIDES b/display/xdirectfb/PROVIDES
new file mode 100755
index 0000000000..6fb90bf85a
--- /dev/null
+++ b/display/xdirectfb/PROVIDES
@@ -0,0 +1,3 @@
+provides X11-SERVER
+provides X11-LIBS
+provides OPENGL
diff --git a/display/xdirectfb/TRIGGERS b/display/xdirectfb/TRIGGERS
new file mode 100755
index 0000000000..b46a77856f
--- /dev/null
+++ b/display/xdirectfb/TRIGGERS
@@ -0,0 +1,8 @@
+on_cast zlib cast_self
+for i in $(grep $SPELL $DEPENDS_STATUS);
+do if [ $(echo $i | cut -d: -f1) = "$SPELL" ] && [ $(echo $i | cut -d: -f2) == "linux-pam" ] && [ $(echo $i | cut -d: -f3 ) = "on" ] ;
+ then on_cast linux-pam cast_self
+ fi
+done
+
+
diff --git a/display/xdirectfb/desktop/xterm.desktop b/display/xdirectfb/desktop/xterm.desktop
new file mode 100644
index 0000000000..0701b290a3
--- /dev/null
+++ b/display/xdirectfb/desktop/xterm.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=xterm
+Exec=xterm -u8 -fg 'light grey' -bg black -sb
+Icon=xterm.png
+Terminal=false
+Type=Application
+Categories=Application;XTerminals;
diff --git a/display/xdirectfb/init.d/xdm b/display/xdirectfb/init.d/xdm
new file mode 100755
index 0000000000..cec1890fc0
--- /dev/null
+++ b/display/xdirectfb/init.d/xdm
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+PROGRAM=/usr/X11R6/bin/xdm
+RUNLEVEL=5
+PROVIDES=display_manager
+
+. /etc/init.d/smgl_init
diff --git a/display/xdirectfb/pam.d/xdm b/display/xdirectfb/pam.d/xdm
new file mode 100755
index 0000000000..1e16b2c830
--- /dev/null
+++ b/display/xdirectfb/pam.d/xdm
@@ -0,0 +1,7 @@
+#
+# The PAM configuration file for the `xdm' service
+#
+auth required pam_unix.so
+account required pam_unix.so
+password required pam_unix.so shadow md5 nullok
+session required pam_unix.so
diff --git a/display/xdirectfb/xfree86-xft-releasefile-crash.patch b/display/xdirectfb/xfree86-xft-releasefile-crash.patch
new file mode 100644
index 0000000000..212bc327bc
--- /dev/null
+++ b/display/xdirectfb/xfree86-xft-releasefile-crash.patch
@@ -0,0 +1,11 @@
+--- lib/Xft/xftfreetype.c~ 2005-08-20 15:12:16.000000000 +0200
++++ lib/Xft/xftfreetype.c 2005-08-20 15:14:40.000000000 +0200
+@@ -231,7 +231,7 @@
+ if (f->face)
+ FT_Done_Face (f->face);
+ }
+- XftMemFree (XFT_MEM_FILE, sizeof (XftFtFile) + strlen (f->file) + 1);
++ XftMemFree (XFT_MEM_FILE, sizeof (XftFtFile) + (f->file ? strlen (f->file) + 1 : 0 ));
+ free (f);
+ }
+
diff --git a/display/y/DEPENDS b/display/y/DEPENDS
new file mode 100755
index 0000000000..5f97094799
--- /dev/null
+++ b/display/y/DEPENDS
@@ -0,0 +1,15 @@
+depends freetype2 &&
+depends libsigc++2 &&
+depends sdl &&
+depends parse-recdescent &&
+
+optional_depends iterm \
+ "--enable-yiterm" \
+ "--disable-yiterm" \
+ "for International terminals" &&
+
+optional_depends ttf-bitstream-vera \
+ "" \
+ "" \
+ "for optional fonts which are sometimes needed"
+
diff --git a/display/y/DETAILS b/display/y/DETAILS
new file mode 100755
index 0000000000..fb245232ef
--- /dev/null
+++ b/display/y/DETAILS
@@ -0,0 +1,30 @@
+ SPELL=y
+ VERSION=0.2.1
+ SOURCE=Y-${VERSION}.tar.gz
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/Y-${VERSION}
+ SOURCE_URL[0]=http://www.y-windows.org/releases/${SOURCE}
+ MD5[0]=81cea755a177ba7628a081147f088cb2
+ WEB_SITE=http://www.y-windows.org/
+ ENTERED=20040219
+ UPDATED=20040219
+ LICENSE[0]="LGPL GPL"
+ BUILD_API=2
+ SHORT="Successor to the X-Windowing System"
+cat << EOF
+I've got tired with the state of desktop GNU/Linux. Most of the problems that I see with it can be traced back to the underlying window system, X. So I decided to write its successor...
+
+Y was my final year project for my masters degree at the Department of Computing, Imperial College, London. I set out to design and begin the implementation of a modern windowing system. The Y design has the following features:
+
+* Network Transparency
+ Contrary to popular belief, supporting network transparency does not reduce the speed of the window system on local hosts. Further, with Y's in-server knowledge of widgets, applications run over a slow network can appear almost as responsive as local applications (especially when compared to an X application).
+* Modularity (plug-in style: dynamically unloadable and reloadable)
+ Unload an old video driver, load a new version. On the fly. No restart in sight.
+* In-server implementation of widgets
+ Y specifies a core set of widget classes. Objects of these classes are stored in the server, where they are closer to the user and thus more responsive from the user's point of view.
+* Consistency and Themeability
+ Y widgets use the currently loaded theme to render themselves. Since all server widgets are using the same theme, all widgets appear consistent throughout the desktop. Client applications can also use the theme's drawing operations, allowing specialised widgets to make themselves fit in with the look-and-feel.
+* Support for hardware acceleration
+ The Y design can make use of hardware acceleration to speed up rendering operations. This can even include the use of 3D-accelerators' textures to draw windows with (someone has already implemented a prototype of this which is very smooth).
+* Better internationalisation, localisation, and accessiblity
+ In-server widgets means there can be exactly one current language, one complex input method system for languages that require them, and one set of accessibility features.
+EOF
diff --git a/display/y/HISTORY b/display/y/HISTORY
new file mode 100644
index 0000000000..6da6ddc23c
--- /dev/null
+++ b/display/y/HISTORY
@@ -0,0 +1,43 @@
+2005-09-23 Arwed v. Merkatz <v.merkatz@gmx.net>
+ * DEPENDS: Parse-RecDescent -> parse-recdescent
+
+2005-02-28 Eric Sandall <eric@sandall.us>
+ * CONFLICTS: Removed conflicting spell
+
+2004-09-05 Eric Sandall <eric@sandall.us>
+ * DEPENDS: Depends on libsigc++2 not libsigc++
+
+2004-08-03 Eric Sandall <eric@sandall.us>
+ * DEPENDS: SDL renamed sdl
+ * HISTORY: Formatted to Guru Handbook
+
+2004-06-24 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 0.2.1
+ * DEPENDS: Added dependency on Parse-RecDescent
+
+2004-06-22 Eric Sandall <eric@sandall.us>
+ * CONFLICTS: Default to 'y'
+
+2004-06-21 Eric Sandall <eric@sandall.us>
+ * Renamed from "Y" to "y"
+ * DETAILS: Changed SPELL and SOURCE_URL to use "y"
+ SOURCE is under LGPL and GPL
+ BUILD_API=2
+ * CONFLICTS: Conflicts with Y
+ * DEPENDS: Formatted to Guru Handbook
+
+2004-02-24 Eric Sandall <eric@sandall.us>
+ * DEPENDS: Added optional dependency on ttf-bitstream-vera
+ which can fix the sometimes problem of no fonts showing
+
+2004-02-23 Eric Sandall <eric@sandall.us>
+ * Added to display
+ * DEPENDS: Enabled iterm optional dependency
+
+2004-02-22 Eric Sandall <eric@sandall.us>
+ * DETAILS: Updated to 0.2 (non-devel)
+ * BUILD: Removed ./autogen.sh
+
+2004-02-19 Eric Sandall <eric@sandall.us>
+ * Created spell
+