Patchwork [meta-gnome,1/2] gdm: delete broken .desktop files

login
register
mail settings
Submitter Koen Kooi
Date Oct. 11, 2013, 1:48 p.m.
Message ID <1381499289-10706-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/59657/
State Accepted, archived
Commit 449bd907484871dce3beb08358473a7997e6b1db
Headers show

Comments

Koen Kooi - Oct. 11, 2013, 1:48 p.m.
GDM tries to run these during the login window and one of these crashes, leading to an autologin failure. Remove the non-essential ones to get rid of this problem.

The proper fix is to stop metacity crashing.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
index 04ecb19..65e0826 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
@@ -63,6 +63,12 @@  do_install_append() {
 
     rm -rf "${D}${localstatedir}/run"
     rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
+
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/at-spi-registryd-wrapper.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/orca-screen-reader.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/gnome-mag.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/gok.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/metacity.desktop
 }
 
 FILES_${PN} += "${datadir}/icon* \