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

Jussi Kukkonen jussi.kukkonen at intel.com
Fri May 6 07:10:13 UTC 2016


On 5 May 2016 at 09:16, Jun Zhu <junzhu at nxp.com> wrote:
> 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.

For what it's worth, I agree with this. If Koen or someone else could
explain why the Xsession script is not good enough for them, that
would help.

 - Jussi

> ---
>  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
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list