[oe] [STABLE][PATCH] xserver-common: add 1.24 from .dev
Koen Kooi
k.kooi at student.utwente.nl
Sun May 31 13:36:08 UTC 2009
On 31-05-09 14:47, Koen Kooi wrote:
> From: Koen Kooi<koen at openembedded.org>
Grrrrr. git send-email stripped the comment again:
* This makes xdg autostart applications autostart
Note that the checksum is already in.
>
>
> Signed-off-by: Koen Kooi<koen at openembedded.org>
> ---
> recipes/xserver-common/files/89xdgautostart.sh | 9 +++++++++
> recipes/xserver-common/xserver-common_1.24.bb | 19 +++++++++++++++++++
> 2 files changed, 28 insertions(+), 0 deletions(-)
> create mode 100644 recipes/xserver-common/files/89xdgautostart.sh
> create mode 100644 recipes/xserver-common/xserver-common_1.24.bb
>
> diff --git a/recipes/xserver-common/files/89xdgautostart.sh b/recipes/xserver-common/files/89xdgautostart.sh
> new file mode 100644
> index 0000000..9886f9f
> --- /dev/null
> +++ b/recipes/xserver-common/files/89xdgautostart.sh
> @@ -0,0 +1,9 @@
> +#!/bin/sh
> +
> +XDGAUTOSTART=/etc/xdg/autostart
> +if [ -d $XDGAUTOSTART ] ; then
> + for SCRIPT in $XDGAUTOSTART/*; do
> + CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2`
> + $CMD&
> + done
> +fi
> diff --git a/recipes/xserver-common/xserver-common_1.24.bb b/recipes/xserver-common/xserver-common_1.24.bb
> new file mode 100644
> index 0000000..1059160
> --- /dev/null
> +++ b/recipes/xserver-common/xserver-common_1.24.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "Common X11 scripts and support files"
> +LICENSE = "GPL"
> +SECTION = "x11"
> +RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
> +PR = "r3"
> +
> +PACKAGE_ARCH = "all"
> +
> +# we are using a gpe-style Makefile
> +inherit gpe
> +
> +SRC_URI_append = " file://setDPI.sh \
> + file://89xdgautostart.sh \
> +"
> +
> +do_install_append() {
> + install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
> + install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xsession.d/89xdgautostart"
> +}
More information about the Openembedded-devel
mailing list