Download and Install jasper version 1.900.1 on Mac OS X
Thursday the 7th of August, 2008

    jasper  most recent diff


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



      # $Id: Portfile 36742 2008-05-13 21:25:18Z gwright macports.org $

      PortSystem 1.0

      Name: jasper
      Version: 1.900.1
      revision 1
      Category: graphics
      Platform: darwin
      Maintainers: nomaintainer
      Description: Library for manipulating JPEG-2000 images

      Long Description: The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).

      Homepage: http://www.ece.uvic.ca/~mdadams/jasper/
      master_sites ${homepage}software/
      use_zip yes

      checksums md5 a342b2b4495b3e1394e161eb5d85d754 sha1 9c5735f773922e580bf98c7c7dfda9bbed4c5191 rmd160 fb2c188abf5b8c297078ac1f913101734f72db5c

      depends_lib port:jpeg

      patchfiles patch-src_libjasper_base_jas_cm.c.diff patch-src_libjasper_jpc_jpc_dec.c.diff

      configure.args --enable-shared --disable-static --disable-opengl --mandir=\\\${prefix}/share/man --infodir=\\\${prefix}/share/info

      use_parallel_build yes

      test.run yes
      test.target check

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc
      copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}-${version}
      file attributes ${destroot}${prefix}/share/doc/${name}-${version} -permissions go-w
      }

      Variant: jiv description {build a basic viewer as well} {
      depends_lib-append port:glut lib:libX11.6:xorg

      configure.args-delete --disable-opengl
      configure.args-append --enable-opengl
      configure.cppflags-append "-I${x11prefix}/include"
      }

      platform darwin 9 {
      if {[variant_isset jiv]} {
      set glLib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
      configure.ldflags-append -Wl,-dylib_file,${glLib}:${glLib}
      }
      }

      livecheck.check regex
      livecheck.regex "JasPer version (.*) source distribution \\\(current version\\\)."

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

     Where to find more information:

    Darwin Ports



    image test