Gwyddion version 2.17 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    gwyddion  most recent diff


    version 2.17

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


      # -*- 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 gwyddion Portfile 59703 2009-10-20 19:01:40Z rowue macports.org $

      PortSystem 1.0

      Name: gwyddion
      Version: 2.17
      Category: science x11
      Platform: darwin
      Maintainers: rowue gwyddion.net:yeti
      Description: Software for SPM Analysis

      Long Description: Gwyddion is a modular program for SPM (scanning probe microscopy) data visualization and analysis. It uses gtk2 for the user interface.

      Homepage: http://gwyddion.net
      Master Sites: sourceforge
      use_bzip2 yes
      use_parallel_build yes

      Checksums: md5 2c60d97c941e415ab193e45e0590cdd0 sha1 2d957fee47a42b9f6afcb33dd780d4f8fa544130 rmd160 c9345e38e7f64d9aac93a39c6c09e71e261af8e9

      depends_lib port:gtk2 port:libxml2 port:fftw-3 port:gtkglext

      configure.args --disable-desktop-file-update --x-include=${prefix}/include --x-lib=${prefix}/lib

      Patch Files: patch-app-Makefile.am.diff patch-app-mac_integration.c.diff patch-configure.ac.diff patch-configure.diff app-ige-mag-menu.c.diff

      post-destroot {
      xinstall -m 755 -d ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS
      xinstall ${filespath}/gwyddion ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS
      reinplace "s| APPDIR |${applications_dir}|" ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS/gwyddion
      reinplace "s| PREFIX |${prefix}|" ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS/gwyddion
      xinstall -m 755 -d ${destroot}${applications_dir}/gwyddion.app/Contents/Resources
      xinstall -m 0644 ${filespath}/gwyddion.icns ${destroot}${applications_dir}/gwyddion.app/Contents/Resources
      xinstall -m 0644 ${filespath}/Info.plist ${destroot}${applications_dir}/gwyddion.app/Contents/
      reinplace "s| VERSION |${version}|" ${destroot}${applications_dir}/gwyddion.app/Contents/Info.plist
      system "echo 'APPL????' > ${destroot}${applications_dir}/gwyddion.app/Contents/PkgInfo"
      }

      post-activate {
      system "${prefix}/bin/update-mime-database ${prefix}/share/mime ; true"
      }

      platform darwin 8 {
      post-activate {
      if {[file exists ${prefix}/lib/pkgconfig/gl.pc]} {
      ui_msg "openGL support currently requires you to use MacPorts' X11 server (xorg-server) rather than Apple's."
      }
      }
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.