Commit f6272af4 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Import Upstream version 0.9.22

parent cf677e57
...@@ -13,6 +13,7 @@ Helping Developers ...@@ -13,6 +13,7 @@ Helping Developers
Andreas Robinson <andro134 at student.liu.se> (CLE266 gfx driver) Andreas Robinson <andro134 at student.liu.se> (CLE266 gfx driver)
Daniel Foesch <dfoesch@cs.nmsu.edu> (nVidia gfx driver) Daniel Foesch <dfoesch@cs.nmsu.edu> (nVidia gfx driver)
Michel Dnzer <michel@daenzer.net> (Radeon 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) Sarma Kolluru <Sarma.Kolluru@nsc.com> (NSC Geode gfx driver)
Oliver Schwartz <Oliver.Schwartz@gmx.de> (nVidia gfx driver) Oliver Schwartz <Oliver.Schwartz@gmx.de> (nVidia gfx driver)
Alex Song <alexsong@comports.com> (Savage gfx driver) Alex Song <alexsong@comports.com> (Savage gfx driver)
...@@ -20,5 +21,8 @@ Simon Ueng <simon@ftech.com.tw> (MuTouch Touchscreen driver) ...@@ -20,5 +21,8 @@ Simon Ueng <simon@ftech.com.tw> (MuTouch Touchscreen driver)
Holger Wchtler <holger@convergence.de> (Linux Input driver) Holger Wchtler <holger@convergence.de> (Linux Input driver)
David Wood <DWood@daedalcorp.com> (Voodoo gfx driver) David Wood <DWood@daedalcorp.com> (Voodoo gfx driver)
Liam Girdwood <liam.girdwood@wolfsonmicro.com> (WM97xx Touchscreen 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. See also "Thanks To" section in README.
This diff is collapsed.
## Makefile.am for DirectFB ## Makefile.am for DirectFB
if HAVE_LINUX if HAVE_LINUX
LINUXONLY_DIRS = \ LINUXONLY_DIRS = inputdrivers gfxdrivers
gfxdrivers \
inputdrivers
endif endif
if BUILD_TOOLS if BUILD_TOOLS
TOOLS_DIR = tools TOOLS_DIR = tools
endif endif
if ENABLE_VOODOO
PROXY_DIR = proxy
endif
SUBDIRS = \ SUBDIRS = \
patches \ data \
docs \
include \ include \
lib \
src \ src \
systems \
$(TOOLS_DIR) \ $(TOOLS_DIR) \
$(LINUXONLY_DIRS) \ wm \
interfaces \ interfaces \
data \ $(PROXY_DIR) \
docs $(LINUXONLY_DIRS) \
patches
bin_SCRIPTS = directfb-config bin_SCRIPTS = directfb-config
......
This diff is collapsed.
This diff is collapsed.
...@@ -17,21 +17,19 @@ Supported Operating Systems ...@@ -17,21 +17,19 @@ Supported Operating Systems
Using SDL (without acceleration support), DirectFB also supports Using SDL (without acceleration support), DirectFB also supports
the following operating systems: the following operating systems:
- FreeBSD (tested on FreeBSD 4.7) - FreeBSD (last tested: DirectFB 0.9.21 on FreeBSD 5.2)
- NetBSD (tested on NetBSD 1.6) - NetBSD (tested on NetBSD 1.6)
- OpenBSD (tested on OpenBSD 3.2) - OpenBSD (tested on OpenBSD 3.2)
(If you have problems, try ./configure --disable-mmx) (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 Please note that SDL support is experimental and incomplete. It is
intended for developers to allow development of DirectFB applications intended for developers to allow development of DirectFB applications
in various environments. 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 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 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 of the operating system listed above, and have the time to test the
...@@ -159,14 +157,31 @@ Installation ...@@ -159,14 +157,31 @@ Installation
1) In the DirectFB directory type: 1) In the DirectFB directory type:
./configure ./configure <options>
make make
make install (as superuser) 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. Alternatively, you can add the path to the environment
If you added it you have to run 'ldconfig' as superuser. 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 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 existing /etc/fb.modes file. The first entry will be used by
...@@ -249,11 +264,13 @@ Using the builtin "window manager" ...@@ -249,11 +264,13 @@ Using the builtin "window manager"
- Drag and press <Alt> to change the opacity of the focused window. - Drag and press <Alt> to change the opacity of the focused window.
- Press C to close the focused window. - Press C to close the focused window.
- Press A to lower the focused window to the bottom. - 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 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 P to enable and show the mouse cursor.
- Press E to focus the window currently under the mouse cursor, - Press E to focus the window currently under the mouse cursor,
useful in conjunction with 'X'. 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)) You might want to use the "capslock-meta" option (see directfbrc(5))
if you don't have a <Meta> key. if you don't have a <Meta> key.
...@@ -313,6 +330,17 @@ Thanks to ...@@ -313,6 +330,17 @@ Thanks to
Liam Girdwood <liam.girdwood@wolfsonmicro.com> Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Andreas Robinson <andro134 at student.liu.se> Andreas Robinson <andro134 at student.liu.se>
Michael Hunold <hunold@convergence.de> 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 Special thanks to Ville Syrjala for his great work on the
Matrox TV-Out support and for his several patches including 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) ...@@ -14,9 +14,6 @@ Finish VT switching (already working well after 0.9.18 release)
Finish implementation of cooperative levels. Finish implementation of cooperative levels.
Finish display layer core and driver API. 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. Finish multi application core.
- Some messages may need to be dispatched synchronized. - Some messages may need to be dispatched synchronized.
...@@ -29,12 +26,20 @@ Finish surface manager. ...@@ -29,12 +26,20 @@ Finish surface manager.
Finish module unloading (done for most cases). 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. Virtual window/layer resolution with scrolling/panning.
Rework cursor and palette handling in the window stack. Rework cursor and palette handling in the window stack.
Implementation rating.
Drivers 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 #! /bin/sh
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 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 # 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 # under the terms of the GNU General Public License as published by
...@@ -53,7 +53,7 @@ version="\ ...@@ -53,7 +53,7 @@ version="\
GNU config.guess ($timestamp) GNU config.guess ($timestamp)
Originally written by Per Bothner. 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. Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO 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 ...@@ -197,15 +197,21 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}" echo "${machine}-${os}${release}"
exit 0 ;; exit 0 ;;
amd64:OpenBSD:*:*)
echo x86_64-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
amiga:OpenBSD:*:*) amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
arc:OpenBSD:*:*) cats:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE} echo arm-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
hp300:OpenBSD:*:*) hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
luna88k:OpenBSD:*:*)
echo m88k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mac68k:OpenBSD:*:*) mac68k:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
...@@ -221,25 +227,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in ...@@ -221,25 +227,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
mvmeppc:OpenBSD:*:*) mvmeppc:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE} echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sgi:OpenBSD:*:*) sgi:OpenBSD:*:*)
echo mipseb-unknown-openbsd${UNAME_RELEASE} echo mips64-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
sun3:OpenBSD:*:*) sun3:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
wgrisc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
*:OpenBSD:*:*) *:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; 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 ;;