patches/gdm-01-branding-defaults-solaris.diff
author erwannc
Mon, 22 May 2006 15:37:59 +0000
changeset 7306 97c7edff7e6c
parent 7279 e6d86084bb59
child 7311 787468805d33
permissions -rw-r--r--
006-05-22 Erwann Chenede - <[email protected]> * gdm.spec : bumped release and added patch 14 * patches/gdm-14-sun-branding-patch.diff : added conditional branded-file properly to the theme xml grammar. * gdm-01-branding-defaults-solaris.diff : changed the default background color. * gnome-session.spec : bumped release * patches/gnome-session-02-splash-logos.diff : modified to make sun-splash.png the default and changed alignement magic numbers. * ext-sources/gnome-splash.png : new opensolaris splash * sun-gdm-themes.spec : new version of the Nimbus gdm theme * Solaris/SUNWgnome-solaris-branding.spec : added new package for trademarked items
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7306
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     1
diff -ru ../gdm-2.14.6/config/Xsession.in gdm-2.14.6/config/Xsession.in
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     2
--- ../gdm-2.14.6/config/Xsession.in	2006-05-22 12:06:01.384065000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     3
+++ gdm-2.14.6/config/Xsession.in	2006-05-22 12:12:16.800423000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     4
@@ -84,7 +84,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     5
   else
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     6
     echo "$0: Starting the failsafe xterm session."
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     7
   fi
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     8
-  exec xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
     9
+  exec ctrun -l child -i none xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    10
 fi
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    11
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    12
 # Note: ~/.xsession-errors is now done in the daemon so that it
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    13
@@ -235,7 +235,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    14
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    15
 echo "$0: Setup done, will execute: $command"
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    16
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    17
-eval exec $command
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    18
+eval exec ctrun -l child -i none $command
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    19
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    20
 echo "$0: Executing $command failed, will run xterm"
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    21
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    22
@@ -244,4 +244,4 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    23
 	"$zenity" --info --text "$disptext"
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    24
 fi
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    25
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    26
-exec xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    27
+exec ctrun -l child -i none xterm -geometry 80x24+0+0
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    28
diff -ru ../gdm-2.14.6/config/gdm.conf.in gdm-2.14.6/config/gdm.conf.in
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    29
--- ../gdm-2.14.6/config/gdm.conf.in	2006-05-22 12:06:01.382431000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    30
+++ gdm-2.14.6/config/gdm.conf.in	2006-05-22 12:14:35.005143000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    31
@@ -61,7 +61,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    32
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    33
 # The greeter for local (non-xdmcp) logins.  Change gdmlogin to gdmgreeter to
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    34
 # get the new graphical greeter.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    35
-#Greeter=@libexecdir@/gdmlogin
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    36
+Greeter=@libexecdir@/gdmgreeter
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    37
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    38
 # The greeter for xdmcp logins, usually you want a less graphically intensive
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    39
 # greeter here so it's better to leave this with gdmlogin
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    40
@@ -87,7 +87,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    41
 # If you are having trouble with using a single server for a long time and want
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    42
 # GDM to kill/restart the server, turn this on.  On Solaris, this value is
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    43
 # always true and this configuration setting is ignored.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    44
-#AlwaysRestartServer=false
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    45
+AlwaysRestartServer=true
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    46
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    47
 # User and group used for running GDM GUI applicaitons.  By default this is set
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    48
 # to user "gdm" and group "gdm".  This user/group should have very limited
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    49
@@ -226,7 +226,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    50
 # Note: Anytime we find a -query or -indirect on the command line we do not add
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    51
 # a "-nolisten tcp", as then the query just wouldn't work, so this setting only
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    52
 # affects truly local sessions.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    53
-#DisallowTCP=true
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    54
+DisallowTCP=false
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    55
 # By default never place cookies if we "detect" NFS.  We detect NFS by
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    56
 # detecting "root-squashing".  It seems bad practice to place cookies on things
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    57
 # that go over the network by default and thus we do not do it by default.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    58
@@ -288,7 +288,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    59
 #GtkRC=@datadir@/themes/Default/gtk-2.0/gtkrc
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    60
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    61
 # The GTK+ theme to use for the GUI.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    62
-#GtkTheme=Default
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    63
+GtkTheme=nimbus
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    64
 # If to allow changing the GTK+ (widget) theme from the greeter.  Currently
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    65
 # this only affects the standard greeter as the graphical greeter does not yet
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    66
 # have this ability.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    67
@@ -370,7 +370,7 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    68
 # menu that contains reboot, shutdown, suspend, config and chooser.  None of
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    69
 # these is available if this is off.  They can be turned off individually
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    70
 # however.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    71
-#SystemMenu=true
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    72
+SystemMenu=false
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    73
 # Configuration is available from the system menu of the greeter.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    74
 #ConfigAvailable=false
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    75
 # Should the chooser button be shown.  If this is shown, GDM can drop into
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    76
@@ -406,8 +406,8 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    77
 # The Standard greeter (gdmlogin) uses BackgroundColor as the background
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    78
 # color, while the themed greeter (gdmgreeter) uses GraphicalThemedColor
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    79
 # as the background color.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    80
-BackgroundColor=#76848F
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    81
-GraphicalThemedColor=#76848F
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    82
+BackgroundColor=#35556b
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    83
+GraphicalThemedColor=#35556b
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    84
 # XDMCP session should only get a color, this is the sanest setting since you
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    85
 # don't want to take up too much bandwidth
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    86
 #BackgroundRemoteOnlyColor=true
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    87
@@ -448,8 +448,8 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    88
 # list then provide a list that is delimited by /: to the GraphicalThemes
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    89
 # key and set GraphicalThemeRand to true.  Otherwise use GraphicalTheme
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    90
 # and specify just one theme.
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    91
-#GraphicalTheme=circles
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    92
-#GraphicalThemes=circles/:happygnome
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    93
+GraphicalTheme=Sun-Nimbus
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    94
+GraphicalThemes=Sun-Nimbus/:circles/:happygnome
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    95
 GraphicalThemeDir=@datadir@/gdm/themes/
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    96
 GraphicalThemeRand=false
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    97
 
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    98
diff -ru ../gdm-2.14.6/config/gnome.desktop.in gdm-2.14.6/config/gnome.desktop.in
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
    99
--- ../gdm-2.14.6/config/gnome.desktop.in	2006-05-22 12:06:01.383674000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   100
+++ gdm-2.14.6/config/gnome.desktop.in	2006-05-22 12:12:16.798993000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   101
@@ -1,8 +1,8 @@
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   102
 [Desktop Entry]
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   103
 Encoding=UTF-8
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   104
-_Name=GNOME
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   105
-_Comment=This session logs you into GNOME
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   106
-Exec=gnome-session
6095
9b5695a63003 2005-10-13 Laszlo Peter <[email protected]>
laca
parents: 5932
diff changeset
   107
+_Name=Opensolaris GNOME Desktop
9b5695a63003 2005-10-13 Laszlo Peter <[email protected]>
laca
parents: 5932
diff changeset
   108
+_Comment=This session logs you into the Opensolaris GNOME Desktop
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   109
+Exec=/usr/dt/config/Xsession.jds
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   110
 TryExec=gnome-session
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   111
 # no icon yet, only the top three are currently used
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   112
 Icon=
7306
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   113
diff -ru ../gdm-2.14.6/configure.ac gdm-2.14.6/configure.ac
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   114
--- ../gdm-2.14.6/configure.ac	2006-05-22 12:06:01.496662000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   115
+++ gdm-2.14.6/configure.ac	2006-05-22 12:12:16.802731000 +0200
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   116
@@ -966,7 +966,7 @@
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   117
 elif test ! -h /usr/X11 -a -x /usr/X11/bin/X; then
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   118
    X_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   119
    X_SERVER_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   120
-   X_SERVER="/usr/X11/bin/X"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   121
+   X_SERVER="/usr/X11/bin/Xserver"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   122
    GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   123
    X_CONFIG_OPTIONS="-audit 0"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   124
 elif test -x /usr/X11R6/bin/X; then
7306
97c7edff7e6c 006-05-22 Erwann Chenede - <[email protected]>
erwannc
parents: 7279
diff changeset
   125
@@ -978,7 +978,7 @@
5932
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   126
 elif test -x /usr/X11/bin/X; then
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   127
    X_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   128
    X_SERVER_PATH="/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   129
-   X_SERVER="/usr/X11/bin/X"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   130
+   X_SERVER="/usr/X11/bin/X/Xserver"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   131
    GDM_USER_PATH="$GDM_USER_PATH:/usr/X11/bin"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   132
    X_CONFIG_OPTIONS="-audit 0"
7a09c0c4b9bc 2005-09-19 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   133
 elif test -x /usr/openwin/bin/Xsun; then