diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-04-29 01:15:14 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-04-29 01:15:14 +0800 |
commit | 5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff (patch) | |
tree | 8d377a13def4cfc940d916a218f44fe25006ae91 | |
parent | af71c4b0511a96fc9076dfa4547326a3e297a359 (diff) | |
download | marcuscom-ports-5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff.tar marcuscom-ports-5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff.tar.gz marcuscom-ports-5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff.tar.bz2 marcuscom-ports-5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff.tar.lz marcuscom-ports-5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff.tar.xz marcuscom-ports-5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff.tar.zst marcuscom-ports-5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8666 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11/gdm/Makefile | 96 | ||||
-rw-r--r-- | x11/gdm/distinfo | 3 | ||||
-rw-r--r-- | x11/gdm/files/extra-patch-daemon_slave.c | 26 | ||||
-rw-r--r-- | x11/gdm/files/gdm.in | 25 | ||||
-rw-r--r-- | x11/gdm/files/patch-config_gdm.conf.in | 17 | ||||
-rw-r--r-- | x11/gdm/files/patch-config_locale.alias | 189 | ||||
-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 | 332 |
11 files changed, 762 insertions, 0 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile new file mode 100644 index 000000000..990697915 --- /dev/null +++ b/x11/gdm/Makefile @@ -0,0 +1,96 @@ +# New ports collection makefile for: gdm2 +# Date created: 20 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/x11/gdm/Makefile,v 1.58 2007/03/12 16:56:06 marcus Exp $ +# + +PORTNAME= gdm +PORTVERSION= 2.18.1 +PORTREVISION= 1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2 version of xdm display manager + +BUILD_DEPENDS= zenity:${PORTSDIR}/x11/zenity +RUN_DEPENDS= zenity:${PORTSDIR}/x11/zenity + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_LDCONFIG= yes +USE_XLIB= yes +INSTALLS_OMF= yes +INSTALLS_ICONS= yes +USE_RC_SUBR= gdm +USE_GNOME_SUBR= yes +USE_GMAKE= yes +USE_GNOME= gnomehack intlhack gnomehier libgnomeui librsvg2 gnomedocutils \ + gnomeprefix +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --mandir=${PREFIX}/man \ + --with-console-kit=no +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + GTKDOC="false" + +GDMDIR?= ${PREFIX}/etc/gdm +PKGMESSAGE= ${WRKDIR}/pkg-message + +GNOME_LOCALSTATEDIR= /var + +MAN1= gdm.1 + +OPTIONS= IPV6 "Enable IPv6 support" on \ + LOG_LIMIT "Limit ~/.xsession-errors size" on + +.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(WITHOUT_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + +.if defined(WITHOUT_LOG_LIMIT) +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-daemon_slave.c +.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 + @${REINPLACE_CMD} -e 's|root:root|root:wheel|g' \ + ${WRKSRC}/config/Makefile.in + +post-install: +.if !defined(PACKAGE_BUILDING) + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + ${INSTALL_DATA} ${WRKSRC}/config/gdm.conf-custom \ + ${PREFIX}/etc/gdm/custom.conf.default + @${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..1b174f691 --- /dev/null +++ b/x11/gdm/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gdm-2.18.1.tar.bz2) = a80e26d98adbe485aac0f9aee64b92b1 +SHA256 (gnome2/gdm-2.18.1.tar.bz2) = 347a555305f9f19089d032685dfec1cb5a8ebae970b1c2d0e0929cd83c2c5ffd +SIZE (gnome2/gdm-2.18.1.tar.bz2) = 3460665 diff --git a/x11/gdm/files/extra-patch-daemon_slave.c b/x11/gdm/files/extra-patch-daemon_slave.c new file mode 100644 index 000000000..2d609cf2f --- /dev/null +++ b/x11/gdm/files/extra-patch-daemon_slave.c @@ -0,0 +1,26 @@ +--- daemon/slave.c.orig Sat Oct 28 22:38:51 2006 ++++ daemon/slave.c Tue Oct 31 12:33:41 2006 +@@ -321,8 +321,7 @@ run_session_output (gboolean read_until_ + break; + } + +- if G_UNLIKELY (d->xsession_errors_bytes >= MAX_XSESSION_ERRORS_BYTES || +- got_xfsz_signal) ++ if G_UNLIKELY (got_xfsz_signal) + continue; + + /* write until we succeed in writing something */ +@@ -344,13 +343,6 @@ run_session_output (gboolean read_until_ + } + + d->xsession_errors_bytes += r; +- +- if G_UNLIKELY (d->xsession_errors_bytes >= MAX_XSESSION_ERRORS_BYTES && +- ! got_xfsz_signal) { +- VE_IGNORE_EINTR (write (d->xsession_errors_fd, +- "\n...Too much output, ignoring rest...\n", +- strlen ("\n...Too much output, ignoring rest...\n"))); +- } + + /* there wasn't more then buf available, so no need to try reading + * again, unless we really want to */ diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in new file mode 100644 index 000000000..2312f3a9f --- /dev/null +++ b/x11/gdm/files/gdm.in @@ -0,0 +1,25 @@ +#!/bin/sh +# $FreeBSD: ports/x11/gdm/files/gdm.in,v 1.4 2007/03/19 05:13:50 marcus Exp $ +# $MCom: ports/x11/gdm/files/gdm.in,v 1.12 2007/02/16 18:14:26 mezz Exp $ + +# PROVIDE: gdm +# REQUIRE: LOGIN cleanvar moused +# +# Add the following to /etc/rc.conf to start GDM at boot time: +# +# gdm_enable="YES" +# + +. %%RC_SUBR%% +. %%GNOME_SUBR%% + +gdm_enable=${gdm_enable-${gnome_enable}} + +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_gdm.conf.in b/x11/gdm/files/patch-config_gdm.conf.in new file mode 100644 index 000000000..5abb5cfb7 --- /dev/null +++ b/x11/gdm/files/patch-config_gdm.conf.in @@ -0,0 +1,17 @@ +--- config/gdm.conf.in.orig Mon Apr 9 01:15:16 2007 ++++ config/gdm.conf.in Mon Apr 9 09:38:08 2007 +@@ -174,11 +174,11 @@ + # using this Xnest, the value should be true. + XnestUnscaledFontPath=@X_XNEST_UNSCALED_FONTPATH@ + +-# Automatic VT allocation. Right now only works on Linux. This way we force ++# 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=true + # Should double login be treated with a warning (and possibility to change VT's + # on Linux and FreeBSD systems for console logins) + #DoubleLoginWarning=true diff --git a/x11/gdm/files/patch-config_locale.alias b/x11/gdm/files/patch-config_locale.alias new file mode 100644 index 000000000..8f264dbe4 --- /dev/null +++ b/x11/gdm/files/patch-config_locale.alias @@ -0,0 +1,189 @@ +--- config/locale.alias.orig Sat Jun 11 02:01:45 2005 ++++ config/locale.alias Sat Jun 11 03:34:22 2005 +@@ -14,132 +14,57 @@ + # + # - George + +-C(POSIX) C,POSIX +-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 +-Arabic(SaudiArabia) ar_SA.UTF-8,ar_SA +-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(GB18030) zh_CN.GB18030 +-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 +-Dutch(Belgium) nl_BE.UTF-8,nl_BE +-English(Australia) en_AU.UTF-8,en_AU +-English(Canada) en_CA.UTF-8,en_CA +-English(Ireland) en_IE.UTF-8,en_IE +-English(Malta) en_MT.UTF-8,en_MT +-English(NewZealand) en_NZ.UTF-8,en_NZ +-English(SouthAfrica) en_ZA.UTF-8,en_ZA +-English(UK) en_GB.UTF-8,en_GB +-English(USA) en_US.UTF-8,en_US +-Esperanto 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(Canada) fr_CA.UTF-8,fr_CA +-French(Luxembourg) fr_LU.UTF-8,fr_LU +-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 +-German(Luxembourg) de_LU.UTF-8,de_LU +-Greek el_GR.UTF-8,el_GR +-Greek(Cyprus) el_CY.UTF-8,el_CY +-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 +-Maltese mt_MT.UTF-8,mt_MT +-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 +-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 +-Punjabi pa_IN.UTF-8,pa_IN +-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(Montenegro) sr_ME.UTF-8
+-Serbian(Serbia) sr_RS.UTF-8
+-Serbian(Bosnia) sh_BA.UTF-8,sh_BA +-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(Argentina) es_AR.UTF-8,es_AR +-Spanish(Bolivia) es_BO.UTF-8,es_BO +-Spanish(Chile) es_CL.UTF-8,es_CL +-Spanish(Colombia) es_CO.UTF-8,es_CO +-Spanish(CostaRica) es_CR.UTF-8,es_CR +-Spanish(Ecuador) es_EC.UTF-8,es_EC +-Spanish(Guatemala) es_GT.UTF-8,es_GT +-Spanish(Mexico) es_MX.UTF-8,es_MX +-Spanish(Nicaragua) es_NI.UTF-8,es_NI +-Spanish(Panama) es_PA.UTF-8,es_PA +-Spanish(Peru) es_PE.UTF-8,es_PE +-Spanish(Paraguay) es_PY.UTF-8,es_PY +-Spanish(ElSalvador) es_SV.UTF-8,es_SV +-Spanish(Uruguay) es_UY.UTF-8,es_UY +-Spanish(Venezuela) es_VE.UTF-8,es_VE +-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 ++C(POSIX) C,POSIX ++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_BR.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-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..b775c1072 --- /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/gdm + ${CHMOD} 0755 ${PKG_PREFIX}/share/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..fc59080b3 --- /dev/null +++ b/x11/gdm/pkg-plist @@ -0,0 +1,332 @@ +%%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/custom.conf %D/etc/gdm/custom.conf.default; then rm -f %D/etc/gdm/custom.conf; fi +etc/gdm/custom.conf.default +@exec [ -f %B/custom.conf ] || cp %B/%f %B/custom.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.a +lib/gtk-2.0/modules/libdwellmouselistener.la +lib/gtk-2.0/modules/libdwellmouselistener.so +lib/gtk-2.0/modules/libkeymouselistener.a +lib/gtk-2.0/modules/libkeymouselistener.la +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/applications/gdmflexiserver-xnest.desktop +share/applications/gdmflexiserver.desktop +share/applications/gdmphotosetup.desktop +share/applications/gdmsetup.desktop +share/gdm/BuiltInSessions/default.desktop +share/gdm/defaults.conf +share/gdm/factory-defaults.conf +share/gdm/gdmchooser.glade +share/gdm/gdmphotosetup.glade +share/gdm/gdmsetup.glade +share/gdm/themes/circles/GdmGreeterTheme.desktop +share/gdm/themes/circles/background.svg +share/gdm/themes/circles/circles.xml +share/gdm/themes/circles/flower.png +share/gdm/themes/circles/help.png +share/gdm/themes/circles/options.png +share/gdm/themes/circles/screenshot.png +share/gdm/themes/happygnome-list/GdmGreeterTheme.desktop +share/gdm/themes/happygnome-list/background.svg +share/gdm/themes/happygnome-list/gnome-logo.svg +share/gdm/themes/happygnome-list/happygnome.xml +share/gdm/themes/happygnome-list/options.png +share/gdm/themes/happygnome-list/screenshot.png +share/gdm/themes/happygnome/GdmGreeterTheme.desktop +share/gdm/themes/happygnome/background.svg +share/gdm/themes/happygnome/gnome-logo.svg +share/gdm/themes/happygnome/happygnome.xml +share/gdm/themes/happygnome/options.png +share/gdm/themes/happygnome/screenshot.png +share/gnome/help/gdm/C/gdm.xml +share/gnome/help/gdm/C/legal.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/uk/gdm.xml +share/gnome/help/gdm/uk/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/omf/gdm/gdm-C.omf +share/omf/gdm/gdm-de.omf +share/omf/gdm/gdm-es.omf +share/omf/gdm/gdm-fr.omf +share/omf/gdm/gdm-it.omf +share/omf/gdm/gdm-ja.omf +share/omf/gdm/gdm-ko.omf +share/omf/gdm/gdm-uk.omf +share/omf/gdm/gdm-zh_CN.omf +share/omf/gdm/gdm-zh_HK.omf +share/omf/gdm/gdm-zh_TW.omf +share/pixmaps/faces/astronaut.jpg +share/pixmaps/faces/baseball.png +share/pixmaps/faces/butterfly.png +share/pixmaps/faces/cat-eye.jpg +share/pixmaps/faces/chess.jpg +share/pixmaps/faces/coffee.jpg +share/pixmaps/faces/dice.jpg +share/pixmaps/faces/energy-arc.jpg +share/pixmaps/faces/fish.jpg +share/pixmaps/faces/flake.jpg +share/pixmaps/faces/flower.jpg +share/pixmaps/faces/grapes.jpg +share/pixmaps/faces/guitar.jpg +share/pixmaps/faces/launch.jpg +share/pixmaps/faces/leaf.jpg +share/pixmaps/faces/lightning.jpg +share/pixmaps/faces/penguin.jpg +share/pixmaps/faces/puppy.jpg +share/pixmaps/faces/sky.jpg +share/pixmaps/faces/soccerball.png +share/pixmaps/faces/sunflower.jpg +share/pixmaps/faces/sunset.jpg +share/pixmaps/faces/tennis-ball.png +share/pixmaps/faces/yellow-rose.jpg +share/pixmaps/gdm-foot-logo.png +share/pixmaps/gdm-setup.png +share/pixmaps/gdm-xnest.png +share/pixmaps/gdm.png +share/pixmaps/login-photo.png +share/pixmaps/nobody.png +share/pixmaps/nohost.png +share/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/as/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/bn_IN/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/dz/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/hy/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/ka/LC_MESSAGES/gdm.mo +share/locale/ko/LC_MESSAGES/gdm.mo +share/locale/ku/LC_MESSAGES/gdm.mo +share/locale/lt/LC_MESSAGES/gdm.mo +share/locale/lv/LC_MESSAGES/gdm.mo +share/locale/mg/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/nso/LC_MESSAGES/gdm.mo +share/locale/or/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_HK/LC_MESSAGES/gdm.mo +share/locale/zh_TW/LC_MESSAGES/gdm.mo +share/locale/zu/LC_MESSAGES/gdm.mo +@dirrm share/xsessions +@dirrm share/pixmaps/faces +@dirrm share/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/uk +@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/C +@dirrm share/gnome/help/gdm +@dirrm share/gdm/themes/happygnome-list +@dirrm share/gdm/themes/happygnome +@dirrm share/gdm/themes/circles +@dirrm share/gdm/themes +@dirrm share/gdm/BuiltInSessions +@dirrm share/gdm +@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 +@dirrmtry etc/dm/Sessions +@dirrmtry etc/dm +@dirrmtry sbin +@dirrmtry share/log/gdm +@dirrmtry share/log +@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 +@dirrmtry share/locale/zu/LC_MESSAGES +@dirrmtry share/locale/zu +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/uk +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/sk/LC_MESSAGES +@dirrmtry share/locale/sk +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ro/LC_MESSAGES +@dirrmtry share/locale/ro +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/nso/LC_MESSAGES +@dirrmtry share/locale/nso +@dirrmtry share/locale/nn/LC_MESSAGES +@dirrmtry share/locale/nn +@dirrmtry share/locale/ne/LC_MESSAGES +@dirrmtry share/locale/ne +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mi/LC_MESSAGES +@dirrmtry share/locale/mi +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/hy/LC_MESSAGES +@dirrmtry share/locale/hy +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be/LC_MESSAGES +@dirrmtry share/locale/be +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as |