Patchwork directfb: disable imlib2 explicitly

login
register
mail settings
Submitter Dennis Lan
Date July 11, 2012, 7:49 a.m.
Message ID <1341992994-7193-1-git-send-email-dennis.yxun@gmail.com>
Download mbox | patch
Permalink /patch/31741/
State Accepted
Commit fbdee213465f38791f3dd6c2663f2fe295be3596
Headers show

Comments

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(-)
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

Patch

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"