[OE-core] [meta-oe][PATCH] Revert "xinput-calibrator: fix XDG launch"

Jun Zhu junzhu at nxp.com
Thu May 5 06:16:06 UTC 2016


This reverts commit 6464bcd67d10ab9967ac83c27c413c1014be707e.

If another GUI xdg/autostart app runs, the xinput-calibrator may be hidden.
And touching the GUI app causes the wrong input data for calibration.
So it is not save to run xinput-calibrator in xdg/autostart.
---
 meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
index a9de3d7..2812520 100644
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
@@ -27,11 +27,7 @@ do_install_append() {
 
     install -d ${D}${sysconfdir}/X11/Xsession.d/
     install -m 0755 ${WORKDIR}/30xinput_calibrate.sh ${D}${sysconfdir}/X11/Xsession.d/
-
-    install -d ${D}${sysconfdir}/xdg/autostart
-    sed -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' ${S}/scripts/xinput_calibrator.desktop > ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop
 }
 
-FILES_${PN} += "${sysconfdir}/xdg/autostart"
 RDEPENDS_${PN} = "xinput formfactor"
 RRECOMMENDS_${PN} = "pointercal-xinput"
-- 
1.9.1




More information about the Openembedded-core mailing list