diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-06 13:28:01 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-06 13:28:01 +0800 |
commit | 968d434e1b320ebbe55b570c9934916a84412ae7 (patch) | |
tree | 2c68a130d10b066ade643c666421479cde5ba5c7 /x11 | |
parent | 15a5da34041692a805eb2f5a8ca1f1d1200adbe1 (diff) | |
download | marcuscom-ports-968d434e1b320ebbe55b570c9934916a84412ae7.tar marcuscom-ports-968d434e1b320ebbe55b570c9934916a84412ae7.tar.gz marcuscom-ports-968d434e1b320ebbe55b570c9934916a84412ae7.tar.bz2 marcuscom-ports-968d434e1b320ebbe55b570c9934916a84412ae7.tar.lz marcuscom-ports-968d434e1b320ebbe55b570c9934916a84412ae7.tar.xz marcuscom-ports-968d434e1b320ebbe55b570c9934916a84412ae7.tar.zst marcuscom-ports-968d434e1b320ebbe55b570c9934916a84412ae7.zip |
- Add gdm at version 2.13.0.0
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5076 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm/Makefile | 78 | ||||
-rw-r--r-- | x11/gdm/distinfo | 2 | ||||
-rw-r--r-- | x11/gdm/files/gdm.in | 20 | ||||
-rw-r--r-- | x11/gdm/files/gdm.sh.in | 20 | ||||
-rw-r--r-- | x11/gdm/files/patch-config_Makefile.in | 11 | ||||
-rw-r--r-- | x11/gdm/files/patch-config_gdm.conf.in | 35 | ||||
-rw-r--r-- | x11/gdm/files/patch-config_locale.alias | 160 | ||||
-rw-r--r-- | x11/gdm/files/patch-configure | 25 | ||||
-rw-r--r-- | x11/gdm/files/patch-gui_gdmchooser.c | 19 | ||||
-rw-r--r-- | x11/gdm/files/patch-gui_gdmsetup.c | 11 | ||||
-rw-r--r-- | x11/gdm/pkg-descr | 4 | ||||
-rw-r--r-- | x11/gdm/pkg-install | 47 | ||||
-rw-r--r-- | x11/gdm/pkg-message | 12 | ||||
-rw-r--r-- | x11/gdm/pkg-plist | 281 |
14 files changed, 725 insertions, 0 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile new file mode 100644 index 000000000..731732a34 --- /dev/null +++ b/x11/gdm/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: gdm2 +# Date created: 20 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gdm +PORTVERSION= 2.13.0.0 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.13 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2 version of xdm display manager + +USE_BZIP2= yes +USE_X_PREFIX= yes +INSTALLS_OMF= yes +USE_RC_SUBR= gdm.sh +USE_GMAKE= yes +USE_GNOME= gnomehack intlhack gnomehier libgnomeui librsvg2 +USE_LIBTOOL_VER=15 +USE_REINPLACE= yes +CONFIGURE_ARGS= --localstatedir=/var --datadir=${PREFIX}/share/gnome \ + --with-html-dir=${GNOME_HTML_DIR} \ + --disable-gtk-doc \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + GTKDOC="false" + +GDMDIR?= ${PREFIX}/etc/gdm +PKGMESSAGE= ${WRKDIR}/pkg-message + +MAN1= gdm.1 + +OPTIONS= IPV6 "Enable IPv6 support (This disables IPv4 support)" off + +.include <bsd.port.pre.mk> + +.if ${X_WINDOW_SYSTEM:L} != "xorg" +PLIST_SUB+= X11="" +.else +PLIST_SUB+= X11="@comment " +.endif + +.if exists(/usr/include/security/pam_misc.h) +PLIST_SUB+= PAM_MISC="" +.else +PLIST_SUB+= PAM_MISC="@comment " +.endif + +.if defined(WITH_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + +post-patch: +.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \ + ( ${OSVERSION} < 503101 ) +.for po in zh_CN.po + @${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po} +.endfor +.endif + +post-install: +.if !defined(PACKAGE_BUILDING) + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + @${MKDIR} ${PREFIX}/etc/gdm/Sessions + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ + | /usr/bin/fmt 75 79 > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/x11/gdm/distinfo b/x11/gdm/distinfo new file mode 100644 index 000000000..7db48c1b3 --- /dev/null +++ b/x11/gdm/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gdm-2.13.0.0.tar.bz2) = e5ad1dc5841f469bdcfda128175f402f +SIZE (gnome2/gdm-2.13.0.0.tar.bz2) = 2833282 diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in new file mode 100644 index 000000000..69083d0c6 --- /dev/null +++ b/x11/gdm/files/gdm.in @@ -0,0 +1,20 @@ +#!/bin/sh +# $FreeBSD$ +# $MCom$ + +# PROVIDE: gdm +# REQUIRE: DAEMON +# KEYWORD: FreeBSD shutdown + +gdm_enable=${gdm_enable-"NO"} + +. %%RC_SUBR%% + +name=gdm +rcvar=`set_rcvar` +command="%%PREFIX%%/sbin/${name}" +pidfile="/var/run/${name}.pid" +procname="%%PREFIX%%/sbin/gdm-binary" + +load_rc_config ${name} +run_rc_command "$1" diff --git a/x11/gdm/files/gdm.sh.in b/x11/gdm/files/gdm.sh.in new file mode 100644 index 000000000..69083d0c6 --- /dev/null +++ b/x11/gdm/files/gdm.sh.in @@ -0,0 +1,20 @@ +#!/bin/sh +# $FreeBSD$ +# $MCom$ + +# PROVIDE: gdm +# REQUIRE: DAEMON +# KEYWORD: FreeBSD shutdown + +gdm_enable=${gdm_enable-"NO"} + +. %%RC_SUBR%% + +name=gdm +rcvar=`set_rcvar` +command="%%PREFIX%%/sbin/${name}" +pidfile="/var/run/${name}.pid" +procname="%%PREFIX%%/sbin/gdm-binary" + +load_rc_config ${name} +run_rc_command "$1" diff --git a/x11/gdm/files/patch-config_Makefile.in b/x11/gdm/files/patch-config_Makefile.in new file mode 100644 index 000000000..9678f710c --- /dev/null +++ b/x11/gdm/files/patch-config_Makefile.in @@ -0,0 +1,11 @@ +--- config/Makefile.in.orig Fri Jun 11 15:40:03 2004 ++++ config/Makefile.in Fri Jun 11 15:41:30 2004 +@@ -400,7 +400,7 @@ + + if test '!' -d $(DESTDIR)$(logdir); then \ + $(mkinstalldirs) $(DESTDIR)$(logdir); \ +- chown root:root $(DESTDIR)$(logdir); \ ++ chown root:wheel $(DESTDIR)$(logdir); \ + chmod 755 $(DESTDIR)$(logdir); \ + fi + diff --git a/x11/gdm/files/patch-config_gdm.conf.in b/x11/gdm/files/patch-config_gdm.conf.in new file mode 100644 index 000000000..2d680f75d --- /dev/null +++ b/x11/gdm/files/patch-config_gdm.conf.in @@ -0,0 +1,35 @@ +--- config/gdm.conf.in.orig Fri Aug 5 00:34:59 2005 ++++ config/gdm.conf.in Tue Aug 9 02:02:44 2005 +@@ -76,7 +76,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. +@@ -131,11 +131,11 @@ + #FlexiReapDelayMinutes=5 + # the X nest command + Xnest=@X_XNEST_PATH@/Xnest @X_XNEST_CONFIG_OPTIONS@ +-# Automatic VT allocation. Right now only works on Linux. This way ++# Automatic VT allocation. This way + # we force X to use specific vts. turn VTAllocation to false if this + # is causing problems. +-#FirstVT=7 +-#VTAllocation=true ++#FirstVT=9 ++VTAllocation=false + # Should double login be treated with a warning (and possibility to change + # vts on linux and freebsd systems for console logins) + #DoubleLoginWarning=true +@@ -250,7 +250,7 @@ + # The specific gtkrc file we use. It should be the full path to the gtkrc + # that we need. Unless you need a specific gtkrc that doesn't correspond to + # a specific theme, then just use the GtkTheme key +-#GtkRC=@EXPANDED_DATADIR@/themes/Default/gtk-2.0/gtkrc ++#GtkRC=@EXPANDED_DATADIR@/../themes/Default/gtk-2.0/gtkrc + + # The GTK+ theme to use for the gui + #GtkTheme=Default diff --git a/x11/gdm/files/patch-config_locale.alias b/x11/gdm/files/patch-config_locale.alias new file mode 100644 index 000000000..ca653e463 --- /dev/null +++ b/x11/gdm/files/patch-config_locale.alias @@ -0,0 +1,160 @@ +--- config/locale.alias.orig Sat Jun 11 02:01:45 2005 ++++ config/locale.alias Sat Jun 11 03:34:22 2005 +@@ -14,104 +14,56 @@ + # + # - George + +-Afrikaans af_ZA.UTF-8,af_ZA +-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 +-Armenian hy_AM.UTF-8,hy_AM +-Azerbaijani az_AZ.UTF-8,az_AZ +-Azerbaijani(Iran) az_IR.UTF-8,az_IR +-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 +-Breton br_FR.UTF-8,br_FR +-Bulgarian bg_BG.UTF-8,bg_BG +-Catalan ca_ES.UTF-8,ca_ES +-Chinese(ChinaMainland) zh_CN.UTF-8,zh_CN +-Chinese(Hong-Kong) zh_HK.UTF-8,zh_HK +-Chinese(Singapore) zh_SG.UTF-8,zh_SG +-Chinese(Taiwan) 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(USA) en_US.UTF-8,en_US +-English(Australia) en_AU.UTF-8,en_AU +-English(UK) en_GB.UTF-8,en_GB +-English(Canada) en_CA.UTF-8,en_CA +-English(Ireland) en_IE.UTF-8,en_IE +-English(SouthAfrica) en_ZA.UTF-8,en_ZA +-Esparanto eo.UTF-8,eo +-Estonian et_EE.UTF-8,et_EE +-Finnish fi_FI.UTF-8,fi_FI +-French fr_FR.UTF-8,fr_FR +-French(Belgium) fr_BE.UTF-8,fr_BE +-French(Switzerland) fr_CH.UTF-8,fr_CH +-Galician gl_ES.UTF-8,gl_ES +-German de_DE.UTF-8,de_DE +-German(Austria) de_AT.UTF-8,de_AT +-German(Switzerland) de_CH.UTF-8,de_CH +-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 +-Kinyarwanda rw_RW.UTF-8,rw_RW +-Korean ko_KR.UTF-8,ko_KR +-Latvian lv_LV.UTF-8,lv_LV +-Limburgish li_NL.UTF-8,li_NL +-Limburgish(Belgium) li_BE.UTF-8,li_BE +-Limburgish(Germany) li_DE.UTF-8,li_DE +-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 +-Maori mi_NZ.UTF-8,mi_NZ +-Marathi mr_IN.UTF-8,mr_IN +-Mongolian mn_MN.UTF-8,mn_MN +-Nepali ne_NP.UTF-8,ne_NP +-NorthernSotho nso_ZA.UTF-8,nso_ZA +-Norwegian(bokmal) nb_NO.UTF-8,nb_NO,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_CS.UTF-8,sr_CS,sr_YU@cyrillic,sr_YU +-Serbian(Latin) sr_CS.UTF-8@Latn,sr_CS@Latn,sr_YU@Latn +-Serbian(Jekavian) sr_CS.UTF-8@ije,sr_CS@ije,sr_YU@ije +-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 +-Tagalog tl_PH.UTF-8,tl_PH +-Tajik tg_TJ.UTF-8,tg_TJ +-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 +-Uzbek uz_UZ.UTF-8,uz_UZ +-Uzbek(Latin) uz_UZ.UTF-8@Latn,uz_UZ@Latn +-Vietnamese vi_VN.UTF-8,vi_VN +-Walloon wa_BE.UTF-8,wa_BE +-Welsh cy_GB.UTF-8,cy_GB +-Xhosa xh_ZA.UTF-8,xh_ZA +-Yiddish yi.UTF-8,yi +-Zulu zu_ZA.UTF-8,zu_ZA ++Afrikaans af_ZA.UTF-8,af_ZA.ISO8859-15,af_ZA.ISO8859-1 ++Amharic am_ET.UTF-8 ++Armenian hy_AM.UTF-8 ++Basque eu_ES.UTF-8,eu_ES.ISO8859-15,eu_ES.ISO8859-1 ++Byelorussian be_BY.UTF-8,be_BY.CP1131,be_BY.CP1251,be_BY.ISO8859-5 ++Bulgarian bg_BG.UTF-8,bg_BG.CP1251 ++Catalan ca_ES.UTF-8,ca_ES.ISO8859-15,ca_ES.ISO8859-1 ++Chinese(simplified) zh_CN.UTF-8,zh_CN.EUC,zh_CN.eucCN ++Chinese(traditional) zh_TW.UTF-8,zh_TW.Big5 ++Chinese(Hong-Kong) zh_HK.UTF-8,zh_HK.Big5HKSCS ++Croatian hr_HR.UTF-8,hr_HR.ISO8859-2 ++Czech cs_CZ.UTF-8,cs_CZ.ISO8859-2 ++Danish da_DK.UTF-8,da_DK.ISO8859-15,da_DK.ISO8859-1 ++Dutch nl_NL.UTF-8,nl_NL.ISO8859-15,nl_NL.ISO8859-1 ++Dutch(Belgian) nl_BE.UTF-8,nl_BE.ISO8859-15,nl_BE.ISO8859-1 ++English(American) en_US.UTF-8,en_US.ISO8859-1,en_US.ISO8859-15 ++English(Australian) en_AU.UTF-8,en_AU.ISO8859-1,en_AU.ISO8859-15 ++English(British) en_GB.UTF-8,en_GB.ISO8859-1,en_GB.ISO8859-15 ++English(Canadian) en_CA.UTF-8,en_CA.ISO8859-1,en_CA.ISO8859-15 ++English(Irish) en_IE.UTF-8,en_IE.ISO8859-1,en_IE.ISO8859-15 ++English(New-Zealand) en_NZ.UTF-8,en_NZ.ISO8859-1,en_NZ.ISO8859-15 ++Estonian et_EE.UTF-8,et_EE.ISO8859-15 ++Finnish fi_FI.UTF-8,fi_FI.ISO8859-15,fi_FI.ISO8859-1 ++French fr_FR.UTF-8,fr_FR.ISO8859-15,fr_FR.ISO8859-1 ++French(Belgium) fr_BE.UTF-8,fr_BE.ISO8859-15,fr_BE.ISO8859-1 ++French(Canadian) fr_CA.UTF-8,fr_CA.ISO8859-1,fr_CA.ISO8859-15 ++French(Swiss) fr_CH.UTF-8,fr_CH.ISO8859-15,fr_CH.ISO8859-1 ++German de_DE.UTF-8,de_DE.ISO8859-15,de_DE.ISO8859-1 ++German(Austria) de_AT.UTF-8,de_AT.ISO8859-15,de_AT.ISO8859-1 ++German(Switzerland) de_CH.UTF-8,de_CH.ISO8859-15,de_CH.ISO8859-1 ++Greek el_GR.UTF-8,el_GR.ISO8859-7 ++Hebrew he_IL.UTF-8 ++Hindi hi_IN.ISCII-DEV ++Hungarian hu_HU.UTF-8,hu_HU.ISO8859-2 ++Icelandic is_IS.UTF-8,is_IS.ISO8859-1,is_IS.ISO8859-15 ++Italian it_IT.UTF-8,it_IT.ISO8859-15,it_IT.ISO8859-1 ++Italian(Swiss) it_CH.UTF-8,it_CH.ISO8859-15,it_CH.ISO8859-1 ++Japanese ja_JP.UTF-8,ja_JP.EUC,ja_JP.eucJP ++Korean ko_KR.UTF-8,ko_KR.EUC,ko_KR.eucKR ++Lithuanian lt_LT.UTF-8,lt_LT.ISO8859-4,lt_LT.ISO8859-13 ++Norwegian(bokmal) nb_NO.UTF-8,nb_NO.ISO8859-1,nb_NO.ISO8859-15,no_NO.UTF-8,no_NO.ISO8859-1,no_NO.ISO8859-15 ++Polish pl_PL.UTF-8,pl_PL.ISO8859-2 ++Portuguese pt_PT.UTF-8,pt_PT.ISO8859-15,pt_PT.ISO8859-1 ++Portuguese(Brazilian) pt_PT.UTF-8,pt_BR.ISO8859-1 ++Romanian ro_RO.UTF-8,ro_RO.ISO8859-2 ++Russian ru_RU.UTF-8,ru_RU.ISO8859-5 ++Serbian sr_YU.UTF-8,sr_YU.ISO8859-2,sr_YU.ISO8859-5 ++Slovak sk_SK.UTF-8,sk_SK.ISO8859-2 ++Slovenian sl_SI.UTF-8,sl_SI.ISO8859-2 ++Spanish es_ES.UTF-8,es_ES.ISO8859-15,es_ES.ISO8859-1 ++Swedish sv_SV.UTF-8,sv_SE.ISO8859-1 ++Turkish tr_TR.UTF-8,tr_TR.ISO8859-9 ++Ukrainian uk_UA.UTF-8,uk_UA.ISO8859-5 diff --git a/x11/gdm/files/patch-configure b/x11/gdm/files/patch-configure new file mode 100644 index 000000000..72f2005ff --- /dev/null +++ b/x11/gdm/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig Sat Jun 11 03:35:18 2005 ++++ configure Sat Jun 11 03:43:21 2005 +@@ -22412,6 +22412,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 () +@@ -30210,6 +30212,13 @@ + SUSPEND_COMMAND="/usr/openwin/bin/sys-suspend -n" + XSESSION_SHELL=/bin/ksh + ;; ++*freebsd*) ++ GDM_USER_PATH="/bin:/usr/bin" ++ HALT_COMMAND="/sbin/shutdown -p now;/usr/sbin/shutdown -p now" ++ REBOOT_COMMAND="/sbin/shutdown -r now;/usr/sbin/shutdown -r now" ++ SUSPEND_COMMAND="/usr/sbin/zzz" ++ XSESSION_SHELL=/bin/sh ++ ;; + *) + GDM_USER_PATH="/bin:/usr/bin" + HALT_COMMAND="/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now" diff --git a/x11/gdm/files/patch-gui_gdmchooser.c b/x11/gdm/files/patch-gui_gdmchooser.c new file mode 100644 index 000000000..b78f9bf20 --- /dev/null +++ b/x11/gdm/files/patch-gui_gdmchooser.c @@ -0,0 +1,19 @@ +--- gui/gdmchooser.c.orig Sat Jun 11 16:04:13 2005 ++++ gui/gdmchooser.c Sat Jun 11 16:04:35 2005 +@@ -2030,6 +2030,7 @@ main (int argc, char *argv[]) + int nextopt; + const char *gdm_version; + int i; ++ guint sid; + + stored_argv = g_new0 (char *, argc + 1); + for (i = 0; i < argc; i++) +@@ -2124,7 +2125,7 @@ main (int argc, char *argv[]) + gdm_chooser_xdmcp_init (hosts); + poptFreeContext (ctx); + +- guint sid = g_signal_lookup ("event", ++ sid = g_signal_lookup ("event", + GTK_TYPE_WIDGET); + g_signal_add_emission_hook (sid, + 0 /* detail */, diff --git a/x11/gdm/files/patch-gui_gdmsetup.c b/x11/gdm/files/patch-gui_gdmsetup.c new file mode 100644 index 000000000..423000cb6 --- /dev/null +++ b/x11/gdm/files/patch-gui_gdmsetup.c @@ -0,0 +1,11 @@ +--- gui/gdmsetup.c.orig Thu Jun 30 16:47:06 2005 ++++ gui/gdmsetup.c Mon Jul 4 02:53:12 2005 +@@ -3270,7 +3271,7 @@ theme_install_response (GtkWidget *choos + /* HACK! */ + argv[0] = chown; + argv[1] = "-R"; +- argv[2] = "root:root"; ++ argv[2] = "root:wheel"; + argv[3] = quoted; + argv[4] = NULL; + simple_spawn_sync (argv); diff --git a/x11/gdm/pkg-descr b/x11/gdm/pkg-descr new file mode 100644 index 000000000..1699cf5b7 --- /dev/null +++ b/x11/gdm/pkg-descr @@ -0,0 +1,4 @@ +The GNOME 2.0 version of the xdm display manager. It supports user +icons, multiple sessions, and clean system shutdowns. + +WWW: http://www.gnome.org/projects/gdm/ diff --git a/x11/gdm/pkg-install b/x11/gdm/pkg-install new file mode 100644 index 000000000..bcce174fd --- /dev/null +++ b/x11/gdm/pkg-install @@ -0,0 +1,47 @@ +#!/bin/sh + +case $2 in +POST-INSTALL) + USER=gdm + GROUP=${USER} + UID=92 + GID=${UID} + PW=/usr/sbin/pw + CHMOD=/bin/chmod + CHOWN=/usr/sbin/chown + MKDIR=/bin/mkdir + + if ${PW} group show "${GROUP}" 2>/dev/null; then + echo "You already have a group \"${GROUP}\", so I will use it." + else + if ${PW} groupadd ${GROUP} -g ${GID}; then + echo "Added group \"${GROUP}\"." + else + echo "Adding group \"${GROUP}\" failed..." + exit 1 + fi + fi + + if ${PW} user show "${USER}" 2>/dev/null; then + echo "You already have a user \"${USER}\", so I will use it." + else + if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ + -d "/nonexistent" -s /sbin/nologin -c "GNOME Display Manager" + then + echo "Added user \"${USER}\"." + else + echo "Adding user \"${USER}\" failed..." + exit 1 + fi + fi + ${MKDIR} -p /var/gdm + ${MKDIR} -p /var/log/gdm + ${CHOWN} -R root:${GROUP} /var/gdm + ${CHMOD} 1770 /var/gdm + ${CHOWN} root:wheel ${PKG_PREFIX}/share/gnome/gdm + ${CHMOD} 0755 ${PKG_PREFIX}/share/gnome/gdm + + ${MKDIR} -p ${PKG_PREFIX}/etc/dm/Sessions + exit 0 + ;; +esac diff --git a/x11/gdm/pkg-message b/x11/gdm/pkg-message new file mode 100644 index 000000000..9131c3eb4 --- /dev/null +++ b/x11/gdm/pkg-message @@ -0,0 +1,12 @@ +GDM is installed. + +Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm +hanging or restarting constantly. Instead, add gdm_enable="YES" to +/etc/rc.conf. GDM will be started automatic on the next reboot. + +GDM uses its own locale.alias file to determine its language and especially +the GNOME 2 fontencoding. This file is located in +%%PREFIX%%/etc/gdm/locale.alias. By default, the character set for every +country using the EURO currency is set to ISO8859-15 in order to enable the +EURO sign. If you do not feel comfortable with this, edit this file according +to your preferences. diff --git a/x11/gdm/pkg-plist b/x11/gdm/pkg-plist new file mode 100644 index 000000000..bff2fc89b --- /dev/null +++ b/x11/gdm/pkg-plist @@ -0,0 +1,281 @@ +%%X11%%bin/gdm-dmx-reconnect-proxy +bin/gdmXnest +bin/gdmXnestchooser +bin/gdmdynamic +bin/gdmflexiserver +bin/gdmphotosetup +bin/gdmthemetester +etc/gdm/Init/Default +etc/gdm/PostLogin/Default.sample +etc/gdm/PostSession/Default +etc/gdm/PreSession/Default +etc/gdm/XKeepsCrashing +etc/gdm/Xsession +@unexec if cmp -s %D/etc/gdm/gdm.conf %D/etc/gdm/factory-gdm.conf; then rm -f %D/etc/gdm/gdm.conf; fi +etc/gdm/factory-gdm.conf +@exec [ -f %B/gdm.conf ] || cp %B/%f %B/gdm.conf +etc/gdm/locale.alias +@unexec if cmp -s %D/etc/gdm/modules/AccessDwellMouseEvents %D/etc/gdm/modules/factory-AccessDwellMouseEvents; then rm -f %D/etc/gdm/modules/AccessDwellMouseEvents; fi +etc/gdm/modules/factory-AccessDwellMouseEvents +@exec [ -f %B/AccessDwellMouseEvents ] || cp %B/%f %B/AccessDwellMouseEvents +@unexec if cmp -s %D/etc/gdm/modules/AccessKeyMouseEvents %D/etc/gdm/modules/factory-AccessKeyMouseEvents; then rm -f %D/etc/gdm/modules/AccessKeyMouseEvents; fi +etc/gdm/modules/factory-AccessKeyMouseEvents +@exec [ -f %B/AccessKeyMouseEvents ] || cp %B/%f %B/AccessKeyMouseEvents +lib/gtk-2.0/modules/libdwellmouselistener.so +lib/gtk-2.0/modules/libkeymouselistener.so +%%PAM_MISC%%libexec/gdmaskpass +libexec/gdmchooser +libexec/gdmgreeter +libexec/gdmlogin +libexec/gdmtranslate +sbin/gdm +sbin/gdm-binary +sbin/gdm-restart +sbin/gdm-safe-restart +sbin/gdm-stop +sbin/gdmsetup +share/gnome/applications/gdmflexiserver-xnest.desktop +share/gnome/applications/gdmflexiserver.desktop +share/gnome/applications/gdmphotosetup.desktop +share/gnome/applications/gdmsetup.desktop +share/gnome/gdm/BuiltInSessions/default.desktop +share/gnome/gdm/gdmchooser.glade +share/gnome/gdm/gdmphotosetup.glade +share/gnome/gdm/gdmsetup.glade +share/gnome/gdm/themes/circles/GdmGreeterTheme.desktop +share/gnome/gdm/themes/circles/background.svg +share/gnome/gdm/themes/circles/circles.xml +share/gnome/gdm/themes/circles/flower.png +share/gnome/gdm/themes/circles/help.png +share/gnome/gdm/themes/circles/options.png +share/gnome/gdm/themes/circles/screenshot.png +share/gnome/gdm/themes/happygnome-list/GdmGreeterTheme.desktop +share/gnome/gdm/themes/happygnome-list/background.svg +share/gnome/gdm/themes/happygnome-list/disconnect.png +share/gnome/gdm/themes/happygnome-list/gnome-logo.png +share/gnome/gdm/themes/happygnome-list/happygnome.xml +share/gnome/gdm/themes/happygnome-list/options.png +share/gnome/gdm/themes/happygnome-list/screenshot.png +share/gnome/gdm/themes/happygnome-list/session.png +share/gnome/gdm/themes/happygnome-list/system.png +share/gnome/gdm/themes/happygnome/GdmGreeterTheme.desktop +share/gnome/gdm/themes/happygnome/background.svg +share/gnome/gdm/themes/happygnome/disconnect.png +share/gnome/gdm/themes/happygnome/gnome-logo.png +share/gnome/gdm/themes/happygnome/happygnome.xml +share/gnome/gdm/themes/happygnome/options.png +share/gnome/gdm/themes/happygnome/screenshot.png +share/gnome/gdm/themes/happygnome/session.png +share/gnome/gdm/themes/happygnome/system.png +share/gnome/gnome/help/gdm/C/gdm.xml +share/gnome/gnome/help/gdm/C/legal.xml +share/gnome/gnome/help/gdm/es/gdm.xml +share/gnome/help/gdm/de/figures/gdm_window.png +share/gnome/help/gdm/de/gdm.xml +share/gnome/help/gdm/de/legal.xml +share/gnome/help/gdm/es/figures/gdm_window.png +share/gnome/help/gdm/es/gdm.xml +share/gnome/help/gdm/es/legal.xml +share/gnome/help/gdm/fr/figures/gdm_window.png +share/gnome/help/gdm/fr/gdm.xml +share/gnome/help/gdm/fr/legal.xml +share/gnome/help/gdm/it/figures/gdm_window.png +share/gnome/help/gdm/it/gdm.xml +share/gnome/help/gdm/it/legal.xml +share/gnome/help/gdm/ja/figures/gdm_window.png +share/gnome/help/gdm/ja/gdm.xml +share/gnome/help/gdm/ja/legal.xml +share/gnome/help/gdm/ko/figures/gdm_window.png +share/gnome/help/gdm/ko/gdm.xml +share/gnome/help/gdm/ko/legal.xml +share/gnome/help/gdm/sv/figures/gdm_window.png +share/gnome/help/gdm/sv/gdm.xml +share/gnome/help/gdm/sv/legal.xml +share/gnome/help/gdm/zh_CN/figures/gdm_window.png +share/gnome/help/gdm/zh_CN/gdm.xml +share/gnome/help/gdm/zh_CN/legal.xml +share/gnome/help/gdm/zh_HK/figures/gdm_window.png +share/gnome/help/gdm/zh_HK/gdm.xml +share/gnome/help/gdm/zh_HK/legal.xml +share/gnome/help/gdm/zh_TW/figures/gdm_window.png +share/gnome/help/gdm/zh_TW/gdm.xml +share/gnome/help/gdm/zh_TW/legal.xml +share/gnome/omf/gdm/gdm-C.omf +share/gnome/omf/gdm/gdm-de.omf +share/gnome/omf/gdm/gdm-es.omf +share/gnome/omf/gdm/gdm-fr.omf +share/gnome/omf/gdm/gdm-it.omf +share/gnome/omf/gdm/gdm-ja.omf +share/gnome/omf/gdm/gdm-ko.omf +share/gnome/omf/gdm/gdm-sv.omf +share/gnome/omf/gdm/gdm-zh_CN.omf +share/gnome/omf/gdm/gdm-zh_HK.omf +share/gnome/omf/gdm/gdm-zh_TW.omf +share/gnome/pixmaps/faces/astronaut.jpg +share/gnome/pixmaps/faces/baseball.png +share/gnome/pixmaps/faces/butterfly.png +share/gnome/pixmaps/faces/cat-eye.jpg +share/gnome/pixmaps/faces/chess.jpg +share/gnome/pixmaps/faces/coffee.jpg +share/gnome/pixmaps/faces/dice.jpg +share/gnome/pixmaps/faces/energy-arc.jpg +share/gnome/pixmaps/faces/fish.jpg +share/gnome/pixmaps/faces/flake.jpg +share/gnome/pixmaps/faces/flower.jpg +share/gnome/pixmaps/faces/grapes.jpg +share/gnome/pixmaps/faces/guitar.jpg +share/gnome/pixmaps/faces/launch.jpg +share/gnome/pixmaps/faces/leaf.jpg +share/gnome/pixmaps/faces/lightning.jpg +share/gnome/pixmaps/faces/penguin.jpg +share/gnome/pixmaps/faces/puppy.jpg +share/gnome/pixmaps/faces/sky.jpg +share/gnome/pixmaps/faces/soccerball.png +share/gnome/pixmaps/faces/sunflower.jpg +share/gnome/pixmaps/faces/sunset.jpg +share/gnome/pixmaps/faces/tennis-ball.png +share/gnome/pixmaps/faces/yellow-rose.jpg +share/gnome/pixmaps/gdm-foot-logo.png +share/gnome/pixmaps/gdm-setup.png +share/gnome/pixmaps/gdm-xnest.png +share/gnome/pixmaps/gdm.png +share/gnome/pixmaps/login-photo.png +share/gnome/pixmaps/nobody.png +share/gnome/pixmaps/nohost.png +share/gnome/xsessions/gnome.desktop +share/icons/hicolor/16x16/apps/gdm-xnest.png +share/icons/hicolor/32x32/apps/gdm-setup.png +share/icons/hicolor/32x32/apps/gdm-xnest.png +share/locale/af/LC_MESSAGES/gdm.mo +share/locale/am/LC_MESSAGES/gdm.mo +share/locale/ar/LC_MESSAGES/gdm.mo +share/locale/az/LC_MESSAGES/gdm.mo +share/locale/be/LC_MESSAGES/gdm.mo +share/locale/bg/LC_MESSAGES/gdm.mo +share/locale/bn/LC_MESSAGES/gdm.mo +share/locale/bs/LC_MESSAGES/gdm.mo +share/locale/ca/LC_MESSAGES/gdm.mo +share/locale/cs/LC_MESSAGES/gdm.mo +share/locale/cy/LC_MESSAGES/gdm.mo +share/locale/da/LC_MESSAGES/gdm.mo +share/locale/de/LC_MESSAGES/gdm.mo +share/locale/el/LC_MESSAGES/gdm.mo +share/locale/en_CA/LC_MESSAGES/gdm.mo +share/locale/en_GB/LC_MESSAGES/gdm.mo +share/locale/es/LC_MESSAGES/gdm.mo +share/locale/et/LC_MESSAGES/gdm.mo +share/locale/eu/LC_MESSAGES/gdm.mo +share/locale/fa/LC_MESSAGES/gdm.mo +share/locale/fi/LC_MESSAGES/gdm.mo +share/locale/fr/LC_MESSAGES/gdm.mo +share/locale/ga/LC_MESSAGES/gdm.mo +share/locale/gl/LC_MESSAGES/gdm.mo +share/locale/gu/LC_MESSAGES/gdm.mo +share/locale/he/LC_MESSAGES/gdm.mo +share/locale/hi/LC_MESSAGES/gdm.mo +share/locale/hr/LC_MESSAGES/gdm.mo +share/locale/hu/LC_MESSAGES/gdm.mo +share/locale/id/LC_MESSAGES/gdm.mo +share/locale/is/LC_MESSAGES/gdm.mo +share/locale/it/LC_MESSAGES/gdm.mo +share/locale/ja/LC_MESSAGES/gdm.mo +share/locale/ko/LC_MESSAGES/gdm.mo +share/locale/lt/LC_MESSAGES/gdm.mo +share/locale/lv/LC_MESSAGES/gdm.mo +share/locale/mi/LC_MESSAGES/gdm.mo +share/locale/mk/LC_MESSAGES/gdm.mo +share/locale/ml/LC_MESSAGES/gdm.mo +share/locale/mn/LC_MESSAGES/gdm.mo +share/locale/mr/LC_MESSAGES/gdm.mo +share/locale/ms/LC_MESSAGES/gdm.mo +share/locale/nb/LC_MESSAGES/gdm.mo +share/locale/ne/LC_MESSAGES/gdm.mo +share/locale/nl/LC_MESSAGES/gdm.mo +share/locale/nn/LC_MESSAGES/gdm.mo +share/locale/no/LC_MESSAGES/gdm.mo +share/locale/nso/LC_MESSAGES/gdm.mo +share/locale/pa/LC_MESSAGES/gdm.mo +share/locale/pl/LC_MESSAGES/gdm.mo +share/locale/pt/LC_MESSAGES/gdm.mo +share/locale/pt_BR/LC_MESSAGES/gdm.mo +share/locale/ro/LC_MESSAGES/gdm.mo +share/locale/ru/LC_MESSAGES/gdm.mo +share/locale/rw/LC_MESSAGES/gdm.mo +share/locale/sk/LC_MESSAGES/gdm.mo +share/locale/sl/LC_MESSAGES/gdm.mo +share/locale/sq/LC_MESSAGES/gdm.mo +share/locale/sr/LC_MESSAGES/gdm.mo +share/locale/sr@Latn/LC_MESSAGES/gdm.mo +share/locale/sv/LC_MESSAGES/gdm.mo +share/locale/ta/LC_MESSAGES/gdm.mo +share/locale/th/LC_MESSAGES/gdm.mo +share/locale/tr/LC_MESSAGES/gdm.mo +share/locale/uk/LC_MESSAGES/gdm.mo +share/locale/vi/LC_MESSAGES/gdm.mo +share/locale/wa/LC_MESSAGES/gdm.mo +share/locale/xh/LC_MESSAGES/gdm.mo +share/locale/zh_CN/LC_MESSAGES/gdm.mo +share/locale/zh_TW/LC_MESSAGES/gdm.mo +share/locale/zu/LC_MESSAGES/gdm.mo +@unexec rmdir %D/share/locale/zu/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/zu 2> /dev/null || true +@unexec rmdir %D/share/locale/xh/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/xh 2> /dev/null || true +@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/rw 2> /dev/null || true +@unexec rmdir %D/share/locale/nso/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/nso 2> /dev/null || true +@unexec rmdir %D/share/locale/mr/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/mr 2> /dev/null || true +@unexec rmdir %D/share/locale/mi/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/mi 2> /dev/null || true +@dirrm share/gnome/xsessions +@dirrm share/gnome/omf/gdm +@dirrm share/gnome/help/gdm/zh_TW/figures +@dirrm share/gnome/help/gdm/zh_TW +@dirrm share/gnome/help/gdm/zh_HK/figures +@dirrm share/gnome/help/gdm/zh_HK +@dirrm share/gnome/help/gdm/zh_CN/figures +@dirrm share/gnome/help/gdm/zh_CN +@dirrm share/gnome/help/gdm/sv/figures +@dirrm share/gnome/help/gdm/sv +@dirrm share/gnome/help/gdm/ko/figures +@dirrm share/gnome/help/gdm/ko +@dirrm share/gnome/help/gdm/ja/figures +@dirrm share/gnome/help/gdm/ja +@dirrm share/gnome/help/gdm/it/figures +@dirrm share/gnome/help/gdm/it +@dirrm share/gnome/help/gdm/fr/figures +@dirrm share/gnome/help/gdm/fr +@dirrm share/gnome/help/gdm/es/figures +@dirrm share/gnome/help/gdm/es +@dirrm share/gnome/help/gdm/de/figures +@dirrm share/gnome/help/gdm/de +@dirrm share/gnome/help/gdm +@dirrm share/gnome/gnome/help/gdm/es +@dirrm share/gnome/gnome/help/gdm/C +@dirrm share/gnome/gnome/help/gdm +@dirrm share/gnome/gnome/help +@dirrm share/gnome/gnome +@dirrm share/gnome/gdm/themes/happygnome-list +@dirrm share/gnome/gdm/themes/happygnome +@dirrm share/gnome/gdm/themes/circles +@dirrm share/gnome/gdm/themes +@dirrm share/gnome/gdm/BuiltInSessions +@dirrm share/gnome/gdm +@dirrm share/gnome/pixmaps/faces +@dirrm etc/pam.d +@dirrm etc/gdm/modules +@dirrm etc/gdm/Sessions +@dirrm etc/gdm/PreSession +@dirrm etc/gdm/PostSession +@dirrm etc/gdm/PostLogin +@dirrm etc/gdm/Init +@dirrm etc/gdm +@unexec /bin/rmdir %D/etc/dm/Sessions 2>/dev/null || /usr/bin/true +@unexec /bin/rmdir %D/etc/dm 2>/dev/null || /usr/bin/true +@unexec /bin/rmdir %D/sbin 2>/dev/null || /usr/bin/true +@unexec /bin/rmdir %D/share/gnome/log/gdm 2>/dev/null || /usr/bin/true +@unexec /bin/rmdir %D/share/gnome/log 2>/dev/null || /usr/bin/true +@unexec /bin/rm -rf /var/gdm 2>/dev/null || /usr/bin/true +@unexec /bin/rm -rf /var/log/gdm 2>/dev/null || /usr/bin/true |