Hi, I've done an NMU for it. I removed the disable for 2 demos and then it build. The upcoming upstream release will probably fix this properly using the new slice method.
Patch attached. Kurt
diff -u gtk+2.0-directfb-2.0.9.2/debian/changelog gtk+2.0-directfb-2.0.9.2/debian/changelog --- gtk+2.0-directfb-2.0.9.2/debian/changelog +++ gtk+2.0-directfb-2.0.9.2/debian/changelog @@ -1,3 +1,12 @@ +gtk+2.0-directfb (2.0.9.2-14.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't use -DG_DISABLE_DEPRECATED for the demos. It used the old + GMemChunk interface, which is still present in glib, but is + deprecated. (Closes: #359336) + + -- Kurt Roeckx <[EMAIL PROTECTED]> Mon, 3 Apr 2006 21:24:41 +0200 + gtk+2.0-directfb (2.0.9.2-14) unstable; urgency=low * Change to Arch: any. (in particular, to support ppc64 and armeb) only in patch2: unchanged: --- gtk+2.0-directfb-2.0.9.2.orig/debian/patches/40_g_disable_deprecated.patch +++ gtk+2.0-directfb-2.0.9.2/debian/patches/40_g_disable_deprecated.patch @@ -0,0 +1,20 @@ +--- gtk+-directfb-2.0.9-2/demos/gtk-demo/Makefile.am.old 2006-04-03 20:45:01.000000000 +0200 ++++ gtk+-directfb-2.0.9-2/demos/gtk-demo/Makefile.am 2006-04-03 20:45:10.000000000 +0200 +@@ -27,7 +27,6 @@ + -DDEMOCODEDIR="\"$(democodedir)\"" \ + -I$(top_srcdir) \ + -I$(top_builddir)/gdk \ +- -DG_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED \ +--- gtk+-directfb-2.0.9-2/demos/Makefile.am.old 2006-04-03 20:48:47.000000000 +0200 ++++ gtk+-directfb-2.0.9-2/demos/Makefile.am 2006-04-03 20:48:54.000000000 +0200 +@@ -5,7 +5,6 @@ + INCLUDES = @STRIP_BEGIN@ \ + -I$(top_srcdir) \ + -I$(top_builddir)/gdk \ +- -DG_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED \