summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/directfb/files
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-01-13 14:54:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 15:39:22 +0000
commit70ce04977c9d752430f9a01a01d6db5bf501ba42 (patch)
tree604184b3dc5579b8792092e40599b72ba05506c0 /meta/recipes-graphics/directfb/files
parentbc31351f6989372c7feb403f23532afd1f510fb1 (diff)
downloadpoky-70ce04977c9d752430f9a01a01d6db5bf501ba42.tar.gz
Add directfb 1.4.6 from meta-openembedded
This package has been added from meta-openembedded in order to be able to build qt4-embedded. The only change was to remove do_install() which was exactly the same as autotools_do_install(). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/directfb/files')
-rw-r--r--meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch47
-rw-r--r--meta/recipes-graphics/directfb/files/dont-use-linux-config.patch12
2 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch b/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
new file mode 100644
index 0000000000..745c561cc0
--- /dev/null
+++ b/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
@@ -0,0 +1,47 @@
1Index: DirectFB-1.1.1/directfb-internal.pc.in
2===================================================================
3--- DirectFB-1.1.1.orig/directfb-internal.pc.in 2007-08-07 21:43:00.000000000 +0200
4+++ DirectFB-1.1.1/directfb-internal.pc.in 2008-07-17 21:00:47.424654304 +0200
5@@ -2,10 +2,10 @@
6 exec_prefix=@exec_prefix@
7 moduledir=@MODULEDIR@
8 moduledirname=@MODULEDIRNAME@
9-includedir=@INTERNALINCLUDEDIR@
10+includedir=@includedir@
11
12 Name: DirectFB-Internal
13 Description: Third party module support package for DirectFB.
14 Version: @VERSION@
15 Requires: directfb = @VERSION@
16-Cflags: @DFB_INTERNAL_CFLAGS@ -I@INTERNALINCLUDEDIR@
17+Cflags: @DFB_INTERNAL_CFLAGS@ -I${includedir}/directfb -I${includedir}
18Index: DirectFB-1.1.1/directfb.pc.in
19===================================================================
20--- DirectFB-1.1.1.orig/directfb.pc.in 2007-12-15 16:23:16.000000000 +0100
21+++ DirectFB-1.1.1/directfb.pc.in 2008-07-17 20:59:58.044985193 +0200
22@@ -9,4 +9,4 @@
23 Requires: fusion direct
24 Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@
25 Libs.private: -L${libdir} @DYNLIB@ @ZLIB_LIBS@
26-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@
27+Cflags: @THREADFLAGS@ -I${includedir}/directfb
28Index: DirectFB-1.1.1/lib/fusion/fusion.pc.in
29===================================================================
30--- DirectFB-1.1.1.orig/lib/fusion/fusion.pc.in 2007-08-07 21:43:00.000000000 +0200
31+++ DirectFB-1.1.1/lib/fusion/fusion.pc.in 2008-07-17 20:58:07.051338866 +0200
32@@ -8,4 +8,4 @@
33 Version: @VERSION@
34 Requires: direct
35 Libs: -L${libdir} -lfusion
36-Cflags: -I@INCLUDEDIR@
37+Cflags: -I${includedir}/directfb -I${includedir}
38Index: DirectFB-1.1.1/lib/voodoo/voodoo.pc.in
39===================================================================
40--- DirectFB-1.1.1.orig/lib/voodoo/voodoo.pc.in 2007-08-07 21:43:00.000000000 +0200
41+++ DirectFB-1.1.1/lib/voodoo/voodoo.pc.in 2008-07-17 20:58:07.054671842 +0200
42@@ -8,4 +8,4 @@
43 Version: @VERSION@
44 Requires: direct
45 Libs: -L${libdir} -lvoodoo
46-Cflags: -I@INCLUDEDIR@
47+Cflags: -I${includedir}/directfb -I${includedir}
diff --git a/meta/recipes-graphics/directfb/files/dont-use-linux-config.patch b/meta/recipes-graphics/directfb/files/dont-use-linux-config.patch
new file mode 100644
index 0000000000..f971660954
--- /dev/null
+++ b/meta/recipes-graphics/directfb/files/dont-use-linux-config.patch
@@ -0,0 +1,12 @@
1diff -urN DirectFB-1.1.0.orig/lib/direct/ppcasm_memcpy_cachable.S DirectFB-1.1.0/lib/direct/ppcasm_memcpy_cachable.S
2--- DirectFB-1.1.0.orig/lib/direct/ppcasm_memcpy_cachable.S 2007-08-07 21:43:00.000000000 +0200
3+++ DirectFB-1.1.0/lib/direct/ppcasm_memcpy_cachable.S 2008-06-07 04:14:26.000000000 +0200
4@@ -34,8 +34,6 @@
5
6 #define __ASSEMBLY__
7
8-#include <linux/config.h>
9-
10 #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
11 #define L1_CACHE_LINE_SIZE 16
12 #define LG_L1_CACHE_LINE_SIZE 4