Libgphoto2 version 2.3.1 - How to Download and Install on Mac OS X
Saturday the 4th of July, 2009

    libgphoto2  most recent diff


    version 2.3.1

      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


      The libgphoto2 Portfile 41993 2008-11-13 09:43:33Z ryandesign macports.org $
      PortSystem 1.0
      Name: libgphoto2
      Version: 2.3.1
      Revision: 1
      Category: devel
      Platform: darwin
      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
      Patch Files: patch-configure
      depends_build port:pkgconfig
      depends_lib port:dbus port:gettext port:jpeg port:libexif port:libiconv port:libusb

      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-append 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



    Lightbox this page.