Gimp-jp2 version 2.2.0 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    gimp-jp2  most recent diff


    version 2.2.0

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


      # -*- 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 gimp-jp2 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: gimp-jp2
      Version: 2.2.0
      Revision: 2
      Maintainers: devans
      Description: GIMP Wavelet/JPEG 2000 plug-in.
      Long Description: GIMP Wavelet/JPEG 2000 plug-in, written by Divyanshu Vats, from the 2006 GIMP Google Summer of Code wavelet project, mentored by Simon Budig.

      universal_variant no

      Category: graphics
      Platform: darwin
      Homepage: http://registry.gimp.org/node/9899

      distname jp2
      Master Sites: http://registry.gimp.org/files/

      Checksums: md5 dfe378981796eaeefde35874d175c9e0 sha1 6caab9ebb067b44659d59bced3da5bb54634b690 rmd160 6694475d690824feb4a1cb8b4cb232857700694c

      depends_lib lib:libgimp-2.0:gimp2 port:openjpeg

      post-patch {
      reinplace "s|#include ||" ${worksrcpath}/src/main.c
      reinplace "s|#include \"openjpeg.h\"|#include |" ${worksrcpath}/src/interface.h ${worksrcpath}/src/jp2read.c ${worksrcpath}/src/jp2write.c ${worksrcpath}/src/main.c ${worksrcpath}/src/main_back.c
      reinplace "s|MAX_PATH|OPJ_PATH_LEN|" ${worksrcpath}/src/jp2read.c ${worksrcpath}/src/jp2write.c ${worksrcpath}/src/main_back.c
      file delete ${worksrcpath}/src/openjpeg.h
      }

      post-destroot {
      delete ${destroot}${prefix}/share/gimp-plugin-template
      }

      livecheck.type moddate
      livecheck.url ${master_sites}${distname}${extract.suffix}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.