Update buidlroot to version 2016.08.1
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 7ee8589dd83e52ae6af3ec5247c3403e8ded69a5 Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Tue, 9 Aug 2016 20:00:29 +0200
|
||||
Subject: [PATCH] libweston/compositor-rdp: fix no-break space U+A0 (U8+C2A0)
|
||||
|
||||
There is a UTF-8 no-break space (U+A0, U8+C2A0) in the definition of
|
||||
macro NSC_RESET in the case of 1.2.2 <= FreeRDP < 2.0.
|
||||
|
||||
This is causing build issues (\302 is 0xC2, \240 is 0xA0):
|
||||
http://autobuild.buildroot.net/results/f49/f49a9cbb7bdc5d9e05dcf0a20bd83f059e234e74/build-end.log
|
||||
|
||||
Fix that by using a plain, boring space U+20.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
libweston/compositor-rdp.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
|
||||
index 11f5f05..ee81300 100644
|
||||
--- a/src/compositor-rdp.c
|
||||
+++ b/src/compositor-rdp.c
|
||||
@@ -58,7 +58,7 @@
|
||||
# define NSC_RESET(C, W, H) nsc_context_reset(C, W, H)
|
||||
# define RFX_RESET(C, W, H) rfx_context_reset(C, W, H)
|
||||
#else
|
||||
-# define NSC_RESET(C, W, H) do { nsc_context_reset(C); C->width = W; C->height = H; } while(0)
|
||||
+# define NSC_RESET(C, W, H) do { nsc_context_reset(C); C->width = W; C->height = H; } while(0)
|
||||
# define RFX_RESET(C, W, H) do { rfx_context_reset(C); C->width = W; C->height = H; } while(0)
|
||||
#endif
|
||||
#define FREERDP_CB_RET_TYPE BOOL
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -6,6 +6,7 @@ comment "weston needs udev and a toolchain w/ locale, threads, dynamic library,
|
||||
config BR2_PACKAGE_WESTON
|
||||
bool "weston"
|
||||
select BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_CAIRO_PNG
|
||||
@@ -36,6 +37,16 @@ if BR2_PACKAGE_WESTON
|
||||
config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_WESTON_DRM
|
||||
bool "DRM compositor"
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
|
||||
# Uses libgbm from mesa3d
|
||||
comment "DRM compositor needs an OpenGL EGL backend provided by mesa3d"
|
||||
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
|
||||
config BR2_PACKAGE_WESTON_FBDEV
|
||||
bool "fbdev compositor"
|
||||
|
||||
@@ -71,4 +82,31 @@ config BR2_PACKAGE_WESTON_RPI
|
||||
depends on BR2_PACKAGE_RPI_USERLAND
|
||||
select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
|
||||
config BR2_PACKAGE_WESTON_X11
|
||||
bool "X11 compositor"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_LIBXCB
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
|
||||
comment "X11 compositor needs X.org enabled"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
|
||||
config BR2_PACKAGE_WESTON_XWAYLAND
|
||||
bool "XWayland support"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_PACKAGE_LIBEPOXY
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_LIBXCB
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXCURSOR
|
||||
|
||||
comment "XWayland support needs libepoxy and X.org enabled"
|
||||
depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY
|
||||
|
||||
config BR2_PACKAGE_WESTON_DEMO_CLIENTS
|
||||
bool "demo clients"
|
||||
help
|
||||
This enables the installation of Weston's demo clients.
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# From http://lists.freedesktop.org/archives/wayland-devel/2015-June/022416.html
|
||||
sha256 8963e69f328e815cec42c58046c4af721476c7541bb7d9edc71740fada5ad312 weston-1.8.0.tar.xz
|
||||
# From https://lists.freedesktop.org/archives/wayland-devel/2016-June/029164.html
|
||||
sha256 05e086e9f186a06843b9f7a5e1abf19347b1a6e4be26d7e74927abc17b6b7125 weston-1.11.0.tar.xz
|
||||
|
||||
@@ -4,26 +4,60 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WESTON_VERSION = 1.8.0
|
||||
WESTON_VERSION = 1.11.0
|
||||
WESTON_SITE = http://wayland.freedesktop.org/releases
|
||||
WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz
|
||||
WESTON_LICENSE = MIT
|
||||
WESTON_LICENSE_FILES = COPYING
|
||||
|
||||
WESTON_DEPENDENCIES = host-pkgconf wayland libxkbcommon pixman libpng \
|
||||
jpeg mtdev udev cairo libinput
|
||||
WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \
|
||||
libxkbcommon pixman libpng jpeg mtdev udev cairo libinput \
|
||||
$(if $(BR2_PACKAGE_WEBP),webp)
|
||||
|
||||
WESTON_CONF_OPTS = \
|
||||
--with-dtddir=$(STAGING_DIR)/usr/share/wayland \
|
||||
--disable-egl \
|
||||
--disable-simple-egl-clients \
|
||||
--disable-xwayland \
|
||||
--disable-x11-compositor \
|
||||
--disable-drm-compositor \
|
||||
--disable-wayland-compositor \
|
||||
--disable-headless-compositor \
|
||||
--disable-weston-launch \
|
||||
--disable-colord
|
||||
--disable-colord \
|
||||
--disable-setuid-install
|
||||
|
||||
WESTON_MAKE_OPTS = \
|
||||
WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols
|
||||
|
||||
# Uses VIDIOC_EXPBUF, only available from 3.8+
|
||||
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),)
|
||||
WESTON_CONF_OPTS += --disable-simple-dmabuf-v4l-client
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
WESTON_CONF_OPTS += --enable-dbus
|
||||
WESTON_DEPENDENCIES += dbus
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-dbus
|
||||
endif
|
||||
|
||||
# weston-launch must be u+s root in order to work properly
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
define WESTON_PERMISSIONS
|
||||
/usr/bin/weston-launch f 4755 0 0 - - - - -
|
||||
endef
|
||||
define WESTON_USERS
|
||||
- - weston-launch -1 - - - - Weston launcher group
|
||||
endef
|
||||
WESTON_CONF_OPTS += --enable-weston-launch
|
||||
WESTON_DEPENDENCIES += linux-pam
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-weston-launch
|
||||
endif
|
||||
|
||||
# Needs wayland-egl, which normally only mesa provides
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)$(BR2_PACKAGE_MESA3D_OPENGL_ES),yy)
|
||||
WESTON_CONF_OPTS += --enable-egl
|
||||
WESTON_DEPENDENCIES += libegl
|
||||
else
|
||||
WESTON_CONF_OPTS += \
|
||||
--disable-egl \
|
||||
--disable-simple-egl-clients
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
||||
WESTON_DEPENDENCIES += libunwind
|
||||
@@ -39,21 +73,79 @@ WESTON_CONF_OPTS += --disable-rdp-compositor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y)
|
||||
WESTON_CONF_OPTS += --enable-fbdev-compositor
|
||||
WESTON_CONF_OPTS += \
|
||||
--enable-fbdev-compositor \
|
||||
WESTON_NATIVE_BACKEND=fbdev-backend.so
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-fbdev-compositor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_DRM),y)
|
||||
WESTON_CONF_OPTS += \
|
||||
--enable-drm-compositor \
|
||||
WESTON_NATIVE_BACKEND=drm-backend.so
|
||||
WESTON_DEPENDENCIES += libdrm
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-drm-compositor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_RPI),y)
|
||||
WESTON_DEPENDENCIES += rpi-userland
|
||||
WESTON_CONF_OPTS += --enable-rpi-compositor \
|
||||
--disable-resize-optimization \
|
||||
--disable-setuid-install \
|
||||
--disable-xwayland-test \
|
||||
--disable-simple-egl-clients \
|
||||
WESTON_NATIVE_BACKEND=rpi-backend.so
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-rpi-compositor
|
||||
endif # BR2_PACKAGE_WESTON_RPI
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_X11),y)
|
||||
WESTON_CONF_OPTS += \
|
||||
--enable-x11-compositor \
|
||||
WESTON_NATIVE_BACKEND=x11-backend.so
|
||||
WESTON_DEPENDENCIES += libxcb xlib_libX11
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-x11-compositor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_XWAYLAND),y)
|
||||
WESTON_CONF_OPTS += --enable-xwayland
|
||||
WESTON_DEPENDENCIES += cairo libepoxy libxcb xlib_libX11 xlib_libXcursor
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-xwayland
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVA),y)
|
||||
WESTON_CONF_OPTS += --enable-vaapi-recorder
|
||||
WESTON_DEPENDENIES += libva
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-vaapi-recorder
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LCMS2),y)
|
||||
WESTON_CONF_OPTS += --enable-lcms
|
||||
WESTON_DEPENDENCIES += lcms2
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-lcms
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
WESTON_CONF_OPTS += --enable-systemd-login --enable-systemd-notify
|
||||
WESTON_DEPENDENCIES += systemd
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-systemd-login --disable-systemd-notify
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||
WESTON_CONF_OPTS += --enable-junit-xml
|
||||
WESTON_DEPENDENCIES += libxml2
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-junit-xml
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y)
|
||||
WESTON_CONF_OPTS += --enable-demo-clients-install
|
||||
else
|
||||
WESTON_CONF_OPTS += --disable-demo-clients-install
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user