Lib2geom version 0.2.0 - How to Download and Install on Mac OS X
Thursday the 18th of March, 2010

    lib2geom  most recent diff


    version 0.2.0

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


      # -*- 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 lib2geom Portfile 45525 2009-01-17 08:45:37Z devans macports.org $

      PortSystem 1.0

      Name: lib2geom
      Version: 0.2.0
      Maintainers: devans
      Category: graphics
      Platform: darwin
      Homepage: http://lib2geom.org/

      Description: lib2geom is a library providing a robust 2D computational geometry framework.

      Long Description: lib2geom (2Geom in private life) is a library initially developed for Inkscape but which will provide a robust 2D computational geometry framework for any application. It is not a rendering library, but instead concentrates on high level algorithms such as computing arc length.

      universal_variant no

      Master Sites: sourceforge
      Checksums: md5 983941e4b115a3af9ee95ab2d9cc35e5 sha1 c0fc2c50e14dba98753400c75241585fda026960 rmd160 f861adb5f7b308dc6197175c8beecfa6682ba42e

      depends_build port:cmake port:pkgconfig

      depends_lib port:gtkmm port:boost port:gsl

      Patch Files: patch-src-2geom-CMakeLists.txt.diff patch-src-2geom-toys-CMakeLists.txt.diff

      configure.cmd cmake
      configure.args -Wno-dev -DCMAKE_INSTALL_PREFIX=${prefix} -D2GEOM_BUILD_SHARED=YES
      configure.post_args ${worksrcpath}

      livecheck.version 0.2

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.