summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2009-08-12 12:28:51 -0700
committerKoen Kooi <koen@openembedded.org>2009-08-12 23:09:23 +0200
commit3cf083349c96eea98bf91a0cf9e362ed5b342aa3 (patch)
tree5bdb8b639d950aff2887f60a286c9cc2f18a26ae
parent99fe4c90c40584d0d394b497243d789724b1d95a (diff)
gdm: add 2.6.21
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/gnome/gdm-2.26.1/%gconf-tree.xml492
-rw-r--r--recipes/gnome/gdm-2.26.1/Default11
-rw-r--r--recipes/gnome/gdm-2.26.1/cross-xdetection.diff66
-rwxr-xr-xrecipes/gnome/gdm-2.26.1/gdm78
-rw-r--r--recipes/gnome/gdm-2.26.1/gdm-pam11
-rw-r--r--recipes/gnome/gdm-2.26.1/gdm-xklavier.patch11
-rw-r--r--recipes/gnome/gdm-2.26.1/gdm.conf80
-rw-r--r--recipes/gnome/gdm-2.26.1/other17
-rw-r--r--recipes/gnome/gdm_2.26.1.bb82
10 files changed, 852 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 8771528913..2160b5aed3 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -7542,6 +7542,10 @@ sha256=0483dac71c88ca0da5ee85729c0c1dd6793d928109ac79ad56583aa1a5ff43d2
md5=31139d7a79096463b127b4790058b056
sha256=8869f464818a1626e481bba5c562bdb972ffb74f1a9da91d01199fa860ee040f
+[http://ftp.gnome.org/pub/GNOME/sources/gdm/2.26/gdm-2.26.1.tar.bz2]
+md5=c2c15f8b741962f278fa7e790aaa9a2b
+sha256=34abc69bdfd1b6bb6d1f64dd1e34652c61310dc69305712d7aeec6203678fa4c
+
[http://downloads.sourceforge.net/geany/geany-0.14.tar.bz2]
md5=c6c22c7f9feff81a15f5c8ece03b87c1
sha256=619d59b339e1be7687058460c105b8f2d4f00e6409e4450dee385e3086fdf6d7
diff --git a/recipes/gnome/gdm-2.26.1/%gconf-tree.xml b/recipes/gnome/gdm-2.26.1/%gconf-tree.xml
new file mode 100644
index 0000000000..f8c2e9cc20
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/%gconf-tree.xml
@@ -0,0 +1,492 @@
+<?xml version="1.0"?>
+<gconf>
+ <dir name="desktop">
+ <dir name="gnome">
+ <dir name="url-handlers">
+ <dir name="ymsgr">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="xmpp">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="webcal">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="uvox">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="trash">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="sip">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="rtsp">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="rtp">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="pnm">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="note">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="net">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="msnim">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="mmsh">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="mms">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="man">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="mailto">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="lastfm">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="itpc">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="itms">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="irc">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="info">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="icyx">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="icy">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="icq">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="https">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="http">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="h323">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="ghelp">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="gg">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="ftp">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="file">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="feed">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="cdda">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="callto">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="aim">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ <dir name="about">
+ <entry name="command" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ </dir>
+ <dir name="lockdown">
+ <entry name="disable_url_handlers" mtime="1227173197" type="bool" value="true">
+ </entry>
+ <entry name="disable_save_to_disk" mtime="1227173197" type="bool" value="true">
+ </entry>
+ <entry name="disable_print_setup" mtime="1227173197" type="bool" value="true">
+ </entry>
+ <entry name="disable_printing" mtime="1227173197" type="bool" value="true">
+ </entry>
+ <entry name="disable_lock_screen" mtime="1227173197" type="bool" value="true">
+ </entry>
+ <entry name="disable_command_line" mtime="1227173197" type="bool" value="true">
+ </entry>
+ </dir>
+ <dir name="applications">
+ <dir name="terminal">
+ <entry name="exec" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ </dir>
+ </dir>
+ <dir name="accessibility">
+ <dir name="keyboard">
+ <entry name="enable" mtime="1227173197" type="bool" value="true">
+ </entry>
+ </dir>
+ </dir>
+ </dir>
+ </dir>
+ <dir name="apps">
+ <dir name="gnome_settings_daemon">
+ <dir name="keybindings">
+ <entry name="www" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="stop" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="sleep" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="search" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="screensaver" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="previous" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="power" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="play" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="pause" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="next" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="media" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="home" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="help" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="email" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="calculator" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="eject" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ </dir>
+ </dir>
+ <dir name="metacity">
+ <dir name="keybinding_commands">
+ <entry name="command_window_screenshot" mtime="1227173197" type="string">
+ <stringvalue>/bin/true</stringvalue>
+ </entry>
+ <entry name="command_screenshot" mtime="1227173197" type="string">
+ <stringvalue>gdm-screenshot</stringvalue>
+ </entry>
+ </dir>
+ <dir name="global_keybindings">
+ <entry name="switch_to_workspace_up" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="switch_to_workspace_right" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="switch_to_workspace_left" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="switch_to_workspace_down" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="switch_group" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="show_desktop" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="run_command_window_screenshot" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="run_command_screenshot" mtime="1227173197" type="string">
+ <stringvalue>Print</stringvalue>
+ </entry>
+ <entry name="panel_run_dialog" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ <entry name="panel_main_menu" mtime="1227173197" type="string">
+ <stringvalue>disabled</stringvalue>
+ </entry>
+ </dir>
+ <dir name="general">
+ <entry name="num_workspaces" mtime="1227173197" type="int" value="1">
+ </entry>
+ </dir>
+ </dir>
+ <dir name="compiz">
+ <dir name="general">
+ <dir name="allscreens">
+ <dir name="options">
+ <entry name="run_command11_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command11_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command10_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command10_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command8_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command8_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command7_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command7_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command6_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command6_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command5_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command5_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command4_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command4_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command3_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command3_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command2_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command2_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command1_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command1_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command0_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_command0_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="run_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="main_menu_key" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="main_menu_button" mtime="1227173197" type="string">
+ <stringvalue>Disabled</stringvalue>
+ </entry>
+ <entry name="command_window_screenshot" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command11" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command10" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command9" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command8" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command7" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command6" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command5" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command4" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command3" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command2" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command1" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command0" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command_terminal" mtime="1227173197" type="string">
+ <stringvalue></stringvalue>
+ </entry>
+ <entry name="command_screenshot" mtime="1227173197" type="string">
+ <stringvalue>gdm-screenshot</stringvalue>
+ </entry>
+ <entry name="active_plugins" mtime="1227173197" type="list" ltype="string">
+ <li type="string">
+ <stringvalue>cube</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>decoration</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>gconf</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>glib</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>move</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>place</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>resize</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>screenshot</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>wobbly</stringvalue>
+ </li>
+ </entry>
+ </dir>
+ </dir>
+ </dir>
+ </dir>
+ <dir name="gnome-power-manager">
+ <dir name="ui">
+ <entry name="show_context_menu" mtime="1227173197" type="bool" value="false">
+ </entry>
+ </dir>
+ </dir>
+ <dir name="gnome-screensaver">
+ <entry name="power_management_delay" mtime="1227173197" type="int" value="30">
+ </entry>
+ </dir>
+ <dir name="nautilus">
+ <dir name="preferences">
+ <entry name="show_desktop" mtime="1227173197" type="bool" value="false">
+ </entry>
+ </dir>
+ </dir>
+ </dir>
+</gconf>
diff --git a/recipes/gnome/gdm-2.26.1/Default b/recipes/gnome/gdm-2.26.1/Default
new file mode 100644
index 0000000000..2f4c0b0910
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/Default
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# Note that any setup should come before the sessreg command as
+# that must be 'exec'ed for the pid to be correct (sessreg uses the parent
+# pid)
+#
+# Note that output goes into the .xsession-errors file for easy debugging
+#
+PATH="/usr/bin:$PATH:/bin:/usr/bin"
+start-pulseaudio-x11
+
diff --git a/recipes/gnome/gdm-2.26.1/cross-xdetection.diff b/recipes/gnome/gdm-2.26.1/cross-xdetection.diff
new file mode 100644
index 0000000000..150f79763a
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/cross-xdetection.diff
@@ -0,0 +1,66 @@
+--- gdm-2.26.1/configure.ac-orig 2009-03-16 12:50:10.000000000 -0700
++++ gdm-2.26.1/configure.ac 2009-06-12 16:40:40.000000000 -0700
+@@ -1085,62 +1085,10 @@ dnl ------------------------------------
+ # and /usr/X11 since they often symlink to each other, and configure
+ # should use the more stable location (the real directory) if possible.
+ #
+-if test -x /usr/X11/bin/Xserver; then
+- X_PATH="/usr/X11/bin"
+- X_SERVER_PATH="/usr/X11/bin"
+- X_SERVER="/usr/X11/bin/Xserver"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test ! -h /usr/X11R6 -a -x /usr/X11R6/bin/X; then
+- X_PATH="/usr/X11R6/bin"
+- X_SERVER_PATH="/usr/X11R6/bin"
+- X_SERVER="/usr/X11R6/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test ! -h /usr/X11 -a -x /usr/X11/bin/X; then
+- X_PATH="/usr/X11/bin"
+- X_SERVER_PATH="/usr/X11/bin"
+- X_SERVER="/usr/X11/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/X11R6/bin/X; then
+- X_PATH="/usr/X11R6/bin"
+- X_SERVER_PATH="/usr/X11R6/bin"
+- X_SERVER="/usr/X11R6/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/bin/Xorg; then
+- X_PATH="/usr/bin"
+- X_SERVER_PATH="/usr/bin"
+- X_SERVER="/usr/bin/Xorg"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/X11/bin/X; then
+- X_PATH="/usr/X11/bin"
+- X_SERVER_PATH="/usr/X11/bin"
+- X_SERVER="/usr/X11/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/openwin/bin/Xsun; then
+- # Do not add /usr/openwin/bin here because on Solaris you need
+- # /usr/openwin/bin in your PATH even if you are using the Xorg
+- # Xserver. We add this to the path below.
+- X_PATH="/usr/openwin/bin"
+- X_SERVER_PATH="/usr/openwin/bin"
+- X_SERVER="/usr/openwin/bin/Xsun"
+- X_CONFIG_OPTIONS="-audit 0 -nobanner"
+-elif test -x /opt/X11R6/bin/X; then
+- X_PATH="/opt/X11R6/bin"
+- X_SERVER_PATH="/opt/X11R6/bin"
+- X_SERVER="/opt/X11R6/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-elif test -x /usr/bin/X; then
+ X_PATH="/usr/bin"
+ X_SERVER_PATH="/usr/bin"
+- X_SERVER="/usr/bin/X"
++ X_SERVER="/usr/bin/X"
+ X_CONFIG_OPTIONS="-audit 0"
+-else
+- # what to do, what to do, this is wrong, but this just sets the
+- # defaults, perhaps this user is cross compiling or some such
+- X_PATH="/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin"
+- X_SERVER_PATH="/usr/X11R6/bin"
+- X_SERVER="/usr/X11R6/bin/X"
+- X_CONFIG_OPTIONS="-audit 0"
+-fi
+
+ dnl ---------------------------------------------------------------------------
+ dnl - Check for Xnest / Xephyr support
diff --git a/recipes/gnome/gdm-2.26.1/gdm b/recipes/gnome/gdm-2.26.1/gdm
new file mode 100755
index 0000000000..fed9c06ad7
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/gdm
@@ -0,0 +1,78 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: gdm
+# Should-Start: console-screen acpid dbus hal network-manager
+# Required-Start: $local_fs $remote_fs
+# Required-Stop: $local_fs $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: GNOME Display Manager
+# Description: Debian init script for the GNOME Display Manager
+### END INIT INFO
+#
+# Author: Ryan Murray <rmurray@debian.org>
+#
+set -e
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/gdm
+
+test -x $DAEMON || exit 0
+
+if [ -r /etc/default/locale ]; then
+ . /etc/default/locale
+ export LANG LANGUAGE
+fi
+
+# To start gdm even if it is not the default display manager, change
+# HEED_DEFAULT_DISPLAY_MANAGER to "false."
+HEED_DEFAULT_DISPLAY_MANAGER=true
+DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+
+case "$1" in
+ start)
+ # make needed directories in volatile
+ mkdir -m 01770 /var/log/gdm
+ chown gdm:gdm /var/log/gdm
+ mkdir -m 01777 /tmp/.ICE-unix
+ chown root:root /tmp/.ICE-unix
+ CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
+ if grep -wqs text /proc/cmdline; then
+ echo "Not starting GNOME Display Manager (gdm); found 'text' in kernel commandline."
+ elif [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
+ [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
+ [ "$CONFIGURED_DAEMON" != gdm ] ; then
+ echo "Not starting GNOME Display Manager; it is not the default display manager"
+ else
+ echo "Starting GNOME Display Manager" "gdm"
+ start-stop-daemon --start -b --exec $DAEMON
+ fi
+ ;;
+ stop)
+ echo "Stopping GNOME Display Manager" "gdm"
+ set +e
+ start-stop-daemon --stop --quiet --pidfile /var/run/gdm.pid \
+ --name gdm --retry 5
+ set -e
+ ;;
+ reload)
+ echo "Scheduling reload of GNOME Display Manager configuration" "gdm"
+ set +e
+ start-stop-daemon --stop --signal USR1 --quiet --pidfile \
+ /var/run/gdm.pid --name gdm
+ set -e
+ ;;
+ status)
+ status_of_proc -p "$PIDFILE" "$DAEMON" gdm && exit 0 || exit $?
+ ;;
+ restart|force-reload)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "Usage: /etc/init.d/gdm {start|stop|restart|reload|force-reload|status}"
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/recipes/gnome/gdm-2.26.1/gdm-pam b/recipes/gnome/gdm-2.26.1/gdm-pam
new file mode 100644
index 0000000000..f9fafed9d6
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/gdm-pam
@@ -0,0 +1,11 @@
+#
+# default; standard UN*X access
+#
+auth required pam_unix.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
+
+auth optional pam_gnome_keyring.so
+session optional pam_gnome_keyring.so auto_start
+
diff --git a/recipes/gnome/gdm-2.26.1/gdm-xklavier.patch b/recipes/gnome/gdm-2.26.1/gdm-xklavier.patch
new file mode 100644
index 0000000000..a54396e99e
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/gdm-xklavier.patch
@@ -0,0 +1,11 @@
+--- gdm-2.26.1/gui/simple-greeter/gdm-layouts.c-orig 2009-03-27 07:28:45.000000000 -0700
++++ gdm-2.26.1/gui/simple-greeter/gdm-layouts.c 2009-07-28 09:43:05.000000000 -0700
+@@ -52,7 +52,7 @@ init_xkl (void)
+ engine = xkl_engine_get_instance (GDK_DISPLAY ());
+ xkl_engine_backup_names_prop (engine);
+ config_registry = xkl_config_registry_get_instance (engine);
+- xkl_config_registry_load (config_registry);
++ xkl_config_registry_load (config_registry, FALSE);
+
+ initial_config = xkl_config_rec_new ();
+ if (!xkl_config_rec_get_from_backup (initial_config, engine)) {
diff --git a/recipes/gnome/gdm-2.26.1/gdm.conf b/recipes/gnome/gdm-2.26.1/gdm.conf
new file mode 100644
index 0000000000..559823b863
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/gdm.conf
@@ -0,0 +1,80 @@
+# GDM Custom Configuration file.
+#
+# This file is the appropriate place for specifying your customizations to the
+# GDM configuration. If you run gdmsetup, it will automatically edit this
+# file for you and will cause the daemon and any running GDM GUI programs to
+# automatically update with the new configuration. Not all configuration
+# options are supported by gdmsetup, so to modify some values it may be
+# necessary to modify this file directly by hand.
+#
+# This file overrides the default configuration settings. These settings
+# are stored in the GDM System Defaults configuration file, which is found
+# at the following location.
+#
+# /usr/share/gdm/defaults.conf.
+#
+# This file contains comments about the meaning of each configuration option,
+# so is also a useful reference. Also refer to the documentation links at
+# the end of this comment for further information. In short, to hand-edit
+# this file, simply add or modify the key=value combination in the
+# appropriate section in the template below this comment section.
+#
+# For example, if you want to specify a different value for the Enable key
+# in the "[debug]" section of your GDM System Defaults configuration file,
+# then add "Enable=true" in the "[debug]" section of this file. If the
+# key already exists in this file, then simply modify it.
+#
+# Older versions of GDM used the "gdm.conf" file for configuration. If your
+# system has an old gdm.conf file on the system, it will be used instead of
+# this file - so changes made to this file will not take effect. Consider
+# migrating your configuration to this file and removing the gdm.conf file.
+#
+# If you hand edit a GDM configuration file, you can run the following
+# command and the GDM daemon will immediately reflect the change. Any
+# running GDM GUI programs will also be notified to update with the new
+# configuration.
+#
+# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
+#
+# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
+#
+# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
+# re-read the new configuration settings. You can also restart GDM by sending
+# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
+# any user session started by GDM to exit immediately while USR1 behaves like
+# gdm-safe-restart and will wait until all users log out before restarting GDM.
+#
+# For full reference documentation see the gnome help browser under
+# GNOME|System category. You can also find the docs in HTML form on
+# http://www.gnome.org/projects/gdm/
+#
+# NOTE: Lines that begin with "#" are considered comments.
+#
+# Have fun!
+
+[daemon]
+
+[security]
+
+[xdmcp]
+
+[gui]
+
+[greeter]
+
+[chooser]
+
+[debug]
+
+# Note that to disable servers defined in the GDM System Defaults
+# configuration file (such as 0=Standard, you must put a line in this file
+# that says 0=inactive, as described in the Configuration section of the GDM
+# documentation.
+#
+[servers]
+
+# Also note, that if you redefine a [server-foo] section, then GDM will
+# use the definition in this file, not the GDM System Defaults configuration
+# file. It is currently not possible to disable a [server-foo] section
+# defined in the GDM System Defaults configuration file.
+#
diff --git a/recipes/gnome/gdm-2.26.1/other b/recipes/gnome/gdm-2.26.1/other
new file mode 100644
index 0000000000..1fe5756178
--- /dev/null
+++ b/recipes/gnome/gdm-2.26.1/other
@@ -0,0 +1,17 @@
+#
+# /etc/pam.d/other - specify the PAM fallback behaviour
+#
+# Note that this file is used for any unspecified service; for example
+#if /etc/pam.d/cron specifies no session modules but cron calls
+#pam_open_session, the session module out of /etc/pam.d/other is
+#used. If you really want nothing to happen then use pam_permit.so or
+#pam_deny.so as appropriate.
+
+#
+# default; standard UN*X access
+#
+auth required pam_unix.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
+
diff --git a/recipes/gnome/gdm_2.26.1.bb b/recipes/gnome/gdm_2.26.1.bb
new file mode 100644
index 0000000000..27e9989578
--- /dev/null
+++ b/recipes/gnome/gdm_2.26.1.bb
@@ -0,0 +1,82 @@
+DESCRIPTION = "Graphical login manager"
+LICENSE = "GPL"
+
+DEPENDS = "dbus-glib glib-2.0 gtk+ pango libglade gconf policykit policykit-gnome gnome-panel libxklavier fontconfig"
+
+PR = "r1"
+
+inherit gnome update-rc.d
+
+SRC_URI += " \
+ file://cross-xdetection.diff;patch=1 \
+ file://gdm-xklavier.patch;patch=1 \
+ file://%gconf-tree.xml \
+ file://gdm \
+ file://gdm.conf \
+ file://gdm-pam \
+ file://other \
+ file://Default \
+ "
+
+EXTRA_OECONF = " --enable-authentication-scheme=shadow \
+ --enable-debug=yes \
+ --with-console-kit \
+ --disable-scrollkeeper "
+
+do_install_prepend() {
+ mkdir -p ${D}/var/lib/gdm/.gconf.mandatory
+ cp ${WORKDIR}/%gconf-tree.xml ${D}/var/lib/gdm/.gconf.mandatory/
+}
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/gdm ${D}/${sysconfdir}/init.d/
+
+ install -d ${D}/${sysconfdir}/gdm
+ install -m 0644 ${WORKDIR}/gdm.conf ${D}/${sysconfdir}/gdm/
+
+ install -d ${D}/${sysconfdir}/gdm/PreSession
+ install -m 0755 ${WORKDIR}/Default ${D}/${sysconfdir}/gdm/PreSession
+
+ install -d ${D}/${sysconfdir}/pam.d
+ install -m 0755 ${WORKDIR}/gdm-pam ${D}/${sysconfdir}/pam.d/gdm
+ install -m 0755 ${WORKDIR}/other ${D}/${sysconfdir}/pam.d/
+}
+
+FILES_${PN} += "${datadir}/icon* \
+ ${datadir}/xsession* \
+ "
+
+CONFFILES_${PN} += "${sysconfdir}/gdm/gdm.conf ${sysconfdir}/init.d/gdm"
+
+INITSCRIPT_NAME = "gdm"
+INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
+
+pkg_postinst_${PN} () {
+ # can't do this offline
+ if [ "x$D" != "x" ]; then
+ exit 1
+ fi
+ grep "^gdm:" /etc/group > /dev/null || addgroup gdm
+ grep "^gdm:" /etc/passwd > /dev/null || adduser --disabled-password --system --home /var/lib/gdm gdm --ingroup gdm -g gdm
+
+if [ -d /var/lib/gdm ]; then
+ chown -R gdm:gdm /var/lib/gdm
+ chmod 0750 /var/lib/gdm
+fi
+
+# Register up as default dm
+mkdir -p ${sysconfdir}/X11/
+echo "${bindir}/gdm" > ${sysconfdir}/X11/default-display-manager
+
+}
+
+pkg_postrm_${PN} () {
+ deluser gdm || true
+ delgroup gdm || true
+ sed -i /gdm/d ${sysconfdir}/X11/default-display-manager || true
+}
+
+
+
+