Skip to contentSkip to conversation

gedit: Add gsettings-desktop-schemas to RDEPENDS

PATCH In review Alejandro Hernandez Samaniego 2 participants 3 messages Sep 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gedit: Add gsettings-desktop-schemas to RDEPENDS

gedit isn't able to start at all, showing the following error:

(org.gnome.gedit:32150): GLib-GIO-ERROR **: 04:29:21.795: Settings schema \
'org.gnome.desktop.lockdown' is not installed
Trace/breakpoint trap

gedit tries to look for the lockdown schema which is part of the gsettings-desktop-schemas package.

Add gsettings-desktop-schemas to RDEPENDS_gedit so when gedit is installed it finds the required files in the rootfs.

---
 meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +2 -0
index afd9146ac..4da44b605 100644
@@ -16,6 +16,8 @@ DEPENDS = " \
     tepl \
 "
 
+RDEPENDS_${PN} = "gsettings-desktop-schemas"
+
 inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check upstream-version-is-even mime-xdg
 
 REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 23 lines · Alejandro Hernandez Samaniego

gedit isn't able to start at all, showing the following error:

(org.gnome.gedit:32150): GLib-GIO-ERROR **: 04:29:21.795: Settings schema \
'org.gnome.desktop.lockdown' is not installed
Trace/breakpoint trap

gedit tries to look for the lockdown schema which is part of the gsettings-desktop-schemas package.

Add gsettings-desktop-schemas to RDEPENDS_gedit so when gedit is installed it finds the required files in the rootfs.

---
 meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +0 -0
index afd9146ac..4da44b605 100644

meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb DEPENDS = " \ · line 19

Quoted 4 lines
meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +1 -0
@@ -16,6 +16,8 @@ DEPENDS = " \
     tepl \
 "
 
+RDEPENDS_${PN} = "gsettings-desktop-schemas"

Should be

RDEPENDS_${PN} += "gsettings-desktop-schemas"

Andreas

Quoted 10 lines
meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +1 -1
+
 inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check upstream-version-is-even mime-xdg
 
 REQUIRED_DISTRO_FEATURES = "x11"
--

2.17.1

#2 lore raw
Quoted 31 lines · Andreas Müller
Quoted 4 lines · Alejandro Hernandez Samaniego

gedit isn't able to start at all, showing the following error:

(org.gnome.gedit:32150): GLib-GIO-ERROR **: 04:29:21.795: Settings

schema \

Quoted 7 lines

'org.gnome.desktop.lockdown' is not installed
Trace/breakpoint trap

gedit tries to look for the lockdown schema which is part of the gsettings-desktop-schemas package.

Add gsettings-desktop-schemas to RDEPENDS_gedit so when gedit is

installed it

Review

Quoted 8 lines

finds the required files in the rootfs.

---
 meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb

Quoted 7 lines

index afd9146ac..4da44b605 100644

meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +0 -0
@@ -16,6 +16,8 @@ DEPENDS = " \
     tepl \
 "
 
Quoted 7 lines

meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb DEPENDS = " \ · line 19

Quoted 1 line
meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +1 -0
+RDEPENDS_${PN} = "gsettings-desktop-schemas"

Should be

RDEPENDS_${PN} += "gsettings-desktop-schemas"

Andreas

Thanks for pointing it out, sending v2

Quoted 12 lines

+

meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb DEPENDS = " \ · line 20

Quoted 1 line
meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +0 -0
 inherit gnomebase gsettings itstool gnome-help gobject-introspection

gtk-doc vala gettext features_check upstream-version-is-even mime-xdg

Quoted 8 lines
meta-gnome/recipes-gnome/gedit/gedit_3.36.2.bb +0 -1
 REQUIRED_DISTRO_FEATURES = "x11"
--

2.17.1