Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Koen Kooi <koen@dominion.thruhere.net>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2/2] xinput-calibrator: fix XDG launch
Date: Tue, 29 Apr 2014 16:04:50 -0700	[thread overview]
Message-ID: <53603012.9060408@linux.intel.com> (raw)
In-Reply-To: <1398749875-32207-2-git-send-email-koen@dominion.thruhere.net>

On 04/28/2014 10:37 PM, Koen Kooi wrote:
> 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>
> ---
>   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..f942c55 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,' scripts/xinput_calibrator.desktop > ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop

This sed line is not quite right:
> | sed: can't read scripts/xinput_calibrator.desktop: No such file or directory
> | WARNING: /srv/hdd/builds/world/tmp/work/ppc7400-poky-linux/xinput-calibrator/0.7.5+gitAUTOINC+c01c5af807-r6/temp/run.do_install.23227:1 exit 2 from
> |   sed -e 's,^Exec=.*,Exec=/usr/bin/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop > /srv/hdd/builds/world/tmp/work/ppc7400-poky-linux/xinput-calibrator/0.7.5+gitAUTOINC+c01c5af807-r6/image/etc/xdg/autostart/xinput_calibrator.desktop
> | ERROR: Function failed: do_install (log file is located at /srv/hdd/builds/world/tmp/work/ppc7400-poky-linux/xinput-calibrator/0.7.5+gitAUTOINC+c01c5af807-r6/temp/log.do_install.23227)
> ERROR: Task 2 (/srv/hdd/poky/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb, do_install) failed with exit code '1'


Sau!


>   }
>
> +FILES_${PN} += "${sysconfdir}/xdg/autostart"
>   RDEPENDS_${PN} = "xinput formfactor"
>   RRECOMMENDS_${PN} = "pointercal-xinput"
>


  reply	other threads:[~2014-04-29 23:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-29  5:37 [PATCH 1/2] xdg-utils: reinstall xdg-terminal Koen Kooi
2014-04-29  5:37 ` [PATCH 2/2] xinput-calibrator: fix XDG launch Koen Kooi
2014-04-29 23:04   ` Saul Wold [this message]
2014-04-30  9:31     ` Koen Kooi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53603012.9060408@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox