Commit Graph

124 Commits

Author SHA1 Message Date
Ross Burton 42c75cd9c0 weston: delete unused patch
This patch was dropped from the recipe in the 1.8.0 upgrade.

(From OE-Core rev: a5e09329b8796576c158e62d87249dd4a1cc011a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-25 07:50:32 +00:00
Joshua Lock 80f4d71fb5 weston: add a PACKAGECONFIG option for xwayland support
(From OE-Core rev: e9b843d3b3dba6d118e57a7e0dd225dc4004a31a)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:29 +00:00
Joshua Lock 2c5047f498 weston: add PACKAGECONFIG to build with systemd-login support
Automatically enable this support for distributions which have
systemd in DISTRO_FEATURES.

We add additional patches to weston, backported from Weston
git, to support the newer single libsystemd pkg-config file
and to make the enabling of systemd-login support explicit.

(From OE-Core rev: f51ba9a89ee8cede03b5b7834579fd63fa483267)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:29 +00:00
Wenzong Fan d3da00648c recipes: add distro_features_check for some packages
* The packages that depends on gtk+3 require any of distro features
  from ${GTK3DISTROFEATURES}

* The packages that depends on virtual/egl, virtual/libgl ... require
  distro feature 'opengl'

(From OE-Core rev: 3edf08b38b0af93cef0933b061349264dc86d54c)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:27 +00:00
Joe Slater 3bafddbadf libinput: avoid --enable-event-gui=auto
Specify a value via PACKAGECONFIG[gui].  The default is
--diable-event-gui.

(From OE-Core rev: d80babce1ed23f647d118ad4ce3860c0e9f6fec2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-06 15:26:27 +01:00
Jussi Kukkonen a6a0251f07 libinput: Upgrade 0.18.0 -> 0.21.0
Include a workaround patch suggested by upstream when using
kernel 4.1.x.

(From OE-Core rev: 28f261cd7da53124a5aeb71e1f473cd473a33489)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-24 23:46:56 +01:00
Ross Burton 3b7a062472 weston: improve parallel make race fixes
The original fix is upstream already so mark as a backport, and update the patch
with another race fix.

(From OE-Core rev: ab9d3c4e2bfb68d3a67a85d5a8e799216103978a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-11 09:28:48 -07:00
Jackie Huang b698e2efa6 libinput: add configure arg and PACKAGECONFIG for libunwind
libinput uses pkg-config to check and decide whether to build
with libunwind, which causes undeterministic builds or error:

| tmp/work/core2-64-wrs-linux/libinput/0.18.0-r0/libinput-0.18.0/test/litest.c:77:23:
| fatal error: libunwind.h: No such file or directory

So add configure arg and PACKAGECONFIG for libunwind to make
deterministic build, but libunwind is disabled by default.

(From OE-Core rev: 3ffbceb4394a54c4b02fa66525b2a00832d4e7f1)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-10 12:40:23 -07:00
Richard Purdie ecec4af302 weston: Fix parallel make race
The current approach used by the Makefile ends up installing
weston.desktop twice and can give build failures when using
parallel make flags. Change to just have one DATA reference.

(From OE-Core rev: 5191ab6962712908e1aa1dca0d4253fb278366c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-09 00:13:57 -07:00
Ross Burton df61141f76 wayland: enable nativesdk builds
(From OE-Core rev: 1f19083eb8453d794c9532b9252d1ab2d330ec6e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02 23:08:41 +01:00
Ross Burton df7386e7df wayland: always build wayland-scanner
By passing --disable-scanner to use a native wayland-scanner binary a target
wayland-scanner binary isn't built, which is a problem if you want to use it on
the target or in a SDK.

Instead, always build a target wayland-scanner binary, and have an option to
control whether that binary or a host-provided binary is used at build time.

[ YOCTO #7931 ]

(From OE-Core rev: 7aeeaf287169d4d7de5349626caa93a3941c2c35)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02 23:08:40 +01:00
Khem Raj 6b76ee08ae libinput: Upgrade 0.7.0 -> 0.18.0
Upgrade is also required for wayland/weston 1.8.x

libinput license changes are
- COPYING: note that having linux/input.h in the tree does not make libinput GPL
- Updated to 2015 where appropriate, added where missing.
- filter: add Simon's copyright
  This code was largely lifted from the X server in
  bb25b2ad297891430606c367bfabc but didn't take the copyright messages
  that applied to that code.

- Change MIT X11 to MIT Expat license

  see

  http://cgit.freedesktop.org/wayland/libinput/commit/?id=bc9f16b40e23a1d25c105a4207b97d65253f0d98

(From OE-Core rev: c06b0743115d1ae75302679d8f5dfe0c88069b91)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02 23:08:40 +01:00
Khem Raj 43e5bf4ede wayland: Upgrade 1.6.0 -> 1.8.1
(From OE-Core rev: ef59b340e723c8c3226ca54d83913e245b961881)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02 23:08:40 +01:00
Khem Raj 3ff474c642 weston: Upgrade weston_1.6.0.bb -> weston_1.8.0.bb
Make error() portable, Fix build on musl

copyright year changed for weston compositor.c

- * Copyright © 2012 Collabora, Ltd.
+ * Copyright © 2012-2015 Collabora, Ltd.

(From OE-Core rev: 4f401540b2055fd6fb8a5edac6811199379dba90)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02 23:08:40 +01:00
Ross Burton 7b2f30e029 weston: fix libdir/libexecdir confusion
Use $libexecdir and $libdir as appropriate so the files are packaged correctly
when libexecdir != $libdir/$BPN.

(From OE-Core rev: a5dc3bf1dc4a65b748c32344570dc4faf381f201)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-27 22:42:50 +01:00
Richard Purdie ed3b4248af wayland: Fix hardlink corruption issue
The way this code was working, the m4 file is hardlinked to the
copies which would be packaged and could lead to the native m4
file being used in the target packages.

By removing the file first the hardlink is broken and this avoids
corruption (since cp uses open to change the file contents).

(From OE-Core rev: 8f3be1925b9da20526a722149b03f697247ea1bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-16 14:21:29 +01:00
Philippe Coval 5179d7cd6e weston-init: support system's configuration file
Look for OPTARGS variable in /etc/default/weston
and set it as weston's service default options.

This can be used to force system's supported backend.

Change-Id: I0562c9326df5b46226093199873ef58d77aeae75
(From OE-Core rev: 8ffcdcc53bac64c62478fbb72d817c842dde8b28)

Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-09 22:26:45 +01:00
Ross Burton ddb8d3fb73 wayland: remove explicit class-native DEPENDS
(From OE-Core rev: 50147404973e3f09206e8c1bb53d65b0772492e1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-03 14:53:55 +00:00
Armin Kuster 93f902f506 libinput: update to 0.7.0
(From OE-Core rev: f25e913dbc400a8c72fbd93b2754501d5b61e3df)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-31 17:04:47 +00:00
Ross Burton ab7059585a weston: fix plugin location in FILES
The plugins are installed to ${libdir}/weston, not ${libexecdir}.

(From OE-Core rev: 6e1769f44e18657c5bd576f8b053832d0ce825d7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-05 18:01:04 +00:00
Denys Dmytriyenko ad6fd2cbf8 weston: update to version 1.6.0, add libinput PACKAGECONFIG
(From OE-Core rev: e828dd2eae2a3eb4c341926aeb4ae6febd660ec2)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-06 16:45:22 +00:00
Denys Dmytriyenko ab3086fee7 wayland: update version to 1.6.0
(From OE-Core rev: 15ace31331ea2975f1a80167093786749adebbc4)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-06 16:45:22 +00:00
Denys Dmytriyenko 24dc5f436b libinput: add 0.6.0 version
libinput is an optional dependency for Weston to handle input devices
externally, which provides better support especially for touch devices.

(From OE-Core rev: c4641a70a54e7cd3d17f448fa920c94e6610b654)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-06 16:45:22 +00:00
Tim Orling d3a3f4bc2a weston: make webp explicitly configurable
This patch fixes:
    weston/weston/latest lost dependency on  libwebp
    weston/weston-examples/latest lost dependency on  libwebp
from:
http://lists.openembedded.org/pipermail/openembedded-core/2014-June/093704.html

(From OE-Core rev: f688ab0b8c3c1842d60cc2e18ac17af1f901f7b9)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-10 17:38:32 +01:00
Tim Orling dfe49a11fa weston: make lcms explicitly configurable
Per Ross's comment, make --enable-lcms deterministic.
Follow upstream style to make it more likely to be merged upstream.

(From OE-Core rev: e2f45c6284f0a26cc858f9ae5887a4c1ef844d96)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-01 14:29:31 +01:00
Tim Orling dd1dacf7bd weston: fix make-lcms-configurable.patch
In AS_IF([test "x$enable_lcms" != "no"],
"no" should have been "xno"

(From OE-Core rev: 1942c417d94e0b4e39613b15a632482b557a51d0)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-01 14:29:31 +01:00
Tim Orling 482857a3f8 weston: drop superfluous --disable-lcms
Thank you to Henning Heinold for the catch.
"Is this needed when you use PACKAGECONFIG later on?"

(From OE-Core rev: 815341fd1232e7739650497f94d851af41f6af79)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-01 14:29:30 +01:00
Tim Orling 0882d265d8 weston: upgrade to 1.5.0
* replace 0001-remove-dependence-on-wayland-scanner-flags.patch with
  disable-wayland-scanner-pkg-check.patch
* add make-lcms-configureable.patch (WIP... needs work)
  = fix for JaMa test-dependencies

(From OE-Core rev: 7c40efb62f34f866c98a0b2df50d66c60d76143a)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-27 16:11:54 +01:00
Tim Orling 87e2ce604e wayland: upgrade to 1.5.0
* update disable-macro-checks-not-used-for-scanner.patch
  = trivial change to non-patched text (+ posix_fallocate)
* drop just-scanner.patch, no longer needed

(From OE-Core rev: f453259c6710a6b3fb3c542b3921426baf160347)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-27 16:11:54 +01:00
Otavio Salvador 4c14b09498 Globally replace 'base_contains' calls with 'bb.utils.contains'
The base_contains is kept as a compatibility method and we ought to
not use it in OE-Core so we can remove it from base metadata in
future.

(From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25 17:19:19 +01:00
Ting Liu 8b63ff3586 wayland-native: disable unused macro checks to fix build issue on Centos5.x
We only build wayland-native for the scanner, so disable the bits we
don't actually need. This avoid build issue on older distro such as
Centos 5.x:
| error: 'O_CLOEXEC' undeclared (first use in this function)
| error: sys/timerfd.h: No such file or directory
| error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
| error: 'TFD_CLOEXEC' undeclared (first use in this function)
| error: 'SFD_CLOEXEC' undeclared (first use in this function)

(From OE-Core rev: f6d5343ccb97913a874b894fd7405abad59746eb)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01 23:37:02 +01:00
Prabhu Sundararaj 23f26b5637 weston : refactor to identify EGL, cairoglesv2 support
(From OE-Core rev: faa86f0cda47f3ea6eeaf4c3fd3cf95a286f4571)

Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:35 +01:00
Richard Purdie 7b70586a31 wayland: Add target sysroot scanner m4 macro
With the new aclocals process, accesses to the macros is a lot stricter and
the native macros are not used. We need to ensure the modified macros are used
in target builds to get the correct scanner functionality. Inserting the
native macro into the target is the correct thing to do in this case.

This resolves build failures in libva.

(From OE-Core rev: ad9bd9ce164c9cb1212de27fec84ad0fe5214bb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-07 14:45:21 +00:00
Ross Burton f874ac6e87 mtdev: upgrade to 1.1.5
Removed the following patch(es):
 * fixsepbuild.patch (changes included in release)

(From OE-Core rev: a881acdcc4df8e29bc2107ef5c04ad96024ce2fb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-05 15:50:20 +00:00
Robert Yang 617819a6bf weston: fix build without wayland in distro_features
There was a configure error when build weston without wayland in
distro_features:

configure: error: Package requirements (egl >= 7.10 glesv2 wayland-client wayland-egl) were not met:

No package 'wayland-egl' found

[YOCTO #5867]

(From OE-Core rev: 1a7c5d7ba9ad9617d030f60eaf8e61bd599666f6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28 14:01:15 +00:00
Valentin Popa e7d41d3a27 wayland: upgrade to 1.4.0
(*) tested on qemux86 and genericx86 with
core-image-weston and core-image-sato

(From OE-Core rev: 46100431a726010645824a84850fd7bef8cc923b)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-17 15:28:59 +00:00
Valentin Popa c8cf900e4e weston: upgrade to 1.4.0
(*) added fbdev backend in case the user will
    want to use weston even if drm fails.
(*) removed tablet-shell flag because in 1.4
    tablet-shell has been removed from src.
(*) tested on qemux86 and genericx86 with
    core-image-weston and core-image-sato.

(From OE-Core rev: 270ed9322dbd40b61e31ee9ab27cf7af5d433c1c)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-17 15:28:59 +00:00
Richard Purdie 4db39d233c meta/recipes: Remove virtclass references
The virtclass overrides will go away at some point (apart from the multilib one).
Change them all to class-xxx instead since people enjoy copy and pasting them.

(From OE-Core rev: d1c073d2813bd913617990cd047507353ea0c09e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-13 11:41:21 +00:00
Andreas Müller fa9f89c1e0 weston: depend on drm for 'launch' packageconfig enabled
configure fails with:

| configure:15654: checking for WESTON_LAUNCH
| configure:15661: $PKG_CONFIG --exists --print-errors "libdrm"
| Package libdrm was not found in the pkg-config search path.
| Perhaps you should add the directory containing `libdrm.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'libdrm' found
| configure:15664: $? = 1
| configure:15678: $PKG_CONFIG --exists --print-errors "libdrm"
| Package libdrm was not found in the pkg-config search path.
| Perhaps you should add the directory containing `libdrm.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'libdrm' found
| configure:15681: $? = 1
| configure:15695: result: no
| No package 'libdrm' found
| configure:15711: error: Package requirements (libdrm) were not met:
|
| No package 'libdrm' found

and configure.ac says:

| if test x$enable_weston_launch == xyes; then
|  PKG_CHECK_MODULES(WESTON_LAUNCH, [libdrm])

(From OE-Core rev: 6d0625a5a2ddd34760b2f85366810f20ad4ea15e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:09 +00:00
Andreas Müller e927fdfb04 weston: cleanup mesa depends
* do not depend by default
* depend on virtual/mesa instead of mesa

(From OE-Core rev: d8d02cb15f9d64f0e773223965e3ff6b6ae0874f)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:47 +00:00
Richard Purdie a22ee50865 Update after toplevel LICENSE file checksum change
(From OE-Core rev: bbd88aebcabbb19c27a7d752d4a5b8ad9ff9412e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02 14:21:04 +00:00
Paul Eggleton cec8b230cf Replace one-line DESCRIPTION with SUMMARY
A lot of our recipes had short one-line DESCRIPTION values and no
SUMMARY value set. In this case it's much better to just set SUMMARY
since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY
is at least useful. I also took the opportunity to fix up a lot of the
new SUMMARY values, making them concisely explain the function of the
recipe / package where possible.

(From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02 12:50:18 +00:00
Richard Purdie 6ab56c54f3 classes/recipes: More optimal DISTRO_FEATURES references
Using the contains function results in more optimal sstate checksums
resulting in better cache reuse as we as more consistent code.

(From OE-Core rev: 9c93526756e7cbbff027c88eb972f877bcb1f057)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-05 14:24:43 +00:00
Ross Burton 75cc5321db weston: upgrade to 1.3.1
(From OE-Core rev: 4a9f855ecb209aebe37f9a26f3f4129a570a3af4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-29 09:52:57 +00:00
Ross Burton b2ff2d2684 weston: remove reference to gles in PACKAGECONFIG
The "gles" configuration was removed in the upgrade to 1.3.0, and it was enabled
only if the unknown/rare opengles2 DISTRO_FEATURE was enabled.

(From OE-Core rev: d618f739f3631178cf61cfb8313b6c2c7ee6a9a6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-20 14:03:32 +00:00
Ross Burton a52c9b9a76 mtdev: upgrade to 1.1.4
Refresh fixsepbuild.patch to apply cleanly, and clean up the description.

(From OE-Core rev: 3cfce710faf82024c5d8973fe83a125d0375309b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-18 12:44:06 +00:00
Ross Burton f31258233e weston-init: use /run instead of /var/run
/var/run is just a symlink to /run now, so use /run directly.

(From OE-Core rev: b6201d2a27639f9d384ba1137096a05f6795797a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-12 16:00:27 +00:00
Ross Burton 44121975a6 weston-init: start weston on a new VT
Weston 1.3 needs to run on a VT, which is typically handled by weston-launch.
Currently weston-init doesn't use weston-launch as that depends on the
(non-default) pam DISTRO_FEATURE, so depend on kbd and use openvt directly.

This also fixes problems caused by the init script blocking until Weston exits,
which meant that later init scripts were not actually running.

(From OE-Core rev: 3726eb29cfa79a4a1fbdbcaa96f770063c482858)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-08 17:31:35 +00:00
Ross Burton f6484887ba weston: upgrade to 1.3.0
Remove backported patches that are now integrated.

No need to patch build to install examples with --enable-demo-clients, update
FILES now that all examples are being installed.

Remove cairo-gl option as our cairo doesn't support GL (yet), remove
--disable-android-compositor as it was dropped upstream, and add PACKAGECONFIG
for the VAAPI-based recorder as otherwise it's a floating dependency (libva is
in meta-intel).

Based on work by Ewan Le Bideau-Canevet <Ewan.LEBIDEAU-CANEVET@eurogiciel.fr>.

(From OE-Core rev: 7508b61d1cb869233f3d841183edd6fd19d5102e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-08 17:31:35 +00:00
Ross Burton 5177812b27 wayland: upgrade to 1.3.0
wayland-scanner now uses pkg-config instead of hard-coding paths, so edit the
script to use pkg-config-native.

Based on work by Ewan Le Bideau-Canevet <Ewan.LEBIDEAU-CANEVET@eurogiciel.fr>.

(From OE-Core rev: 97a3c3bc969ffb7f0c21755c733111d2f4ef8d20)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-08 17:31:34 +00:00
Richard Purdie 5e42796675 recipes: Remove PR = r0 from all recipes
Remove all PR = "r0" from all .bb files in oe-core. This was done
with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i

We've switching to the PR server, PR bumps are no longer needed and
this saves people either accidentally bumping them or forgetting to
remove the lines (r0 is the default anyway).

(From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30 14:52:04 +00:00
Ross Burton eae5f4bdac weston: change mesa dependency to virtual/mesa
(From OE-Core rev: 65667415ecc8abdf1f15a48c5520ed78140afb60)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-17 19:34:55 +01:00
Ross Burton cdc3549c9c weston: as weston-launch depends on PAM, control it with a PACKAGECONFIG
(From OE-Core rev: fb430271da67d7ec98c285a3420b00db737cae55)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-11 23:35:45 +01:00
Alexandru DAMIAN a9b98b6564 weston: add pango dependency
Weston 1.1.0 has a build time dependency on pango,
so we add it.

(From OE-Core rev: 98aa3c54685a90bc49cba147a4a3eb560cbfda98)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-29 13:09:03 +01:00
Ross Burton d02b545363 weston: move mtdev dependency to the DRM backend, where it belongs
(From OE-Core rev: 2d1e8b554e10173377bfe231d5999561adb62321)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:54 +01:00
Ross Burton 9e28afb824 weston: add patches to make weston-launch work
(From OE-Core rev: 7b4f2c7c305ef4c0848311712f17cab76232c4bf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:54 +01:00
Ross Burton fb6f0d4d81 weston-init: fix a typo in a user-visible message
This is the weston init script, not X.

(From OE-Core rev: 8d30f9c1fe27795c4a1a3e64229cd1cc243e50be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:54 +01:00
Ross Burton 2a739ad148 weston: update to 1.1.0
Upgrade to 1.1.0, and disable the RaspberryPi and RDP compositors.  Hopefully
the RPi community can send a patch to add a PACKAGECONFIG for them.

(From OE-Core rev: 2e8e31a6812368688138b53c0aa92982354f832f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:26 +01:00
Ross Burton 74351853dc wayland: update to 1.1.0
(From OE-Core rev: e7856f5527368c09c78f8e093c20fefd0e9fc83e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:26 +01:00
Ross Burton 271ea8b628 weston: clean up and add comments
(From OE-Core rev: 46159f632513de1f14d03e425799a0c193532298)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:24 +01:00
Ross Burton fcbf865992 weston: add a weston-launch group
For weston-launch to be used by a non-root user, the user either needs to be a
member of the weston-launch group or own an active systemd user session.  Create
this group so users can be members of it.

(From OE-Core rev: 02e486ec9321fd3d7769c70979207335847a8f92)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:23 +01:00
Ross Burton 1377d9d51c weston: install the examples into weston-examples
(From OE-Core rev: 04234dfc2bc4c1bc4f3840fa9a162b25ba6ba049)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:23 +01:00
Ross Burton 6a27d8bcf7 weston-init: basic init script to start Weston on KMS/DRM
weston-init is a very basic init script to start Weston as root on KMS/DRM.

To re-iterate, this runs Weston as root.  This will be fixed to use
weston-launch shortly.

(From OE-Core rev: eba825e4698f6923c32c347eb306abe9d7f3519d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:23 +01:00
Ross Burton 06cce092ec wayland: only build the scanner in wayland-native
We only build wayland-native for the scanner, so disable the bits we don't
actually need.  This gives us a small speed up but importantly should allow
wayland-native to compile on older hosts such as CentOS 5 which currently fails.

[ YOCTO #4245 ]

(From OE-Core rev: bfbe9b6a4fd7a8b5e5827847c2adff894e609e94)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-12 17:00:45 +01:00
Zhenhua Luo 2ef72c3174 wayland: add necessary dependencies to fix build error
add libffi into DEPENDS to fix following build error:
| checking for FFI... no
| configure: error: Package requirements (libffi) were not met:
|
| No package 'libffi' found

(From OE-Core rev: 23d6746efe1b3f31ad156db58fbc2767f750b712)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-11 16:41:13 +01:00
Ross Burton c531851976 wayland: upgrade to 1.0.6
(From OE-Core rev: 918460cff5b82a69feea0ec3d787c420927eaa35)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29 10:40:55 +00:00
Ross Burton 53beaa604a weston: upgrade to 1.0.6
(From OE-Core rev: 58924fe567963c0e6cead3e75a2cfd5b2252aefd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29 10:40:55 +00:00
Laurentiu Palcu e66deb0156 mesa: rename mesa-dri recipe to just mesa
Rename mesa-dri recipes to just mesa. Also, replace all references to
mesa-dri in all recipes/configs.

The reason for this renaming (quote from bugzilla):

"mesa-dri is a artefact of mesa-xlib existing, which doesn't anymore.
mesa-dri should be renamed to mesa."

[YOCTO #3385]

(From OE-Core rev: c8bbb9983bcc7cfc5332e89c3e8148505b4ca83f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 17:07:16 +00:00
Richard Purdie dfc25eb699 mtdev: Fix case where ${B} != ${S}
Add patch to allow out of tree builds to work.

(From OE-Core rev: d14012cbf4a55a66030a51da281cc68fc727d9f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 16:54:36 +00:00
Ross Burton 82cb88e615 weston: recommend some reasonable fonts so the terminal works
(From OE-Core rev: 5d3e26d12706606f804118fb77f96f0ada025e36)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-03 12:01:09 +00:00
Ross Burton e4125eaf60 weston: add dependency on xkeyboard-config
(From OE-Core rev: 603c329448ec761cb8e2faa6bb06430b70bb7d05)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-03 12:01:09 +00:00
Ross Burton 7cdfbc6b2f weston: add reference Wayland compositor
This is the reference Wayland compositor.

If the "wayland" DISTRO_FEATURE is present the KMS and Wayland (nested)
compositors are enabled.

If the "x11" DISTRO_FEATURE is present the X11 compositor is enabled, and a
launcher installed.

This also ships a basic Wayland terminal.

Based on work by Alexandru Damian <alexandru.damian@intel.com>, Daniel Stone
<daniel@fooishbar.org>, and Damien Lespiau <damien.lespiau@intel.com>.

(From OE-Core rev: 94fcb80121b64974ff57b76275addaa684c559cf)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-18 13:28:04 +00:00
Alexandru DAMIAN cca05e3dca wayland: add Wayland protocol library
Wayland is a protocol for a client application to display user interface windows
through the use of a compositing window manager. This package include the
specific set of server-side and client-side C libraries that implement the
protocol.

(From OE-Core rev: 41538cb52f3a79c52aa37c34d8f275010b93c2c2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-18 13:28:03 +00:00
Damien Lespiau e7bae18e9d mtdev: New recipe for mtdev
(From OE-Core rev: 5ae7825ed7b8221d1c37e3d053404a3f2f7d27f2)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-23 12:28:31 +01:00