Pango version 1.22.3 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    version 1.22.3

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


      The pango Portfile 42606 2008-11-26 06:47:28Z ryandesign macports.org $

      PortSystem 1.0

      Name: pango
      Version: 1.22.3
      set branch [join [lrange [split ${version} .] 0 1] .]
      Category: x11
      Maintainers: ryandesign
      Homepage: http://www.pango.org/
      Master Sites: gnome:sources/pango/${branch}
      Platform: darwin
      use_bzip2 yes
      use_parallel_build yes

      Description: Framework for the layout and rendering of i18n text

      Long Description: The goal of the Pango project is to provide an open-source framework for the layout and rendering of internationalized text.

      Checksums: md5 8909ddbde2f2e91eb0c79202e1051a84 sha1 6fa59f6ede26b1ad7e46ad5cad376f6a99b7bca2 rmd160 99f8ae611d0d040fe57e0fe2788d04c311761798

      depends_build port:pkgconfig

      depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 lib:libX11.6:XFree86 port:Xft2 path:lib/pkgconfig/cairo.pc:cairo port:fontconfig

      Patch Files: patch-ltmain.sh.diff

      configure.ccache no

      pre-configure {
      set glib_minimum_version 2.17.3
      set glib_installed_version [exec pkg-config glib-2.0 --modversion]
      if {[rpm-vercomp ${glib_installed_version} ${glib_minimum_version}] < 0} {
      return -code error "pango ${version} requires glib ${glib_minimum_version} or later but you have glib ${glib_installed_version}."
      }

      set cairo_minimum_version 1.7.4
      set cairo_installed_version [exec pkg-config cairo --modversion]
      if {[rpm-vercomp ${cairo_installed_version} ${cairo_minimum_version}] < 0} {
      return -code error "pango ${version} requires cairo ${cairo_minimum_version} or later but you have cairo ${cairo_installed_version}."
      }
      }

      configure.cppflags-append -no-cpp-precomp

      configure.ldflags-append -no-undefined -bind_at_load

      configure.args --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib --enable-static

      Variant: no_x11 description {Disable X11 support} {
      depends_lib-delete lib:libX11.6:XFree86 port:Xft2
      configure.args-delete --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib
      configure.args-append --without-x
      }

      post-destroot {
      if {[variant_isset no_x11]} {
      xinstall -d ${destroot}${prefix}/etc/pango
      }
      xinstall -m 0644 ${worksrcpath}/modules/pangorc ${destroot}${prefix}/etc/pango
      reinplace "s|\\.\\./modules/|${prefix}/etc/pango/|g" ${destroot}${prefix}/etc/pango/pangorc

      system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/pango-querymodules ${destroot}${prefix}/lib/pango/1.6.0/modules/*.so >${destroot}${prefix}/etc/pango/pango.modules"
      reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules

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

      test.run yes
      test.target check

      livecheck.check regex
      livecheck.url http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/?C=M&O=D
      livecheck.regex ${name}-(\[0-9.\]+)\\.tar

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.