Librsvg version 2.26.0 - How to Download and Install on Mac OS X
Friday the 20th of November, 2009

    librsvg  most recent diff


    version 2.26.0

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


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

      PortSystem 1.0
      PortGroup muniversal 1.0

      Name: librsvg
      Version: 2.26.0
      Revision: 1
      set branch [join [lrange [split ${version} .] 0 1] .]
      Category: graphics gnome
      Platform: darwin
      Maintainers: nomaintainer
      Description: Gnome implementation of rsvg.

      Long Description: ${description}

      Homepage: http://librsvg.sourceforge.net/
      Master Sites: gnome:sources/${name}/${branch}/
      use_bzip2 yes

      Checksums: md5 65dbd726a514fe8b797d26254b8efc1e sha1 61044be4bcd5945f5711f788e1aa303a80b69e32 rmd160 9e8197519e4e48f736e6bb65d2993478b0f64451

      depends_lib port:libcroco port:libgsf port:libart_lgpl port:libxml2
      depends_run port:python26

      configure.args --enable-pixbuf-loader --with-svgz --disable-mozilla-plugin

      post-destroot {
      set python.branch 2.6
      set python.bin ${frameworks_dir}/Python.framework/Versions/${python.branch}/bin/python${python.branch}
      reinplace "s|^#!/usr/bin/env python|#!${python.bin}|g" ${destroot}${prefix}/bin/rsvg
      }

      post-activate {
      ui_debug "Updating gdk-pixbuf.loaders..."
      system "gdk-pixbuf-query-loaders >${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.