Commit f6272af4 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Import Upstream version 0.9.22

parent cf677e57
......@@ -13,6 +13,7 @@ Helping Developers
Andreas Robinson <andro134 at student.liu.se> (CLE266 gfx driver)
Daniel Foesch <dfoesch@cs.nmsu.edu> (nVidia gfx driver)
Michel Dnzer <michel@daenzer.net> (Radeon gfx driver)
Vadim Catana <vcatana@registru.md> (Radeon overlay support)
Sarma Kolluru <Sarma.Kolluru@nsc.com> (NSC Geode gfx driver)
Oliver Schwartz <Oliver.Schwartz@gmx.de> (nVidia gfx driver)
Alex Song <alexsong@comports.com> (Savage gfx driver)
......@@ -20,5 +21,8 @@ Simon Ueng <simon@ftech.com.tw> (MuTouch Touchscreen driver)
Holger Wchtler <holger@convergence.de> (Linux Input driver)
David Wood <DWood@daedalcorp.com> (Voodoo gfx driver)
Liam Girdwood <liam.girdwood@wolfsonmicro.com> (WM97xx Touchscreen driver)
Brandon M. Reynolds <breynolds@comtime.com> (ELO Touchscreen driver)
Claudio Ciccani <klan82@cheapnet.it> (nVidia gfx driver)
Andreas Oberritter <obi@tuxbox.org> (SiS 315 gfx driver)
See also "Thanks To" section in README.
This diff is collapsed.
## Makefile.am for DirectFB
if HAVE_LINUX
LINUXONLY_DIRS = \
gfxdrivers \
inputdrivers
LINUXONLY_DIRS = inputdrivers gfxdrivers
endif
if BUILD_TOOLS
TOOLS_DIR = tools
endif
if ENABLE_VOODOO
PROXY_DIR = proxy
endif
SUBDIRS = \
patches \
data \
docs \
include \
lib \
src \
systems \
$(TOOLS_DIR) \
$(LINUXONLY_DIRS) \
wm \
interfaces \
data \
docs
$(PROXY_DIR) \
$(LINUXONLY_DIRS) \
patches
bin_SCRIPTS = directfb-config
......
This diff is collapsed.
This diff is collapsed.
......@@ -17,21 +17,19 @@ Supported Operating Systems
Using SDL (without acceleration support), DirectFB also supports
the following operating systems:
- FreeBSD (tested on FreeBSD 4.7)
- NetBSD (tested on NetBSD 1.6)
- FreeBSD (last tested: DirectFB 0.9.21 on FreeBSD 5.2)
- NetBSD (tested on NetBSD 1.6)
- OpenBSD (tested on OpenBSD 3.2)
(If you have problems, try ./configure --disable-mmx)
Support for the following operating systems are in progress, but
still have problems:
- Mac OS X (tested on Mac OS X 10.2.1, problems with SDL input and
windows)
Please note that SDL support is experimental and incomplete. It is
intended for developers to allow development of DirectFB applications
in various environments.
Native (non SDL) support for the following operating systems is in progress:
- Mac OS X (tested on Mac OS X 10.3.5)
We do not have the resources to ensure that every release of
DirectFB works on all supported platforms. If you are a user of one
of the operating system listed above, and have the time to test the
......@@ -159,14 +157,31 @@ Installation
1) In the DirectFB directory type:
./configure
./configure <options>
make
make install (as superuser)
Use 'configure --help' to get a list of possible configure options.
Use './configure --help' to get a list of possible configure options.
Imported options include:
--enable-multi Enables the Multi Application Core
--enable-debug Enables many debug messages and assertions
--enable-trace Enables run time stack trace information
Debugging and especially stack trace support are a performance
impact. It may be noticably slower in some areas, e.g. text drawing.
You may use the options "no-debug" and "no-trace" by default, e.g.
in '/etc/directfbrc', and use "--dfb:debug,trace" on the command
line if needed.
2) Make sure that "<prefix>/lib" is listed in your /etc/ld.so.conf.
The default prefix is "/usr/local". After adding it you have to
run 'ldconfig' as superuser.
2) Make sure that /usr/local/lib is listed in your /etc/ld.so.conf.
If you added it you have to run 'ldconfig' as superuser.
Alternatively, you can add the path to the environment
variable LD_LIBRARY_PATH. This is useful for temporarily
switching to another installed version.
3) You might want to copy fb.modes to /etc or merge it with your
existing /etc/fb.modes file. The first entry will be used by
......@@ -249,11 +264,13 @@ Using the builtin "window manager"
- Drag and press <Alt> to change the opacity of the focused window.
- Press C to close the focused window.
- Press A to lower the focused window to the bottom.
- Press S to raise the focused window to the top.
- Press X to cycle the focus through the windows.
- Press S to raise the lowest window to the top.
- Press P to enable and show the mouse cursor.
- Press E to focus the window currently under the mouse cursor,
useful in conjunction with 'X'.
- Press Escape to return from fullscreen mode to the desktop.
(currently not advisable if the fullscreen app is still flipping)
You might want to use the "capslock-meta" option (see directfbrc(5))
if you don't have a <Meta> key.
......@@ -313,6 +330,17 @@ Thanks to
Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Andreas Robinson <andro134 at student.liu.se>
Michael Hunold <hunold@convergence.de>
Brandon M. Reynolds <breynolds@comtime.com>
Micha Nelissen <micha@neli.hopto.org>
Vadim Catana <vcatana@registru.md>
Henning Glawe <glaweh@physik.fu-berlin.de>
Ed Millard <emillard@direcway.com>
Claudio Ciccani <klan82@cheapnet.it>
Tom Bridgwater <genuss@gmail.com>
Oskar Liljeblad <oskar@osk.mine.nu>
Bryce Nichols <bryce@bnichols.org>
Stefan Lucke <stefan@lucke.in-berlin.de>
Mws <mws@twisted-brains.org>
Special thanks to Ville Syrjala for his great work on the
Matrox TV-Out support and for his several patches including
......
......@@ -14,9 +14,6 @@ Finish VT switching (already working well after 0.9.18 release)
Finish implementation of cooperative levels.
Finish display layer core and driver API.
- Finish reallocate_surface() in src/core/layers.c
- Add reference counter to each display layer and
implement an auto-disable if reference count gets zero.
Finish multi application core.
- Some messages may need to be dispatched synchronized.
......@@ -29,12 +26,20 @@ Finish surface manager.
Finish module unloading (done for most cases).
Add cooperative levels to input devices.
Convert all D_DEBUG usage to D_DEBUG_AT using some D_DEBUG_DOMAINs.
Add cooperative levels to input devices, implement sharing/distinction for
applications (e.g. PS/2 Keyboard + PS/2 Mouse driver XDirectFB on Monitor out,
USB-Keyboard + USB-Mouse drive XDirectFB and/or other applications on TV Out,
USB-Wacom Tablet with mouse and pen can be assigned or switched to either,
preferrably during runtime)
Virtual window/layer resolution with scrolling/panning.
Rework cursor and palette handling in the window stack.
Implementation rating.
Drivers
--------
......
This diff is collapsed.
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-02-03.08
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand `-c -o'.
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file `INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
esac
ofile=
cfile=
eat=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we strip `-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
timestamp='2003-10-07'
timestamp='2004-11-12'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
......@@ -53,7 +53,7 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
......@@ -197,15 +197,21 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}"
exit 0 ;;
amd64:OpenBSD:*:*)
echo x86_64-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
cats:OpenBSD:*:*)
echo arm-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
luna88k:OpenBSD:*:*)
echo m88k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mac68k:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
......@@ -221,25 +227,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
mvmeppc:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sgi:OpenBSD:*:*)
echo mipseb-unknown-openbsd${UNAME_RELEASE}
echo mips64-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sun3:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
wgrisc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
*:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
*:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
exit 0 ;;
macppc:MirBSD:*:*)
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
exit 0 ;;
*:MirBSD:*:*)
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
exit 0 ;;
alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then
case $UNAME_RELEASE in
*4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
fi
;;
*5.*)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
......@@ -277,14 +291,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
"EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;;
esac
# A Pn.n version is a patched version.
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;;
Alpha*:OpenVMS:*:*)
echo alpha-hp-vms
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;;
Alpha\ *:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
......@@ -307,6 +319,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:OS/390:*:*)
echo i370-ibm-openedition
exit 0 ;;
*:z/VM:*:*)
echo s390-ibm-zvmoe
exit 0 ;;
*:OS400:*:*)
echo powerpc-ibm-os400
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;;
......@@ -327,7 +345,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
DRS?6000:unix:4.0:6*)
echo sparc-icl-nx6
exit 0 ;;
DRS?6000:UNIX_SV:4.2*:7*)
DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
case `/usr/bin/uname -p` in
sparc) echo sparc-icl-nx7 && exit 0 ;;
esac ;;
......@@ -399,6 +417,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
echo m68k-unknown-mint${UNAME_RELEASE}
exit 0 ;;
m68k:machten:*:*)
echo m68k-apple-machten${UNAME_RELEASE}
exit 0 ;;
powerpc:machten:*:*)
echo powerpc-apple-machten${UNAME_RELEASE}
exit 0 ;;
......@@ -734,7 +755,7 @@ EOF
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
*:UNICOS/mp:*:*)
echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
......@@ -742,6 +763,11 @@ EOF
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;;
5000:UNIX_System_V:4.*:*)
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
exit 0 ;;
......@@ -752,21 +778,7 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*