diff options
author | Zoltán Böszörményi <zboszor@gmail.com> | 2023-12-07 16:33:54 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-07 14:25:12 -0800 |
commit | d6f689da36fe88110d0fb7cad9a1bd84524d9e8c (patch) | |
tree | 02c724e603f6b5faa00f00811cb0ca404b445760 | |
parent | 97f91bdbb0cd1a52f56ad9d3a6ada15e6f47a213 (diff) | |
download | meta-openembedded-d6f689da36fe88110d0fb7cad9a1bd84524d9e8c.tar.gz |
mutter: Make gnome-desktop and libcanberra dependencies optional
mutter may be used as a standalone compositor and even an X11 WM
without the complete GNOME desktop environment. Make this optional
and add the new control knob to PACKAGECONFIG by default.
The built-in sound player functionality depends on libcanberra
which is considered outdated. Make this optional.
Add the colord build dependency explicitly because mutter does
not build when PACKAGECONFIG = "gnome-desktop" is not used.
Add the gsettings-desktop-schemas runtime dependency explicitly,
so mutter may work without PACKAGECONFIG = "gnome-desktop".
This change allows mutter in kiosk-like scenarios.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-gnome/recipes-gnome/mutter/mutter_45.1.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-gnome/recipes-gnome/mutter/mutter_45.1.bb b/meta-gnome/recipes-gnome/mutter/mutter_45.1.bb index 60347aa492..6093a0fe92 100644 --- a/meta-gnome/recipes-gnome/mutter/mutter_45.1.bb +++ b/meta-gnome/recipes-gnome/mutter/mutter_45.1.bb | |||
@@ -6,6 +6,7 @@ DEPENDS = " \ | |||
6 | xserver-xorg-cvt-native \ | 6 | xserver-xorg-cvt-native \ |
7 | wayland-native \ | 7 | wayland-native \ |
8 | virtual/libx11 \ | 8 | virtual/libx11 \ |
9 | colord \ | ||
9 | graphene \ | 10 | graphene \ |
10 | gtk4 \ | 11 | gtk4 \ |
11 | gdk-pixbuf \ | 12 | gdk-pixbuf \ |
@@ -13,8 +14,6 @@ DEPENDS = " \ | |||
13 | pango \ | 14 | pango \ |
14 | gsettings-desktop-schemas \ | 15 | gsettings-desktop-schemas \ |
15 | json-glib \ | 16 | json-glib \ |
16 | gnome-desktop \ | ||
17 | gnome-settings-daemon \ | ||
18 | libei \ | 17 | libei \ |
19 | libxtst \ | 18 | libxtst \ |
20 | libxkbfile \ | 19 | libxkbfile \ |
@@ -41,6 +40,7 @@ PACKAGECONFIG ??= " \ | |||
41 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl glx', '', d)} \ | 40 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl glx', '', d)} \ |
42 | sm \ | 41 | sm \ |
43 | startup-notification \ | 42 | startup-notification \ |
43 | gnome-desktop \ | ||
44 | " | 44 | " |
45 | 45 | ||
46 | EXTRA_OEMESON += " \ | 46 | EXTRA_OEMESON += " \ |
@@ -57,7 +57,9 @@ PACKAGECONFIG[libdisplay-info] = "-Dlibdisplay_info=true, -Dlibdisplay_info=fals | |||
57 | PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom" | 57 | PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom" |
58 | # Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+ | 58 | # Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+ |
59 | PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire" | 59 | PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire" |
60 | PACKAGECONFIG[gnome-desktop] = "-Dlibgnome_desktop=true, -Dlibgnome_desktop=false, gnome-desktop gnome-settings-daemon" | ||
60 | PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm" | 61 | PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm" |
62 | PACKAGECONFIG[sound-player] = "-Dsound_player=true, -Dsound_player=false, libcanberra" | ||
61 | PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof" | 63 | PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof" |
62 | PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification" | 64 | PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification" |
63 | 65 | ||
@@ -102,5 +104,5 @@ FILES:${PN}-dev += " \ | |||
102 | ${libdir}/${MUTTER_API_NAME}/lib*.so \ | 104 | ${libdir}/${MUTTER_API_NAME}/lib*.so \ |
103 | " | 105 | " |
104 | 106 | ||
105 | RDEPENDS:${PN} += "zenity ${PN}-gsettings" | 107 | RDEPENDS:${PN} += "zenity ${PN}-gsettings gsettings-desktop-schemas" |
106 | 108 | ||