Sorry I see that my attachment is not included in the mail. You can get it from
http://www.multimania.com/leonardschneider/patch/directfb-0.9.22-vnc.tar.gz Regards --------- Hi guys, I've been working on a VNC backend and it has reached a stable state. It is based on the LibVNCServer (see http://libvncserver.sourceforge.net/ for more info). Right now I use version version 0.6.0 which is a bit old (I should give a try to version 0.7). Pratically, the use of it do not differ much from SDL and code is largely inspired by the SDL backend. Nevertheless, the VNC backend allows to work on Windows in multi-session mode thanks to Colinux (http://www.colinux.org for the curious). Therefore, DirectFB may reach new developers who are working on Windows workstation. Also of interest may be the use of a VNC client from the LibVNCServer project to record a DirectFB session, but I guess you should have a powerful computer to have a fluid movie. Anyway, I enclose here the patch against a 0.9.22 (tarball) and a tar you should untar from the DirectFB directory. If you have any question/remark, please let me know. Regards, Leonard Schneider
---
/home/leo/cvs_FROM_OTHERSOURCE/biproc/graphic_srv/open_source/DirectFB/configure.in
2005-03-30 17:36:35.000000000 +0200
+++ /home/leo/cvs_TRONC/biproc/graphic_srv/open_source/DirectFB/configure.in
2005-05-04 17:44:24.000000000 +0200
@@ -481,6 +481,32 @@
AC_SUBST(OSX_LIBS)
AM_CONDITIONAL(SDL_CORE, test "$enable_sdl" = "yes")
+dnl Test for VNC
+AC_ARG_ENABLE(vnc,
+ [ --enable-vnc build with VNC support [default=auto]],,
+ enable_vnc=yes)
+
+
+
+if test "$enable_vnc" = "yes"; then
+ AC_PATH_PROG(VNC_CONFIG, libvncserver-config, no)
+ if test "$VNC_CONFIG" = "no"; then
+ enable_vnc=no
+ AC_MSG_WARN([
+*** libvncserver-config not found -- building without VNC support.])
+ else
+ VNC_CFLAGS=`$VNC_CONFIG --cflags`
+ VNC_LIBS=`$VNC_CONFIG --libs`
+ fi
+fi
+
+
+
+
+AM_CONDITIONAL(VNC_CORE, test "$enable_vnc" = "yes")
+AC_SUBST(VNC_LIBS)
+AC_SUBST(VNC_CFLAGS)
+
dnl Test for libsysfs
AC_ARG_ENABLE(sysfs,
[ --enable-sysfs build with sysfs support [default=auto]],,
@@ -1347,6 +1373,7 @@
systems/fbdev/Makefile
systems/osx/Makefile
systems/sdl/Makefile
+systems/vnc/Makefile
wm/Makefile
wm/default/Makefile
---
/home/leo/cvs_FROM_OTHERSOURCE/biproc/graphic_srv/open_source/DirectFB/src/core/system.h
2005-03-30 17:36:35.000000000 +0200
+++
/home/leo/cvs_TRONC/biproc/graphic_srv/open_source/DirectFB/src/core/system.h
2005-03-30 18:38:09.000000000 +0200
@@ -40,7 +40,8 @@
CORE_ANY,
CORE_FBDEV,
CORE_OSX,
- CORE_SDL
+ CORE_SDL,
+ CORE_VNC
} CoreSystemType;
/*
---
/home/leo/cvs_FROM_OTHERSOURCE/biproc/graphic_srv/open_source/DirectFB/systems/Makefile.am
2005-03-30 17:36:35.000000000 +0200
+++
/home/leo/cvs_TRONC/biproc/graphic_srv/open_source/DirectFB/systems/Makefile.am
2005-03-30 18:43:27.000000000 +0200
@@ -6,16 +6,22 @@
SDL_DIR =
endif
+if FBDEV_CORE
+FBDEV_DIR = fbdev
+else
+FBDEV_DIR =
+endif
+
if OSX_CORE
OSX_DIR = osx
else
OSX_DIR =
endif
-if FBDEV_CORE
-FBDEV_DIR = fbdev
+if VNC_CORE
+VNC_DIR = vnc
else
-FBDEV_DIR =
+VNC_DIR =
endif
-SUBDIRS = $(FBDEV_DIR) $(SDL_DIR) $(OSX_DIR)
+SUBDIRS = $(FBDEV_DIR) $(SDL_DIR) $(VNC_DIR) $(OSX_DIR)
directfb-0.9.22-vnc.tar.gz
Description: GNU Zip compressed data
_______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
