Skip to contentSkip to conversation

mutter: Move gsettings to a separate package

PATCH Superseded Joshua Watt 2 participants 4 messages Oct 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mutter: Move gsettings to a separate package

Move the mutter gsettings to their own package. Some other compositors (specifically, phoc) want to use the mutter provided gsettings to remain compatible. This allows those recipes to pick up the runtime settings without having to pull in all of mutter

---
 meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb +3 -1
index 72e776719..1a81745f4 100644
@@ -73,7 +73,9 @@ do_install:append() {
     done
 }
 
-PACKAGES =+ "${PN}-tests"
+GSETTINGS_PACKAGE = "${PN}-gsettings"
+
+PACKAGES =+ "${PN}-tests ${PN}-gsettings"
 
 FILES:${PN} += " \
     ${datadir}/gnome-control-center \
Signature · 1 line
2.33.0
#1 lore raw
Quoted 7 lines · Joshua Watt

Move the mutter gsettings to their own package. Some other compositors (specifically, phoc) want to use the mutter provided gsettings to remain compatible. This allows those recipes to pick up the runtime settings without having to pull in all of mutter

But now just adding mutter to image looses gsettings. Could you add a RDEPEND for mutter on mutter-gsettings?

Andreas

Quoted 31 lines
---
 meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb +3 -2
index 72e776719..1a81745f4 100644
@@ -73,7 +73,9 @@ do_install:append() {
     done
 }
 
-PACKAGES =+ "${PN}-tests"
+GSETTINGS_PACKAGE = "${PN}-gsettings"
+
+PACKAGES =+ "${PN}-tests ${PN}-gsettings"
 
 FILES:${PN} += " \
     ${datadir}/gnome-control-center \
--

2.33.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93437): https://lists.openembedded.org/g/openembedded-devel/message/93437
Mute This Topic: https://lists.openembedded.org/mt/86420550/3617609
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 11 lines · Andreas Müller
Quoted 7 lines · Joshua Watt

Move the mutter gsettings to their own package. Some other compositors (specifically, phoc) want to use the mutter provided gsettings to remain compatible. This allows those recipes to pick up the runtime settings without having to pull in all of mutter

But now just adding mutter to image looses gsettings. Could you add a RDEPEND for mutter on mutter-gsettings?

Yep. Good catch

Quoted 36 lines

Andreas

Review

Quoted 5 lines
---
 meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb

Quoted 18 lines

index 72e776719..1a81745f4 100644

meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb +3 -2
@@ -73,7 +73,9 @@ do_install:append() {
     done
 }
 
-PACKAGES =+ "${PN}-tests"
+GSETTINGS_PACKAGE = "${PN}-gsettings"
+
+PACKAGES =+ "${PN}-tests ${PN}-gsettings"
 
 FILES:${PN} += " \
     ${datadir}/gnome-control-center \
--

2.33.0

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#93437):

https://lists.openembedded.org/g/openembedded-devel/message/93437

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/86420550/3617609
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

PATCH v2 1/1 mutter: Move gsettings to a separate package

In reply to Joshua Watt

Move the mutter gsettings to their own package. Some other compositors (specifically, phoc) want to use the mutter provided gsettings to remain compatible. This allows those recipes to pick up the runtime settings without having to pull in all of mutter

---
 meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-gnome/recipes-gnome/mutter/mutter_3.34.6.bb +4 -2
index 72e776719..b659d9295 100644
@@ -73,7 +73,9 @@ do_install:append() {
     done
 }
 
-PACKAGES =+ "${PN}-tests"
+GSETTINGS_PACKAGE = "${PN}-gsettings"
+
+PACKAGES =+ "${PN}-tests ${PN}-gsettings"
 
 FILES:${PN} += " \
     ${datadir}/gnome-control-center \
@@ -93,5 +95,5 @@ FILES:${PN}-dev += " \
     ${libdir}/${MUTTER_API_NAME}/lib*.so \
 "
 
-RDEPENDS:${PN} += "zenity"
+RDEPENDS:${PN} += "zenity ${PN}-gsettings"
 
Signature · 1 line
2.33.0