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

    version 1.2.10

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


      # -*- 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 gtk1 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: gtk1
      Version: 1.2.10
      Revision: 8
      Category: x11
      Maintainers: nomaintainer
      Description: Gimp Tool Kit
      Homepage: http://www.gtk.org/
      Platform: darwin freebsd sunos

      Long Description: This is GTK+ version 1.2.10. GTK+, which stands for the Gimp ToolKit, is a library for creating graphical user interfaces for the X Window System.

      Master Sites: gnome:sources/gtk+/1.2/ ftp://ftp.gtk.org/pub/gtk/v1.2/ macports:lt:lt

      distname gtk+-${version}
      set filename gtk+-${version}${extract.suffix}
      distfiles ${filename} ltconfig13:lt ltmain13:lt
      Checksums: gtk+-1.2.10.tar.gz md5 4d5cb2fc7fb7830e4af9747a36bfce20 ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e ltmain13 md5 e094ae92724c4015dbab97de151c2525
      extract.only ${filename}

      depends_lib port:gettext port:glib1 port:xorg-libXext port:xorg-libXt

      Patch Files: patch-config.guess patch-config.sub patch-gtk.m4.diff

      configure.ccache no
      configure.args --disable-shm --with-locale --mandir=${prefix}/share/man --infodir=${prefix}/share/info

      post-patch {
      copy -force ${distpath}/ltconfig13 ${worksrcpath}/ltconfig
      copy -force ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh
      }

      post-destroot {
      ln -sf libgdk-1.2.0.9.1.dylib ${destroot}${prefix}/lib/libgdk.1.dylib
      ln -sf libgtk-1.2.0.9.1.dylib ${destroot}${prefix}/lib/libgtk.1.dylib
      }

      platform sunos {
      configure.args-delete --disable-shm --with-locale
      configure.args-append --disable-nls
      }

      livecheck.type regex
      livecheck.url ftp://ftp.gtk.org/pub/gtk/v1.2/
      livecheck.regex "gtk\\+-(\\d+(?:\\.\\d+)*)${extract.suffix}"

      # port:glib1 is not universal
      universal_variant no

    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/gtk1
      % sudo port install gtk1
      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 gtk1
      ---> Verifying checksum for gtk1
      ---> Extracting gtk1
      ---> Configuring gtk1
      ---> Building gtk1 with target all
      ---> Staging gtk1 into destroot
      ---> Installing gtk1
    - 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 gtk1 with these commands:
      %  man gtk1
      % apropos gtk1
      % which gtk1
      % locate gtk1

     Where to find more information:

    Darwin Ports



    Lightbox this page.