* [PATCH] libsdl: add packageconfigs for x11, directfb, opengl
@ 2014-08-27 20:14 Carlos Rafael Giani
2014-08-28 7:21 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Carlos Rafael Giani @ 2014-08-27 20:14 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
index e544b60..b0ae299 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -12,10 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
PROVIDES = "virtual/libsdl"
-DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
- tslib"
+DEPENDS = "tslib"
DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
PR = "r3"
@@ -42,16 +39,19 @@ EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers
--disable-video-fbcon --disable-video-ps2gs --disable-video-ps3 \
--disable-xbios --disable-gem --disable-video-dummy \
--enable-input-events --enable-input-tslib --enable-pthreads \
- ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', '--enable-video-directfb', '--disable-video-directfb', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--enable-video-x11', '--disable-video-x11', d)} \
--disable-video-svga \
--disable-video-picogui --disable-video-qtopia --enable-sdl-dlopen \
--disable-rpath \
--disable-pulseaudio"
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
-PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib,"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib"
+PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb"
+PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl libglu"
+PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender"
PARALLEL_MAKE = ""
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libsdl: add packageconfigs for x11, directfb, opengl
2014-08-27 20:14 [PATCH] libsdl: add packageconfigs for x11, directfb, opengl Carlos Rafael Giani
@ 2014-08-28 7:21 ` Richard Purdie
2014-08-28 9:33 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2014-08-28 7:21 UTC (permalink / raw)
To: Carlos Rafael Giani; +Cc: openembedded-core
On Wed, 2014-08-27 at 22:14 +0200, Carlos Rafael Giani wrote:
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> ---
> meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> index e544b60..b0ae299 100644
> --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> @@ -12,10 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
>
> PROVIDES = "virtual/libsdl"
>
> -DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
> - tslib"
> +DEPENDS = "tslib"
> DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
>
> PR = "r3"
> @@ -42,16 +39,19 @@ EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers
> --disable-video-fbcon --disable-video-ps2gs --disable-video-ps3 \
> --disable-xbios --disable-gem --disable-video-dummy \
> --enable-input-events --enable-input-tslib --enable-pthreads \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', '--enable-video-directfb', '--disable-video-directfb', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--enable-video-x11', '--disable-video-x11', d)} \
> --disable-video-svga \
> --disable-video-picogui --disable-video-qtopia --enable-sdl-dlopen \
> --disable-rpath \
> --disable-pulseaudio"
>
> -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
> -PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib,"
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
> +PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib"
> +PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb"
> +PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl libglu"
> +PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender"
Unfortunately his blew up on the autobuilder:
https://autobuilder.yoctoproject.org/main/builders/build-appliance/builds/12/steps/BuildImages/logs/stdio
ERROR: Nothing PROVIDES 'virtual/nativesdk-nativesdk-libgl' (but
virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS on or otherwise requires it). Close matches:
virtual/nativesdk-libsdl
virtual/nativesdk-libc
virtual/nativesdk-libintl
ERROR: Nothing PROVIDES 'nativesdk-libglu' (but
virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS on or otherwise requires it). Close matches:
nativesdk-libxau
nativesdk-libusb
nativesdk-libsdl
ERROR: Nothing PROVIDES 'virtual/nativesdk-nativesdk-libx11' (but
virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS on or otherwise requires it). Close matches:
virtual/nativesdk-libx11
virtual/nativesdk-libc
virtual/nativesdk-db
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libsdl: add packageconfigs for x11, directfb, opengl
2014-08-28 7:21 ` Richard Purdie
@ 2014-08-28 9:33 ` Martin Jansa
0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2014-08-28 9:33 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 4887 bytes --]
On Thu, Aug 28, 2014 at 08:21:16AM +0100, Richard Purdie wrote:
> On Wed, 2014-08-27 at 22:14 +0200, Carlos Rafael Giani wrote:
> > Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> > ---
> > meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 18 +++++++++---------
> > 1 file changed, 9 insertions(+), 9 deletions(-)
> >
> > diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> > index e544b60..b0ae299 100644
> > --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> > +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
> > @@ -12,10 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
> >
> > PROVIDES = "virtual/libsdl"
> >
> > -DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
> > - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)} \
> > - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
> > - tslib"
> > +DEPENDS = "tslib"
> > DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
> >
> > PR = "r3"
> > @@ -42,16 +39,19 @@ EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers
> > --disable-video-fbcon --disable-video-ps2gs --disable-video-ps3 \
> > --disable-xbios --disable-gem --disable-video-dummy \
> > --enable-input-events --enable-input-tslib --enable-pthreads \
> > - ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', '--enable-video-directfb', '--disable-video-directfb', d)} \
> > - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
> > - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--enable-video-x11', '--disable-video-x11', d)} \
> > --disable-video-svga \
> > --disable-video-picogui --disable-video-qtopia --enable-sdl-dlopen \
> > --disable-rpath \
> > --disable-pulseaudio"
> >
> > -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
> > -PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib,"
> > +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
> > + ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
> > + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \
> > + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
> > +PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib"
> > +PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb"
> > +PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl libglu"
> > +PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender"
>
>
> Unfortunately his blew up on the autobuilder:
>
> https://autobuilder.yoctoproject.org/main/builders/build-appliance/builds/12/steps/BuildImages/logs/stdio
Carlos: please compare with this one:
http://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/wip&id=cb921237643be39aa8f44ea4c35d3cfd30f782c0
it's a bit old but has nativesdk override :).
> ERROR: Nothing PROVIDES 'virtual/nativesdk-nativesdk-libgl' (but
> virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS on or otherwise requires it). Close matches:
> virtual/nativesdk-libsdl
> virtual/nativesdk-libc
> virtual/nativesdk-libintl
> ERROR: Nothing PROVIDES 'nativesdk-libglu' (but
> virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS on or otherwise requires it). Close matches:
> nativesdk-libxau
> nativesdk-libusb
> nativesdk-libsdl
> ERROR: Nothing PROVIDES 'virtual/nativesdk-nativesdk-libx11' (but
> virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS on or otherwise requires it). Close matches:
> virtual/nativesdk-libx11
> virtual/nativesdk-libc
> virtual/nativesdk-db
>
> Cheers,
>
> Richard
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-28 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 20:14 [PATCH] libsdl: add packageconfigs for x11, directfb, opengl Carlos Rafael Giani
2014-08-28 7:21 ` Richard Purdie
2014-08-28 9:33 ` Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox