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

    version 0.5.6

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


      The glitz Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup muniversal 1.0

      Name: glitz
      Version: 0.5.6
      Revision: 2
      Maintainers: nomaintainer
      Category: graphics devel x11
      Platform: darwin

      Description: Glitz is an OpenGL image compositing library.
      Long Description: Glitz is an OpenGL image compositing library. Glitz provides Porter/Duff compositing of images and implicit mask generation for geometric primitives including trapezoids, triangles, and rectangles.

      Homepage: http://www.freedesktop.org/Software/glitz/
      Master Sites: http://cairographics.org/snapshots/

      depends_lib port:mesa

      Checksums: md5 c507f140ecccc06aed8888c958edda4c sha1 81604bf02ceda85ea32b52423f78a883aaec6dc6 rmd160 547ef1be273856942e0fa36c097c4acb367336b2

      configure.args --mandir=${prefix}/share/man

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO ${destroot}${docdir}
      }

      pre-extract {
      if {"darwin" == ${os.platform} && 9 == ${os.major}} {
      set minimum_xcodeversion 3.1
      set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
      if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
      ui_msg "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode ${current_xcodeversion}."
      return -code error "incompatible Xcode version"
      }
      }
      }

      # There is no reason to have the build directory in the .la file.
      pre-destroot {
      if { ! [variant_isset universal] } {
      reinplace "s| -L${worksrcpath}/src||g" ${worksrcpath}/src/agl/.libs/libglitz-agl.lai
      } else {
      foreach arch ${universal_archs_to_use} {
      reinplace "s| -L${worksrcpath}-${arch}/src||g" ${worksrcpath}-${arch}/src/agl/.libs/libglitz-agl.lai
      }
      }
      }

      livecheck.type regex
      livecheck.url ${master_sites}
      livecheck.regex LATEST-${name}-(\\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/glitz
      % sudo port install glitz
      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 glitz
      ---> Verifying checksum for glitz
      ---> Extracting glitz
      ---> Configuring glitz
      ---> Building glitz with target all
      ---> Staging glitz into destroot
      ---> Installing glitz
    - 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 glitz with these commands:
      %  man glitz
      % apropos glitz
      % which glitz
      % locate glitz

     Where to find more information:

    Darwin Ports



    Lightbox this page.