From: Denys Dmytriyenko <denys@ti.com>
To: Ankur Tyagi <ankur.tyagi85@gmail.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: ti-sgx-ddk-um_1.14.3699939: check for wayland in DISTRO_FEATURES
Date: Fri, 11 Aug 2017 16:07:20 -0400 [thread overview]
Message-ID: <20170811200720.GQ19736@edge> (raw)
In-Reply-To: <1502369244-9597-1-git-send-email-ankur.tyagi85@gmail.com>
No, it's not an optional dependency, unfortunately:
$ for i in lib*.so.*.*.*; do echo $i; arm-linux-gnueabihf-readelf -a $i | grep wayland; done
libdbm.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libEGL.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libGLES_CM.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libGLESv2.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libglslcompiler.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libIMGegl.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
23: 0000f715 4 FUNC GLOBAL DEFAULT 11 wayland_drm_buffer_get_fo
39: 0000f6f9 26 FUNC GLOBAL DEFAULT 11 wayland_drm_uninit
91: 0000f66d 56 FUNC GLOBAL DEFAULT 11 wayland_drm_buffer_get
119: 0000f6a5 84 FUNC GLOBAL DEFAULT 11 wayland_drm_init
123: 0000f719 4 FUNC GLOBAL DEFAULT 11 wayland_drm_buffer_get_bu
libpvr2d.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libpvrDRMWSEGL.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libpvrGBMWSEGL.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libPVRScopeServices.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libpvr_wlegl.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
0x00000001 (NEEDED) Shared library: [libwayland-client.so.0]
libpvrws_WAYLAND.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
0x00000001 (NEEDED) Shared library: [libwayland-client.so.0]
libsrv_init.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libsrv_um.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
libusc.so.1.14.3699939
0x00000001 (NEEDED) Shared library: [libwayland-server.so.0]
--
Denys
On Fri, Aug 11, 2017 at 12:47:24AM +1200, Ankur Tyagi wrote:
> Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
> ---
> recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
> index 60f63aa..593e405 100644
> --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
> +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
> @@ -34,8 +34,9 @@ inherit update-rc.d
> PR = "r26"
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
>
> -DEPENDS += "libdrm udev libgbm wayland libffi"
> -RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap"
> +WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
> +DEPENDS += "libdrm udev libgbm ${WAYLAND} libffi"
> +RDEPENDS_${PN} += "libdrm libudev libgbm ${WAYLAND} libffi libdrm-omap"
>
> RPROVIDES_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
> RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
> @@ -63,7 +64,7 @@ FILES_${PN} += "${includedir}/*"
> FILES_${PN} += "${sysconfdir}/*"
>
> PACKAGES =+ "${PN}-plugins"
> -FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
> +FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${libdir}/libpvrws_WAYLAND.so', '', d)}"
> RDEPENDS_${PN} += "${PN}-plugins"
>
> ALLOW_EMPTY_${PN}-plugins = "1"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
next prev parent reply other threads:[~2017-08-11 20:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 12:47 ti-sgx-ddk-um_1.14.3699939: check for wayland in DISTRO_FEATURES Ankur Tyagi
2017-08-11 20:07 ` Denys Dmytriyenko [this message]
2017-08-12 2:10 ` Ankur Tyagi
2017-08-16 20:15 ` Denys Dmytriyenko
2017-08-17 15:54 ` R, Karthik
2017-08-17 16:02 ` Ruei, Eric
2017-08-17 16:13 ` Denys Dmytriyenko
2017-08-17 16:33 ` Ruei, Eric
2017-08-18 23:18 ` Ankur Tyagi
2017-08-18 23:25 ` Denys Dmytriyenko
2017-08-19 0:31 ` Ankur Tyagi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170811200720.GQ19736@edge \
--to=denys@ti.com \
--cc=ankur.tyagi85@gmail.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.