diff options
| -rw-r--r-- | meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch | 30 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch | 13 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch | 22 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/weston_1.5.0.bb (renamed from meta/recipes-graphics/wayland/weston_1.4.0.bb) | 13 |
4 files changed, 43 insertions, 35 deletions
diff --git a/meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch b/meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch deleted file mode 100644 index 14606c86c3..0000000000 --- a/meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From a0335393ddde2228c84eda1081b5d7b175f78a94 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Valentin Popa <valentin.popa@intel.com> | ||
| 3 | Date: Fri, 7 Feb 2014 16:59:58 +0200 | ||
| 4 | Subject: [PATCH] remove dependence on wayland-scanner flags | ||
| 5 | |||
| 6 | weston doesn't make use of wayland-scanner flags, | ||
| 7 | it only uses the -native- wayland-scanner for protocol. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Valentin Popa <valentin.popa@intel.com> | ||
| 11 | --- | ||
| 12 | configure.ac | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/configure.ac b/configure.ac | ||
| 16 | index cce1850..8775eb9 100644 | ||
| 17 | --- a/configure.ac | ||
| 18 | +++ b/configure.ac | ||
| 19 | @@ -482,7 +482,7 @@ if test x$wayland_scanner = x; then | ||
| 20 | AC_MSG_ERROR([wayland-scanner is needed to compile weston]) | ||
| 21 | fi | ||
| 22 | |||
| 23 | -PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner) | ||
| 24 | +#PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner) | ||
| 25 | AC_PATH_PROG(XMLLINT, xmllint) | ||
| 26 | AC_ARG_WITH([dtddir], | ||
| 27 | AS_HELP_STRING([--with-dtddir], | ||
| 28 | -- | ||
| 29 | 1.8.3.2 | ||
| 30 | |||
diff --git a/meta/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch b/meta/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch new file mode 100644 index 0000000000..062da5cee5 --- /dev/null +++ b/meta/recipes-graphics/wayland/weston/disable-wayland-scanner-pkg-check.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | Index: weston-1.5.0/configure.ac | ||
| 2 | =================================================================== | ||
| 3 | --- weston-1.5.0.orig/configure.ac | ||
| 4 | +++ weston-1.5.0/configure.ac | ||
| 5 | @@ -503,7 +503,7 @@ if test x$wayland_scanner = x; then | ||
| 6 | AC_MSG_ERROR([wayland-scanner is needed to compile weston]) | ||
| 7 | fi | ||
| 8 | |||
| 9 | -PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner) | ||
| 10 | +#PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner) | ||
| 11 | |||
| 12 | AC_CONFIG_FILES([Makefile src/version.h src/weston.pc]) | ||
| 13 | |||
diff --git a/meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch b/meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch new file mode 100644 index 0000000000..817ac70a15 --- /dev/null +++ b/meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | Index: weston-1.5.0/configure.ac | ||
| 2 | =================================================================== | ||
| 3 | --- weston-1.5.0.orig/configure.ac | ||
| 4 | +++ weston-1.5.0/configure.ac | ||
| 5 | @@ -491,8 +491,16 @@ AC_ARG_ENABLE(demo-clients-install, | ||
| 6 | enable_demo_clients_install=no) | ||
| 7 | AM_CONDITIONAL(INSTALL_DEMO_CLIENTS, [test "x$enable_demo_clients_install" = "xyes"]) | ||
| 8 | |||
| 9 | +AC_ARG_ENABLE(lcms, | ||
| 10 | + AS_HELP_STRING([--disable-lcms], | ||
| 11 | + [disable lcms support]),, | ||
| 12 | + enable_lcms=yes) | ||
| 13 | + | ||
| 14 | +AS_IF([test "x$enable_lcms" != "no"], [ | ||
| 15 | PKG_CHECK_MODULES(LCMS, lcms2, | ||
| 16 | - [have_lcms=yes], [have_lcms=no]) | ||
| 17 | + [have_lcms=yes], [have_lcms=no])], | ||
| 18 | + [have_lcms=no]) | ||
| 19 | + | ||
| 20 | if test "x$have_lcms" = xyes; then | ||
| 21 | AC_DEFINE(HAVE_LCMS, 1, [Have lcms support]) | ||
| 22 | fi | ||
diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb b/meta/recipes-graphics/wayland/weston_1.5.0.bb index afdc49c9b9..f6ae8c4970 100644 --- a/meta/recipes-graphics/wayland/weston_1.4.0.bb +++ b/meta/recipes-graphics/wayland/weston_1.5.0.bb | |||
| @@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466 \ | |||
| 8 | SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | 8 | SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ |
| 9 | file://weston.png \ | 9 | file://weston.png \ |
| 10 | file://weston.desktop \ | 10 | file://weston.desktop \ |
| 11 | file://0001-remove-dependence-on-wayland-scanner-flags.patch" | 11 | file://disable-wayland-scanner-pkg-check.patch \ |
| 12 | SRC_URI[md5sum] = "4438d2b1f3c9ba9a4a2b10d89fac6fd0" | 12 | file://make-lcms-configurable.patch" |
| 13 | SRC_URI[sha256sum] = "74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64" | 13 | SRC_URI[md5sum] = "8eb40d230efc2411f083c20656534780" |
| 14 | 14 | SRC_URI[sha256sum] = "06388ba04ac79aa72d685cc1a8e646ddb2b8cfe11fcc742294f9addac48b7684" | |
| 15 | 15 | ||
| 16 | inherit autotools pkgconfig useradd | 16 | inherit autotools pkgconfig useradd |
| 17 | 17 | ||
| @@ -25,7 +25,8 @@ EXTRA_OECONF = "--enable-setuid-install \ | |||
| 25 | --enable-demo-clients-install \ | 25 | --enable-demo-clients-install \ |
| 26 | --disable-libunwind \ | 26 | --disable-libunwind \ |
| 27 | --disable-rpi-compositor \ | 27 | --disable-rpi-compositor \ |
| 28 | --disable-rdp-compositor" | 28 | --disable-rdp-compositor \ |
| 29 | --disable-lcms" | ||
| 29 | 30 | ||
| 30 | 31 | ||
| 31 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ | 32 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ |
| @@ -53,6 +54,8 @@ PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva" | |||
| 53 | PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl" | 54 | PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl" |
| 54 | # Weston with cairo glesv2 support | 55 | # Weston with cairo glesv2 support |
| 55 | PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo" | 56 | PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo" |
| 57 | # Weston with lcms support | ||
| 58 | PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms" | ||
| 56 | 59 | ||
| 57 | do_install_append() { | 60 | do_install_append() { |
| 58 | # Weston doesn't need the .la files to load modules, so wipe them | 61 | # Weston doesn't need the .la files to load modules, so wipe them |
