Gdm version 2.26.1 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 2.26.1

      View the most recent changes for the gdm port at: gdm.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for gdm.
      The raw portfile for gdm 2.26.1 is located here:
      http://gdm.darwinports.com/dports/gnome/gdm/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gdm


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The gdm Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      # TODO: figure out how to make PAM happy without blowing a large hole
      # in the security of the OS or touching PAM

      PortSystem 1.0

      Name: gdm
      Version: 2.26.1
      set branch [join [lrange [split ${version} .] 0 1] .]
      Description: The Gnome Display Manager is a re-implementation of the well known xdm program.
      Long Description: The Gnome Display Manager is a re-implementation of the well known xdm program. It displays a X11-based graphical login screen.
      Maintainers: devans openmaintainer
      Category: gnome
      Platform: darwin
      Homepage: http://www.gnome.org/
      Master Sites: gnome:sources/${name}/${branch}/
      Checksums: md5 c2c15f8b741962f278fa7e790aaa9a2b sha1 7c0b665c1235b903b58e5bfff8678e435529ff6c rmd160 abba568b616d5837f6aeedf3d2759a349df66c9e

      depends_build port:p5-xml-parser port:pkgconfig port:gnome-doc-utils

      depends_lib port:gnome-panel port:libxklavier

      use_bzip2 yes

      Patch Files: patch-fink-gdm-modified.diff patch-configure.diff patch-daemon-gdm-display-access-file.c.diff fgetpwent.diff

      post-patch {
      reinplace "s| MP_PREFIX |${prefix}|" ${worksrcpath}/configure
      }

      configure.args --mandir=${prefix}/share/man --x-includes=${prefix}/include --x-libraries=${prefix}/lib --without-selinux --disable-scrollkeeper

      configure.ldflags-append "-lresolv"

      startupitem.create yes
      startupitem.name gdm
      startupitem.init XDG_DATA_DIRS=${prefix}/share
      startupitem.start ${prefix}/sbin/gdm
      startupitem.stop ${prefix}/sbin/gdm-stop
      startupitem.restart ${prefix}/sbin/gdm-restart

      post-destroot {
      xinstall -m 644 ${filespath}/pam.sample ${destroot}${prefix}/etc/gdm
      xinstall ${filespath}/macports-gdm-util ${destroot}${prefix}/bin
      }

      pre-activate {
      addgroup gdm
      adduser gdm gid=[existsgroup gdm] realname=GNOME\ Display\ Manager
      }

      post-activate {
      system "scrollkeeper-update"
      file mkdir ${prefix}/var/gdm
      file attributes ${prefix}/var/gdm -owner gdm -group gdm
      }

      livecheck.type regex
      livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
      livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/gdm
      % sudo port install gdm
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching gdm
      ---> Verifying checksum for gdm
      ---> Extracting gdm
      ---> Configuring gdm
      ---> Building gdm with target all
      ---> Staging gdm into destroot
      ---> Installing gdm
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using gdm with these commands:
      %  man gdm
      % apropos gdm
      % which gdm
      % locate gdm

     Where to find more information:

    Darwin Ports



    Lightbox this page.