All of lore.kernel.org
 help / color / mirror / Atom feed
* [STABLE][PATCH] xserver-common: add 1.24 from .dev
@ 2009-05-31 12:47 Koen Kooi
  2009-05-31 13:36 ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2009-05-31 12:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

From: Koen Kooi <koen@openembedded.org>


Signed-off-by: Koen Kooi <koen@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"
+}
-- 
1.6.1




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-01 12:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-31 12:47 [STABLE][PATCH] xserver-common: add 1.24 from .dev Koen Kooi
2009-05-31 13:36 ` Koen Kooi
2009-05-31 18:00   ` Otavio Salvador
2009-05-31 18:15     ` Koen Kooi
2009-05-31 18:34       ` Otavio Salvador
2009-05-31 19:01         ` Koen Kooi
2009-06-01 12:47           ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.