Xv version 3.10a - How to Download and Install on Mac OS X
Friday the 19th of March, 2010

    version 3.10a

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


      The xv Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: xv
      Version: 3.10a
      set jumbo_version 20070520
      Revision: 4
      Category: graphics x11
      Maintainers: raimue

      Description: xv is an interactive image manipulation program for the X Window System.

      Long Description: xv is an interactive image manipulation program for the X Window System. It can operate on images in the GIF, JPEG, TIFF, PNG, PhotoCD, PBM, PGM, PPM, XPM, X11 bitmap, Sun Rasterfile, Targa, RLE, RGB, BMP, PCX, FITS, and PM formats on all known types of X displays. It can generate PostScript files, and if you have ghostscript (version 2.6 or above) installed on your machine, it can also display them. This port includes 'xv jumbo patches' from http://www.sonic.net/~roelofs/greg_xv.html Note that this program is shareware except for personal use only, please read the license agreement.

      Homepage: http://www.trilon.com/xv/xv.html
      Platform: darwin

      Master Sites: ftp://ftp.trilon.com/pub/xv/:xv sourceforge:png-mng:xv-jumbo
      distfiles ${distname}${extract.suffix}:xv ${distname}-jumbo-patches-${jumbo_version}${extract.suffix}:xv-jumbo
      Checksums: ${distname}${extract.suffix} md5 2d4fbeec1561304362781cc8e2f7f72d ${distname}-jumbo-patches-${jumbo_version}${extract.suffix} md5 9fb2d0ec320498105cafeba38a588472
      depends_lib port:xorg-libX11 port:jpeg port:tiff port:libpng port:jasper path:include/gif_lib.h:giflib port:zlib port:xpm

      patch {
      system "cd '${worksrcpath}' && patch -p1 < ${workpath}/${distname}-jumbo-fix-enh-patch-${jumbo_version}.txt"
      system "cd '${worksrcpath}' && patch -p0 < ${filespath}/patch-Makefile.diff"
      system "cd '${worksrcpath}' && patch -p0 < ${filespath}/patch-xv.h.diff"
      }

      use_configure no

      build.post_args PREFIX='${prefix}' ZLIBDIR='${prefix}' JPEGDIR='${prefix}' TIFFDIR='${prefix}' PNGDIR='${prefix}'
      destroot.post_args PREFIX='${prefix}' DESTDIR='${destroot}'

      livecheck.type none

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.