From 159fd281968815b88bf683cd7c319e34202c1815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sat, 16 Apr 2022 21:40:13 +0200 Subject: [PATCH] gjs: Add cairo to DEPENDS unconditionally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cairo module seems mandatory: | raspberrypi4-64 gnome-shell[4912]: JS ERROR: ImportError: No JS module 'cairoNative' found in search path @resource:///org/gnome/gjs/modules/script/cairo.js:5:1 @resource:///org/gnome/shell/ui/pointerA11yTimeout.js:4:15 @resource:///org/gnome/shell/ui/main.js:49:28 @resource:///org/gnome/shell/ui/init.js:6:1 | raspberrypi4-64 gnome-shell[4912]: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception | raspberrypi4-64 systemd[2783]: org.gnome.Shell@wayland.service: Failed with result 'protocol'. | raspberrypi4-64 systemd[2783]: Failed to start GNOME Shell on Wayland. Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/gjs/gjs_1.72.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.72.0.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.72.0.bb index 9e6fc45db3..95e4bd5cc6 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs_1.72.0.bb +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.72.0.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48" GNOMEBASEBUILDCLASS = "meson" -DEPENDS = "mozjs-91" +DEPENDS = "mozjs-91 cairo" inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig