Download and Install libgphoto2 version 2.3.1 on Mac OS X
Friday the 5th of September, 2008

    libgphoto2  most recent diff


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



      # $Id: Portfile 30224 2007-10-22 22:49:14Z jmpp macports.org $
      PortSystem 1.0
      Name: libgphoto2
      Version: 2.3.1
      revision 1
      Category: devel
      Maintainers: nomaintainer
      Description: The gphoto2 digital camera library
      Long Description: The gphoto2 library can be used by applications to access various digital camera models.
      Homepage: http://www.gphoto.org/proj/libgphoto2/
      master_sites sourceforge:gphoto
      checksums md5 37f85e34e5b6031ddf6cac8b8782ac4f
      use_bzip2 yes
      patchfiles patch-configure
      depends_lib port:dbus port:gettext port:jpeg port:libexif port:libiconv port:libusb port:pkgconfig

      configure.cflags-append -I${prefix}/include -no-cpp-precomp
      configure.args --mandir=${prefix}/share/man --with-drivers=all --with-libexif=auto

      Variant: without_libexif {
      depends_lib-delete port:libexif
      configure.args-delete --with-libexif=auto
      configure.args-append --with-libexif=no
      }

      Variant: with_doxygen {
      depends_build port:doxygen
      patchfiles-delete patch-configure
      }

      platform darwin 6 {
      depends_lib-append port:dlcompat
      post-configure {
      reinplace "s|#define HAVE_WCHAR_T 1|#undef HAVE_WCHAR_T|" ${worksrcpath}/config.h
      reinplace "s|#define HAVE_WCHAR_T 1|#undef HAVE_WCHAR_T|" ${worksrcpath}/libgphoto2_port/config.h
      }
      }

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

     Where to find more information:

    Darwin Ports



    image test