pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gdm Update gdm to 2.4.4.7 (Fully GNOME 2, gnome v1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abf793d432e8
branches:  trunk
changeset: 466545:abf793d432e8
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Jan 20 13:41:06 2004 +0000

description:
Update gdm to 2.4.4.7 (Fully GNOME 2, gnome v1 libraries are not required
anymore).

Update provided by Min Sik Kim via pkgsrc-wip, with minimal changes by me.

Changes:

2.4.4.7 stuff:

- Fix build problem caused by intltool (fixes #130234)

- Translation update (Zygimantas Berucka)

2.4.4.6 stuff:

- Fixes xdmcp session counting (fixes #126465)

- The programs that want to talk to gdm check ownership of /tmp/.gdm_socket
  for added paranoia

- Fix assert failure when starting Xnest (fixes #127780)

- Time for the fail delay is in microseconds (Leena Gunda, fixes #128507)

- Translation updates (Maxim Dziumanenko, Dmitry G. Mastrukov, Russian team,
  Andras Timar, Sanlig Badral, Paul Duffy, David O'Callaghan,
  Jordi Mallach, Jordi Mas, Guntupalli Karunakar, Andras Timar)

2.4.4.5 stuff:

- Brown paper security bag: ~/.Xauthority could be left readable
  after logout

- gecos info (face browser user name) didn't get through if non-utf8
  (Frederic Crozat) (fixes mandrake #5309)

- Translation updates (another brown paper bag, these went in over
  the last month) (Kjartan Maraas, Andras Timar, Danilo Segan,
  Ales Nyakhaychyk, Asmund Skjaeveland, Gustavo Maciel Dias Vieira,
  Augusta Marques da Silva, Richard Allen)

And more... please review NEWS file to see a full list of changes.

diffstat:

 x11/gdm/DEINSTALL        |    15 -
 x11/gdm/DESCR            |    35 +-
 x11/gdm/INSTALL          |    16 -
 x11/gdm/Makefile         |   151 +-
 x11/gdm/PLIST            |   223 +-
 x11/gdm/distinfo         |    28 +-
 x11/gdm/files/gdm        |    20 -
 x11/gdm/files/gdm.sh     |    20 +
 x11/gdm/patches/patch-aa |  8195 +++++++++++++++++++++++++++++++++++++++++----
 x11/gdm/patches/patch-ab |    66 +-
 x11/gdm/patches/patch-ac |    21 +-
 x11/gdm/patches/patch-ae |   125 +-
 x11/gdm/patches/patch-af |    86 +-
 x11/gdm/patches/patch-ag |    22 -
 x11/gdm/patches/patch-ah |    14 -
 x11/gdm/patches/patch-ba |    12 -
 x11/gdm/patches/patch-bb |    13 -
 x11/gdm/patches/patch-bc |    77 -
 x11/gdm/patches/patch-bd |    24 -
 19 files changed, 7827 insertions(+), 1336 deletions(-)

diffs (truncated from 9330 to 300 lines):

diff -r e625ae00498a -r abf793d432e8 x11/gdm/DEINSTALL
--- a/x11/gdm/DEINSTALL Tue Jan 20 13:33:06 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.3 2003/08/30 20:23:07 jlam Exp $
-
-if [ "$2" = DEINSTALL ]
-then
-       cd @GDMCFGDIR@
-       @RM@ -f Sessions/Default
-       for SOURCE in @GDMCFGFILES@
-       do
-               TARGET=${SOURCE%.default*}${SOURCE##*.default}
-               if cmp -s $SOURCE $TARGET
-               then
-                       @RM@ -f $TARGET
-               fi
-       done
-fi
diff -r e625ae00498a -r abf793d432e8 x11/gdm/DESCR
--- a/x11/gdm/DESCR     Tue Jan 20 13:33:06 2004 +0000
+++ b/x11/gdm/DESCR     Tue Jan 20 13:41:06 2004 +0000
@@ -1,23 +1,12 @@
-The Gnome Display Manager is a re-implementation of the well known xdm
-program. gdm 2.0beta4 implements all significant features required for
-managing local and remote displays.
-
-gdm daemon:
- o X Authentication
- o Default and per-display initialization scripts
- o Pre and post session scripts
- o Pluggable Authentication Modules
- o XDMCP
- o TCP Wrappers for access control
-
-gdmlogin:
- o Logo image
- o Halt and reboot
- o Iconified login window
- o Session selection support
- o Language selection support
- o Face browser
-
-gdmchooser:
- o Visual host browser
- o Customizable icons
+GDM is the GNOME Display Manager, it is the little proggie that runs
+in the background, runs your X sessions, presents you with a login box
+and then tells you to piss off because you forgot your password. It
+does pretty much everything that you would want to use xdm for, but
+doesn't involve as much crack.  It doesn't use any code from xdm, and
+has a more paranoid and safer design overall.  It also includes many
+features over xdm, the biggest one of which is that it is more user
+friendly, even if your X setup is failing.  The goal is that users
+should never, ever have to use the command line to customize or
+troubleshoot gdm.  It of course supports xdmcp, and in fact extends
+xdmcp a little bit in places where I thought xdm was lacking (but is
+still compatible with xdm's xdmcp).
diff -r e625ae00498a -r abf793d432e8 x11/gdm/INSTALL
--- a/x11/gdm/INSTALL   Tue Jan 20 13:33:06 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-# $NetBSD: INSTALL,v 1.2 2003/01/10 17:26:55 jmmv Exp $
-
-if [ "$2" = POST-INSTALL ]
-then
-       cd @GDMCFGDIR@
-       for SOURCE in @GDMCFGFILES@
-       do
-               TARGET=${SOURCE%.default*}${SOURCE##*.default}
-               if [ ! -f $TARGET ]
-               then
-                       @MKDIR@ `dirname $TARGET`
-                       @CP@ -p $SOURCE $TARGET
-               fi
-       done
-       @LN@ -fs Gnome Sessions/Default
-fi
diff -r e625ae00498a -r abf793d432e8 x11/gdm/Makefile
--- a/x11/gdm/Makefile  Tue Jan 20 13:33:06 2004 +0000
+++ b/x11/gdm/Makefile  Tue Jan 20 13:41:06 2004 +0000
@@ -1,53 +1,65 @@
-# $NetBSD: Makefile,v 1.41 2004/01/03 18:49:56 reed Exp $
+# $NetBSD: Makefile,v 1.42 2004/01/20 13:41:06 xtraeme Exp $
+#
 
-DISTNAME=      gdm-2.2.0
-PKGREVISION=   5
+DISTNAME=      gdm-2.4.4.7
 CATEGORIES=    x11 gnome
-MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gdm/2.2/} \
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gdm/2.4/} \
                ${MASTER_SITE_LOCAL}
-DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} Daemon.README Daemon.png
+EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    mjl%NetBSD.org@localhost
 HOMEPAGE=      http://www.gnome.org/
 COMMENT=       Gnome Display Manager - a re-implementation of the xdm program
 
-EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
-
 USE_BUILDLINK2=                YES
-
 USE_PKGINSTALL=                YES
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-INSTALL_EXTRA_TMPL+=   ${.CURDIR}/INSTALL
-
 USE_PKGLOCALEDIR=      YES
 GNU_CONFIGURE=         YES
-USE_X11BASE=           YES
+USE_X11=               YES
+USE_LIBTOOL=           YES
+LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 
-LOCALSTATEDIR= /var/gnome
+LOCALSTATEDIR=         /var
+
+CONFIGURE_ARGS+=       --localstatedir=${LOCALSTATEDIR}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 
-EVAL_PREFIX+=  KDEBASEDIR=kdebase
-CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR}
-CONFIGURE_ENV+=        LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \
-               GDMOWN=${GDMOWN} GDMGRP=${GDMGRP}
+CONFIGURE_ENV+=                X11BASE=${X11BASE} GDMOWN=${GDMOWN} GDMGRP=${GDMGRP}
+MAKE_ENV+=             ROOT_USER=${ROOT_USER} ROOT_GROUP=${ROOT_GROUP}
+MAKE_ENV+=             CHMOD=${CHMOD} CHOWN=${CHOWN}
+PLIST_SUBST+=          PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+PLIST_SUBST+=          LOCALSTATEDIR="${LOCALSTATEDIR}"
+FILES_SUBST+=          LOCALSTATEDIR="${LOCALSTATEDIR}"
 
-MAKE_ENV+=     GDMOWN=${GDMOWN} GDMGRP=${GDMGRP}
-MAKE_ENV+=     CHMOD=${CHMOD} CHOWN=${CHOWN}
-PLIST_SUBST+=  GDMOWN=${GDMOWN} GDMGRP=${GDMGRP} \
-               INSTALL="${INSTALL}" LOCALSTATEDIR="${LOCALSTATEDIR}"
+OWN_DIRS=              ${PKG_SYSCONFDIR}/dm/Sessions
+OWN_DIRS+=             ${PKG_SYSCONFDIR}/gdm/Init
+OWN_DIRS+=             ${PKG_SYSCONFDIR}/gdm/PostSession
+OWN_DIRS+=             ${PKG_SYSCONFDIR}/gdm/PreSession
+OWN_DIRS+=             ${PKG_SYSCONFDIR}/gdm/modules
 
-GDMCFGDIR=     ${PREFIX}/etc/gdm
-GDMCFGFILES=   Default:Init.default/Default \
-               PostSession:PostSession.default/Default \
-               PreSession:PreSession.default/Default \
-               Gnome:Sessions.default/Gnome \
-               KDE:Sessions.default/KDE \
-               Xsession:Sessions.default/Xsession \
-               gdm.conf:gdm.conf.default \
-               locale.alias:locale.alias.default \
-               gnomerc:../gnomerc.default
+EGDIR=                 ${PREFIX}/share/examples
+CONF_FILES=            ${EGDIR}/dm/Sessions/default.desktop \
+                       ${PKG_SYSCONFDIR}/dm/Sessions/default.desktop
+.for f in gdm.conf locale.alias \
+       modules/AccessDwellMouseEvents modules/AccessKeyMouseEvents \
+       modules/factory-AccessDwellMouseEvents \
+       modules/factory-AccessKeyMouseEvents
+CONF_FILES+=           ${EGDIR}/gdm/$f \
+                       ${PKG_SYSCONFDIR}/gdm/$f
+.endfor
+SUPPORT_FILES_MODE=    0755
+.for f in Init/Default PostSession/Default PreSession/Default \
+       XKeepsCrashing Xsession
+SUPPORT_FILES+=                ${EGDIR}/gdm/$f \
+                       ${PKG_SYSCONFDIR}/gdm/$f
+.endfor
+RCD_SCRIPTS=           gdm
 
-FILES_SUBST+=  GDMCFGDIR=${GDMCFGDIR:Q}
-FILES_SUBST+=  GDMCFGFILES=${GDMCFGFILES:C/.*://g:Q}
+SUBST_CLASSES+=                desktop
+SUBST_MESSAGE.desktop= "Enabling sessions."
+SUBST_STAGE.desktop=   post-patch
+SUBST_FILES.desktop=   config/default.desktop.in config/gnome.desktop.in
+SUBST_SED.desktop=     -e 's/^_//g'
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -60,65 +72,36 @@
 GDMGRP=                daemon
 .endif
 
-.if defined(USE_PAM)
-DEPENDS+=      PAM-[0-9]*:../../security/PAM
-.else
+BUILD_DEFS+=   USE_PAM
 
-post-patch:
-       cd ${WRKSRC} &&                                 \
-       ${CP} configure configure.old &&                \
-       ${SED} -e 's:security/pam_appl.h:nopam:g'       \
-               < configure.old > configure
+.if defined(USE_PAM)
+DEPENDS+=              PAM-[0-9]*:../../security/PAM
+PLIST_SUBST+=          PAM_MISC=""
+.else
+PLIST_SUBST+=          PAM_MISC="@comment "
+SUBST_CLASSES+=                pam
+SUBST_MESSAGE.pam=     "Disabling PAM."
+SUBST_STAGE.pam=       post-patch
+SUBST_FILES.pam=       configure
+SUBST_SED.pam=         -e 's:security/pam_appl.h:nopam:g'
 .endif
 
-post-build:
-       cd ${WRKSRC}/config;                                            \
-       for f in Default PostSession PreSession; do                     \
-               ${SED} -e 's#/usr/bin/X11#${X11BASE}/bin#g' $$f >$$f.new; \
-               ${MV} $$f.new $$f;                                      \
-               ${CHMOD} +x $$f;                                        \
-       done
-       cd ${WRKSRC}/config;                                            \
-       ${RM} -f KDE Xsession;                                          \
-       ${ECHO} '#! ${SH}' >KDE;                                        \
-       ${ECHO} "export KDEDIR=${KDEBASEDIR}" >>KDE;                    \
-       ${ECHO} 'exec $${KDEDIR}/bin/startkde $$@' >>KDE;               \
-       ${ECHO} '#! ${SH}' >Xsession;                                   \
-       ${ECHO} 'exec ${X11BASE}/lib/X11/xdm/Xsession $$@' >>Xsession;  \
-       ${CHMOD} +x KDE Xsession
-       ${SED} "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/gdm > ${WRKDIR}/gdm
-
 post-install:
-       ${CHMOD} +x ${WRKSRC}/config/gnomerc
-.for FILE in ${GDMCFGFILES}
-       @cd ${WRKSRC}/config; \
-       SOURCE=${FILE:C/:.*//}; \
-       TARGET=${GDMCFGDIR}/${FILE:C/.*://:S/.default//}; \
-       if [ ! -f $$TARGET ]; then \
-         ${ECHO} "installing $$SOURCE as $$TARGET"; \
-         if [ -x $$SOURCE ]; then \
-           ${INSTALL_SCRIPT} $$SOURCE $$TARGET; \
-         else \
-           ${INSTALL_DATA} $$SOURCE $$TARGET; \
-         fi; \
-       fi; \
-       TARGET=${GDMCFGDIR}/${FILE:C/.*://}; \
-       ${INSTALL_DATA_DIR} `dirname $$TARGET`; \
-       ${ECHO} "installing $$SOURCE as $$TARGET"; \
-       if [ -x $$SOURCE ]; then \
-         ${INSTALL_SCRIPT} $$SOURCE $$TARGET; \
-       else \
-         ${INSTALL_DATA} $$SOURCE $$TARGET; \
-       fi
-.endfor
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gdm
        ${INSTALL_DATA} ${DISTDIR}/Daemon.README ${PREFIX}/share/doc/gdm
        ${INSTALL_DATA} ${DISTDIR}/Daemon.png ${PREFIX}/share/pixmaps
-       ${LN} -fs Gnome ${GDMCFGDIR}/Sessions/Default
-       ${INSTALL_SCRIPT} ${WRKDIR}/gdm ${PREFIX}/etc/rc.d/
 
 .include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../devel/libglade/buildlink2.mk"
-.include "../../x11/gnome-libs/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../devel/libglade2/buildlink2.mk"
+.include "../../devel/libgnome/buildlink2.mk"
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../graphics/libart2/buildlink2.mk"
+.include "../../graphics/libgnomecanvas/buildlink2.mk"
+.include "../../graphics/librsvg2/buildlink2.mk"
+.include "../../textproc/intltool/buildlink2.mk"
+.include "../../textproc/libxml2/buildlink2.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
+.include "../../x11/gtk2/buildlink2.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r e625ae00498a -r abf793d432e8 x11/gdm/PLIST
--- a/x11/gdm/PLIST     Tue Jan 20 13:33:06 2004 +0000
+++ b/x11/gdm/PLIST     Tue Jan 20 13:41:06 2004 +0000
@@ -1,80 +1,171 @@
-@comment $NetBSD: PLIST,v 1.4 2002/12/09 16:01:55 tron Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/01/20 13:41:06 xtraeme Exp $
 bin/gdm
+bin/gdm-binary
+bin/gdmXnest
+bin/gdmXnestchooser
 bin/gdmchooser
-bin/gdmconfig
+bin/gdmflexiserver
+bin/gdmgreeter
 bin/gdmlogin
-etc/gdm/Init.default/Default
-etc/gdm/PostSession.default/Default
-etc/gdm/PreSession.default/Default
-etc/gdm/Sessions.default/Gnome
-etc/gdm/Sessions.default/KDE
-etc/gdm/Sessions.default/Xsession
-etc/gdm/gdm.conf.default
-etc/gdm/locale.alias.default
-etc/gnomerc.default
-etc/gdm/Sessions/Failsafe
-etc/gdm/gnomerc
+bin/gdmphotosetup
+bin/gdmsetup
+bin/gdmthemetester
 etc/rc.d/gdm
+lib/gtk-2.0/modules/libdwellmouselistener.a
+lib/gtk-2.0/modules/libdwellmouselistener.la



Home | Main Index | Thread Index | Old Index