From e86bc83bc243626dff59f5c64659874290e00d3e Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Fri, 24 Sep 2010 18:28:34 +0200 Subject: directfb: moved unused files to obsolete dir Signed-off-by: Frans Meulenbroeks --- recipes/obsolete/files/fix-includes.patch | 24 ++++++++++++ recipes/obsolete/files/fix-pkgconfig-specs.patch | 50 ++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 recipes/obsolete/files/fix-includes.patch create mode 100644 recipes/obsolete/files/fix-pkgconfig-specs.patch (limited to 'recipes/obsolete/files') diff --git a/recipes/obsolete/files/fix-includes.patch b/recipes/obsolete/files/fix-includes.patch new file mode 100644 index 0000000000..7b4a112582 --- /dev/null +++ b/recipes/obsolete/files/fix-includes.patch @@ -0,0 +1,24 @@ +# +# pkgconfig points to STAGING_INCDIR, hence +# we need to make this a local include +# or else it doesn't find its own header files +# +# Signed-Off: mickey@openmoko.org +# +Index: DirectFB-1.0.0/include/directfb.h +=================================================================== +--- DirectFB-1.0.0.orig/include/directfb.h ++++ DirectFB-1.0.0/include/directfb.h +@@ -29,10 +29,10 @@ + #ifndef __DIRECTFB_H__ + #define __DIRECTFB_H__ + +-#include ++#include "dfb_types.h" + #include /* struct timeval */ + +-#include ++#include "directfb_keyboard.h" + + #ifdef __cplusplus + extern "C" diff --git a/recipes/obsolete/files/fix-pkgconfig-specs.patch b/recipes/obsolete/files/fix-pkgconfig-specs.patch new file mode 100644 index 0000000000..c252dc1792 --- /dev/null +++ b/recipes/obsolete/files/fix-pkgconfig-specs.patch @@ -0,0 +1,50 @@ +Index: DirectFB-1.0.0/directfb-internal.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/directfb-internal.pc.in ++++ DirectFB-1.0.0/directfb-internal.pc.in +@@ -8,4 +8,4 @@ Name: DirectFB-Internal + Description: Third party module support package for DirectFB. + Version: @VERSION@ + Requires: directfb = @VERSION@ +-Cflags: @DFB_INTERNAL_CFLAGS@ -I@INTERNALINCLUDEDIR@ ++Cflags: @DFB_INTERNAL_CFLAGS@ -I${includedir} -I${includedir}/../directfb +Index: DirectFB-1.0.0/directfb.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/directfb.pc.in ++++ DirectFB-1.0.0/directfb.pc.in +@@ -8,4 +8,4 @@ Description: Graphics and windowing libr + Version: @VERSION@ + Requires: fusion direct + Libs: -L${libdir} -ldirectfb @THREADLIB@ @DYNLIB@ @ZLIB_LIBS@ @OSX_LIBS@ +-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ ++Cflags: @THREADFLAGS@ -I${includedir} +Index: DirectFB-1.0.0/lib/direct/direct.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/lib/direct/direct.pc.in ++++ DirectFB-1.0.0/lib/direct/direct.pc.in +@@ -7,4 +7,4 @@ Name: Direct + Description: DirectFB base development library + Version: @VERSION@ + Libs: -L${libdir} -ldirect @THREADLIB@ @DYNLIB@ +-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ ++Cflags: @THREADFLAGS@ -I${includedir} +Index: DirectFB-1.0.0/lib/fusion/fusion.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/lib/fusion/fusion.pc.in ++++ DirectFB-1.0.0/lib/fusion/fusion.pc.in +@@ -8,4 +8,4 @@ Description: High Level IPC Mechanisms + Version: @VERSION@ + Requires: direct + Libs: -L${libdir} -lfusion +-Cflags: -I@INCLUDEDIR@ ++Cflags: -I${includedir} +Index: DirectFB-1.0.0/lib/voodoo/voodoo.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/lib/voodoo/voodoo.pc.in ++++ DirectFB-1.0.0/lib/voodoo/voodoo.pc.in +@@ -8,4 +8,4 @@ Description: Interface based network tra + Version: @VERSION@ + Requires: direct + Libs: -L${libdir} -lvoodoo +-Cflags: -I@INCLUDEDIR@ ++Cflags: -I${includedir} -- cgit 1.2.3-korg