gjs: Add cairo to DEPENDS unconditionally

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 <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller
2022-04-16 21:40:13 +02:00
committed by Khem Raj
parent 9864902a15
commit 159fd28196
+1 -1
View File
@@ -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