Libgda4 version 4.0.5 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    libgda4  most recent diff


    version 4.0.5

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


      # -*- 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 libgda4 Portfile 59158 2009-10-10 17:53:05Z devans macports.org $

      PortSystem 1.0

      Name: libgda4
      conflicts libgda3
      set gname libgda
      Version: 4.0.5
      set branch [join [lrange [split ${version} .] 0 1] .]
      Description: GDA provides uniform access to diffent kinds of data sources.
      Long Description: GNU Data Access (GDA) is an attempt to provide uniform access to different kinds of data sources (databases, information servers, mail spools, etc).
      Maintainers: jwa devans openmaintainer
      Category: databases gnome
      Platform: darwin
      Homepage: http://www.gnome-db.org/
      distname libgda-${version}
      Master Sites: gnome:sources/${gname}/${branch}/
      use_bzip2 yes

      Checksums: md5 c61dbbc85479d3de4371ee16da922124 sha1 d97260f8becf645c7efcabec58963ed2f9a87b9c rmd160 c149b331734f3dba2a916512aa76eb0ec6e51e52

      Patch Files: patch-configure.in.diff

      depends_build port:pkgconfig port:flex port:m4 port:intltool port:p5-xml-parser port:gnome-doc-utils

      depends_lib port:gettext port:libiconv port:libxml2 port:ncurses port:readline port:zlib port:gnome-vfs port:sqlite3 port:libsoup

      #
      # prefer Berkeley DB 4.7 over 4.6
      # and depend on it if 4.6 is not installed
      # if both are installed configure will select 4.7
      # otherwise look for 4.6
      #

      if (![variant_isset without_bdb]) {
      if !([file exists ${prefix}/include/db46/db.h]) {
      depends_lib-append port:db47
      } elseif ([file exists ${prefix}/include/db47/db.h]) {
      depends_lib-append port:db47
      } else {
      depends_lib-append port:db46
      }
      }

      use_autoconf yes

      configure.perl ${prefix}/bin/perl
      configure.env-append INTLTOOL_PERL=${configure.perl}

      configure.args --mandir=${prefix}/share/man --with-bdb=${prefix} --enable-system-sqlite --without-odbc --without-mysql --without-msql --without-postgres --without-tds --without-ibmdb2 --without-sybase --without-oracle --without-firebird --without-xbase --without-mdb --without-ldap --without-java --without-jni

      Variant: with_mysql5 description {support for current MySQL 5.x} {
      depends_lib-append path:bin/mysql_config5:mysql5
      configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
      configure.args-delete --without-mysql
      configure.args-append --with-mysql=${prefix}/lib/mysql5
      configure.cppflags-append "-I${prefix}/include/mysql5/mysql"
      }

      Variant: with_postgresql83 conflicts with_postgresql84 description {support for PostgreSQL 8.3.x} {
      configure.cppflags-append "-I${prefix}/include/postgresql83"
      depends_lib-append port:postgresql83
      configure.args-delete --without-postgres
      configure.args-append --with-postgres=${prefix}/lib/postgresql83
      }

      Variant: with_postgresql84 conflicts with_postgresql83 description {support for PostgreSQL 8.4.x} {
      configure.cppflags-append "-I${prefix}/include/postgresql84"
      depends_lib-append port:postgresql84
      configure.args-delete --without-postgres
      configure.args-append --with-postgres=${prefix}/lib/postgresql84
      }

      Variant: without_bdb description {remove support for Berkeley DB} {
      configure.args-delete --with-bdb=${prefix}
      configure.args-append --without-bdb
      }

      livecheck.type regex
      livecheck.url http://ftp.gnome.org/pub/GNOME/sources/${gname}/${branch}/
      livecheck.regex "LATEST-IS-(\\d+(?:\\.\\d+)*)"

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.