MD5 924b25f623e0e12bc0c1284e8d35cd77 files/libgda-1.2.4-freetds_api_fixes.patch 14119
RMD160 2c2becec232a74eb9e430288b3e78f70e2294f2c files/libgda-1.2.4-freetds_api_fixes.patch 14119
SHA256 cf4dfa78d13f79d698532945ba7a26edc2a256a7b1fa3cdc89eec544d18448ea files/libgda-1.2.4-freetds_api_fixes.patch 14119
+AUX libgda-2.99.3-collisions.patch 13748 RMD160 2767bdcf783dc40694dee238eaec24e66282dd4c SHA1 9a53f3819ed9a43c514cb5841186e9d8f01a2bc5 SHA256 0f50686f0af92e9ff5ad751177acbacc79255aa1e525914787e516945eaef3f5
+MD5 9bcb32f3eb25e0f6352fdd7e97bc5511 files/libgda-2.99.3-collisions.patch 13748
+RMD160 2767bdcf783dc40694dee238eaec24e66282dd4c files/libgda-2.99.3-collisions.patch 13748
+SHA256 0f50686f0af92e9ff5ad751177acbacc79255aa1e525914787e516945eaef3f5 files/libgda-2.99.3-collisions.patch 13748
DIST libgda-1.2.3.tar.bz2 1075643 RMD160 d429dcce511084287cc63a2d1df93f7ca6d9316c SHA1 a4a7c7835c67987dc846077a3de0512870352ae7 SHA256 17add29bb2d7b57da5874f8a28c1a0af4b6f965ad992fef25002b6c33318f303
DIST libgda-1.2.4.tar.bz2 1087076 RMD160 83981076ac408fdd4b89f0cb97cb605d5301fcb2 SHA1 a2fefe602a07ca92cfb066492e33d4d1e4733bfc SHA256 d5e700203764e3f8d9ab3573a9b1b0e218778022c7956cf719fa0500b3027930
+DIST libgda-2.99.3.tar.bz2 2683690 RMD160 efca22053cc6d0d1128a236e6c6b978afba9e2a2 SHA1 f75cd7e87e13a4f634616e31b761c7087cf0b7e8 SHA256 4c9e5ff344afe3912b9b8bc52ecd4072d3567e647e8a02a03bdddc3fc94211b6
EBUILD libgda-1.2.3.ebuild 2100 RMD160 c722e6f9cd800e6acd67210b94361c0aad145dd5 SHA1 aec46fc4c02ab28653e51872ccb333c41259d3af SHA256 cc01d3687e826250ae45a08abf68249f6ab3978b66280cab5b5d0353adac0cc5
MD5 754bc083bae252f54e1e817ae1c3dbd5 libgda-1.2.3.ebuild 2100
RMD160 c722e6f9cd800e6acd67210b94361c0aad145dd5 libgda-1.2.3.ebuild 2100
MD5 f4e37f9106c554c0e3f8666b0b55c206 libgda-1.2.4.ebuild 2158
RMD160 089ff414cf20821ea64648fb1d6130ecd5974a1c libgda-1.2.4.ebuild 2158
SHA256 a4237c54f9efe5fa0186afed6150ec97852fbb192efec00f2980218590e4d7b9 libgda-1.2.4.ebuild 2158
-MISC ChangeLog 15589 RMD160 e57b704768cfd7ed024c34505548d6ea58325f0a SHA1 a3113c7d8dc5b426a84d182628089f13bc007983 SHA256 f1d9485450090a7105c092f32585d50185fa20ee15b1121029fbe0b05f4db989
-MD5 2465c12090490d15632e75ffa2831c54 ChangeLog 15589
-RMD160 e57b704768cfd7ed024c34505548d6ea58325f0a ChangeLog 15589
-SHA256 f1d9485450090a7105c092f32585d50185fa20ee15b1121029fbe0b05f4db989 ChangeLog 15589
+EBUILD libgda-2.99.3.ebuild 2662 RMD160 10ca86db4b8ccc2a107f84ab6c391fbcf1a02ce8 SHA1 b338da85dc1e9fbf58a6cae0b1e7a124e25bfdc0 SHA256 ec56dd7040f5dd6c29cb8003c4e2689c79e066ca56e6e226932c492d219cc9ea
+MD5 88b9ee4020b2dc49b5a4ce35b99ff779 libgda-2.99.3.ebuild 2662
+RMD160 10ca86db4b8ccc2a107f84ab6c391fbcf1a02ce8 libgda-2.99.3.ebuild 2662
+SHA256 ec56dd7040f5dd6c29cb8003c4e2689c79e066ca56e6e226932c492d219cc9ea libgda-2.99.3.ebuild 2662
+MISC ChangeLog 15889 RMD160 23d894d720325ad0c7b36574ab86e4a81e74e611 SHA1 ee9f80219002fc5967eeadf741b61c35d8675d7c SHA256 7e183f0951486895e9131ae8c0ad9d130499389cce9e4d7cd76f333e7254a2e9
+MD5 41560c2937939c4debd4f21c18fe2d49 ChangeLog 15889
+RMD160 23d894d720325ad0c7b36574ab86e4a81e74e611 ChangeLog 15889
+SHA256 7e183f0951486895e9131ae8c0ad9d130499389cce9e4d7cd76f333e7254a2e9 ChangeLog 15889
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158
MD5 56ba66eb7e457766e1b0c0a6e826157e files/digest-libgda-1.2.4 244
RMD160 ba54f74fc1e7a82983104c75abda34af94458299 files/digest-libgda-1.2.4 244
SHA256 f91c0bcfc4271b2751f510cc84fc441e85c410a0f6fd801eec2b14880b1a0cc2 files/digest-libgda-1.2.4 244
+MD5 851f3821c0bd4fe8e2911d00644245d6 files/digest-libgda-2.99.3 247
+RMD160 5bfa4bc32185d06e15f9261ff65fb89ad4c144c7 files/digest-libgda-2.99.3 247
+SHA256 53cc878065a862c10c391ac1874b2d33c446bfd4edf5dd71c736f5ef80f6dca4 files/digest-libgda-2.99.3 247
--- /dev/null
+Index: tools/gda-config.5
+===================================================================
+--- tools/gda-config.5 (revision 2809)
++++ tools/gda-config.5 (working copy)
+@@ -4,7 +4,7 @@
+ .\" Author:
+ .\" Gonzalo Paniagua Javier (gonzalo@gnome-db.org)
+ .\"
+-.TH gda-config "5" "January 2003" "libgda" "File Formats"
++.TH gda-config-3.0 "5" "January 2003" "libgda" "File Formats"
+ .SH NAME
+ $(sysconfdir)/libgda/config \- libgda global configuration file.
+ $(HOME)/.libgda/config \- libgda user configuration file.
+@@ -43,10 +43,10 @@
+ .fi
+ .sp
+ .RE
+-You can also use \fBgda-config-tool\fR or \fBmergeant\fR (recommended) to modify
++You can also use \fBgda-config-tool-3.0\fR or \fBmergeant\fR (recommended) to modify
+ this file.
+ .SH SEE ALSO
+ .BR mergeant (1),
+-.BR gda-config-tool (1)
++.BR gda-config-tool-3.0 (1)
+
+
+Index: tools/gda-config-tool.1
+===================================================================
+--- tools/gda-config-tool.1 (revision 2809)
++++ tools/gda-config-tool.1 (working copy)
+@@ -4,14 +4,14 @@
+ .\" Author:
+ .\" Gonzalo Paniagua Javier (gonzalo@gnome-db.org)
+ .\"
+-.TH gda-config-tool "1" "October 2002" "gda-config-tool (libgda)" "User Commands"
++.TH gda-config-tool-3.0 "1" "October 2002" "gda-config-tool-3.0 (libgda)" "User Commands"
+ .SH NAME
+-gda-config-tool \- Tool for managing libgda configuration file.
++gda-config-tool-3.0 \- Tool for managing libgda configuration file.
+ .SH SYNOPSIS
+ .PP
+-.B gda-config-tool [OPTIONS]
++.B gda-config-tool-3.0 [OPTIONS]
+ .SH DESCRIPTION
+-The \fIgda-config-tool\fP program can be used create/edit/remove a libgda
++The \fIgda-config-tool-3.0\fP program can be used create/edit/remove a libgda
+ provider. It can be used both as a command line program and an interactive
+ program.
+ .SH OPTIONS
+@@ -58,6 +58,6 @@
+ User settings. Override global settings.
+ .SH SEE ALSO
+ .BR mergeant(1),
+-.BR gda-config(5)
++.BR gda-config-3.0(5)
+
+
+Index: tools/Makefile.am
+===================================================================
+--- tools/Makefile.am (revision 2809)
++++ tools/Makefile.am (working copy)
+@@ -1,18 +1,24 @@
+ if BUILD_CONFIG_TOOL
+-CONFIG_TOOL=gda-config-tool
+-man_MANS = gda-config-tool.1 \
+- gda-config.5
++CONFIG_TOOL=gda-config-tool-3.0
++man_MANS = gda-config-tool-3.0.1 \
++ gda-config-3.0.5
+ else
+ CONFIG_TOOL=
+ endif
+
+ if BUILD_RUN_TOOL
+-RUN_TOOL=gda-run
++RUN_TOOL=gda-run-3.0
+ else
+ RUN_TOOL=
+ endif
+
+-bin_PROGRAMS = $(RUN_TOOL) $(CONFIG_TOOL) gda-diagnose gda-list-config gda-inspect-dict-file gda-author-dict-file
++bin_PROGRAMS = \
++ $(RUN_TOOL) \
++ $(CONFIG_TOOL) \
++ gda-diagnose-3.0 \
++ gda-list-config-3.0 \
++ gda-inspect-dict-file-3.0 \
++ gda-author-dict-file-3.0
+
+ AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+@@ -20,16 +26,16 @@
+ -I. \
+ $(LIBGDA_CFLAGS)
+
+-gda_run_SOURCES = gda-run.c
+-gda_run_LDADD = \
++gda_run_3_0_SOURCES = gda-run.c
++gda_run_3_0_LDADD = \
+ $(top_builddir)/libgda/libgda-3.0.la \
+ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+ $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
+ $(LIBGDA_LIBS)
+
+-gda_config_tool_SOURCES = gda-config-tool.c
+-gda_config_tool_LDADD = \
++gda_config_tool_3_0_SOURCES = gda-config-tool.c
++gda_config_tool_3_0_LDADD = \
+ $(top_builddir)/libgda/libgda-3.0.la \
+ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+@@ -39,46 +45,46 @@
+ $(POPT_LIB) \
+ $(LIBGDA_LIBS)
+
+-gda_diagnose_SOURCES = \
++gda_diagnose_3_0_SOURCES = \
+ html.h \
+ html.c \
+ gda-diagnose.c
+
+-gda_diagnose_LDADD = \
++gda_diagnose_3_0_LDADD = \
+ $(top_builddir)/libgda/libgda-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+ $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
+ $(LIBGDA_LIBS)
+
+-gda_inspect_dict_file_SOURCES = \
++gda_inspect_dict_file_3_0_SOURCES = \
+ gda-inspect-dict-file.c
+
+-gda_inspect_dict_file_LDADD = \
++gda_inspect_dict_file_3_0_LDADD = \
+ $(top_builddir)/libgda/libgda-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+ $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
+ $(LIBGDA_LIBS)
+
+-gda_author_dict_file_SOURCES = \
++gda_author_dict_file_3_0_SOURCES = \
+ gda-author-dict-file.c
+
+-gda_author_dict_file_LDADD = \
++gda_author_dict_file_3_0_LDADD = \
+ $(top_builddir)/libgda/libgda-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+ $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
+ $(LIBGDA_LIBS)
+
+-gda_list_config_SOURCES = \
++gda_list_config_3_0_SOURCES = \
+ gda-list-config.c
+
+-gda_list_config_LDADD = \
++gda_list_config_3_0_LDADD = \
+ $(top_builddir)/libgda/libgda-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+ $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
+ $(LIBGDA_LIBS)
+
+-EXTRA_DIST = gda-config-tool.1 gda-config.5
++EXTRA_DIST = $(man_MANS)
+Index: tools/gda-config-tool.c
+===================================================================
+--- tools/gda-config-tool.c (revision 2809)
++++ tools/gda-config-tool.c (working copy)
+@@ -1476,6 +1476,8 @@
+ main (int argc, char *argv [])
+ {
+ options (argc, (const char **) argv);
++ gda_init ("Gda configuration manager", PACKAGE_VERSION, argc, argv);
++
+ if (cmdArgs.actions == ACTION_NONE) {
+ g_print ("Using configuration file from %s\n", cmdArgs.config_file);
+ initialize_readline ();
+Index: doc/C/installation.xml
+===================================================================
+--- doc/C/installation.xml (revision 2809)
++++ doc/C/installation.xml (working copy)
+@@ -176,11 +176,11 @@
+ <title>Compiling with the library</title>
+ <para>
+ To compile you will need to set the C flags and to link the library, so we recommend
+- to use the <emphasis>pkg-config</emphasis> command.
++ to use the <command>pkg-config</command> command.
+ </para>
+ <programlisting>
+- <systemitem class="prompt">$</systemitem> <userinput> gcc -c full_example.c `pkg-config --cflags libgda`</userinput>
+- <systemitem class="prompt">$</systemitem> <userinput> gcc -o full_example `pkg-config --libs libgda` full_example.o</userinput>
++<systemitem class="prompt">$</systemitem> <userinput> gcc -c full_example.c `pkg-config --cflags libgda-3.0`</userinput>
++<systemitem class="prompt">$</systemitem> <userinput> gcc -o full_example `pkg-config --libs libgda-3.0` full_example.o</userinput>
+ </programlisting>
+ <para>
+ Doing this will add to the C compiler command line all needed header files
+Index: doc/C/libgda-docs.sgml
+===================================================================
+--- doc/C/libgda-docs.sgml (revision 2809)
++++ doc/C/libgda-docs.sgml (working copy)
+@@ -29,6 +29,11 @@
+ <!ENTITY GDADATAMODEL "<link linkend='GdaDataModel'>GdaDataModel</link>">
+ <!ENTITY GDADATAMODELARRAY "<link linkend='GdaDataModelArray'>GdaDataModelArray</link>">
+ <!ENTITY GDADATAMODELHASH "<link linkend='GdaDataModelHash'>GdaDataModelHash</link>">
++<!ENTITY gda-author-dict-file "<command>gda-author-dict-file-3.0</command>">
++<!ENTITY gda-diagnose "<command>gda-diagnose-3.0</command>">
++<!ENTITY gda-inspect-dict-file "<command>gda-inspect-dict-file-3.0</command>">
++<!ENTITY gda-list-config "<command>gda-list-config-3.0</command>">
++<!ENTITY gda-test-connection "<command>gda-test-connection-3.0</command>">
+ <!ENTITY fullexample SYSTEM "examples/full_example.c">
+ <!ENTITY install SYSTEM "installation.xml">
+ <!ENTITY examples SYSTEM "gettingstarted.xml">
+@@ -130,7 +135,7 @@
+
+ <book id="index">
+ <bookinfo>
+- <title>GNOME Data Access manual</title>
++ <title>GNOME Data Access 3.0 manual</title>
+ <authorgroup>
+ <author>
+ <firstname>Michael</firstname>
+@@ -197,7 +202,7 @@
+ </authorgroup>
+ <date>1999 February</date>
+ <copyright>
+- <year>1999 - 2006</year>
++ <year>1999 - 2007</year>
+ <holder>The GNOME Foundation</holder>
+ </copyright>
+ <abstract>
+@@ -638,15 +643,15 @@
+ </chapter>
+
+ <chapter id="libgda-tools-list-config">
+- <title>gda-list-config</title>
++ <title>&gda-list-config;</title>
+ <para>
+- The gda-list-config tool simply lists all the declared data sources, and all the installed
++ The &gda-list-config; tool simply lists all the declared data sources, and all the installed
+ providers, giving some other usefull information as well for each.
+ </para>
+ </chapter>
+
+ <chapter id="libgda-tools-test-connection">
+- <title>gda-test-connection</title>
++ <title>&gda-test-connection;</title>
+ <para>
+ This tool is a 'ping' like tool to test connectivity to databases. Connections can either
+ be declared as DSN, or described in the command line.
+@@ -654,9 +659,9 @@
+ </chapter>
+
+ <chapter id="libgda-tools-diagnose">
+- <title>gda-diagnose</title>
++ <title>&gda-diagnose;</title>
+ <para>
+- The gda-diagnose tool is a quite exhaustive and verbose testing program which output
++ The &gda-diagnose; tool is a quite exhaustive and verbose testing program which output
+ several HTML files
+ in a specified directory (DIAGNOSE_OUTPUT by default). It can either test a single data source
+ or all the data sources if none is specified. Running this tool can be time consuming...
+@@ -675,9 +680,9 @@
+ </chapter>
+
+ <chapter id="libgda-tools-author-dict">
+- <title>gda-author-dict-file</title>
++ <title>&gda-author-dict-file;</title>
+ <para>
+- The gda-author-dict-file tool allows to create a XML dictionary file which can be loaded into a
++ The &gda-author-dict-file; tool allows to create a XML dictionary file which can be loaded into a
+ #GdaDict object, specifying a data source to use. Specifically it does (depending on command line
+ options):
+ <itemizedlist>
+@@ -693,9 +698,9 @@
+ </chapter>
+
+ <chapter id="libgda-tools-inspect-dict">
+- <title>gda-inspect-dict-file</title>
++ <title>&gda-inspect-dict-file;</title>
+ <para>
+- The gda-inspect-dict-file tool tests an existing XML dictionary file and (depending on command line
++ The &gda-inspect-dict-file; tool tests an existing XML dictionary file and (depending on command line
+ options):
+ <itemizedlist>
+ <listitem>
+Index: doc/C/Makefile.am
+===================================================================
+--- doc/C/Makefile.am (revision 2809)
++++ doc/C/Makefile.am (working copy)
+@@ -3,7 +3,7 @@
+ AUTOMAKE_OPTIONS = 1.6
+
+ # The name of the module.
+-DOC_MODULE=libgda
++DOC_MODULE=libgda-3.0
+
+ # The top-level SGML file.
+ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
+@@ -37,7 +37,7 @@
+ $(LIBGDA_LIBS)
+
+ # Extra options to supply to gtkdoc-mkdb
+-MKDB_OPTIONS=--sgml-mode --output-format=xml
++MKDB_OPTIONS=--sgml-mode --output-format=xml --ignore-files="lexer.c"
+
+ # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
+ content_files = fdl-appendix.sgml
+Index: report/testing/Makefile.am
+===================================================================
+--- report/testing/Makefile.am (revision 2809)
++++ report/testing/Makefile.am (working copy)
+@@ -1,19 +1,19 @@
+ AM_CPPFLAGS = \
+- -I$(top_srcdir) \
+- -I$(top_builddir) \
++ -I$(top_srcdir) \
++ -I$(top_builddir) \
+ -I$(top_srcdir)/report \
+- -I$(top_builddir)/report \
+- $(LIBGDA_CFLAGS)
++ -I$(top_builddir)/report \
++ $(LIBGDA_CFLAGS)
+
+-bin_PROGRAMS = gda-report-test
++bin_PROGRAMS = gda-report-test-3.0
+
+-gda_report_test_SOURCES = \
++gda_report_test_3_0_SOURCES = \
+ gda-report-test.c
+
+-gda_report_test_LDADD = \
+- $(top_builddir)/libgda/libgda-3.0.la \
+- $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
++gda_report_test_3_0_LDADD = \
++ $(top_builddir)/libgda/libgda-3.0.la \
++ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+ $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
+- $(top_builddir)/report/libgda-report/libgda-report-3.0.la \
+- $(LIBGDA_LIBS)
++ $(top_builddir)/report/libgda-report/libgda-report-3.0.la \
++ $(LIBGDA_LIBS)
+Index: testing/Makefile.am
+===================================================================
+--- testing/Makefile.am (revision 2809)
++++ testing/Makefile.am (working copy)
+@@ -3,7 +3,7 @@
+ -I$(top_builddir) \
+ $(LIBGDA_CFLAGS)
+
+-bin_PROGRAMS = gda-test-connection
++bin_PROGRAMS = gda-test-connection-3.0
+ noinst_PROGRAMS = gda-test-sql gda-test-models gda-test-server-operation gda-test-model-query gda-test-blob
+
+ gda_test_sql_SOURCES = \
+@@ -30,10 +30,10 @@
+ $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
+ $(LIBGDA_LIBS)
+
+-gda_test_connection_SOURCES = \
++gda_test_connection_3_0_SOURCES = \
+ gda-test-connection.c
+
+-gda_test_connection_LDADD = \
++gda_test_connection_3_0_LDADD = \
+ $(top_builddir)/libgda/libgda-3.0.la \
+ $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
+ $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+Index: configure.in
+===================================================================
+--- configure.in (revision 2809)
++++ configure.in (working copy)
+@@ -988,7 +988,7 @@
+ dnl
+ dnl where to install DTD files
+ dnl
+-LIBGDA_DTDDIR=${datadir}/${PACKAGE}/dtd
++LIBGDA_DTDDIR=${datadir}/libgda-3.0/dtd
+ AC_SUBST(LIBGDA_DTDDIR)
+
+
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-2.99.3.ebuild,v 1.1 2007/01/29 22:48:44 leonardop Exp $
+
+# TODO:
+# * Verify if the parallel compilation problems persist, and if so fix them.
+
+WANT_AUTOMAKE="1.9"
+WANT_AUTOCONF="2.5"
+
+inherit autotools eutils mono gnome2
+
+DESCRIPTION="Gnome Database Access Library"
+HOMEPAGE="http://www.gnome-db.org/"
+LICENSE="GPL-2 LGPL-2"
+
+IUSE="berkdb doc firebird freetds ldap mdb mono mysql oci8 odbc postgres xbase"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND=">=dev-libs/glib-2.8
+ >=dev-libs/libxml2-2
+ virtual/fam
+ sys-libs/readline
+ sys-libs/ncurses
+ dev-libs/popt
+ berkdb? ( sys-libs/db )
+ odbc? ( >=dev-db/unixODBC-2.0.6 )
+ mysql? ( virtual/mysql )
+ postgres? ( >=dev-db/libpq-7.2.1 )
+ freetds? ( >=dev-db/freetds-0.62 )
+ firebird? ( dev-db/firebird )
+ xbase? ( dev-db/xbase )
+ mdb? ( >=app-office/mdbtools-0.5 )
+ ldap? ( >=net-nds/openldap-2.0.25 )
+ mono? (
+ >=dev-lang/mono-1
+ >=dev-dotnet/gtk-sharp-2.3.90 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9
+ >=dev-util/intltool-0.30
+ app-text/scrollkeeper
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+# problems with parallel builds
+MAKEOPTS="${MAKEOPTS} -j1"
+
+
+pkg_setup() {
+ G2CONF="$(use_enable mono csharp) \
+ $(use_with berkdb bdb /usr) \
+ $(use_with odbc odbc /usr) \
+ $(use_with mysql mysql /usr) \
+ $(use_with postgres postgres /usr) \
+ $(use_with freetds tds /usr) \
+ $(use_with firebird firebird /usr) \
+ $(use_with xbase xbase /usr) \
+ $(use_with mdb mdb /usr) \
+ $(use_with ldap ldap /usr)"
+
+ use oci8 || G2CONF="${G2CONF} --without-oracle"
+
+ # Not in portage
+ G2CONF="${G2CONF} --without-mSQL --without-sybase --without-ibmdb2"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Fix compilation of the mdb provider
+ epatch "${FILESDIR}/${PN}-1.2.3-mdb_api.patch"
+
+ # Avoid collisions with libgda-1.2.x
+ epatch "${FILESDIR}/${P}-collisions.patch"
+ mv -f ${S}/tools/gda-config.5 ${S}/tools/gda-config-3.0.5
+ mv -f ${S}/tools/gda-config-tool.1 ${S}/tools/gda-config-tool-3.0.1
+ mv -f ${S}/doc/C/libgda-docs.sgml ${S}/doc/C/libgda-3.0-docs.sgml
+ mv -f ${S}/doc/C/libgda-overrides.txt ${S}/doc/C/libgda-3.0-overrides.txt
+ mv -f ${S}/doc/C/libgda-sections.txt ${S}/doc/C/libgda-3.0-sections.txt
+ mv -f ${S}/doc/C/libgda.types ${S}/doc/C/libgda-3.0.types
+
+ sed -n -e '/GTK_DOC_CHECK/,/IT_PROG_INTLTOOL/p' aclocal.m4 > gtk-doc.m4
+ intltoolize --automake -c -f || die "intltoolize failed"
+ AT_M4DIR="." eautoreconf
+}