This commit is contained in:
parent
6848619ca5
commit
f57d6e7e65
@ -1,10 +1,127 @@
|
|||||||
Index: gdm-2.17.7/config/Xsession.in
|
--- gdm-2.20.0-orig/config/Init.in 2007-09-17 16:45:50.000000000 +0200
|
||||||
================================================================================
|
+++ gdm-2.20.0/config/Init.in 2007-11-07 00:03:29.000000000 +0100
|
||||||
--- gdm-2.19.3/config/Xsession.in
|
@@ -1,89 +1,2 @@
|
||||||
+++ gdm-2.19.3/config/Xsession.in
|
#!/bin/sh
|
||||||
@@ -1,278 +1,2 @@
|
-# Stolen from the debian kdm setup, aren't I sneaky
|
||||||
-#!@XSESSION_SHELL@
|
-# Plus a lot of fun stuff added
|
||||||
|
-# -George
|
||||||
|
-
|
||||||
|
-PATH=@X_PATH@:$PATH
|
||||||
|
-OLD_IFS=$IFS
|
||||||
|
-
|
||||||
|
-gdmwhich () {
|
||||||
|
- COMMAND="$1"
|
||||||
|
- OUTPUT=
|
||||||
|
- IFS=:
|
||||||
|
- for dir in $PATH
|
||||||
|
- do
|
||||||
|
- if test -x "$dir/$COMMAND" ; then
|
||||||
|
- if test "x$OUTPUT" = "x" ; then
|
||||||
|
- OUTPUT="$dir/$COMMAND"
|
||||||
|
- fi
|
||||||
|
- fi
|
||||||
|
- done
|
||||||
|
- IFS=$OLD_IFS
|
||||||
|
- echo "$OUTPUT"
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
-sysresources=/etc/X11/Xresources
|
||||||
|
-
|
||||||
|
-# merge in defaults
|
||||||
|
-if [ -f "$sysresources" ]; then
|
||||||
|
- xrdb -merge "$sysresources"
|
||||||
|
-fi
|
||||||
|
-
|
||||||
|
-sysmodmap=/etc/X11/Xmodmap
|
||||||
|
-
|
||||||
|
-XMODMAP=`gdmwhich xmodmap`
|
||||||
|
-if [ x$XMODMAP != x ] ; then
|
||||||
|
- if [ x$GDM_PARENT_DISPLAY = x ]; then
|
||||||
|
- if [ -f $sysmodmap ]; then
|
||||||
|
- $XMODMAP $sysmodmap
|
||||||
|
- fi
|
||||||
|
- else
|
||||||
|
- ( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $XMODMAP -pke ) | $XMODMAP -
|
||||||
|
- fi
|
||||||
|
-
|
||||||
- #
|
- #
|
||||||
|
- # Switch Sun's Alt and Meta mod mappings
|
||||||
|
- #
|
||||||
|
-
|
||||||
|
- UNAME=`gdmwhich uname`
|
||||||
|
- PROCESSOR=`$UNAME -p`
|
||||||
|
- if [ x$PROCESSOR = xsparc ]; then
|
||||||
|
- if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null
|
||||||
|
- then
|
||||||
|
- $XMODMAP -e "clear Mod1" \
|
||||||
|
- -e "clear Mod4" \
|
||||||
|
- -e "add Mod1 = Alt_L" \
|
||||||
|
- -e "add Mod1 = Alt_R" \
|
||||||
|
- -e "add Mod4 = Meta_L" \
|
||||||
|
- -e "add Mod4 = Meta_R"
|
||||||
|
- fi
|
||||||
|
- fi
|
||||||
|
-fi
|
||||||
|
-
|
||||||
|
-SETXKBMAP=`gdmwhich setxkbmap`
|
||||||
|
-if [ x$SETXKBMAP != x ] ; then
|
||||||
|
- # FIXME: is this all right? Is this completely on crack?
|
||||||
|
- # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY
|
||||||
|
- # FIXME: This should be done in code. Or there must be an easier way ...
|
||||||
|
- if [ -n "$GDM_PARENT_DISPLAY" ]; then
|
||||||
|
- XKBSETUP=`( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $SETXKBMAP -v )`
|
||||||
|
- if [ -n "$XKBSETUP" ]; then
|
||||||
|
- XKBKEYMAP=`echo "$XKBSETUP" | grep '^keymap' | awk '{ print $2 }'`
|
||||||
|
- XKBTYPES=`echo "$XKBSETUP" | grep '^types' | awk '{ print $2 }'`
|
||||||
|
- XKBCOMPAT=`echo "$XKBSETUP" | grep '^compat' | awk '{ print $2 }'`
|
||||||
|
- XKBSYMBOLS=`echo "$XKBSETUP" | grep '^symbols' | awk '{ print $2 }'`
|
||||||
|
- XKBGEOMETRY=`echo "$XKBSETUP" | grep '^geometry' | awk '{ print $2 }'`
|
||||||
|
- if [ -n "$XKBKEYMAP" ]; then
|
||||||
|
- $SETXKBMAP -keymap "$XKBKEYMAP"
|
||||||
|
- elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" -a -n "$XKBGEOMETRY" ]; then
|
||||||
|
- $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS" -geometry "$XKBGEOMETRY"
|
||||||
|
- elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" ]; then
|
||||||
|
- $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS"
|
||||||
|
- elif [ -n "$XKBSYMBOLS" ]; then
|
||||||
|
- $SETXKBMAP -symbols "$XKBSYMBOLS"
|
||||||
|
- fi
|
||||||
|
- fi
|
||||||
|
- fi
|
||||||
|
-fi
|
||||||
|
-
|
||||||
|
-exit 0
|
||||||
|
+exec /etc/X11/xdm/Xsetup
|
||||||
|
--- gdm-2.20.0-orig/config/PostSession.in 2007-09-17 16:45:50.000000000 +0200
|
||||||
|
+++ gdm-2.20.0/config/PostSession.in 2007-11-07 00:03:57.000000000 +0100
|
||||||
|
@@ -1,22 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
-PATH="@X_PATH@:$PATH:/bin:/usr/bin"
|
||||||
|
-OLD_IFS=$IFS
|
||||||
|
-
|
||||||
|
-gdmwhich () {
|
||||||
|
- COMMAND="$1"
|
||||||
|
- OUTPUT=
|
||||||
|
- IFS=:
|
||||||
|
- for dir in $PATH
|
||||||
|
- do
|
||||||
|
- if test -x "$dir/$COMMAND" ; then
|
||||||
|
- if test "x$OUTPUT" = "x" ; then
|
||||||
|
- OUTPUT="$dir/$COMMAND"
|
||||||
|
- fi
|
||||||
|
- fi
|
||||||
|
- done
|
||||||
|
- IFS=$OLD_IFS
|
||||||
|
- echo "$OUTPUT"
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
-exit 0
|
||||||
|
+exec /etc/X11/xdm/Xreset
|
||||||
|
--- gdm-2.20.0-orig/config/Xsession.in 2007-09-17 16:45:50.000000000 +0200
|
||||||
|
+++ gdm-2.20.0/config/Xsession.in 2007-11-07 00:04:54.000000000 +0100
|
||||||
|
@@ -1,278 +1,3 @@
|
||||||
|
#!@XSESSION_SHELL@
|
||||||
|
#
|
||||||
-# This is SORT OF LIKE an X session, but not quite. You get a command as the
|
-# This is SORT OF LIKE an X session, but not quite. You get a command as the
|
||||||
-# first argument (it could be multiple words, so run it with "eval"). As a
|
-# first argument (it could be multiple words, so run it with "eval"). As a
|
||||||
-# special case, the command can be:
|
-# special case, the command can be:
|
||||||
@ -281,6 +398,4 @@ Index: gdm-2.17.7/config/Xsession.in
|
|||||||
-fi
|
-fi
|
||||||
-
|
-
|
||||||
-exec xterm -geometry 80x24+0+0
|
-exec xterm -geometry 80x24+0+0
|
||||||
+#!/bin/sh
|
|
||||||
+exec /etc/X11/xdm/Xsession $1 $GDM_LANG
|
+exec /etc/X11/xdm/Xsession $1 $GDM_LANG
|
||||||
\ No newline at end of file
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 13 15:06:06 CET 2007 - rodrigo@suse.de
|
||||||
|
|
||||||
|
- Added --with-atspi-dir to configure to get accessible login
|
||||||
|
(#337428)
|
||||||
|
- Updated gdm-xdm-sessions.patch to run again the /etc/X11/xdm
|
||||||
|
scripts (#304399)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 9 02:00:50 CET 2007 - hpj@suse.de
|
Fri Nov 9 02:00:50 CET 2007 - hpj@suse.de
|
||||||
|
|
||||||
|
10
gdm.spec
10
gdm.spec
@ -22,7 +22,7 @@ PreReq: %insserv_prereq
|
|||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
Version: 2.20.0
|
Version: 2.20.0
|
||||||
Release: 33
|
Release: 35
|
||||||
Summary: The GNOME 2.x Display Manager
|
Summary: The GNOME 2.x Display Manager
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: gdm.pamd
|
Source1: gdm.pamd
|
||||||
@ -134,7 +134,8 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|||||||
--with-atspi-dir=%{_prefix}/lib/at-spi \
|
--with-atspi-dir=%{_prefix}/lib/at-spi \
|
||||||
--enable-ipv6\
|
--enable-ipv6\
|
||||||
--disable-scrollkeeper\
|
--disable-scrollkeeper\
|
||||||
--enable-secureremote
|
--enable-secureremote \
|
||||||
|
--with-atspi-dir=%{_prefix}/lib/at-spi
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -261,6 +262,11 @@ sed -i s:DISPLAYMANAGER=/opt/gnome/sbin/gdm:DISPLAYMANAGER=/usr/sbin/gdm:g etc/i
|
|||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 13 2007 - rodrigo@suse.de
|
||||||
|
- Added --with-atspi-dir to configure to get accessible login
|
||||||
|
(#337428)
|
||||||
|
- Updated gdm-xdm-sessions.patch to run again the /etc/X11/xdm
|
||||||
|
scripts (#304399)
|
||||||
* Fri Nov 09 2007 - hpj@suse.de
|
* Fri Nov 09 2007 - hpj@suse.de
|
||||||
- Pass the --with-atspi-dir= flag to configure so the
|
- Pass the --with-atspi-dir= flag to configure so the
|
||||||
at-spi-registryd is started correctly. Fixes Novell bug #337428.
|
at-spi-registryd is started correctly. Fixes Novell bug #337428.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user