From: Mark Hatle <mark.hatle@windriver.com>
To: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/3] libsdl: support native compilation
Date: Mon, 19 Oct 2015 09:44:15 -0500 [thread overview]
Message-ID: <562501BF.6010202@windriver.com> (raw)
In-Reply-To: <1445264230-1126-1-git-send-email-dbaryshkov@gmail.com>
On 10/19/15 9:17 AM, Dmitry Eremin-Solenikov wrote:
> qemu-native can use SDL backend for graphical output. Currently it is
> expected to use libsdl provided by the host. However this can lead to
> library incompatibilities between host and target. Make libsdl recipe
> support native compilation.
I don't object to the patch.. but we did have multiple problems in the past
where libsdl (native) did not work with the host systems X11 or what-ever.
Various failure conditions about not linking, linking to the wrong libsdl, or
execution failing are what made us prefer the host system's libsdl -- or simply
disabling libsdl altogether.
--Mark
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> ---
> meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> index c0d5c6a..c9f3e00 100644
> --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> @@ -17,6 +17,7 @@ DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d
> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'libglu', '', d)} \
> tslib"
> +DEPENDS_class-native = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11-native libxrandr-native libxrender-native libxext-native', '', d)}"
> DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
>
> PR = "r3"
> @@ -65,4 +66,4 @@ do_configure_prepend() {
> export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
> }
>
> -BBCLASSEXTEND = "nativesdk"
> +BBCLASSEXTEND = "native nativesdk"
>
next prev parent reply other threads:[~2015-10-19 14:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 14:17 [PATCH 1/3] libsdl: support native compilation Dmitry Eremin-Solenikov
2015-10-19 14:17 ` [PATCH 2/3] qemu: drop hooking of libsdl from the host Dmitry Eremin-Solenikov
2015-10-19 14:17 ` [PATCH 3/3] local.conf.sample: stop adding libsdl-native to ASSUME_PROVIDED Dmitry Eremin-Solenikov
2015-10-19 14:44 ` Mark Hatle [this message]
2015-10-19 15:33 ` [PATCH 1/3] libsdl: support native compilation Richard Purdie
2015-10-22 13:28 ` Dmitry Eremin-Solenikov
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=562501BF.6010202@windriver.com \
--to=mark.hatle@windriver.com \
--cc=dbaryshkov@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox