diff mbox series

[5/8] xinit: use x-terminal-emulator as the fallback terminal

Message ID 20241108170156.2057761-5-ross.burton@arm.com
State New
Headers show
Series [1/8] rxvt-unicode: change virtual/x-terminal-emulator PROVIDES to RPROVIDES | expand

Commit Message

Ross Burton Nov. 8, 2024, 5:01 p.m. UTC
Instead of using rxvt as the fallback terminal use x-terminal-emulator.

Also add a recommends on something providing that name, as previously
it tried to use rxvt but that wasn't necessarily present.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/xorg-app/xinit_1.4.2.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/xorg-app/xinit_1.4.2.bb b/meta/recipes-graphics/xorg-app/xinit_1.4.2.bb
index 82c0b0d8335..8a8367c6888 100644
--- a/meta/recipes-graphics/xorg-app/xinit_1.4.2.bb
+++ b/meta/recipes-graphics/xorg-app/xinit_1.4.2.bb
@@ -18,9 +18,8 @@  SRC_URI_EXT = "xz"
 
 SRC_URI[sha256sum] = "b7d8dc8d22ef9f15985a10b606ee4f2aad6828befa437359934647e88d331f23"
 
-EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
-
-PACKAGECONFIG ??= "rxvt"
-PACKAGECONFIG[rxvt] = "--with-xterm=rxvt,,,rxvt-unicode"
+EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie \
+                --with-xterm=x-terminal-emulator"
 
 RDEPENDS:${PN} += "util-linux-mcookie"
+RRECOMMENDS:${PN} += "virtual-x-terminal-emulator"