Skip to contentSkip to conversation

xen: remove obsolete sdl PACKAGECONFIG

PATCH In review Ross Burton 3 participants 3 messages Jul 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: remove obsolete sdl PACKAGECONFIG

Nothing in Xen respects --enable-sdl, and nothing in Xen links to libSDL, so this PACKAGECONFIG is obsolete.

It looks like the last user of SDL in Xen was removed in "Remove internal tools/ioemu tree"[1] back in 2008.

[1] xen 19dc3860dcfde9bc4ec4ef35bb1337e13276f630

---
 recipes-extended/xen/xen.inc | 2 --
 1 file changed, 2 deletions(-)
recipes-extended/xen/xen.inc +0 -2
index 2bbf1e3..5937763 100644
@@ -7,12 +7,10 @@ inherit autotools-brokensep pkgconfig
 require xen-arch.inc
 
 PACKAGECONFIG ??= " \
-    sdl \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
     "
 
 PACKAGECONFIG[lzo] = ",,lzo"
-PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
 PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
 PACKAGECONFIG[externalblktap] = ",,,"
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Ross Burton

Nothing in Xen respects --enable-sdl, and nothing in Xen links to libSDL, so this PACKAGECONFIG is obsolete.

It looks like the last user of SDL in Xen was removed in "Remove internal tools/ioemu tree"[1] back in 2008.

[1] xen 19dc3860dcfde9bc4ec4ef35bb1337e13276f630

I was surprised by this but think it is correct.
There are also no SDL header file inclusions in the Xen tools source, and the xen and xen-tools recipes build successfully with this patch applied.

Quoted 1 line

Christopher

Quoted 33 lines
---
 recipes-extended/xen/xen.inc | 2 --
 1 file changed, 2 deletions(-)
recipes-extended/xen/xen.inc +0 -3
index 2bbf1e3..5937763 100644
@@ -7,12 +7,10 @@ inherit autotools-brokensep pkgconfig
 require xen-arch.inc
 
 PACKAGECONFIG ??= " \
-    sdl \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
     "
 
 PACKAGECONFIG[lzo] = ",,lzo"
-PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
 PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
 PACKAGECONFIG[externalblktap] = ",,,"
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7453): https://lists.yoctoproject.org/g/meta-virtualization/message/7453
Mute This Topic: https://lists.yoctoproject.org/mt/92354872/3619036
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 12 lines · Christopher Clark
Quoted 9 lines · Ross Burton

Nothing in Xen respects --enable-sdl, and nothing in Xen links to libSDL, so this PACKAGECONFIG is obsolete.

It looks like the last user of SDL in Xen was removed in "Remove internal tools/ioemu tree"[1] back in 2008.

[1] xen 19dc3860dcfde9bc4ec4ef35bb1337e13276f630

Quoted 9 lines

I was surprised by this but think it is correct.
There are also no SDL header file inclusions in the Xen tools source, and the xen and xen-tools recipes build successfully with this patch applied.

Quoted 1 line

Since this is showing up on the yocto autobuilder as well, I've bumped it up the queue and done the merge.

Bruce

Quoted 36 lines

Christopher

Quoted 33 lines
---
 recipes-extended/xen/xen.inc | 2 --
 1 file changed, 2 deletions(-)
recipes-extended/xen/xen.inc +0 -3
index 2bbf1e3..5937763 100644
@@ -7,12 +7,10 @@ inherit autotools-brokensep pkgconfig
 require xen-arch.inc
 
 PACKAGECONFIG ??= " \
-    sdl \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
     "
 
 PACKAGECONFIG[lzo] = ",,lzo"
-PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
 PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
 PACKAGECONFIG[externalblktap] = ",,,"
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7453): https://lists.yoctoproject.org/g/meta-virtualization/message/7453
Mute This Topic: https://lists.yoctoproject.org/mt/92354872/3619036
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II