summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-08 17:56:00 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-06-08 17:56:00 +0200
commitf5b2fa5ea2d80e971fa5ca25b33771a503a0a54a (patch)
treea0f7927d3adcfd4d78c877e84ae554757a177c84 /meta-gnome
parent9f2c190edefe923afe664e5fc86de5f9ed9486c6 (diff)
downloadmeta-openembedded-f5b2fa5ea2d80e971fa5ca25b33771a503a0a54a.tar.gz
gdm 2.30.0: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392d
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm-2.30.0/%gconf-tree.xml492
-rwxr-xr-xmeta-gnome/recipes-gnome/gdm/gdm-2.30.0/Default96
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm-2.30.0/cross-xdetection.diff66
-rwxr-xr-xmeta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm89
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-nodocs.patch12
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-pam11
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm.conf80
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm/%gconf-tree.xml492
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm/cross-xdetection.diff84
-rwxr-xr-xmeta-gnome/recipes-gnome/gdm/gdm/gdm73
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm/gdm-nodocs.patch12
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm/gdm.conf80
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm_2.30.0.bb85
13 files changed, 1672 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/%gconf-tree.xml b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/%gconf-tree.xml
new file mode 100644
index 000000000..f8c2e9cc2
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/%gconf-tree.xml
@@ -0,0 +1,492 @@
1<?xml version="1.0"?>
2<gconf>
3 <dir name="desktop">
4 <dir name="gnome">
5 <dir name="url-handlers">
6 <dir name="ymsgr">
7 <entry name="command" mtime="1227173197" type="string">
8 <stringvalue>/bin/true</stringvalue>
9 </entry>
10 </dir>
11 <dir name="xmpp">
12 <entry name="command" mtime="1227173197" type="string">
13 <stringvalue>/bin/true</stringvalue>
14 </entry>
15 </dir>
16 <dir name="webcal">
17 <entry name="command" mtime="1227173197" type="string">
18 <stringvalue>/bin/true</stringvalue>
19 </entry>
20 </dir>
21 <dir name="uvox">
22 <entry name="command" mtime="1227173197" type="string">
23 <stringvalue>/bin/true</stringvalue>
24 </entry>
25 </dir>
26 <dir name="trash">
27 <entry name="command" mtime="1227173197" type="string">
28 <stringvalue>/bin/true</stringvalue>
29 </entry>
30 </dir>
31 <dir name="sip">
32 <entry name="command" mtime="1227173197" type="string">
33 <stringvalue>/bin/true</stringvalue>
34 </entry>
35 </dir>
36 <dir name="rtsp">
37 <entry name="command" mtime="1227173197" type="string">
38 <stringvalue>/bin/true</stringvalue>
39 </entry>
40 </dir>
41 <dir name="rtp">
42 <entry name="command" mtime="1227173197" type="string">
43 <stringvalue>/bin/true</stringvalue>
44 </entry>
45 </dir>
46 <dir name="pnm">
47 <entry name="command" mtime="1227173197" type="string">
48 <stringvalue>/bin/true</stringvalue>
49 </entry>
50 </dir>
51 <dir name="note">
52 <entry name="command" mtime="1227173197" type="string">
53 <stringvalue>/bin/true</stringvalue>
54 </entry>
55 </dir>
56 <dir name="net">
57 <entry name="command" mtime="1227173197" type="string">
58 <stringvalue>/bin/true</stringvalue>
59 </entry>
60 </dir>
61 <dir name="msnim">
62 <entry name="command" mtime="1227173197" type="string">
63 <stringvalue>/bin/true</stringvalue>
64 </entry>
65 </dir>
66 <dir name="mmsh">
67 <entry name="command" mtime="1227173197" type="string">
68 <stringvalue>/bin/true</stringvalue>
69 </entry>
70 </dir>
71 <dir name="mms">
72 <entry name="command" mtime="1227173197" type="string">
73 <stringvalue>/bin/true</stringvalue>
74 </entry>
75 </dir>
76 <dir name="man">
77 <entry name="command" mtime="1227173197" type="string">
78 <stringvalue>/bin/true</stringvalue>
79 </entry>
80 </dir>
81 <dir name="mailto">
82 <entry name="command" mtime="1227173197" type="string">
83 <stringvalue>/bin/true</stringvalue>
84 </entry>
85 </dir>
86 <dir name="lastfm">
87 <entry name="command" mtime="1227173197" type="string">
88 <stringvalue>/bin/true</stringvalue>
89 </entry>
90 </dir>
91 <dir name="itpc">
92 <entry name="command" mtime="1227173197" type="string">
93 <stringvalue>/bin/true</stringvalue>
94 </entry>
95 </dir>
96 <dir name="itms">
97 <entry name="command" mtime="1227173197" type="string">
98 <stringvalue>/bin/true</stringvalue>
99 </entry>
100 </dir>
101 <dir name="irc">
102 <entry name="command" mtime="1227173197" type="string">
103 <stringvalue>/bin/true</stringvalue>
104 </entry>
105 </dir>
106 <dir name="info">
107 <entry name="command" mtime="1227173197" type="string">
108 <stringvalue>/bin/true</stringvalue>
109 </entry>
110 </dir>
111 <dir name="icyx">
112 <entry name="command" mtime="1227173197" type="string">
113 <stringvalue>/bin/true</stringvalue>
114 </entry>
115 </dir>
116 <dir name="icy">
117 <entry name="command" mtime="1227173197" type="string">
118 <stringvalue>/bin/true</stringvalue>
119 </entry>
120 </dir>
121 <dir name="icq">
122 <entry name="command" mtime="1227173197" type="string">
123 <stringvalue>/bin/true</stringvalue>
124 </entry>
125 </dir>
126 <dir name="https">
127 <entry name="command" mtime="1227173197" type="string">
128 <stringvalue>/bin/true</stringvalue>
129 </entry>
130 </dir>
131 <dir name="http">
132 <entry name="command" mtime="1227173197" type="string">
133 <stringvalue>/bin/true</stringvalue>
134 </entry>
135 </dir>
136 <dir name="h323">
137 <entry name="command" mtime="1227173197" type="string">
138 <stringvalue>/bin/true</stringvalue>
139 </entry>
140 </dir>
141 <dir name="ghelp">
142 <entry name="command" mtime="1227173197" type="string">
143 <stringvalue>/bin/true</stringvalue>
144 </entry>
145 </dir>
146 <dir name="gg">
147 <entry name="command" mtime="1227173197" type="string">
148 <stringvalue>/bin/true</stringvalue>
149 </entry>
150 </dir>
151 <dir name="ftp">
152 <entry name="command" mtime="1227173197" type="string">
153 <stringvalue>/bin/true</stringvalue>
154 </entry>
155 </dir>
156 <dir name="file">
157 <entry name="command" mtime="1227173197" type="string">
158 <stringvalue>/bin/true</stringvalue>
159 </entry>
160 </dir>
161 <dir name="feed">
162 <entry name="command" mtime="1227173197" type="string">
163 <stringvalue>/bin/true</stringvalue>
164 </entry>
165 </dir>
166 <dir name="cdda">
167 <entry name="command" mtime="1227173197" type="string">
168 <stringvalue>/bin/true</stringvalue>
169 </entry>
170 </dir>
171 <dir name="callto">
172 <entry name="command" mtime="1227173197" type="string">
173 <stringvalue>/bin/true</stringvalue>
174 </entry>
175 </dir>
176 <dir name="aim">
177 <entry name="command" mtime="1227173197" type="string">
178 <stringvalue>/bin/true</stringvalue>
179 </entry>
180 </dir>
181 <dir name="about">
182 <entry name="command" mtime="1227173197" type="string">
183 <stringvalue>/bin/true</stringvalue>
184 </entry>
185 </dir>
186 </dir>
187 <dir name="lockdown">
188 <entry name="disable_url_handlers" mtime="1227173197" type="bool" value="true">
189 </entry>
190 <entry name="disable_save_to_disk" mtime="1227173197" type="bool" value="true">
191 </entry>
192 <entry name="disable_print_setup" mtime="1227173197" type="bool" value="true">
193 </entry>
194 <entry name="disable_printing" mtime="1227173197" type="bool" value="true">
195 </entry>
196 <entry name="disable_lock_screen" mtime="1227173197" type="bool" value="true">
197 </entry>
198 <entry name="disable_command_line" mtime="1227173197" type="bool" value="true">
199 </entry>
200 </dir>
201 <dir name="applications">
202 <dir name="terminal">
203 <entry name="exec" mtime="1227173197" type="string">
204 <stringvalue>/bin/true</stringvalue>
205 </entry>
206 </dir>
207 </dir>
208 <dir name="accessibility">
209 <dir name="keyboard">
210 <entry name="enable" mtime="1227173197" type="bool" value="true">
211 </entry>
212 </dir>
213 </dir>
214 </dir>
215 </dir>
216 <dir name="apps">
217 <dir name="gnome_settings_daemon">
218 <dir name="keybindings">
219 <entry name="www" mtime="1227173197" type="string">
220 <stringvalue></stringvalue>
221 </entry>
222 <entry name="stop" mtime="1227173197" type="string">
223 <stringvalue></stringvalue>
224 </entry>
225 <entry name="sleep" mtime="1227173197" type="string">
226 <stringvalue></stringvalue>
227 </entry>
228 <entry name="search" mtime="1227173197" type="string">
229 <stringvalue></stringvalue>
230 </entry>
231 <entry name="screensaver" mtime="1227173197" type="string">
232 <stringvalue></stringvalue>
233 </entry>
234 <entry name="previous" mtime="1227173197" type="string">
235 <stringvalue></stringvalue>
236 </entry>
237 <entry name="power" mtime="1227173197" type="string">
238 <stringvalue></stringvalue>
239 </entry>
240 <entry name="play" mtime="1227173197" type="string">
241 <stringvalue></stringvalue>
242 </entry>
243 <entry name="pause" mtime="1227173197" type="string">
244 <stringvalue></stringvalue>
245 </entry>
246 <entry name="next" mtime="1227173197" type="string">
247 <stringvalue></stringvalue>
248 </entry>
249 <entry name="media" mtime="1227173197" type="string">
250 <stringvalue></stringvalue>
251 </entry>
252 <entry name="home" mtime="1227173197" type="string">
253 <stringvalue></stringvalue>
254 </entry>
255 <entry name="help" mtime="1227173197" type="string">
256 <stringvalue></stringvalue>
257 </entry>
258 <entry name="email" mtime="1227173197" type="string">
259 <stringvalue></stringvalue>
260 </entry>
261 <entry name="calculator" mtime="1227173197" type="string">
262 <stringvalue></stringvalue>
263 </entry>
264 <entry name="eject" mtime="1227173197" type="string">
265 <stringvalue></stringvalue>
266 </entry>
267 </dir>
268 </dir>
269 <dir name="metacity">
270 <dir name="keybinding_commands">
271 <entry name="command_window_screenshot" mtime="1227173197" type="string">
272 <stringvalue>/bin/true</stringvalue>
273 </entry>
274 <entry name="command_screenshot" mtime="1227173197" type="string">
275 <stringvalue>gdm-screenshot</stringvalue>
276 </entry>
277 </dir>
278 <dir name="global_keybindings">
279 <entry name="switch_to_workspace_up" mtime="1227173197" type="string">
280 <stringvalue>disabled</stringvalue>
281 </entry>
282 <entry name="switch_to_workspace_right" mtime="1227173197" type="string">
283 <stringvalue>disabled</stringvalue>
284 </entry>
285 <entry name="switch_to_workspace_left" mtime="1227173197" type="string">
286 <stringvalue>disabled</stringvalue>
287 </entry>
288 <entry name="switch_to_workspace_down" mtime="1227173197" type="string">
289 <stringvalue>disabled</stringvalue>
290 </entry>
291 <entry name="switch_group" mtime="1227173197" type="string">
292 <stringvalue>disabled</stringvalue>
293 </entry>
294 <entry name="show_desktop" mtime="1227173197" type="string">
295 <stringvalue>disabled</stringvalue>
296 </entry>
297 <entry name="run_command_window_screenshot" mtime="1227173197" type="string">
298 <stringvalue>disabled</stringvalue>
299 </entry>
300 <entry name="run_command_screenshot" mtime="1227173197" type="string">
301 <stringvalue>Print</stringvalue>
302 </entry>
303 <entry name="panel_run_dialog" mtime="1227173197" type="string">
304 <stringvalue>disabled</stringvalue>
305 </entry>
306 <entry name="panel_main_menu" mtime="1227173197" type="string">
307 <stringvalue>disabled</stringvalue>
308 </entry>
309 </dir>
310 <dir name="general">
311 <entry name="num_workspaces" mtime="1227173197" type="int" value="1">
312 </entry>
313 </dir>
314 </dir>
315 <dir name="compiz">
316 <dir name="general">
317 <dir name="allscreens">
318 <dir name="options">
319 <entry name="run_command11_key" mtime="1227173197" type="string">
320 <stringvalue>Disabled</stringvalue>
321 </entry>
322 <entry name="run_command11_button" mtime="1227173197" type="string">
323 <stringvalue>Disabled</stringvalue>
324 </entry>
325 <entry name="run_command10_key" mtime="1227173197" type="string">
326 <stringvalue>Disabled</stringvalue>
327 </entry>
328 <entry name="run_command10_button" mtime="1227173197" type="string">
329 <stringvalue>Disabled</stringvalue>
330 </entry>
331 <entry name="run_command8_key" mtime="1227173197" type="string">
332 <stringvalue>Disabled</stringvalue>
333 </entry>
334 <entry name="run_command8_button" mtime="1227173197" type="string">
335 <stringvalue>Disabled</stringvalue>
336 </entry>
337 <entry name="run_command7_key" mtime="1227173197" type="string">
338 <stringvalue>Disabled</stringvalue>
339 </entry>
340 <entry name="run_command7_button" mtime="1227173197" type="string">
341 <stringvalue>Disabled</stringvalue>
342 </entry>
343 <entry name="run_command6_key" mtime="1227173197" type="string">
344 <stringvalue>Disabled</stringvalue>
345 </entry>
346 <entry name="run_command6_button" mtime="1227173197" type="string">
347 <stringvalue>Disabled</stringvalue>
348 </entry>
349 <entry name="run_command5_key" mtime="1227173197" type="string">
350 <stringvalue>Disabled</stringvalue>
351 </entry>
352 <entry name="run_command5_button" mtime="1227173197" type="string">
353 <stringvalue>Disabled</stringvalue>
354 </entry>
355 <entry name="run_command4_key" mtime="1227173197" type="string">
356 <stringvalue>Disabled</stringvalue>
357 </entry>
358 <entry name="run_command4_button" mtime="1227173197" type="string">
359 <stringvalue>Disabled</stringvalue>
360 </entry>
361 <entry name="run_command3_key" mtime="1227173197" type="string">
362 <stringvalue>Disabled</stringvalue>
363 </entry>
364 <entry name="run_command3_button" mtime="1227173197" type="string">
365 <stringvalue>Disabled</stringvalue>
366 </entry>
367 <entry name="run_command2_key" mtime="1227173197" type="string">
368 <stringvalue>Disabled</stringvalue>
369 </entry>
370 <entry name="run_command2_button" mtime="1227173197" type="string">
371 <stringvalue>Disabled</stringvalue>
372 </entry>
373 <entry name="run_command1_key" mtime="1227173197" type="string">
374 <stringvalue>Disabled</stringvalue>
375 </entry>
376 <entry name="run_command1_button" mtime="1227173197" type="string">
377 <stringvalue>Disabled</stringvalue>
378 </entry>
379 <entry name="run_command0_key" mtime="1227173197" type="string">
380 <stringvalue>Disabled</stringvalue>
381 </entry>
382 <entry name="run_command0_button" mtime="1227173197" type="string">
383 <stringvalue>Disabled</stringvalue>
384 </entry>
385 <entry name="run_key" mtime="1227173197" type="string">
386 <stringvalue>Disabled</stringvalue>
387 </entry>
388 <entry name="run_button" mtime="1227173197" type="string">
389 <stringvalue>Disabled</stringvalue>
390 </entry>
391 <entry name="main_menu_key" mtime="1227173197" type="string">
392 <stringvalue>Disabled</stringvalue>
393 </entry>
394 <entry name="main_menu_button" mtime="1227173197" type="string">
395 <stringvalue>Disabled</stringvalue>
396 </entry>
397 <entry name="command_window_screenshot" mtime="1227173197" type="string">
398 <stringvalue></stringvalue>
399 </entry>
400 <entry name="command11" mtime="1227173197" type="string">
401 <stringvalue></stringvalue>
402 </entry>
403 <entry name="command10" mtime="1227173197" type="string">
404 <stringvalue></stringvalue>
405 </entry>
406 <entry name="command9" mtime="1227173197" type="string">
407 <stringvalue></stringvalue>
408 </entry>
409 <entry name="command8" mtime="1227173197" type="string">
410 <stringvalue></stringvalue>
411 </entry>
412 <entry name="command7" mtime="1227173197" type="string">
413 <stringvalue></stringvalue>
414 </entry>
415 <entry name="command6" mtime="1227173197" type="string">
416 <stringvalue></stringvalue>
417 </entry>
418 <entry name="command5" mtime="1227173197" type="string">
419 <stringvalue></stringvalue>
420 </entry>
421 <entry name="command4" mtime="1227173197" type="string">
422 <stringvalue></stringvalue>
423 </entry>
424 <entry name="command3" mtime="1227173197" type="string">
425 <stringvalue></stringvalue>
426 </entry>
427 <entry name="command2" mtime="1227173197" type="string">
428 <stringvalue></stringvalue>
429 </entry>
430 <entry name="command1" mtime="1227173197" type="string">
431 <stringvalue></stringvalue>
432 </entry>
433 <entry name="command0" mtime="1227173197" type="string">
434 <stringvalue></stringvalue>
435 </entry>
436 <entry name="command_terminal" mtime="1227173197" type="string">
437 <stringvalue></stringvalue>
438 </entry>
439 <entry name="command_screenshot" mtime="1227173197" type="string">
440 <stringvalue>gdm-screenshot</stringvalue>
441 </entry>
442 <entry name="active_plugins" mtime="1227173197" type="list" ltype="string">
443 <li type="string">
444 <stringvalue>cube</stringvalue>
445 </li>
446 <li type="string">
447 <stringvalue>decoration</stringvalue>
448 </li>
449 <li type="string">
450 <stringvalue>gconf</stringvalue>
451 </li>
452 <li type="string">
453 <stringvalue>glib</stringvalue>
454 </li>
455 <li type="string">
456 <stringvalue>move</stringvalue>
457 </li>
458 <li type="string">
459 <stringvalue>place</stringvalue>
460 </li>
461 <li type="string">
462 <stringvalue>resize</stringvalue>
463 </li>
464 <li type="string">
465 <stringvalue>screenshot</stringvalue>
466 </li>
467 <li type="string">
468 <stringvalue>wobbly</stringvalue>
469 </li>
470 </entry>
471 </dir>
472 </dir>
473 </dir>
474 </dir>
475 <dir name="gnome-power-manager">
476 <dir name="ui">
477 <entry name="show_context_menu" mtime="1227173197" type="bool" value="false">
478 </entry>
479 </dir>
480 </dir>
481 <dir name="gnome-screensaver">
482 <entry name="power_management_delay" mtime="1227173197" type="int" value="30">
483 </entry>
484 </dir>
485 <dir name="nautilus">
486 <dir name="preferences">
487 <entry name="show_desktop" mtime="1227173197" type="bool" value="false">
488 </entry>
489 </dir>
490 </dir>
491 </dir>
492</gconf>
diff --git a/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/Default b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/Default
new file mode 100755
index 000000000..a7a7fcf7f
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/Default
@@ -0,0 +1,96 @@
1#!/bin/sh
2# Stolen from the debian kdm setup, aren't I sneaky
3# Plus a lot of fun stuff added
4# -George
5
6PATH="/usr/bin:$PATH"
7OLD_IFS=$IFS
8
9gdmwhich () {
10 COMMAND="$1"
11 OUTPUT=
12 IFS=:
13 for dir in $PATH
14 do
15 if test -x "$dir/$COMMAND" ; then
16 if test "x$OUTPUT" = "x" ; then
17 OUTPUT="$dir/$COMMAND"
18 fi
19 fi
20 done
21 IFS=$OLD_IFS
22 echo "$OUTPUT"
23}
24
25sysresources=/etc/X11/Xresources
26
27# merge in defaults
28if [ -f "$sysresources" ]; then
29 xrdb -merge "$sysresources"
30fi
31
32sysmodmap=/etc/X11/Xmodmap
33
34XMODMAP=`gdmwhich xmodmap`
35if [ "x$XMODMAP" != "x" ] ; then
36 if [ "x$GDM_PARENT_DISPLAY" = "x" ]; then
37 if [ -f $sysmodmap ]; then
38 $XMODMAP $sysmodmap
39 fi
40 else
41 ( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $XMODMAP -pke ) | $XMODMAP -
42 fi
43
44 #
45 # Switch Sun's Alt and Meta mod mappings
46 #
47
48 UNAME=`gdmwhich uname`
49 PROCESSOR=`$UNAME -p`
50 if [ "x$PROCESSOR" = "xsparc" ]; then
51 if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null
52 then
53 $XMODMAP -e "clear Mod1" \
54 -e "clear Mod4" \
55 -e "add Mod1 = Alt_L" \
56 -e "add Mod1 = Alt_R" \
57 -e "add Mod4 = Meta_L" \
58 -e "add Mod4 = Meta_R"
59 fi
60 fi
61fi
62
63SETXKBMAP=`gdmwhich setxkbmap`
64if [ "x$SETXKBMAP" != "x" ] ; then
65 # FIXME: is this all right? Is this completely on crack?
66 # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY
67 # FIXME: This should be done in code. Or there must be an easier way ...
68 if [ -n "$GDM_PARENT_DISPLAY" ]; then
69 XKBSETUP=`( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $SETXKBMAP -v )`
70 if [ -n "$XKBSETUP" ]; then
71 XKBKEYMAP=`echo "$XKBSETUP" | grep '^keymap' | awk '{ print $2 }'`
72 XKBTYPES=`echo "$XKBSETUP" | grep '^types' | awk '{ print $2 }'`
73 XKBCOMPAT=`echo "$XKBSETUP" | grep '^compat' | awk '{ print $2 }'`
74 XKBSYMBOLS=`echo "$XKBSETUP" | grep '^symbols' | awk '{ print $2 }'`
75 XKBGEOMETRY=`echo "$XKBSETUP" | grep '^geometry' | awk '{ print $2 }'`
76 if [ -n "$XKBKEYMAP" ]; then
77 $SETXKBMAP -keymap "$XKBKEYMAP"
78 elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" -a -n "$XKBGEOMETRY" ]; then
79 $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS" -geometry "$XKBGEOMETRY"
80 elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" ]; then
81 $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS"
82 elif [ -n "$XKBSYMBOLS" ]; then
83 $SETXKBMAP -symbols "$XKBSYMBOLS"
84 fi
85 fi
86 fi
87fi
88
89# FIXME: the housekeeping below really should be moved to the postinst of packages that require it
90# brute force approach for now
91update-desktop-database
92glib-compile-schemas /usr/share/glib-2.0/schemas/
93
94#x11vnc -q -bg -display :0 -forever -avahi -xkb
95
96exit 0
diff --git a/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/cross-xdetection.diff b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/cross-xdetection.diff
new file mode 100644
index 000000000..150f79763
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/cross-xdetection.diff
@@ -0,0 +1,66 @@
1--- gdm-2.26.1/configure.ac-orig 2009-03-16 12:50:10.000000000 -0700
2+++ gdm-2.26.1/configure.ac 2009-06-12 16:40:40.000000000 -0700
3@@ -1085,62 +1085,10 @@ dnl ------------------------------------
4 # and /usr/X11 since they often symlink to each other, and configure
5 # should use the more stable location (the real directory) if possible.
6 #
7-if test -x /usr/X11/bin/Xserver; then
8- X_PATH="/usr/X11/bin"
9- X_SERVER_PATH="/usr/X11/bin"
10- X_SERVER="/usr/X11/bin/Xserver"
11- X_CONFIG_OPTIONS="-audit 0"
12-elif test ! -h /usr/X11R6 -a -x /usr/X11R6/bin/X; then
13- X_PATH="/usr/X11R6/bin"
14- X_SERVER_PATH="/usr/X11R6/bin"
15- X_SERVER="/usr/X11R6/bin/X"
16- X_CONFIG_OPTIONS="-audit 0"
17-elif test ! -h /usr/X11 -a -x /usr/X11/bin/X; then
18- X_PATH="/usr/X11/bin"
19- X_SERVER_PATH="/usr/X11/bin"
20- X_SERVER="/usr/X11/bin/X"
21- X_CONFIG_OPTIONS="-audit 0"
22-elif test -x /usr/X11R6/bin/X; then
23- X_PATH="/usr/X11R6/bin"
24- X_SERVER_PATH="/usr/X11R6/bin"
25- X_SERVER="/usr/X11R6/bin/X"
26- X_CONFIG_OPTIONS="-audit 0"
27-elif test -x /usr/bin/Xorg; then
28- X_PATH="/usr/bin"
29- X_SERVER_PATH="/usr/bin"
30- X_SERVER="/usr/bin/Xorg"
31- X_CONFIG_OPTIONS="-audit 0"
32-elif test -x /usr/X11/bin/X; then
33- X_PATH="/usr/X11/bin"
34- X_SERVER_PATH="/usr/X11/bin"
35- X_SERVER="/usr/X11/bin/X"
36- X_CONFIG_OPTIONS="-audit 0"
37-elif test -x /usr/openwin/bin/Xsun; then
38- # Do not add /usr/openwin/bin here because on Solaris you need
39- # /usr/openwin/bin in your PATH even if you are using the Xorg
40- # Xserver. We add this to the path below.
41- X_PATH="/usr/openwin/bin"
42- X_SERVER_PATH="/usr/openwin/bin"
43- X_SERVER="/usr/openwin/bin/Xsun"
44- X_CONFIG_OPTIONS="-audit 0 -nobanner"
45-elif test -x /opt/X11R6/bin/X; then
46- X_PATH="/opt/X11R6/bin"
47- X_SERVER_PATH="/opt/X11R6/bin"
48- X_SERVER="/opt/X11R6/bin/X"
49- X_CONFIG_OPTIONS="-audit 0"
50-elif test -x /usr/bin/X; then
51 X_PATH="/usr/bin"
52 X_SERVER_PATH="/usr/bin"
53- X_SERVER="/usr/bin/X"
54+ X_SERVER="/usr/bin/X"
55 X_CONFIG_OPTIONS="-audit 0"
56-else
57- # what to do, what to do, this is wrong, but this just sets the
58- # defaults, perhaps this user is cross compiling or some such
59- X_PATH="/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin"
60- X_SERVER_PATH="/usr/X11R6/bin"
61- X_SERVER="/usr/X11R6/bin/X"
62- X_CONFIG_OPTIONS="-audit 0"
63-fi
64
65 dnl ---------------------------------------------------------------------------
66 dnl - Check for Xnest / Xephyr support
diff --git a/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm
new file mode 100755
index 000000000..43eae9517
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm
@@ -0,0 +1,89 @@
1#! /bin/sh
2### BEGIN INIT INFO
3# Provides: gdm
4# Should-Start: console-screen acpid dbus hal network-manager
5# Required-Start: $local_fs $remote_fs
6# Required-Stop: $local_fs $remote_fs
7# Default-Start: 2 3 4 5
8# Default-Stop: 0 1 6
9# Short-Description: GNOME Display Manager
10# Description: Debian init script for the GNOME Display Manager
11### END INIT INFO
12#
13# Author: Ryan Murray <rmurray@debian.org>
14#
15set -e
16
17PATH=/sbin:/bin:/usr/sbin:/usr/bin
18DAEMON=/usr/sbin/gdm
19
20test -x $DAEMON || exit 0
21
22if [ -r /etc/default/locale ]; then
23 . /etc/default/locale
24 export LANG LANGUAGE
25fi
26
27# To start gdm even if it is not the default display manager, change
28# HEED_DEFAULT_DISPLAY_MANAGER to "false."
29HEED_DEFAULT_DISPLAY_MANAGER=true
30DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
31
32case "$1" in
33 start)
34 # make needed directories in volatile
35
36 if [ -e /var/log/gdm ] ; then
37 rm -rf /var/log/gdm
38 fi
39
40 mkdir -m 01770 /var/log/gdm
41 chown gdm:gdm /var/log/gdm
42
43 if [ -e /tmp/.ICE-unix ] ; then
44 rm -rf /tmp/.ICE-unix
45 fi
46
47 mkdir -m 01777 /tmp/.ICE-unix
48 chown root:root /tmp/.ICE-unix
49
50 CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
51 if grep -wqs text /proc/cmdline; then
52 echo "Not starting GNOME Display Manager (gdm); found 'text' in kernel commandline."
53 elif [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
54 [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
55 [ "$CONFIGURED_DAEMON" != gdm ] ; then
56 echo "Not starting GNOME Display Manager; it is not the default display manager"
57 else
58 echo "Starting GNOME Display Manager" "gdm"
59 start-stop-daemon --start -b --exec $DAEMON
60 fi
61 ;;
62 stop)
63 echo "Stopping GNOME Display Manager" "gdm"
64 set +e
65 start-stop-daemon --stop --quiet --pidfile /var/run/gdm.pid \
66 --name gdm --retry 5
67 set -e
68 ;;
69 reload)
70 echo "Scheduling reload of GNOME Display Manager configuration" "gdm"
71 set +e
72 start-stop-daemon --stop --signal USR1 --quiet --pidfile \
73 /var/run/gdm.pid --name gdm
74 set -e
75 ;;
76 status)
77 status_of_proc -p "$PIDFILE" "$DAEMON" gdm && exit 0 || exit $?
78 ;;
79 restart|force-reload)
80 $0 stop
81 $0 start
82 ;;
83 *)
84 echo "Usage: /etc/init.d/gdm {start|stop|restart|reload|force-reload|status}"
85 exit 1
86 ;;
87esac
88
89exit 0
diff --git a/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-nodocs.patch b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-nodocs.patch
new file mode 100644
index 000000000..395fa627e
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-nodocs.patch
@@ -0,0 +1,12 @@
1--- /tmp/Makefile.am 2006-07-26 11:37:52.000000000 +0200
2+++ gdm-2.14.9/Makefile.am 2006-07-26 11:38:01.734411000 +0200
3@@ -5,8 +5,7 @@
4 vicious-extensions \
5 daemon \
6 gui \
7- utils \
8- docs
9+ utils
10
11 # add these when help gets added back
12 # docs omf-install
diff --git a/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-pam b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-pam
new file mode 100644
index 000000000..f9fafed9d
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm-pam
@@ -0,0 +1,11 @@
1#
2# default; standard UN*X access
3#
4auth required pam_unix.so
5account required pam_unix.so
6password required pam_unix.so
7session required pam_unix.so
8
9auth optional pam_gnome_keyring.so
10session optional pam_gnome_keyring.so auto_start
11
diff --git a/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm.conf b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm.conf
new file mode 100644
index 000000000..559823b86
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm-2.30.0/gdm.conf
@@ -0,0 +1,80 @@
1# GDM Custom Configuration file.
2#
3# This file is the appropriate place for specifying your customizations to the
4# GDM configuration. If you run gdmsetup, it will automatically edit this
5# file for you and will cause the daemon and any running GDM GUI programs to
6# automatically update with the new configuration. Not all configuration
7# options are supported by gdmsetup, so to modify some values it may be
8# necessary to modify this file directly by hand.
9#
10# This file overrides the default configuration settings. These settings
11# are stored in the GDM System Defaults configuration file, which is found
12# at the following location.
13#
14# /usr/share/gdm/defaults.conf.
15#
16# This file contains comments about the meaning of each configuration option,
17# so is also a useful reference. Also refer to the documentation links at
18# the end of this comment for further information. In short, to hand-edit
19# this file, simply add or modify the key=value combination in the
20# appropriate section in the template below this comment section.
21#
22# For example, if you want to specify a different value for the Enable key
23# in the "[debug]" section of your GDM System Defaults configuration file,
24# then add "Enable=true" in the "[debug]" section of this file. If the
25# key already exists in this file, then simply modify it.
26#
27# Older versions of GDM used the "gdm.conf" file for configuration. If your
28# system has an old gdm.conf file on the system, it will be used instead of
29# this file - so changes made to this file will not take effect. Consider
30# migrating your configuration to this file and removing the gdm.conf file.
31#
32# If you hand edit a GDM configuration file, you can run the following
33# command and the GDM daemon will immediately reflect the change. Any
34# running GDM GUI programs will also be notified to update with the new
35# configuration.
36#
37# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
38#
39# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
40#
41# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
42# re-read the new configuration settings. You can also restart GDM by sending
43# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
44# any user session started by GDM to exit immediately while USR1 behaves like
45# gdm-safe-restart and will wait until all users log out before restarting GDM.
46#
47# For full reference documentation see the gnome help browser under
48# GNOME|System category. You can also find the docs in HTML form on
49# http://www.gnome.org/projects/gdm/
50#
51# NOTE: Lines that begin with "#" are considered comments.
52#
53# Have fun!
54
55[daemon]
56
57[security]
58
59[xdmcp]
60
61[gui]
62
63[greeter]
64
65[chooser]
66
67[debug]
68
69# Note that to disable servers defined in the GDM System Defaults
70# configuration file (such as 0=Standard, you must put a line in this file
71# that says 0=inactive, as described in the Configuration section of the GDM
72# documentation.
73#
74[servers]
75
76# Also note, that if you redefine a [server-foo] section, then GDM will
77# use the definition in this file, not the GDM System Defaults configuration
78# file. It is currently not possible to disable a [server-foo] section
79# defined in the GDM System Defaults configuration file.
80#
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/%gconf-tree.xml b/meta-gnome/recipes-gnome/gdm/gdm/%gconf-tree.xml
new file mode 100644
index 000000000..f8c2e9cc2
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm/%gconf-tree.xml
@@ -0,0 +1,492 @@
1<?xml version="1.0"?>
2<gconf>
3 <dir name="desktop">
4 <dir name="gnome">
5 <dir name="url-handlers">
6 <dir name="ymsgr">
7 <entry name="command" mtime="1227173197" type="string">
8 <stringvalue>/bin/true</stringvalue>
9 </entry>
10 </dir>
11 <dir name="xmpp">
12 <entry name="command" mtime="1227173197" type="string">
13 <stringvalue>/bin/true</stringvalue>
14 </entry>
15 </dir>
16 <dir name="webcal">
17 <entry name="command" mtime="1227173197" type="string">
18 <stringvalue>/bin/true</stringvalue>
19 </entry>
20 </dir>
21 <dir name="uvox">
22 <entry name="command" mtime="1227173197" type="string">
23 <stringvalue>/bin/true</stringvalue>
24 </entry>
25 </dir>
26 <dir name="trash">
27 <entry name="command" mtime="1227173197" type="string">
28 <stringvalue>/bin/true</stringvalue>
29 </entry>
30 </dir>
31 <dir name="sip">
32 <entry name="command" mtime="1227173197" type="string">
33 <stringvalue>/bin/true</stringvalue>
34 </entry>
35 </dir>
36 <dir name="rtsp">
37 <entry name="command" mtime="1227173197" type="string">
38 <stringvalue>/bin/true</stringvalue>
39 </entry>
40 </dir>
41 <dir name="rtp">
42 <entry name="command" mtime="1227173197" type="string">
43 <stringvalue>/bin/true</stringvalue>
44 </entry>
45 </dir>
46 <dir name="pnm">
47 <entry name="command" mtime="1227173197" type="string">
48 <stringvalue>/bin/true</stringvalue>
49 </entry>
50 </dir>
51 <dir name="note">
52 <entry name="command" mtime="1227173197" type="string">
53 <stringvalue>/bin/true</stringvalue>
54 </entry>
55 </dir>
56 <dir name="net">
57 <entry name="command" mtime="1227173197" type="string">
58 <stringvalue>/bin/true</stringvalue>
59 </entry>
60 </dir>
61 <dir name="msnim">
62 <entry name="command" mtime="1227173197" type="string">
63 <stringvalue>/bin/true</stringvalue>
64 </entry>
65 </dir>
66 <dir name="mmsh">
67 <entry name="command" mtime="1227173197" type="string">
68 <stringvalue>/bin/true</stringvalue>
69 </entry>
70 </dir>
71 <dir name="mms">
72 <entry name="command" mtime="1227173197" type="string">
73 <stringvalue>/bin/true</stringvalue>
74 </entry>
75 </dir>
76 <dir name="man">
77 <entry name="command" mtime="1227173197" type="string">
78 <stringvalue>/bin/true</stringvalue>
79 </entry>
80 </dir>
81 <dir name="mailto">
82 <entry name="command" mtime="1227173197" type="string">
83 <stringvalue>/bin/true</stringvalue>
84 </entry>
85 </dir>
86 <dir name="lastfm">
87 <entry name="command" mtime="1227173197" type="string">
88 <stringvalue>/bin/true</stringvalue>
89 </entry>
90 </dir>
91 <dir name="itpc">
92 <entry name="command" mtime="1227173197" type="string">
93 <stringvalue>/bin/true</stringvalue>
94 </entry>
95 </dir>
96 <dir name="itms">
97 <entry name="command" mtime="1227173197" type="string">
98 <stringvalue>/bin/true</stringvalue>
99 </entry>
100 </dir>
101 <dir name="irc">
102 <entry name="command" mtime="1227173197" type="string">
103 <stringvalue>/bin/true</stringvalue>
104 </entry>
105 </dir>
106 <dir name="info">
107 <entry name="command" mtime="1227173197" type="string">
108 <stringvalue>/bin/true</stringvalue>
109 </entry>
110 </dir>
111 <dir name="icyx">
112 <entry name="command" mtime="1227173197" type="string">
113 <stringvalue>/bin/true</stringvalue>
114 </entry>
115 </dir>
116 <dir name="icy">
117 <entry name="command" mtime="1227173197" type="string">
118 <stringvalue>/bin/true</stringvalue>
119 </entry>
120 </dir>
121 <dir name="icq">
122 <entry name="command" mtime="1227173197" type="string">
123 <stringvalue>/bin/true</stringvalue>
124 </entry>
125 </dir>
126 <dir name="https">
127 <entry name="command" mtime="1227173197" type="string">
128 <stringvalue>/bin/true</stringvalue>
129 </entry>
130 </dir>
131 <dir name="http">
132 <entry name="command" mtime="1227173197" type="string">
133 <stringvalue>/bin/true</stringvalue>
134 </entry>
135 </dir>
136 <dir name="h323">
137 <entry name="command" mtime="1227173197" type="string">
138 <stringvalue>/bin/true</stringvalue>
139 </entry>
140 </dir>
141 <dir name="ghelp">
142 <entry name="command" mtime="1227173197" type="string">
143 <stringvalue>/bin/true</stringvalue>
144 </entry>
145 </dir>
146 <dir name="gg">
147 <entry name="command" mtime="1227173197" type="string">
148 <stringvalue>/bin/true</stringvalue>
149 </entry>
150 </dir>
151 <dir name="ftp">
152 <entry name="command" mtime="1227173197" type="string">
153 <stringvalue>/bin/true</stringvalue>
154 </entry>
155 </dir>
156 <dir name="file">
157 <entry name="command" mtime="1227173197" type="string">
158 <stringvalue>/bin/true</stringvalue>
159 </entry>
160 </dir>
161 <dir name="feed">
162 <entry name="command" mtime="1227173197" type="string">
163 <stringvalue>/bin/true</stringvalue>
164 </entry>
165 </dir>
166 <dir name="cdda">
167 <entry name="command" mtime="1227173197" type="string">
168 <stringvalue>/bin/true</stringvalue>
169 </entry>
170 </dir>
171 <dir name="callto">
172 <entry name="command" mtime="1227173197" type="string">
173 <stringvalue>/bin/true</stringvalue>
174 </entry>
175 </dir>
176 <dir name="aim">
177 <entry name="command" mtime="1227173197" type="string">
178 <stringvalue>/bin/true</stringvalue>
179 </entry>
180 </dir>
181 <dir name="about">
182 <entry name="command" mtime="1227173197" type="string">
183 <stringvalue>/bin/true</stringvalue>
184 </entry>
185 </dir>
186 </dir>
187 <dir name="lockdown">
188 <entry name="disable_url_handlers" mtime="1227173197" type="bool" value="true">
189 </entry>
190 <entry name="disable_save_to_disk" mtime="1227173197" type="bool" value="true">
191 </entry>
192 <entry name="disable_print_setup" mtime="1227173197" type="bool" value="true">
193 </entry>
194 <entry name="disable_printing" mtime="1227173197" type="bool" value="true">
195 </entry>
196 <entry name="disable_lock_screen" mtime="1227173197" type="bool" value="true">
197 </entry>
198 <entry name="disable_command_line" mtime="1227173197" type="bool" value="true">
199 </entry>
200 </dir>
201 <dir name="applications">
202 <dir name="terminal">
203 <entry name="exec" mtime="1227173197" type="string">
204 <stringvalue>/bin/true</stringvalue>
205 </entry>
206 </dir>
207 </dir>
208 <dir name="accessibility">
209 <dir name="keyboard">
210 <entry name="enable" mtime="1227173197" type="bool" value="true">
211 </entry>
212 </dir>
213 </dir>
214 </dir>
215 </dir>
216 <dir name="apps">
217 <dir name="gnome_settings_daemon">
218 <dir name="keybindings">
219 <entry name="www" mtime="1227173197" type="string">
220 <stringvalue></stringvalue>
221 </entry>
222 <entry name="stop" mtime="1227173197" type="string">
223 <stringvalue></stringvalue>
224 </entry>
225 <entry name="sleep" mtime="1227173197" type="string">
226 <stringvalue></stringvalue>
227 </entry>
228 <entry name="search" mtime="1227173197" type="string">
229 <stringvalue></stringvalue>
230 </entry>
231 <entry name="screensaver" mtime="1227173197" type="string">
232 <stringvalue></stringvalue>
233 </entry>
234 <entry name="previous" mtime="1227173197" type="string">
235 <stringvalue></stringvalue>
236 </entry>
237 <entry name="power" mtime="1227173197" type="string">
238 <stringvalue></stringvalue>
239 </entry>
240 <entry name="play" mtime="1227173197" type="string">
241 <stringvalue></stringvalue>
242 </entry>
243 <entry name="pause" mtime="1227173197" type="string">
244 <stringvalue></stringvalue>
245 </entry>
246 <entry name="next" mtime="1227173197" type="string">
247 <stringvalue></stringvalue>
248 </entry>
249 <entry name="media" mtime="1227173197" type="string">
250 <stringvalue></stringvalue>
251 </entry>
252 <entry name="home" mtime="1227173197" type="string">
253 <stringvalue></stringvalue>
254 </entry>
255 <entry name="help" mtime="1227173197" type="string">
256 <stringvalue></stringvalue>
257 </entry>
258 <entry name="email" mtime="1227173197" type="string">
259 <stringvalue></stringvalue>
260 </entry>
261 <entry name="calculator" mtime="1227173197" type="string">
262 <stringvalue></stringvalue>
263 </entry>
264 <entry name="eject" mtime="1227173197" type="string">
265 <stringvalue></stringvalue>
266 </entry>
267 </dir>
268 </dir>
269 <dir name="metacity">
270 <dir name="keybinding_commands">
271 <entry name="command_window_screenshot" mtime="1227173197" type="string">
272 <stringvalue>/bin/true</stringvalue>
273 </entry>
274 <entry name="command_screenshot" mtime="1227173197" type="string">
275 <stringvalue>gdm-screenshot</stringvalue>
276 </entry>
277 </dir>
278 <dir name="global_keybindings">
279 <entry name="switch_to_workspace_up" mtime="1227173197" type="string">
280 <stringvalue>disabled</stringvalue>
281 </entry>
282 <entry name="switch_to_workspace_right" mtime="1227173197" type="string">
283 <stringvalue>disabled</stringvalue>
284 </entry>
285 <entry name="switch_to_workspace_left" mtime="1227173197" type="string">
286 <stringvalue>disabled</stringvalue>
287 </entry>
288 <entry name="switch_to_workspace_down" mtime="1227173197" type="string">
289 <stringvalue>disabled</stringvalue>
290 </entry>
291 <entry name="switch_group" mtime="1227173197" type="string">
292 <stringvalue>disabled</stringvalue>
293 </entry>
294 <entry name="show_desktop" mtime="1227173197" type="string">
295 <stringvalue>disabled</stringvalue>
296 </entry>
297 <entry name="run_command_window_screenshot" mtime="1227173197" type="string">
298 <stringvalue>disabled</stringvalue>
299 </entry>
300 <entry name="run_command_screenshot" mtime="1227173197" type="string">
301 <stringvalue>Print</stringvalue>
302 </entry>
303 <entry name="panel_run_dialog" mtime="1227173197" type="string">
304 <stringvalue>disabled</stringvalue>
305 </entry>
306 <entry name="panel_main_menu" mtime="1227173197" type="string">
307 <stringvalue>disabled</stringvalue>
308 </entry>
309 </dir>
310 <dir name="general">
311 <entry name="num_workspaces" mtime="1227173197" type="int" value="1">
312 </entry>
313 </dir>
314 </dir>
315 <dir name="compiz">
316 <dir name="general">
317 <dir name="allscreens">
318 <dir name="options">
319 <entry name="run_command11_key" mtime="1227173197" type="string">
320 <stringvalue>Disabled</stringvalue>
321 </entry>
322 <entry name="run_command11_button" mtime="1227173197" type="string">
323 <stringvalue>Disabled</stringvalue>
324 </entry>
325 <entry name="run_command10_key" mtime="1227173197" type="string">
326 <stringvalue>Disabled</stringvalue>
327 </entry>
328 <entry name="run_command10_button" mtime="1227173197" type="string">
329 <stringvalue>Disabled</stringvalue>
330 </entry>
331 <entry name="run_command8_key" mtime="1227173197" type="string">
332 <stringvalue>Disabled</stringvalue>
333 </entry>
334 <entry name="run_command8_button" mtime="1227173197" type="string">
335 <stringvalue>Disabled</stringvalue>
336 </entry>
337 <entry name="run_command7_key" mtime="1227173197" type="string">
338 <stringvalue>Disabled</stringvalue>
339 </entry>
340 <entry name="run_command7_button" mtime="1227173197" type="string">
341 <stringvalue>Disabled</stringvalue>
342 </entry>
343 <entry name="run_command6_key" mtime="1227173197" type="string">
344 <stringvalue>Disabled</stringvalue>
345 </entry>
346 <entry name="run_command6_button" mtime="1227173197" type="string">
347 <stringvalue>Disabled</stringvalue>
348 </entry>
349 <entry name="run_command5_key" mtime="1227173197" type="string">
350 <stringvalue>Disabled</stringvalue>
351 </entry>
352 <entry name="run_command5_button" mtime="1227173197" type="string">
353 <stringvalue>Disabled</stringvalue>
354 </entry>
355 <entry name="run_command4_key" mtime="1227173197" type="string">
356 <stringvalue>Disabled</stringvalue>
357 </entry>
358 <entry name="run_command4_button" mtime="1227173197" type="string">
359 <stringvalue>Disabled</stringvalue>
360 </entry>
361 <entry name="run_command3_key" mtime="1227173197" type="string">
362 <stringvalue>Disabled</stringvalue>
363 </entry>
364 <entry name="run_command3_button" mtime="1227173197" type="string">
365 <stringvalue>Disabled</stringvalue>
366 </entry>
367 <entry name="run_command2_key" mtime="1227173197" type="string">
368 <stringvalue>Disabled</stringvalue>
369 </entry>
370 <entry name="run_command2_button" mtime="1227173197" type="string">
371 <stringvalue>Disabled</stringvalue>
372 </entry>
373 <entry name="run_command1_key" mtime="1227173197" type="string">
374 <stringvalue>Disabled</stringvalue>
375 </entry>
376 <entry name="run_command1_button" mtime="1227173197" type="string">
377 <stringvalue>Disabled</stringvalue>
378 </entry>
379 <entry name="run_command0_key" mtime="1227173197" type="string">
380 <stringvalue>Disabled</stringvalue>
381 </entry>
382 <entry name="run_command0_button" mtime="1227173197" type="string">
383 <stringvalue>Disabled</stringvalue>
384 </entry>
385 <entry name="run_key" mtime="1227173197" type="string">
386 <stringvalue>Disabled</stringvalue>
387 </entry>
388 <entry name="run_button" mtime="1227173197" type="string">
389 <stringvalue>Disabled</stringvalue>
390 </entry>
391 <entry name="main_menu_key" mtime="1227173197" type="string">
392 <stringvalue>Disabled</stringvalue>
393 </entry>
394 <entry name="main_menu_button" mtime="1227173197" type="string">
395 <stringvalue>Disabled</stringvalue>
396 </entry>
397 <entry name="command_window_screenshot" mtime="1227173197" type="string">
398 <stringvalue></stringvalue>
399 </entry>
400 <entry name="command11" mtime="1227173197" type="string">
401 <stringvalue></stringvalue>
402 </entry>
403 <entry name="command10" mtime="1227173197" type="string">
404 <stringvalue></stringvalue>
405 </entry>
406 <entry name="command9" mtime="1227173197" type="string">
407 <stringvalue></stringvalue>
408 </entry>
409 <entry name="command8" mtime="1227173197" type="string">
410 <stringvalue></stringvalue>
411 </entry>
412 <entry name="command7" mtime="1227173197" type="string">
413 <stringvalue></stringvalue>
414 </entry>
415 <entry name="command6" mtime="1227173197" type="string">
416 <stringvalue></stringvalue>
417 </entry>
418 <entry name="command5" mtime="1227173197" type="string">
419 <stringvalue></stringvalue>
420 </entry>
421 <entry name="command4" mtime="1227173197" type="string">
422 <stringvalue></stringvalue>
423 </entry>
424 <entry name="command3" mtime="1227173197" type="string">
425 <stringvalue></stringvalue>
426 </entry>
427 <entry name="command2" mtime="1227173197" type="string">
428 <stringvalue></stringvalue>
429 </entry>
430 <entry name="command1" mtime="1227173197" type="string">
431 <stringvalue></stringvalue>
432 </entry>
433 <entry name="command0" mtime="1227173197" type="string">
434 <stringvalue></stringvalue>
435 </entry>
436 <entry name="command_terminal" mtime="1227173197" type="string">
437 <stringvalue></stringvalue>
438 </entry>
439 <entry name="command_screenshot" mtime="1227173197" type="string">
440 <stringvalue>gdm-screenshot</stringvalue>
441 </entry>
442 <entry name="active_plugins" mtime="1227173197" type="list" ltype="string">
443 <li type="string">
444 <stringvalue>cube</stringvalue>
445 </li>
446 <li type="string">
447 <stringvalue>decoration</stringvalue>
448 </li>
449 <li type="string">
450 <stringvalue>gconf</stringvalue>
451 </li>
452 <li type="string">
453 <stringvalue>glib</stringvalue>
454 </li>
455 <li type="string">
456 <stringvalue>move</stringvalue>
457 </li>
458 <li type="string">
459 <stringvalue>place</stringvalue>
460 </li>
461 <li type="string">
462 <stringvalue>resize</stringvalue>
463 </li>
464 <li type="string">
465 <stringvalue>screenshot</stringvalue>
466 </li>
467 <li type="string">
468 <stringvalue>wobbly</stringvalue>
469 </li>
470 </entry>
471 </dir>
472 </dir>
473 </dir>
474 </dir>
475 <dir name="gnome-power-manager">
476 <dir name="ui">
477 <entry name="show_context_menu" mtime="1227173197" type="bool" value="false">
478 </entry>
479 </dir>
480 </dir>
481 <dir name="gnome-screensaver">
482 <entry name="power_management_delay" mtime="1227173197" type="int" value="30">
483 </entry>
484 </dir>
485 <dir name="nautilus">
486 <dir name="preferences">
487 <entry name="show_desktop" mtime="1227173197" type="bool" value="false">
488 </entry>
489 </dir>
490 </dir>
491 </dir>
492</gconf>
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/cross-xdetection.diff b/meta-gnome/recipes-gnome/gdm/gdm/cross-xdetection.diff
new file mode 100644
index 000000000..9cb6ac98d
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm/cross-xdetection.diff
@@ -0,0 +1,84 @@
1--- /tmp/configure.ac 2008-12-10 08:38:16.000000000 +0100
2+++ gdm-2.24.1/configure.ac 2008-12-10 08:39:17.000000000 +0100
3@@ -1133,80 +1133,10 @@
4 dnl - Check for X Server location
5 dnl ---------------------------------------------------------------------------
6
7-# First check with "! -h" for /usr/X11R6 and /usr/X11 since they often
8-# symlink to each other, and configure should use the more stable
9-# location (the real directory) if possible.
10-#
11-# On Solaris, the /usr/bin/Xserver script is used to decide whether to
12-# use Xsun or Xorg, so this is used on Solaris.
13-#
14-# When testing for /usr/X11R6, first check with "! -h" for /usr/X11R6
15-# and /usr/X11 since they often symlink to each other, and configure
16-# should use the more stable location (the real directory) if possible.
17-#
18-if test -x /usr/X11/bin/Xserver; then
19- X_PATH="/usr/X11/bin"
20- X_SERVER_PATH="/usr/X11/bin"
21- X_SERVER="/usr/X11/bin/Xserver"
22- GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin"
23- X_CONFIG_OPTIONS="-audit 0"
24-elif test ! -h /usr/X11R6 -a -x /usr/X11R6/bin/X; then
25- X_PATH="/usr/X11R6/bin"
26- X_SERVER_PATH="/usr/X11R6/bin"
27- X_SERVER="/usr/X11R6/bin/X"
28- GDM_USER_PATH="$GDM_USER_PATH:/usr/X11R6/bin"
29- X_CONFIG_OPTIONS="-audit 0"
30-elif test ! -h /usr/X11 -a -x /usr/X11/bin/X; then
31- X_PATH="/usr/X11/bin"
32- X_SERVER_PATH="/usr/X11/bin"
33- X_SERVER="/usr/X11/bin/X"
34- GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin"
35- X_CONFIG_OPTIONS="-audit 0"
36-elif test -x /usr/X11R6/bin/X; then
37- X_PATH="/usr/X11R6/bin"
38- X_SERVER_PATH="/usr/X11R6/bin"
39- X_SERVER="/usr/X11R6/bin/X"
40- GDM_USER_PATH="$GDM_USER_PATH:/usr/X11R6/bin"
41- X_CONFIG_OPTIONS="-audit 0"
42-elif test -x /usr/bin/Xorg; then
43 X_PATH="/usr/bin"
44 X_SERVER_PATH="/usr/bin"
45- X_SERVER="/usr/bin/Xorg"
46- X_CONFIG_OPTIONS="-audit 0"
47-elif test -x /usr/X11/bin/X; then
48- X_PATH="/usr/X11/bin"
49- X_SERVER_PATH="/usr/X11/bin"
50- X_SERVER="/usr/X11/bin/X"
51- GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin"
52- X_CONFIG_OPTIONS="-audit 0"
53-elif test -x /usr/openwin/bin/Xsun; then
54- # Do not add /usr/openwin/bin here because on Solaris you need
55- # /usr/openwin/bin in your PATH even if you are using the Xorg
56- # Xserver. We add this to the path below.
57- X_PATH="/usr/openwin/bin"
58- X_SERVER_PATH="/usr/openwin/bin"
59- X_SERVER="/usr/openwin/bin/Xsun"
60- X_CONFIG_OPTIONS="-audit 0 -nobanner"
61-elif test -x /opt/X11R6/bin/X; then
62- X_PATH="/opt/X11R6/bin"
63- X_SERVER_PATH="/opt/X11R6/bin"
64- X_SERVER="/opt/X11R6/bin/X"
65- GDM_USER_PATH="$GDM_USER_PATH:/opt/X11R6/bin"
66- X_CONFIG_OPTIONS="-audit 0"
67-elif test -x /usr/bin/X; then
68- X_PATH="/usr/bin"
69- X_SERVER_PATH="/usr/bin"
70- X_SERVER="/usr/bin/X"
71- X_CONFIG_OPTIONS="-audit 0"
72-else
73- # what to do, what to do, this is wrong, but this just sets the
74- # defaults, perhaps this user is cross compiling or some such
75- X_PATH="/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin"
76- X_SERVER_PATH="/usr/X11R6/bin"
77- X_SERVER="/usr/X11R6/bin/X"
78- GDM_USER_PATH="$GDM_USER_PATH:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin"
79+ X_SERVER="/etc/X11/Xserver"
80 X_CONFIG_OPTIONS="-audit 0"
81-fi
82
83 # Don't add bindir to GDM_USER_PATH if it is already in the PATH.
84 # If it is /bin or /usr/bin, for example.
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/gdm b/meta-gnome/recipes-gnome/gdm/gdm/gdm
new file mode 100755
index 000000000..0d43a6f91
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm/gdm
@@ -0,0 +1,73 @@
1#! /bin/sh
2### BEGIN INIT INFO
3# Provides: gdm
4# Should-Start: console-screen acpid dbus hal network-manager
5# Required-Start: $local_fs $remote_fs
6# Required-Stop: $local_fs $remote_fs
7# Default-Start: 2 3 4 5
8# Default-Stop: 0 1 6
9# Short-Description: GNOME Display Manager
10# Description: Debian init script for the GNOME Display Manager
11### END INIT INFO
12#
13# Author: Ryan Murray <rmurray@debian.org>
14#
15set -e
16
17PATH=/sbin:/bin:/usr/sbin:/usr/bin
18DAEMON=/usr/sbin/gdm
19
20test -x $DAEMON || exit 0
21
22if [ -r /etc/default/locale ]; then
23 . /etc/default/locale
24 export LANG LANGUAGE
25fi
26
27# To start gdm even if it is not the default display manager, change
28# HEED_DEFAULT_DISPLAY_MANAGER to "false."
29HEED_DEFAULT_DISPLAY_MANAGER=true
30DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
31
32case "$1" in
33 start)
34 CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
35 if grep -wqs text /proc/cmdline; then
36 echo "Not starting GNOME Display Manager (gdm); found 'text' in kernel commandline."
37 elif [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
38 [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
39 [ "$CONFIGURED_DAEMON" != gdm ] ; then
40 echo "Not starting GNOME Display Manager; it is not the default display manager"
41 else
42 echo "Starting GNOME Display Manager" "gdm"
43 start-stop-daemon --start --quiet --exec $DAEMON
44 fi
45 ;;
46 stop)
47 echo "Stopping GNOME Display Manager" "gdm"
48 set +e
49 start-stop-daemon --stop --quiet --pidfile /var/run/gdm.pid \
50 --name gdm --retry 5
51 set -e
52 ;;
53 reload)
54 echo "Scheduling reload of GNOME Display Manager configuration" "gdm"
55 set +e
56 start-stop-daemon --stop --signal USR1 --quiet --pidfile \
57 /var/run/gdm.pid --name gdm
58 set -e
59 ;;
60 status)
61 status_of_proc -p "$PIDFILE" "$DAEMON" gdm && exit 0 || exit $?
62 ;;
63 restart|force-reload)
64 $0 stop
65 $0 start
66 ;;
67 *)
68 echo "Usage: /etc/init.d/gdm {start|stop|restart|reload|force-reload|status}"
69 exit 1
70 ;;
71esac
72
73exit 0
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/gdm-nodocs.patch b/meta-gnome/recipes-gnome/gdm/gdm/gdm-nodocs.patch
new file mode 100644
index 000000000..395fa627e
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm/gdm-nodocs.patch
@@ -0,0 +1,12 @@
1--- /tmp/Makefile.am 2006-07-26 11:37:52.000000000 +0200
2+++ gdm-2.14.9/Makefile.am 2006-07-26 11:38:01.734411000 +0200
3@@ -5,8 +5,7 @@
4 vicious-extensions \
5 daemon \
6 gui \
7- utils \
8- docs
9+ utils
10
11 # add these when help gets added back
12 # docs omf-install
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/gdm.conf b/meta-gnome/recipes-gnome/gdm/gdm/gdm.conf
new file mode 100644
index 000000000..559823b86
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm/gdm.conf
@@ -0,0 +1,80 @@
1# GDM Custom Configuration file.
2#
3# This file is the appropriate place for specifying your customizations to the
4# GDM configuration. If you run gdmsetup, it will automatically edit this
5# file for you and will cause the daemon and any running GDM GUI programs to
6# automatically update with the new configuration. Not all configuration
7# options are supported by gdmsetup, so to modify some values it may be
8# necessary to modify this file directly by hand.
9#
10# This file overrides the default configuration settings. These settings
11# are stored in the GDM System Defaults configuration file, which is found
12# at the following location.
13#
14# /usr/share/gdm/defaults.conf.
15#
16# This file contains comments about the meaning of each configuration option,
17# so is also a useful reference. Also refer to the documentation links at
18# the end of this comment for further information. In short, to hand-edit
19# this file, simply add or modify the key=value combination in the
20# appropriate section in the template below this comment section.
21#
22# For example, if you want to specify a different value for the Enable key
23# in the "[debug]" section of your GDM System Defaults configuration file,
24# then add "Enable=true" in the "[debug]" section of this file. If the
25# key already exists in this file, then simply modify it.
26#
27# Older versions of GDM used the "gdm.conf" file for configuration. If your
28# system has an old gdm.conf file on the system, it will be used instead of
29# this file - so changes made to this file will not take effect. Consider
30# migrating your configuration to this file and removing the gdm.conf file.
31#
32# If you hand edit a GDM configuration file, you can run the following
33# command and the GDM daemon will immediately reflect the change. Any
34# running GDM GUI programs will also be notified to update with the new
35# configuration.
36#
37# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
38#
39# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
40#
41# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
42# re-read the new configuration settings. You can also restart GDM by sending
43# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
44# any user session started by GDM to exit immediately while USR1 behaves like
45# gdm-safe-restart and will wait until all users log out before restarting GDM.
46#
47# For full reference documentation see the gnome help browser under
48# GNOME|System category. You can also find the docs in HTML form on
49# http://www.gnome.org/projects/gdm/
50#
51# NOTE: Lines that begin with "#" are considered comments.
52#
53# Have fun!
54
55[daemon]
56
57[security]
58
59[xdmcp]
60
61[gui]
62
63[greeter]
64
65[chooser]
66
67[debug]
68
69# Note that to disable servers defined in the GDM System Defaults
70# configuration file (such as 0=Standard, you must put a line in this file
71# that says 0=inactive, as described in the Configuration section of the GDM
72# documentation.
73#
74[servers]
75
76# Also note, that if you redefine a [server-foo] section, then GDM will
77# use the definition in this file, not the GDM System Defaults configuration
78# file. It is currently not possible to disable a [server-foo] section
79# defined in the GDM System Defaults configuration file.
80#
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.30.0.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.30.0.bb
new file mode 100644
index 000000000..2e9d93417
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.30.0.bb
@@ -0,0 +1,85 @@
1DESCRIPTION = "Graphical login manager"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4
5DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ libglade libgnomecanvas librsvg libxml2 libart-lgpl xrdb"
6
7inherit gnome update-rc.d
8
9RDEPENDS_${PN} += "grep dbus-x11 shadow"
10
11# "libpam-base-files"
12
13SRC_URI += " \
14 file://cross-xdetection.diff \
15 file://%gconf-tree.xml \
16 file://gdm \
17 file://gdm.conf \
18 file://gdm-pam \
19 file://Default \
20 "
21
22SRC_URI[archive.md5sum] = "0da84637abbcbf1666529d6192a81e6b"
23SRC_URI[archive.sha256sum] = "ac2c367766b8fa20ebeb41033931fc4d91482ad3d377823f1c7ad84eee12dc15"
24
25EXTRA_OECONF = " --enable-authentication-scheme=shadow \
26 --enable-debug=yes \
27 --with-console-kit \
28 --disable-scrollkeeper "
29
30do_install_prepend() {
31 mkdir -p ${D}/var/lib/gdm/.gconf.mandatory
32 cp ${WORKDIR}/%gconf-tree.xml ${D}/var/lib/gdm/.gconf.mandatory/
33}
34
35do_install_append() {
36 install -d ${D}/${sysconfdir}/init.d
37 install -m 0755 ${WORKDIR}/gdm ${D}/${sysconfdir}/init.d/
38
39 install -d ${D}/${sysconfdir}/gdm
40 install -m 0644 ${WORKDIR}/gdm.conf ${D}/${sysconfdir}/gdm/
41
42 install -d ${D}/${sysconfdir}/pam.d
43 install -m 0755 ${WORKDIR}/gdm-pam ${D}/${sysconfdir}/pam.d/gdm
44
45 install -d ${D}/${sysconfdir}/gdm/Init
46 install -m 0755 ${WORKDIR}/Default ${D}/${sysconfdir}/gdm/Init
47}
48
49FILES_${PN} += "${datadir}/icon* \
50 ${datadir}/xsession* \
51 "
52
53CONFFILES_${PN} += "${sysconfdir}/gdm/gdm.conf ${sysconfdir}/init.d/gdm"
54
55INITSCRIPT_NAME = "gdm"
56INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
57
58pkg_postinst_${PN} () {
59 # can't do this offline
60 if [ "x$D" != "x" ]; then
61 exit 1
62 fi
63 grep "^gdm:" /etc/group > /dev/null || addgroup gdm
64 grep "^gdm:" /etc/passwd > /dev/null || adduser --disabled-password --system --home /var/lib/gdm gdm --ingroup gdm -g gdm
65
66if [ -d /var/lib/gdm ]; then
67 chown -R gdm:gdm /var/lib/gdm
68 chmod 0750 /var/lib/gdm
69fi
70
71# Register up as default dm
72mkdir -p ${sysconfdir}/X11/
73echo "${bindir}/gdm" > ${sysconfdir}/X11/default-display-manager
74
75}
76
77pkg_postrm_${PN} () {
78 deluser gdm || true
79 delgroup gdm || true
80 sed -i /gdm/d ${sysconfdir}/X11/default-display-manager || true
81}
82
83
84
85