[Buildroot] [PATCH v7 12/33] package/efl/libefl: add X11 support

Yann E. MORIN yann.morin.1998 at free.fr
Tue Dec 8 10:58:57 UTC 2015


Romain, All,

On 2015-12-07 22:29 +0100, Romain Naour spake thusly:
> Add an option to enable X11 support in libecore without graphic
> acceleration. libecore can use xlib or xcb support but the latter
> in not recommended by efl developpers [1]. Thereby the xcb support
> has been dropped with the bump to efl 1.15.
[--SNIP--]
> diff --git a/package/efl/libefl/libefl.mk b/package/efl/libefl/libefl.mk
> index 38fade1..4ebc20f 100644
> --- a/package/efl/libefl/libefl.mk
> +++ b/package/efl/libefl/libefl.mk
> @@ -43,8 +44,7 @@ LIBEFL_CONF_OPTS = \
>  	--disable-sdl \
>  	--disable-systemd \
>  	--enable-lua-old \
> -	--with-opengl=none \
> -	--with-x11=none
> +	--with-opengl=none

Here you'd have to add --disable-xinput22 until it is added later.

Regards,
Yann E. MORIN.

>  # Disable untested configuration warning.
>  ifeq ($(BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG),)
> @@ -146,6 +146,27 @@ else
>  LIBEFL_CONF_OPTS += --disable-fb
>  endif
>  
> +ifeq ($(BR2_PACKAGE_LIBEFL_X_XLIB),y)
> +LIBEFL_CONF_OPTS += --with-x=$(STAGING_DIR) \
> +	--with-x11=xlib \
> +	--x-includes=$(STAGING_DIR)/usr/include \
> +	--x-libraries=$(STAGING_DIR)/usr/lib
> +
> +LIBEFL_DEPENDENCIES += \
> +	xlib_libX11 \
> +	xlib_libXcomposite \
> +	xlib_libXcursor \
> +	xlib_libXdamage \
> +	xlib_libXext \
> +	xlib_libXinerama \
> +	xlib_libXrandr \
> +	xlib_libXrender \
> +	xlib_libXScrnSaver \
> +	xlib_libXtst
> +else
> +LIBEFL_CONF_OPTS += --with-x11=none
> +endif
> +
>  # Loaders that need external dependencies needs to be --enable-XXX=yes
>  # otherwise the default is '=static'.
>  # All other loaders are statically built-in
> -- 
> 2.4.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list