diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-12 14:52:17 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-12 14:52:17 +0800 |
commit | f8c5d4acaeef50cbf08a1616897237c87c55f851 (patch) | |
tree | fd8b5d6ead6f712a93bea3d213d8b3830ef1cdf6 /x11/gdm2/files | |
parent | 1cba425ea862591333bae972dd635b41cc8b4a11 (diff) | |
download | marcuscom-ports-f8c5d4acaeef50cbf08a1616897237c87c55f851.tar marcuscom-ports-f8c5d4acaeef50cbf08a1616897237c87c55f851.tar.gz marcuscom-ports-f8c5d4acaeef50cbf08a1616897237c87c55f851.tar.bz2 marcuscom-ports-f8c5d4acaeef50cbf08a1616897237c87c55f851.tar.lz marcuscom-ports-f8c5d4acaeef50cbf08a1616897237c87c55f851.tar.xz marcuscom-ports-f8c5d4acaeef50cbf08a1616897237c87c55f851.tar.zst marcuscom-ports-f8c5d4acaeef50cbf08a1616897237c87c55f851.zip |
Add gdm2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@595 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm2/files')
-rw-r--r-- | x11/gdm2/files/gdm.sh.sample | 21 | ||||
-rw-r--r-- | x11/gdm2/files/patch-ab | 84 | ||||
-rw-r--r-- | x11/gdm2/files/patch-al | 9 | ||||
-rw-r--r-- | x11/gdm2/files/patch-at | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_Makefile.in | 101 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_PostSession | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_PreSession | 16 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_locale.alias | 91 | ||||
-rw-r--r-- | x11/gdm2/files/patch-configure | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon_gdm.c | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon_slave.c | 12 | ||||
-rw-r--r-- | x11/gdm2/files/patch-gui::gdmsetup.c | 11 |
12 files changed, 389 insertions, 0 deletions
diff --git a/x11/gdm2/files/gdm.sh.sample b/x11/gdm2/files/gdm.sh.sample new file mode 100644 index 000000000..641ec8e67 --- /dev/null +++ b/x11/gdm2/files/gdm.sh.sample @@ -0,0 +1,21 @@ +#!/bin/sh +# +# $FreeBSD: ports/x11/gdm2/files/gdm.sh.sample,v 1.3 2003/02/07 18:42:14 marcus Exp $ + +PREFIX=%%PREFIX%% + +case "$1" in +start) + ${PREFIX}/bin/gdm + ;; +stop) + /usr/bin/killall -m gdm 2>/dev/null + ;; +*) + echo "Usage: `basename $0` start | stop" + exit 64 + ;; + +esac + +exit 0 diff --git a/x11/gdm2/files/patch-ab b/x11/gdm2/files/patch-ab new file mode 100644 index 000000000..10b04a198 --- /dev/null +++ b/x11/gdm2/files/patch-ab @@ -0,0 +1,84 @@ +--- config/gdm.conf.in.orig Fri Aug 23 18:53:53 2002 ++++ config/gdm.conf.in Sun Oct 13 17:57:14 2002 +@@ -33,14 +33,14 @@ + # The gdm configuration program that is run from the login screen, you should + # probably leave this alone + Configurator=@EXPANDED_GDMCONFIGDIR@/gdmsetup --disable-sound --disable-crash-dialog +-GnomeDefaultSession=@EXPANDED_DATADIR@/gnome/default.session ++GnomeDefaultSession=@EXPANDED_DATADIR@/default.session + # The chooser program. Must output the chosen host on stdout, probably you + # should leave this alone + Chooser=@EXPANDED_BINDIR@/gdmchooser + # Default path to set. The profile scripts will likely override this + DefaultPath=/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:@EXPANDED_BINDIR@ + # Default path for root. The profile scripts will likely override this +-RootPath=/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:@EXPANDED_BINDIR@ ++RootPath=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:@EXPANDED_BINDIR@ + DisplayInitDir=@EXPANDED_SYSCONFDIR@/gdm/Init + # Greeter for local (non-xdmcp) logins. Change gdmlogin to gdmgreeter to + # get the new graphical greeter. +@@ -57,7 +57,7 @@ + # To try to kill all clients started at greeter time or in the Init script. + # doesn't always work, only if those clients have a window of their own + KillInitClients=true +-LogDir=@EXPANDED_AUTHDIR@ ++LogDir=/var/log + # You should probably never change this value unless you have a weird setup + PidFile=/var/run/gdm.pid + PostSessionScriptDir=@EXPANDED_SYSCONFDIR@/gdm/PostSession/ +@@ -72,7 +72,7 @@ + # Reboot, Halt and suspend commands, you can add different commands + # separated by a semicolon and gdm will use the first one it can find + RebootCommand=/sbin/shutdown -r now;/usr/sbin/shutdown -r now +-HaltCommand=/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now ++HaltCommand=/sbin/shutdown -p now;/usr/sbin/shutdown -p now + SuspendCommand= + # Probably should not touch the below this is the standard setup + ServAuthDir=@EXPANDED_AUTHDIR@ +@@ -84,16 +84,16 @@ + UserAuthFBDir=/tmp + UserAuthFile=.Xauthority + # The X server to use if we can't figure out what else to run. +-StandardXServer=/usr/X11R6/bin/X ++StandardXServer=@EXPANDED_BINDIR@/X + # The maximum number of flexible X servers to run. + FlexibleXServers=5 + # the X nest command +-Xnest=/usr/X11R6/bin/Xnest -name Xnest ++Xnest=@EXPANDED_BINDIR@/Xnest -name Xnest + # Automatic VT allocation. Right now only works on Linux. This way + # we force X to use specific vts. turn VTAllocation to false if this + # is causing problems. + FirstVT=7 +-VTAllocation=true ++VTAllocation=false + + [security] + # If any distributions ship with this one off, they should be shot +@@ -153,7 +153,7 @@ + # The 'theme'. By default we're using the default gtk theme + # Of course assuming that gtk got installed in the same prefix, + # if not change this. +-GtkRC=@EXPANDED_DATADIR@/themes/Default/gtk/gtkrc ++GtkRC=@EXPANDED_DATADIR@/../themes/Default/gtk-2.0/gtkrc + # Maximum size of an icon, larger icons are scaled down + MaxIconWidth=128 + MaxIconHeight=128 +@@ -281,7 +281,7 @@ + # Definition of the standard X server. + [server-Standard] + name=Standard server +-command=/usr/X11R6/bin/X ++command=@EXPANDED_BINDIR@/X vt9 + flexible=true + + # To use this server type you should add -query host or -indirect host +@@ -289,7 +289,7 @@ + [server-Terminal] + name=Terminal server + # Add -terminate to make things behave more nicely +-command=/usr/X11R6/bin/X -terminate ++command=@EXPANDED_BINDIR@/X -terminate + # Make this not appear in the flexible servers (we need extra params + # anyway, and terminate would be bad for xdmcp) + flexible=false diff --git a/x11/gdm2/files/patch-al b/x11/gdm2/files/patch-al new file mode 100644 index 000000000..6458c9e46 --- /dev/null +++ b/x11/gdm2/files/patch-al @@ -0,0 +1,9 @@ +--- config/gnomerc.in.orig Mon Nov 11 10:54:52 2002 ++++ config/gnomerc.in Fri Jan 3 12:09:49 2003 +@@ -9,5 +9,6 @@ + #fi + + # path takes precedence ++LC_CTYPE= ; export LC_CTYPE + exec gnome-session + exec @EXPANDED_BINDIR@/gnome-session diff --git a/x11/gdm2/files/patch-at b/x11/gdm2/files/patch-at new file mode 100644 index 000000000..2e73a9b0b --- /dev/null +++ b/x11/gdm2/files/patch-at @@ -0,0 +1,11 @@ +--- utils/Makefile.in.orig Tue May 21 00:01:55 2002 ++++ utils/Makefile.in Tue May 21 00:02:20 2002 +@@ -160,7 +160,7 @@ + gdmmktemp_SOURCES = gdmmktemp.c + + +-gdmaskpass_LDADD = $(INTLLIBS) -lpam -lpam_misc ++gdmaskpass_LDADD = $(INTLLIBS) -lpam + + + gdmopen_LDADD = $(INTLLIBS) diff --git a/x11/gdm2/files/patch-config_Makefile.in b/x11/gdm2/files/patch-config_Makefile.in new file mode 100644 index 000000000..cd45ba7f3 --- /dev/null +++ b/x11/gdm2/files/patch-config_Makefile.in @@ -0,0 +1,101 @@ +--- config/Makefile.in.orig Tue Aug 20 16:46:29 2002 ++++ config/Makefile.in Tue Aug 20 17:03:19 2002 +@@ -286,71 +286,73 @@ + fi + $(INSTALL_DATA) gdm.conf $(DESTDIR)$(confdir)/factory-gdm.conf + +- $(INSTALL_SCRIPT) $(srcdir)/XKeepsCrashing $(DESTDIR)$(confdir)/XKeepsCrashing ++ if test '!' -f $(DESTDIR)$(confdir)/XKeepsCrashing; then \ ++ $(INSTALL_SCRIPT) $(srcdir)/XKeepsCrashing $(DESTDIR)$(confdir)/XKeepsCrashing; \ ++ fi ++ $(INSTALL_SCRIPT) $(srcdir)/XKeepsCrashing $(DESTDIR)$(confdir)/factory-XKeepsCrashing + +- -if test -f $(DESTDIR)$(localedir)/locale.alias; then \ +- cp -f $(DESTDIR)$(localedir)/locale.alias $(DESTDIR)$(localedir)/locale.alias.orig; \ ++ if test '!' -f $(DESTDIR)$(localedir)/locale.alias; then \ ++ $(INSTALL_DATA) $(srcdir)/locale.alias $(DESTDIR)$(localedir)/locale.alias; \ + fi +- $(INSTALL_DATA) $(srcdir)/locale.alias $(DESTDIR)$(localedir)/locale.alias ++ $(INSTALL_DATA) $(srcdir)/locale.alias $(DESTDIR)$(localedir)/factory-locale.alias + + if test '!' -d $(DESTDIR)$(sessdir); then \ + $(mkinstalldirs) $(DESTDIR)$(sessdir); \ + chmod 755 $(DESTDIR)$(sessdir); \ + fi + +- -if test -f $(DESTDIR)$(sessdir)/Xsession; then \ +- cp -f $(DESTDIR)$(sessdir)/Xsession $(DESTDIR)$(sessdir)/Xsession.orig; \ ++ if test '!' -f $(DESTDIR)$(sessdir)/Xsession; then \ ++ $(INSTALL_SCRIPT) Xsession $(DESTDIR)$(sessdir)/Xsession; \ + fi +- $(INSTALL_SCRIPT) Xsession $(DESTDIR)$(sessdir)/Xsession ++ $(INSTALL_SCRIPT) Xsession $(DESTDIR)$(sessdir)/factory-Xsession + +- -if test -f $(DESTDIR)$(sessdir)/Gnome; then \ +- cp -f $(DESTDIR)$(sessdir)/Gnome $(DESTDIR)$(sessdir)/Gnome.orig; \ ++ if test '!' -f $(DESTDIR)$(sessdir)/Gnome; then \ ++ $(INSTALL_SCRIPT) Gnome $(DESTDIR)$(sessdir)/Gnome; \ + fi +- $(INSTALL_SCRIPT) Gnome $(DESTDIR)$(sessdir)/Gnome ++ $(INSTALL_SCRIPT) Gnome $(DESTDIR)$(sessdir)/factory-Gnome + + -if test -f /usr/bin/switchdesk; then \ +- if test -f $(DESTDIR)$(sessdir)/Default; then \ +- cp -f $(DESTDIR)$(sessdir)/Default $(DESTDIR)$(sessdir)/Default.orig; \ ++ if test '!' -f $(DESTDIR)$(sessdir)/Default; then \ ++ $(LN_S) -f $(sessdir)/Xsession $(DESTDIR)$(sessdir)/Default; \ + fi; \ +- $(LN_S) -f $(sessdir)/Xsession $(DESTDIR)$(sessdir)/Default; \ + fi + + if test '!' -d $(DESTDIR)$(initdir); then \ + $(mkinstalldirs) $(DESTDIR)$(initdir); \ + chmod 755 $(DESTDIR)$(initdir); \ + fi +- -if test -f $(DESTDIR)$(initdir)/Default; then \ +- cp -f $(DESTDIR)$(initdir)/Default $(DESTDIR)$(initdir)/Default.orig; \ ++ if test '!' -f $(DESTDIR)$(initdir)/Default; then \ ++ $(INSTALL_SCRIPT) $(srcdir)/Default $(DESTDIR)$(initdir)/Default; \ + fi +- $(INSTALL_SCRIPT) $(srcdir)/Default $(DESTDIR)$(initdir)/Default ++ $(INSTALL_SCRIPT) $(srcdir)/Default $(DESTDIR)$(initdir)/factory-Default + + if test '!' -d $(DESTDIR)$(predir); then \ + $(mkinstalldirs) $(DESTDIR)$(predir); \ + chmod 755 $(DESTDIR)$(predir); \ + fi +- -if test -f $(DESTDIR)$(predir)/Default; then \ +- cp -f $(DESTDIR)$(predir)/Default $(DESTDIR)$(predir)/Default.orig; \ ++ if test '!' -f $(DESTDIR)$(predir)/Default; then \ ++ $(INSTALL_SCRIPT) $(srcdir)/PreSession $(DESTDIR)$(predir)/Default; \ + fi +- $(INSTALL_SCRIPT) $(srcdir)/PreSession $(DESTDIR)$(predir)/Default ++ $(INSTALL_SCRIPT) $(srcdir)/PreSession $(DESTDIR)$(predir)/factory-Default + + if test '!' -d $(DESTDIR)$(postdir); then \ + $(mkinstalldirs) $(DESTDIR)$(postdir); \ + chmod 755 $(DESTDIR)$(postdir); \ + fi +- -if test -f $(DESTDIR)$(postdir)/Default; then \ +- cp -f $(DESTDIR)$(postdir)/Default $(DESTDIR)$(postdir)/Default.orig; \ ++ if test '!' -f $(DESTDIR)$(postdir)/Default; then \ ++ $(INSTALL_SCRIPT) $(srcdir)/PostSession $(DESTDIR)$(postdir)/Default; \ + fi +- $(INSTALL_SCRIPT) $(srcdir)/PostSession $(DESTDIR)$(postdir)/Default ++ $(INSTALL_SCRIPT) $(srcdir)/PostSession $(DESTDIR)$(postdir)/factory-Default + + if test '!' -d $(DESTDIR)$(gnomercdir); then \ + $(mkinstalldirs) $(DESTDIR)$(gnomercdir); \ + chmod 755 $(DESTDIR)$(gnomercdir); \ + fi + +- -if test -f $(DESTDIR)$(gnomercdir)/gnomerc; then \ +- cp -f $(DESTDIR)$(gnomercdir)/gnomerc $(DESTDIR)$(gnomercdir)/gnomerc.orig; \ ++ if test '!' -f $(DESTDIR)$(gnomercdir)/gnomerc; then \ ++ $(INSTALL_SCRIPT) gnomerc $(DESTDIR)$(gnomercdir)/gnomerc; \ + fi +- $(INSTALL_SCRIPT) gnomerc $(DESTDIR)$(gnomercdir)/gnomerc ++ $(INSTALL_SCRIPT) gnomerc $(DESTDIR)$(gnomercdir)/factory-gnomerc + + if test '!' -d $(DESTDIR)$(authdir); then \ + $(mkinstalldirs) $(DESTDIR)$(authdir); \ diff --git a/x11/gdm2/files/patch-config_PostSession b/x11/gdm2/files/patch-config_PostSession new file mode 100644 index 000000000..98433e066 --- /dev/null +++ b/x11/gdm2/files/patch-config_PostSession @@ -0,0 +1,11 @@ +--- config/PostSession.orig Wed Dec 4 14:05:13 2002 ++++ config/PostSession Wed Dec 4 14:05:34 2002 +@@ -2,7 +2,7 @@ + + PATH=/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH + +-if command -v sessreg > /dev/null 2>&1; then ++if /usr/bin/which -s sessreg > /dev/null 2>&1; then + sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER + fi + exit 0 diff --git a/x11/gdm2/files/patch-config_PreSession b/x11/gdm2/files/patch-config_PreSession new file mode 100644 index 000000000..4a37fa9db --- /dev/null +++ b/x11/gdm2/files/patch-config_PreSession @@ -0,0 +1,16 @@ +--- config/PreSession.orig Wed Dec 4 14:05:38 2002 ++++ config/PreSession Wed Dec 4 14:06:04 2002 +@@ -8,11 +8,11 @@ + # + PATH=/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH + +-if command -v xsetroot > /dev/null 2>&1; then ++if /usr/bin/which -s xsetroot > /dev/null 2>&1; then + xsetroot -cursor_name left_ptr -solid "#363047" + fi + +-if command -v sessreg > /dev/null 2>&1; then ++if /usr/bin/which -s sessreg > /dev/null 2>&1; then + # some output for easy debugging + echo "$0: Registering your session with wtmp and utmp" + echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l $DISPLAY $USER" diff --git a/x11/gdm2/files/patch-config_locale.alias b/x11/gdm2/files/patch-config_locale.alias new file mode 100644 index 000000000..48d7d1b00 --- /dev/null +++ b/x11/gdm2/files/patch-config_locale.alias @@ -0,0 +1,91 @@ +--- config/locale.alias.orig Wed Jan 8 13:31:44 2003 ++++ config/locale.alias Tue Jan 14 16:51:29 2003 +@@ -14,55 +14,36 @@ + # + # - George + +-Azerbaijani az_AZ.UTF-8,az_AZ +-Arabic(Egypt) ar_EG.UTF-8,ar_EG +-Arabic(Lebanon) ar_LB.UTF-8,ar_LB +-Amharic am_ET.UTF-8,am_ET +-Basque eu_ES.UTF-8,eu_ES +-Bulgarian bg_BG.UTF-8,bg_BG +-Catalan ca_ES.UTF-8,ca_ES +-Chinese(simplified) zh_CN.UTF-8,zh_CN +-Chinese(traditional) zh_TW.UTF-8,zh_TW +-Croatian hr_HR.UTF-8,hr_HR +-Czech cs_CZ.UTF-8,cs_CZ +-Danish da_DK.UTF-8,da_DK +-Dutch nl_NL.UTF-8,nl_NL +-Estonian et_EE.UTF-8,et_EE +-English(American) en_US.UTF-8,en_US +-English(Australian) en_AU.UTF-8,en_AU +-English(British) en_GB.UTF-8,en_GB +-English(Ireland) en_IE.UTF-8,en_IE +-Finnish fi_FI.UTF-8,fi_FI +-French fr_FR.UTF-8,fr_FR +-Galician gl_ES.UTF-8,gl_ES +-German de_DE.UTF-8,de_DE +-Greek el_GR.UTF-8,el_GR +-Hebrew he_IL.UTF-8,he_IL +-Hungarian hu_HU.UTF-8,hu_HU +-Icelandic is_IS.UTF-8,is_IS +-Irish ga_IE.UTF-8,ga_IE +-Italian it_IT.UTF-8,it_IT +-Japanese ja_JP.UTF-8,ja_JP +-Korean ko_KR.UTF-8,ko_KR +-Latvian lv_LV.UTF-8,lv_LV +-Lithuanian lt_LT.UTF-8,lt_LT +-Macedonian mk_MK.UTF-8,mk_MK +-Malay ms_MY.UTF-8,ms_MY +-Norwegian(bokmal) no_NO.UTF-8,no_NO +-Norwegian(nynorsk) nn_NO.UTF-8,nn_NO +-Polish pl_PL.UTF-8,pl_PL +-Portuguese pt_PT.UTF-8,pt_PT +-Portuguese(Brazilian) pt_BR.UTF-8,pt_BR +-Romanian ro_RO.UTF-8,ro_RO +-Russian ru_RU.UTF-8,ru_RU +-Slovak sk_SK.UTF-8,sk_SK +-Slovenian sl_SI.UTF-8,sl_SI +-Spanish es_ES.UTF-8,es_ES +-Spanish(Mexico) es_MX.UTF-8,es_MX +-Swedish sv_SE.UTF-8,sv_SE +-Swedish(Finland) sv_FI.UTF-8,sv_FI +-Tamil ta_IN.UTF-8,ta_IN +-Turkish tr_TR.UTF-8,tr_TR +-Ukrainian uk_UA.UTF-8,uk_UA +-Vietnamese vi_VN.UTF-8,vi_VN +-Walloon wa_BE.UTF-8,wa_BE ++Bulgarian bg_BG.UTF-8,bg_BG.CP1251 ++Chinese(simplified) zh_CN.UTF-8,zh_CN.EUC ++Chinese(traditional) zh_TW.UTF-8,zh_TW.Big5 ++Croatian hr_HR.UTF-8,hr_HR.ISO_8859-2 ++Czech cs_CZ.UTF-8,cs_CZ.ISO_8859-2 ++Danish da_DK.UTF-8,da_DK.ISO_8859-1 ++Dutch nl_NL.UTF-8,nl_NL.ISO_8859-1 ++Estonian et_EE.UTF-8,et_EE.ISO_8859-15 ++English(American) en_US.UTF-8,en_US.ISO_8859-1 ++English(Australian) en_AU.UTF-8,en_AU.ISO_8859-1 ++English(British) en_GB.UTF-8,en_GB.ISO_8859-1 ++Finnish fi_FI.UTF-8,fi_FI.ISO_8859-1 ++French fr_FR.UTF-8,fr_FR.ISO_8859-1 ++German de_DE.UTF-8,de_DE.ISO_8859-1 ++Greek el_GR.UTF-8,el_GR.ISO_8859-7 ++Hungarian hu_HU.UTF-8,hu_HU.ISO_8859-2 ++Icelandic is_IS.UTF-8,is_IS.ISO_8859-1 ++Italian it_IT.UTF-8,it_IT.ISO_8859-1 ++Japanese ja_JP.UTF-8,ja_JP.EUC ++Korean ko_KR.UTF-8,ko_KR.EUC ++Lithuanian lt_LT.UTF-8,lt_LT.ISO_8859-4 ++Norwegian(bokmal) no_NO.UTF-8,no_NO.ISO_8859-1 ++Polish pl_PL.UTF-8,pl_PL.ISO_8859-2 ++Portuguese pt_PT.UTF-8,pt_PT.ISO_8859-1 ++Portuguese(Brazilian) pt_BR.UTF-8,pt_BR.ISO8859-1 ++Romanian ro_RO.UTF-8,ro_RO.ISO8859-2 ++Russian ru_RU.UTF-8,ru_RU.ISO_8859-5 ++Slovak sk_SK.UTF-8,sk_SK.ISO_8859-2 ++Slovenian sl_SI.UTF-8,sl_SI.ISO_8859-2 ++Spanish es_ES.UTF-8,es_ES.ISO_8859-1 ++Swedish sv_SE.UTF-8,sv_SE.ISO_8859-1 ++Turkish tr_TR.UTF-8,tr_TR.ISO_8859-9 ++Ukrainian uk_UA.UTF-8,uk_UA.ISO8859-5 diff --git a/x11/gdm2/files/patch-configure b/x11/gdm2/files/patch-configure new file mode 100644 index 000000000..c7e1c3d22 --- /dev/null +++ b/x11/gdm2/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Wed Jul 17 17:49:15 2002 ++++ configure Wed Jul 17 17:51:03 2002 +@@ -8531,6 +8532,8 @@ + cat >conftest.$ac_ext <<_ACEOF + #line 8532 "configure" + #include "confdefs.h" ++#include <sys/types.h> ++#include <sys/socket.h> + $ac_includes_default + int + main () diff --git a/x11/gdm2/files/patch-daemon_gdm.c b/x11/gdm2/files/patch-daemon_gdm.c new file mode 100644 index 000000000..76c115f8b --- /dev/null +++ b/x11/gdm2/files/patch-daemon_gdm.c @@ -0,0 +1,11 @@ +--- daemon/gdm.c.orig Thu May 30 11:02:29 2002 ++++ daemon/gdm.c Thu May 30 10:59:19 2002 +@@ -36,7 +36,7 @@ + #include <locale.h> + + /* This should be moved to auth.c I suppose */ +-#include <X11/Xauth.h> ++/*#include <X11/Xauth.h>*/ + + #include <vicious.h> + diff --git a/x11/gdm2/files/patch-daemon_slave.c b/x11/gdm2/files/patch-daemon_slave.c new file mode 100644 index 000000000..27ac0544a --- /dev/null +++ b/x11/gdm2/files/patch-daemon_slave.c @@ -0,0 +1,12 @@ +--- daemon/slave.c.orig Wed Sep 18 02:25:09 2002 ++++ daemon/slave.c Wed Sep 18 02:25:15 2002 +@@ -2327,7 +2327,8 @@ + if (setusercontext (NULL, pwent, pwent->pw_uid, + LOGIN_SETLOGIN | LOGIN_SETPATH | + LOGIN_SETPRIORITY | LOGIN_SETRESOURCES | +- LOGIN_SETUMASK | LOGIN_SETUSER) < 0) ++ LOGIN_SETUMASK | LOGIN_SETUSER | ++ LOGIN_SETENV) < 0) + gdm_child_exit (DISPLAY_REMANAGE, + _("%s: setusercontext() failed for %s. " + "Aborting."), "gdm_slave_session_start", diff --git a/x11/gdm2/files/patch-gui::gdmsetup.c b/x11/gdm2/files/patch-gui::gdmsetup.c new file mode 100644 index 000000000..33924be67 --- /dev/null +++ b/x11/gdm2/files/patch-gui::gdmsetup.c @@ -0,0 +1,11 @@ +--- gui/gdmsetup.c.orig Sun Aug 4 16:08:52 2002 ++++ gui/gdmsetup.c Sun Aug 4 16:09:09 2002 +@@ -1512,7 +1512,7 @@ + success = TRUE; + + /* HACK! */ +- cmd = g_strdup_printf ("/bin/chown -R root.root %s", dir); ++ cmd = g_strdup_printf ("/usr/sbin/chown -R gdm:gdm %s", dir); + system (cmd); + g_free (cmd); + |