diff options
Diffstat (limited to 'x11/gdm2/files')
-rw-r--r-- | x11/gdm2/files/gdm.sh.sample | 21 | ||||
-rw-r--r-- | x11/gdm2/files/patch-ab | 47 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_locale.alias | 112 | ||||
-rw-r--r-- | x11/gdm2/files/patch-configure | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon_errorgui.c | 10 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon_gdm.c | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-ltmain.sh | 51 |
7 files changed, 263 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..c2fd105d2 --- /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.4 2003/09/18 06:49:24 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..c3380daba --- /dev/null +++ b/x11/gdm2/files/patch-ab @@ -0,0 +1,47 @@ +--- config/gdm.conf.in.orig Wed Aug 20 13:40:45 2003 ++++ config/gdm.conf.in Wed Aug 20 22:29:47 2003 +@@ -73,7 +73,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_LOGDIR@ ++LogDir=/var/log + # You should probably never change this value unless you have a weird setup + PidFile=/var/run/gdm.pid + # Note that a post login script is run before a PreSession script. +@@ -93,7 +93,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=/usr/bin/reboot;/sbin/reboot;/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@ +@@ -123,7 +123,7 @@ + # we force X to use specific vts. turn VTAllocation to false if this + # is causing problems. + #FirstVT=7 +-#VTAllocation=true ++VTAllocation=false + # Should double login be treated with a warning (and possibility to change + # vts on linux systems for console logins) + #DoubleLoginWarning=true +@@ -200,7 +200,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 +@@ -372,7 +372,7 @@ + # to the command line + [server-Chooser] + name=Chooser server +-command=@X_SERVER@ ++command=@X_SERVER@ vt9 + # Make this not appear in the flexible servers for now, but if you + # wish to allow a chooser server then make this true. This is the + # only way to make a flexible chooser server that behaves nicely. diff --git a/x11/gdm2/files/patch-config_locale.alias b/x11/gdm2/files/patch-config_locale.alias new file mode 100644 index 000000000..45001031a --- /dev/null +++ b/x11/gdm2/files/patch-config_locale.alias @@ -0,0 +1,112 @@ +--- config/locale.alias.orig Thu May 15 22:56:46 2003 ++++ config/locale.alias Mon Sep 15 23:41:05 2003 +@@ -14,76 +14,36 @@ + # + # - George + +-Albanian sq_AL.UTF-8,sq_AL +-Amharic am_ET.UTF-8,am_ET +-Arabic(Egypt) ar_EG.UTF-8,ar_EG +-Arabic(Lebanon) ar_LB.UTF-8,ar_LB +-Azerbaijani az_AZ.UTF-8,az_AZ +-Basque eu_ES.UTF-8,eu_ES +-Belarusian be_BY.UTF-8,be_BY +-Bengali bn_BD.UTF-8,bn_BD +-Bengali(India) bn_IN.UTF-8,bn_IN +-Bosnian bs_BA.UTF-8,bs_BA +-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 +-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 +-Estonian et_EE.UTF-8,et_EE +-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 +-Gujarati gu_IN.UTF-8,gu_IN +-Hebrew he_IL.UTF-8,he_IL +-Hindi hi_IN.UTF-8,hi_IN +-Hungarian hu_HU.UTF-8,hu_HU +-Icelandic is_IS.UTF-8,is_IS +-Indonesian id_ID.UTF-8,id_ID +-Interlingua ia.UTF-8,ia +-Irish ga_IE.UTF-8,ga_IE +-Italian it_IT.UTF-8,it_IT +-Japanese ja_JP.UTF-8,ja_JP +-Kannada kn_IN.UTF-8,kn_IN +-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 +-Malayalam ml_IN.UTF-8,ml_IN +-Malay ms_MY.UTF-8,ms_MY +-Marathi mr_IN.UTF-8,mr_IN +-Mongolian mn_MN.UTF-8,mn_MN +-Norwegian(bokmal) no_NO.UTF-8,no_NO +-Norwegian(nynorsk) nn_NO.UTF-8,nn_NO +-Oriya or_IN.UTF-8,or_IN +-Panjabi pa_IN.UTF-8,pa_IN +-Persian fa_IR.UTF-8,fa_IR +-Polish pl_PL.UTF-8,pl_PL +-Portuguese(Brazilian) pt_BR.UTF-8,pt_BR +-Portuguese pt_PT.UTF-8,pt_PT +-Romanian ro_RO.UTF-8,ro_RO +-Russian ru_RU.UTF-8,ru_RU +-Serbian sr_YU.UTF-8,sr_YU +-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(Finland) sv_FI.UTF-8,sv_FI +-Swedish sv_SE.UTF-8,sv_SE +-Tamil ta_IN.UTF-8,ta_IN +-Telugu te_IN.UTF-8,te_IN +-Thai th_TH.UTF-8,th_TH +-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 +-Welsh cy_GB.UTF-8,cy_GB +-Yiddish yi.UTF-8,yi ++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-15 ++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-15 ++French fr_FR.UTF-8,fr_FR.ISO_8859-15 ++German de_DE.UTF-8,de_DE.ISO_8859-15 ++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-15 ++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-15 ++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-15 ++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..cbbc44334 --- /dev/null +++ b/x11/gdm2/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Sat Jun 28 18:15:07 2003 ++++ configure Sat Jun 28 18:15:08 2003 +@@ -20222,6 +20222,8 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include <sys/types.h> ++#include <sys/socket.h> + $ac_includes_default + int + main () diff --git a/x11/gdm2/files/patch-daemon_errorgui.c b/x11/gdm2/files/patch-daemon_errorgui.c new file mode 100644 index 000000000..e89a4553f --- /dev/null +++ b/x11/gdm2/files/patch-daemon_errorgui.c @@ -0,0 +1,10 @@ +--- daemon/errorgui.c.orig Tue Sep 23 00:39:10 2003 ++++ daemon/errorgui.c Tue Sep 23 00:39:21 2003 +@@ -32,6 +32,7 @@ + #include <sys/stat.h> + #include <pwd.h> + #include <sys/types.h> ++#include <signal.h> + #include "gdm.h" + #include "misc.h" + #include "auth.h" diff --git a/x11/gdm2/files/patch-daemon_gdm.c b/x11/gdm2/files/patch-daemon_gdm.c new file mode 100644 index 000000000..787890f2a --- /dev/null +++ b/x11/gdm2/files/patch-daemon_gdm.c @@ -0,0 +1,11 @@ +--- daemon/gdm.c.orig Wed Jun 25 17:04:49 2003 ++++ daemon/gdm.c Sat Jun 28 18:17:44 2003 +@@ -38,7 +38,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-ltmain.sh b/x11/gdm2/files/patch-ltmain.sh new file mode 100644 index 000000000..04395ca76 --- /dev/null +++ b/x11/gdm2/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Tue Jun 24 14:39:01 2003 ++++ ltmain.sh Sat Jun 28 18:20:02 2003 +@@ -1280,7 +1280,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1290,8 +1290,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -3000,6 +3008,9 @@ + # problems, so we reset it completely + verstring= + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -5428,10 +5439,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" |