diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2014-04-30 11:33:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-06 17:59:05 +0100 |
commit | 64e0c8a7585a36964988f2f00ac89eda514d5f7b (patch) | |
tree | 6a43b2b4784ebf7415ba16b8cc0e6caca77ae7d1 /meta | |
parent | 9a821d80b732a52574ac5c20b323966811828852 (diff) | |
download | openembedded-core-64e0c8a7585a36964988f2f00ac89eda514d5f7b.tar.gz openembedded-core-64e0c8a7585a36964988f2f00ac89eda514d5f7b.tar.bz2 openembedded-core-64e0c8a7585a36964988f2f00ac89eda514d5f7b.zip |
xinput-calibrator: fix XDG launch
In the move from meta-oe to OE-core XDG based launched was dropped
without noting it in the commit message, so fix that regression.
Gnome-session will now launch the calibrator again.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb index 3f97e197ad..95abfce816 100644 --- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb @@ -25,7 +25,11 @@ 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" |