All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] qemu: only build SDL UI if X11 is enabled
@ 2018-06-05 12:49 Ross Burton
  2018-06-05 12:49 ` [PATCH 2/3] local.conf.sample: update libsdl mentions to libsdl2 Ross Burton
  2018-06-05 12:49 ` [PATCH 3/3] packagegroup-self-hosted: remove libsdl Ross Burton
  0 siblings, 2 replies; 3+ messages in thread
From: Ross Burton @ 2018-06-05 12:49 UTC (permalink / raw)
  To: openembedded-core

The SDL UI now assumes that it is using X11 because it includes X headers, so
only enable it if X11 is enabled.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/qemu/qemu.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index faaea781cd7..2f73b21c30e 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -74,11 +74,12 @@ do_install_append() {
 # END of qemu-mips workaround
 
 PACKAGECONFIG ??= " \
-    fdt sdl kvm \
+    fdt kvm \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'sdl', '', d)} \
     ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
 "
 PACKAGECONFIG_class-native ??= "fdt alsa kvm"
-PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm"
+PACKAGECONFIG_class-nativesdk ??= "fdt kvm ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'sdl', '', d)}"
 
 # Handle distros such as CentOS 5 32-bit that do not have kvm support
 PACKAGECONFIG_class-native_remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}"
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/3] local.conf.sample: update libsdl mentions to libsdl2
  2018-06-05 12:49 [PATCH 1/3] qemu: only build SDL UI if X11 is enabled Ross Burton
@ 2018-06-05 12:49 ` Ross Burton
  2018-06-05 12:49 ` [PATCH 3/3] packagegroup-self-hosted: remove libsdl Ross Burton
  1 sibling, 0 replies; 3+ messages in thread
From: Ross Burton @ 2018-06-05 12:49 UTC (permalink / raw)
  To: openembedded-core

Qemu now builds with libsdl2, so update the local.conf.sample to reflect this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta-poky/conf/local.conf.sample | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-poky/conf/local.conf.sample b/meta-poky/conf/local.conf.sample
index aa8df40b87e..d28bf58a1e7 100644
--- a/meta-poky/conf/local.conf.sample
+++ b/meta-poky/conf/local.conf.sample
@@ -234,12 +234,12 @@ BB_DISKMON_DIRS ??= "\
 # Qemu configuration
 #
 # By default qemu will build with a builtin VNC server where graphical output can be
-# seen. The two lines below enable the SDL backend too. By default libsdl-native will
+# seen. The two lines below enable the SDL backend too. By default libsdl2-native will
 # be built, if you want to use your host's libSDL instead of the minimal libsdl built
-# by libsdl-native then uncomment the ASSUME_PROVIDED line below.
+# by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
 PACKAGECONFIG_append_pn-qemu-native = " sdl"
 PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
-#ASSUME_PROVIDED += "libsdl-native"
+#ASSUME_PROVIDED += "libsdl2-native"
 
 # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
 # track the version of this file when it was generated. This can safely be ignored if
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 3/3] packagegroup-self-hosted: remove libsdl
  2018-06-05 12:49 [PATCH 1/3] qemu: only build SDL UI if X11 is enabled Ross Burton
  2018-06-05 12:49 ` [PATCH 2/3] local.conf.sample: update libsdl mentions to libsdl2 Ross Burton
@ 2018-06-05 12:49 ` Ross Burton
  1 sibling, 0 replies; 3+ messages in thread
From: Ross Burton @ 2018-06-05 12:49 UTC (permalink / raw)
  To: openembedded-core

By default we now build our own libSDL, so don't ship libsdl in the self-hosted group.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index f1273e8a171..28f06d9c5aa 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -188,8 +188,6 @@ RDEPENDS_packagegroup-self-hosted-graphics = "\
     libgl-dev \
     libglu \
     libglu-dev \
-    libsdl \
-    libsdl-dev \
     libx11-dev \
     adwaita-icon-theme \
     xdg-utils \
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-05 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-05 12:49 [PATCH 1/3] qemu: only build SDL UI if X11 is enabled Ross Burton
2018-06-05 12:49 ` [PATCH 2/3] local.conf.sample: update libsdl mentions to libsdl2 Ross Burton
2018-06-05 12:49 ` [PATCH 3/3] packagegroup-self-hosted: remove libsdl Ross Burton

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.