Hello,
I am running DirectFB CVS (aka 0.9.23) and have just checked out and
installed evas. There was a small problem with a DirectFB API change
that I fixed with this patch.
Thanks,
-Rob
--
-------------------------------------------------------
Rob Shortt | http://tvcentric.com | Freevo
[EMAIL PROTECTED] | http://freevo.sf.net | Free your TV
? evas_directfb_cardcaps.patch
Index: src/bin/evas_directfb_main.c
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_directfb_main.c,v
retrieving revision 1.4
diff -u -r1.4 evas_directfb_main.c
--- src/bin/evas_directfb_main.c 22 May 2005 02:49:35 -0000 1.4
+++ src/bin/evas_directfb_main.c 21 Sep 2005 01:33:19 -0000
@@ -26,7 +26,11 @@
IDirectFBEventBuffer *buffer;
DFBResult err;
DFBSurfaceDescription dsc;
+#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
DFBCardCapabilities caps;
+#else
+ DFBGraphicsDeviceDescription caps;
+#endif
DFBDisplayLayerConfig layer_config;
DFBInputEvent evt;
Index: src/bin/evas_directfb_window.c
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_directfb_window.c,v
retrieving revision 1.5
diff -u -r1.5 evas_directfb_window.c
--- src/bin/evas_directfb_window.c 22 May 2005 02:49:35 -0000 1.5
+++ src/bin/evas_directfb_window.c 21 Sep 2005 01:33:19 -0000
@@ -75,7 +75,11 @@
IDirectFBEventBuffer *buffer;
DFBDisplayLayerConfig layer_config;
+#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
DFBCardCapabilities caps;
+#else
+ DFBGraphicsDeviceDescription caps;
+#endif
IDirectFBWindow* upper;
DFBWindowID id1;
@@ -88,7 +92,11 @@
DFBCHECK(DirectFBInit( &argc, &argv ));
DFBCHECK(DirectFBCreate( &dfb ));
+#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
dfb->GetCardCapabilities( dfb, &caps );
+#else
+ dfb->GetDeviceDescription( dfb, &caps );
+#endif
dfb->GetDisplayLayer( dfb, DLID_PRIMARY, &layer );