[oe-commits] [openembedded-core] 27/28: libsdl2: fix failure appeared in bitbake libsdl2-native

git at git.openembedded.org git at git.openembedded.org
Sat Jan 11 11:07:09 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch zeus
in repository openembedded-core.

commit f48ab4268746a2780ee0fdc84e5c39afe593ade7
Author: Yanfei Xu <yanfei.xu at windriver.com>
AuthorDate: Wed Dec 25 15:44:25 2019 +0800

    libsdl2: fix failure appeared in bitbake libsdl2-native
    
    When you bitbake libsdl2-native and your host had installed fcitx
    or ibus, it may cause you bitbake failed in do_compile.
    
    Disable fcitx and ibus check with EXTRA_OECONF in bb file.
    
    -------------snip---------------------
      CC     build/SDL_sysfilesystem.lo
      CC     build/SDL_syshaptic.lo
      CC     build/SDL_systimer.lo
    /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:52:5:
    error: unknown type name ‘SDL_DBusContext’
         SDL_DBusContext *dbus;
         ^~~~~~~~~~~~~~~
    /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:121:8:
    error: unknown type name ‘DBusHandlerResult’
     static DBusHandlerResult
            ^~~~~~~~~~~~~~~~~
    /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:122:20:
    error: unknown type name ‘DBusConnection’;
    ------------snip----------------------
    
    Signed-off-by: Yanfei Xu <yanfei.xu at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    
    (cherry picked from commit eb286172e413e9d6449dc13ccec1b78c04481eb5)
    
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb
index ab514f0..ed87cd7 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb
@@ -36,6 +36,7 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
                 --enable-sdl-dlopen \
                 --disable-rpath \
                 --disable-sndio \
+                --disable-fcitx --disable-ibus \
                 "
 
 # opengl packageconfig factored out to make it easy for distros

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list