directfb: disable imlib2 explicitly

Submitted by Dennis Lan on July 11, 2012, 7:49 a.m.

Details

Message ID 1341992994-7193-1-git-send-email-dennis.yxun@gmail.com
State Accepted
Commit fbdee213465f38791f3dd6c2663f2fe295be3596
Headers show

Commit Message

Dennis Lan July 11, 2012, 7:49 a.m.
When HOST machine installed imlib2, compiling directfb in OE will
direct this library, and try to use it. This is wrong, since there is
no imlib in OE, so we should disable it explicitly here.

Error as following:
| idirectfbimageprovider_imlib2.c:64:20: fatal error: Imlib2.h: No such
file or directory

Config.log as following (which is wrong):
configure:19602: checking for imlib2-config
configure:19620: found /usr/bin/imlib2-config
configure:19633: result: /usr/bin/imlib2-config

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
---
 meta/recipes-graphics/directfb/directfb_1.6.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-graphics/directfb/directfb_1.6.1.bb b/meta/recipes-graphics/directfb/directfb_1.6.1.bb
index cafc21f..a6012ca 100644
--- a/meta/recipes-graphics/directfb/directfb_1.6.1.bb
+++ b/meta/recipes-graphics/directfb/directfb_1.6.1.bb
@@ -1,7 +1,7 @@ 
 require directfb.inc
 
 RV = "1.6-0"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 DEPENDS += "sysfsutils"
 
@@ -14,6 +14,7 @@  EXTRA_OECONF = "\
   --disable-sdl \
   --disable-vnc \
   --disable-x11 \
+  --disable-imlib2 \
 "
 
 LEAD_SONAME = "libdirectfb-1.6.so.0"

Comments

Richard Purdie July 11, 2012, 10:15 a.m.
On Wed, 2012-07-11 at 07:49 +0000, Dennis Lan wrote:
> When HOST machine installed imlib2, compiling directfb in OE will
> direct this library, and try to use it. This is wrong, since there is
> no imlib in OE, so we should disable it explicitly here.
> 
> Error as following:
> | idirectfbimageprovider_imlib2.c:64:20: fatal error: Imlib2.h: No such
> file or directory
> 
> Config.log as following (which is wrong):
> configure:19602: checking for imlib2-config
> configure:19620: found /usr/bin/imlib2-config
> configure:19633: result: /usr/bin/imlib2-config
> 
> Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
> ---
>  meta/recipes-graphics/directfb/directfb_1.6.1.bb |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard