[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCHv2] xinput-calibrator: fix XDG launch
From:       koen () dominion ! thruhere ! net (Koen Kooi)
Date:       2014-04-30 9:33:23
Message-ID: 1398850403-25671-1-git-send-email-koen () dominion ! thruhere ! net
[Download RAW message or body]

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 at dominion.thruhere.net>
---
 meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb \
b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb index \
                3f97e19..95abfce 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"
-- 
1.9.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic