summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2007-11-27 19:36:55 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2007-11-27 19:36:55 +0000
commit389b4efcfdac5e4377765fd9fc3df70dda4e165d (patch)
treed6b5c246b27939a34557d0accf200c747306c149 /gnome-extra/libgda
parentremove unused sun-bcla-jdbc2 license (diff)
downloadhistorical-389b4efcfdac5e4377765fd9fc3df70dda4e165d.tar.gz
historical-389b4efcfdac5e4377765fd9fc3df70dda4e165d.tar.bz2
historical-389b4efcfdac5e4377765fd9fc3df70dda4e165d.zip
Hide firebird behind bindist; bug #200284
Package-Manager: portage-2.1.4_rc3
Diffstat (limited to 'gnome-extra/libgda')
-rw-r--r--gnome-extra/libgda/ChangeLog7
-rw-r--r--gnome-extra/libgda/Manifest38
-rw-r--r--gnome-extra/libgda/files/digest-libgda-1.2.33
-rw-r--r--gnome-extra/libgda/files/libgda-1.2.3-freetds_api_fixes.patch360
-rw-r--r--gnome-extra/libgda/libgda-1.2.3.ebuild73
-rw-r--r--gnome-extra/libgda/libgda-3.0.1.ebuild14
6 files changed, 34 insertions, 461 deletions
diff --git a/gnome-extra/libgda/ChangeLog b/gnome-extra/libgda/ChangeLog
index c61509538887..90e456f13584 100644
--- a/gnome-extra/libgda/ChangeLog
+++ b/gnome-extra/libgda/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gnome-extra/libgda
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.117 2007/11/10 12:12:20 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.118 2007/11/27 19:36:54 dang Exp $
+
+ 27 Nov 2007; Daniel Gryniewicz <dang@gentoo.org>
+ -files/libgda-1.2.3-freetds_api_fixes.patch, -libgda-1.2.3.ebuild,
+ libgda-3.0.1.ebuild:
+ Hide firebird behind bindist; bug #200284
10 Nov 2007; nixnut <nixnut@gentoo.org> libgda-1.2.4.ebuild:
Stable on ppc wrt bug 197799
diff --git a/gnome-extra/libgda/Manifest b/gnome-extra/libgda/Manifest
index 8e08918c14d9..226ba1bae940 100644
--- a/gnome-extra/libgda/Manifest
+++ b/gnome-extra/libgda/Manifest
@@ -1,7 +1,6 @@
-AUX libgda-1.2.3-freetds_api_fixes.patch 13517 RMD160 3639299b1f4ddfc12ada361b036e1ae887f0206e SHA1 a9e2d6fb3c40876519f43c5391c890e275983afe SHA256 a3c6f727e66f244586184c5433214302e8aab5393d3968657c08a4b93840bf8f
-MD5 af02e6861d4aff682d79857ee8c5df2e files/libgda-1.2.3-freetds_api_fixes.patch 13517
-RMD160 3639299b1f4ddfc12ada361b036e1ae887f0206e files/libgda-1.2.3-freetds_api_fixes.patch 13517
-SHA256 a3c6f727e66f244586184c5433214302e8aab5393d3968657c08a4b93840bf8f files/libgda-1.2.3-freetds_api_fixes.patch 13517
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libgda-1.2.3-mdb_api.patch 1374 RMD160 d7091403baa8b299d815be7e679fb17720d18b29 SHA1 8e36dec7a9844769697df815048f126b47a89792 SHA256 a65143afb029c72db1038f6577e517377263f9d9281eb583e8bbffe9d1a7e499
MD5 679610ed8d9053ff2696b3c6571cee22 files/libgda-1.2.3-mdb_api.patch 1374
RMD160 d7091403baa8b299d815be7e679fb17720d18b29 files/libgda-1.2.3-mdb_api.patch 1374
@@ -10,35 +9,34 @@ AUX libgda-1.2.4-freetds_api_fixes.patch 14119 RMD160 2c2becec232a74eb9e430288b3
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
-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-3.0.1.tar.bz2 2866965 RMD160 a9a1f71cc3a6faf8086bf3044b8de91dfc3f3032 SHA1 78c9054c4c40463020b8f62da72fca909dd9df03 SHA256 1cbac650274a9e03d8d2e698837203f1b4e544d25753d4742f4d63f28059190c
-EBUILD libgda-1.2.3.ebuild 2104 RMD160 015e321a40a85f113e369240a7a62e624a168768 SHA1 67eb477c7087b1e980bec25f80ad5479ca1f5b84 SHA256 a56fb2210013911ed407108db07eaaa761454f958dddfbd69498892d6db198bd
-MD5 99a3813827ad37adce5ba57a5d42af82 libgda-1.2.3.ebuild 2104
-RMD160 015e321a40a85f113e369240a7a62e624a168768 libgda-1.2.3.ebuild 2104
-SHA256 a56fb2210013911ed407108db07eaaa761454f958dddfbd69498892d6db198bd libgda-1.2.3.ebuild 2104
EBUILD libgda-1.2.4.ebuild 2289 RMD160 1668eed993820de67c53c630b6a6133f468b1f3b SHA1 c9a01c621154cbf3d7bb66ccaf17b6730e0dc64e SHA256 d4287ed8bedb035d7fca468d0bd9ac202f1a87fdee708b44457f0e53cd6eb21f
MD5 3f92d38b2052d04d25aeda1ee4227bf8 libgda-1.2.4.ebuild 2289
RMD160 1668eed993820de67c53c630b6a6133f468b1f3b libgda-1.2.4.ebuild 2289
SHA256 d4287ed8bedb035d7fca468d0bd9ac202f1a87fdee708b44457f0e53cd6eb21f libgda-1.2.4.ebuild 2289
-EBUILD libgda-3.0.1.ebuild 1855 RMD160 e13b12ede8921945467ecf6cc6d033269783212e SHA1 af07e0dd18e46d9cd7ae5d8c3994c871de245097 SHA256 a3d6f65f9102e99239d61680657707d63f89be43d04714f8e87ef8a53c5e6ff5
-MD5 32eb91b294d9c0f004f3854b6f2a368b libgda-3.0.1.ebuild 1855
-RMD160 e13b12ede8921945467ecf6cc6d033269783212e libgda-3.0.1.ebuild 1855
-SHA256 a3d6f65f9102e99239d61680657707d63f89be43d04714f8e87ef8a53c5e6ff5 libgda-3.0.1.ebuild 1855
-MISC ChangeLog 17684 RMD160 d3967f5eca49a628a5e7b98d2398175aaa6d731b SHA1 7c978664080f007e03d09464c94af522fbeaa959 SHA256 a50c2eb74a4f854d5a05b6f0c1992f10cdf9a7517ba11831e87345afc38acfa5
-MD5 7e62aaa7ca2ca7927d439b8995cb808f ChangeLog 17684
-RMD160 d3967f5eca49a628a5e7b98d2398175aaa6d731b ChangeLog 17684
-SHA256 a50c2eb74a4f854d5a05b6f0c1992f10cdf9a7517ba11831e87345afc38acfa5 ChangeLog 17684
+EBUILD libgda-3.0.1.ebuild 2006 RMD160 55b4d5619091da1a8bd864f25b7b0508d93a87e4 SHA1 17cd7cd64e0e481af4bf64341aa93724ed115184 SHA256 5f4e9e4cedd95c3ec71a8c8fe8e28507970b3bbf89279c8c044996672f4f71d4
+MD5 0930524756a913a00f0c020c769bab84 libgda-3.0.1.ebuild 2006
+RMD160 55b4d5619091da1a8bd864f25b7b0508d93a87e4 libgda-3.0.1.ebuild 2006
+SHA256 5f4e9e4cedd95c3ec71a8c8fe8e28507970b3bbf89279c8c044996672f4f71d4 libgda-3.0.1.ebuild 2006
+MISC ChangeLog 17870 RMD160 8bf43c57822e211fe011cecb8283fc51b9fede46 SHA1 c0cb0bdd3e9057455b0b327e785432a8521860aa SHA256 caabfd0f2ae6f907f9cb4f79caf0f09c4692357078a11a36cdd9b8788c46a766
+MD5 5414face5f1aac3a7cf12de6334ed164 ChangeLog 17870
+RMD160 8bf43c57822e211fe011cecb8283fc51b9fede46 ChangeLog 17870
+SHA256 caabfd0f2ae6f907f9cb4f79caf0f09c4692357078a11a36cdd9b8788c46a766 ChangeLog 17870
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158
SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 metadata.xml 158
-MD5 0585ea86d6d935b35b23b5b574db7c87 files/digest-libgda-1.2.3 244
-RMD160 9fc9ec61243574b939d96986ec33522214d63c01 files/digest-libgda-1.2.3 244
-SHA256 f0c3c9e2af594dd3621ac1914aec3c9695204b2d2bf0ce035931fd31cac4c9f2 files/digest-libgda-1.2.3 244
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 9c1786a60aeee6e5ce8115744596b708 files/digest-libgda-3.0.1 244
RMD160 1894f9b8d5df66f46403104b083133540fbeafd6 files/digest-libgda-3.0.1 244
SHA256 067e35623b692f5e4edf0e6a8a8966aa15a04ab4769b0a792d1d2c087ce651c9 files/digest-libgda-3.0.1 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHTHHiomPajV0RnrERAqYSAJ9GRtjP6z4kRwBvQQRSvqD/usL/xwCdGcKl
+nY3YW1JzoBrlYl6kxQfcJ6o=
+=q4pt
+-----END PGP SIGNATURE-----
diff --git a/gnome-extra/libgda/files/digest-libgda-1.2.3 b/gnome-extra/libgda/files/digest-libgda-1.2.3
deleted file mode 100644
index adced57e3d8b..000000000000
--- a/gnome-extra/libgda/files/digest-libgda-1.2.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 eb9c31c3102d542de728f5f55674d511 libgda-1.2.3.tar.bz2 1075643
-RMD160 d429dcce511084287cc63a2d1df93f7ca6d9316c libgda-1.2.3.tar.bz2 1075643
-SHA256 17add29bb2d7b57da5874f8a28c1a0af4b6f965ad992fef25002b6c33318f303 libgda-1.2.3.tar.bz2 1075643
diff --git a/gnome-extra/libgda/files/libgda-1.2.3-freetds_api_fixes.patch b/gnome-extra/libgda/files/libgda-1.2.3-freetds_api_fixes.patch
deleted file mode 100644
index 0a17bce046dc..000000000000
--- a/gnome-extra/libgda/files/libgda-1.2.3-freetds_api_fixes.patch
+++ /dev/null
@@ -1,360 +0,0 @@
-diff -NurdB libgda-1.2.3/configure.in libgda-1.2.3-patched/configure.in
---- libgda-1.2.3/configure.in 2005-10-27 04:18:24.000000000 -0500
-+++ libgda-1.2.3-patched/configure.in 2006-08-06 02:13:21.000000000 -0500
-@@ -440,45 +440,23 @@
- AC_MSG_WARN(tds backend not used)
- else
- AC_MSG_CHECKING(for freetds version)
-- freetdsvercheck="`grep \"^#define \(VERSION_NO \|TDS_VERSION_NO \)\" $freetds_incdir/tdsver.h|sed 's|^.*"\(.*\)"|\1|'`"
-+ freetdsvercheck="`grep \"^#define \(VERSION_NO \|TDS_VERSION_NO \)\" $freetds_incdir/tdsver.h|sed 's|^.*".*v\(.*\)"|\1|'`"
- if test "x$freetdsvercheck" = "x"
- then
- AC_MSG_WARN(freetds version check failed - backend not used)
- freetdsdir=""
- freetds_incdir=""
- else
-- case "$freetdsvercheck" in
-- *v0.5*) AC_MSG_RESULT($freetdsvercheck - using v0.5x api)
-- AC_DEFINE(HAVE_FREETDS_VER0_5X, 1, [Have freetds v0.5x API])
-- FREETDS_CFLAGS="-I${freetds_incdir}"
-- FREETDS_LIBS="-L${freetdsdir}/lib -ltds"
-- AC_DEFINE(HAVE_FREETDS, 1, [Have freetds])
-- ;;
-- *v0.60) AC_MSG_RESULT($freetdsvercheck - using v0.60 api)
-- AC_DEFINE(HAVE_FREETDS_VER0_60, 1, [Have freetds v0.60 API])
-- FREETDS_CFLAGS="-I${freetds_incdir}"
-- FREETDS_LIBS="-L${freetdsdir}/lib -ltds"
-- AC_DEFINE(HAVE_FREETDS, 1, [Have freetds])
-- ;;
-- *v0.6[[3-9]]*) AC_MSG_RESULT($freetdsvercheck - using v0.63 api)
-- AC_DEFINE(HAVE_FREETDS_VER0_63, 1, [Have freetds v0.63 API])
-- AC_DEFINE(HAVE_FREETDS_VER0_6X, 1, [Have freetds v0.6x API])
-- FREETDS_CFLAGS="-I${freetds_incdir}"
-- FREETDS_LIBS="-L${freetdsdir}/lib -ltds"
-- AC_DEFINE(HAVE_FREETDS, 1, [Have freetds])
-- ;;
-- *v0.6*) AC_MSG_RESULT($freetdsvercheck - using v0.6x api)
-- AC_DEFINE(HAVE_FREETDS_VER0_6X, 1, [Have freetds v0.6x API])
-- FREETDS_CFLAGS="-I${freetds_incdir}"
-- FREETDS_LIBS="-L${freetdsdir}/lib -ltds"
-- AC_DEFINE(HAVE_FREETDS, 1, [Have freetds])
-- ;;
-- *) AC_MSG_WARN($freetdsvercheck not supported - backend not used)
-- freetdsdir=""
-- freetds_incdir=""
-- ;;
-- esac
--
-+ AC_MSG_RESULT($freetdsvercheck)
-+ FREETDS_CFLAGS="-I${freetds_incdir}"
-+ FREETDS_LIBS="-L${freetdsdir}/lib -ltds"
-+ AC_DEFINE(HAVE_FREETDS, 1, [Have freetds])
-+
-+ freetds_version_major="`echo $freetdsvercheck|sed 's:^\([[^.]]*\).*:\1:'`"
-+ freetds_version_minor="`echo $freetdsvercheck|sed 's:^[[^.]]*\.\([[^.]]*\).*:\1:'`"
-+
-+ AC_DEFINE_UNQUOTED(FREETDS_VERSION_MAJOR, [$freetds_version_major])
-+ AC_DEFINE_UNQUOTED(FREETDS_VERSION_MINOR, [$freetds_version_minor])
- fi
- fi
- fi
-diff -NurdB libgda-1.2.3/providers/freetds/gda-freetds-provider.c libgda-1.2.3-patched/providers/freetds/gda-freetds-provider.c
---- libgda-1.2.3/providers/freetds/gda-freetds-provider.c 2004-12-28 08:26:11.000000000 -0500
-+++ libgda-1.2.3-patched/providers/freetds/gda-freetds-provider.c 2006-08-06 04:13:59.000000000 -0500
-@@ -103,7 +103,7 @@
- const gint col,
- const gint row);
-
--#ifdef HAVE_FREETDS_VER0_5X
-+#if FREETDS_VERSION < 6000
- static gboolean tds_cbs_initialized = FALSE;
- extern int (*g_tds_msg_handler)();
- extern int (*g_tds_err_handler)();
-@@ -116,7 +116,7 @@
- static int gda_freetds_provider_tds_handle_message (void *aStruct,
- void *bStruct,
- const gboolean is_err_msg);
--#if defined(HAVE_FREETDS_VER0_6X) || defined(HAVE_FREETDS_VER0_60)
-+#if FREETDS_VERSION >= 6000
- static int gda_freetds_provider_tds_handle_info_msg (TDSCONTEXT *,
- TDSSOCKET *,
- TDSMSGINFO *);
-@@ -252,8 +252,12 @@
- tds_set_packet(tds_cnc->login, 512);
-
- /* Version 0.60 api uses context additionaly */
--#if defined(HAVE_FREETDS_VER0_6X) || defined(HAVE_FREETDS_VER0_60)
-+#if FREETDS_VERSION >= 6000
-+#if FREETDS_VERSION >= 6400
-+ tds_cnc->ctx = tds_alloc_context(NULL);
-+#else
- tds_cnc->ctx = tds_alloc_context();
-+#endif
- if (! tds_cnc->ctx) {
- gda_log_error (_("Allocating tds context failed."));
- gda_freetds_free_connection_data (tds_cnc);
-@@ -267,9 +271,9 @@
- #endif
-
- /* establish connection; change in 0.6x api */
--#if defined(HAVE_FREETDS_VER0_60)
-+#if FREETDS_VERSION == 6000
- tds_cnc->tds = tds_connect(tds_cnc->login, tds_cnc->ctx, NULL);
--#elif defined(HAVE_FREETDS_VER0_6X)
-+#elif FREETDS_VERSION > 6000
- tds_cnc->tds = tds_alloc_socket(tds_cnc->ctx, 512);
- if (! tds_cnc->tds) {
- gda_log_error (_("Allocating tds socket failed."));
-@@ -297,9 +301,9 @@
- }
-
- /* try to receive connection info for sanity check */
--#if defined(HAVE_FREETDS_VER0_6X)
-+#if FREETDS_VERSION > 6000
- /* do nothing */
--#elif defined(HAVE_FREETDS_VER0_60)
-+#elif FREETDS_VERSION == 6000
- tds_cnc->config = tds_get_config(tds_cnc->tds, tds_cnc->login, tds_cnc->ctx->locale);
- #else
- tds_cnc->config = tds_get_config(tds_cnc->tds, tds_cnc->login);
-@@ -357,7 +361,7 @@
- tds_cnc->database = NULL;
- }
- if (tds_cnc->config) {
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- tds_free_connect (tds_cnc->config);
- #else
- tds_free_config(tds_cnc->config);
-@@ -370,7 +374,7 @@
- tds_free_socket (tds_cnc->tds);
- tds_cnc->tds = NULL;
- }
--#if defined(HAVE_FREETDS_VER0_6X) || defined(HAVE_FREETDS_VER0_60)
-+#if FREETDS_VERSION >= 6000
- if (tds_cnc->ctx) {
- /* Clear callback handler */
- tds_cnc->ctx->msg_handler = NULL;
-@@ -782,7 +786,7 @@
- {
- GdaFreeTDSConnectionData *tds_cnc;
- GdaError *error;
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- int result_type = 0;
- #endif
-
-@@ -802,7 +806,11 @@
- }
-
- /* there should not be any result tokens */
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION >= 6400
-+ while ((tds_cnc->rc = tds_process_tokens (tds_cnc->tds, &tds_cnc->result_type, NULL, TDS_RETURN_ROWFMT | TDS_RETURN_COMPUTEFMT | TDS_RETURN_DONE | TDS_STOPAT_ROW | TDS_STOPAT_COMPUTE | TDS_RETURN_PROC))
-+#elif FREETDS_VERSION >= 6200
-+ while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds, &tds_cnc->result_type, NULL))
-+#elif FREETDS_VERSION > 6000
- while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds, &tds_cnc->result_type))
- #else
- while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds))
-@@ -1002,7 +1010,7 @@
- provider_class->supports = gda_freetds_provider_supports;
- provider_class->get_schema = gda_freetds_provider_get_schema;
-
--#ifdef HAVE_FREETDS_VER0_5X
-+#if FREETDS_VERSION < 6000
- if (tds_cbs_initialized == FALSE) {
- tds_cbs_initialized = TRUE;
-
-@@ -1025,7 +1033,7 @@
-
- g_return_if_fail (GDA_IS_FREETDS_PROVIDER (provider));
-
--#ifdef HAVE_FREETDS_VER0_5X
-+#if FREETDS_VERSION < 6000
- tds_cbs_initialized = FALSE;
- g_tds_msg_handler = NULL;
- g_tds_err_handler = NULL;
-@@ -1058,9 +1066,15 @@
- TDS_SUCCEED);
-
- msg = g_strdup_printf(_("Msg %d, Level %d, State %d, Server %s, Line %d\n%s\n"),
-+#if FREETDS_VERSION >= 6400
-+ msg_info->msgno,
-+ msg_info->severity,
-+ msg_info->state,
-+#else
- msg_info->msg_number,
- msg_info->msg_level,
- msg_info->msg_state,
-+#endif
- (msg_info->server ? msg_info->server : ""),
- msg_info->line_number,
- msg_info->message ? msg_info->message : "");
-@@ -1070,7 +1084,11 @@
- if (cnc != NULL) {
- error = gda_error_new ();
- gda_error_set_description (error, msg);
-+#if FREETDS_VERSION >= 6400
-+ gda_error_set_number (error, msg_info->msgno);
-+#else
- gda_error_set_number (error, msg_info->msg_number);
-+#endif
- gda_error_set_source (error, "gda-freetds");
- if (msg_info->sql_state != NULL) {
- gda_error_set_sqlstate (error,
-@@ -1095,14 +1113,14 @@
- return TDS_SUCCEED;
- }
-
--#if defined(HAVE_FREETDS_VER0_6X) || defined(HAVE_FREETDS_VER0_60)
-+#if FREETDS_VERSION >= 6000
- /* FIXME: rewrite tds_handle_message as well/use new parameters here */
- static int
- gda_freetds_provider_tds_handle_info_msg (TDSCONTEXT *ctx, TDSSOCKET *tds,
- TDSMSGINFO *msg)
- {
- return gda_freetds_provider_tds_handle_message ((void *) tds,
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- (void *) msg,
- #else
- (void *) tds->msg_info,
-@@ -1117,14 +1135,14 @@
- }
- #endif
-
--#if defined(HAVE_FREETDS_VER0_6X) || defined(HAVE_FREETDS_VER0_60)
-+#if FREETDS_VERSION >= 6000
- /* FIXME: rewrite tds_handle_message as well/use new parameters here */
- static int
- gda_freetds_provider_tds_handle_err_msg (TDSCONTEXT *ctx, TDSSOCKET *tds,
- TDSMSGINFO *msg)
- {
- return gda_freetds_provider_tds_handle_message ((void *) tds,
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- (void *) msg,
- #else
- (void *) tds->msg_info,
-diff -NurdB libgda-1.2.3/providers/freetds/gda-freetds-provider.h libgda-1.2.3-patched/providers/freetds/gda-freetds-provider.h
---- libgda-1.2.3/providers/freetds/gda-freetds-provider.h 2005-10-27 04:18:24.000000000 -0500
-+++ libgda-1.2.3-patched/providers/freetds/gda-freetds-provider.h 2006-08-06 02:13:21.000000000 -0500
-@@ -30,14 +30,16 @@
-
- G_BEGIN_DECLS
-
-+#define FREETDS_VERSION (10000*FREETDS_VERSION_MAJOR+100*FREETDS_VERSION_MINOR)
-+
- /* Compatibility macros */
--#ifdef HAVE_FREETDS_VER0_63
-+#if FREETDS_VERSION >= 6300
-
- #define TDSCONNECTINFO TDSCONNECTION
- #define TDSCOLINFO TDSCOLUMN
- #define TDSMSGINFO TDSMESSAGE
-
--#endif /* HAVE_FREETDS_VER0_63 */
-+#endif /* FREETDS_VERSION >= 6300 */
-
- #define GDA_TYPE_FREETDS_PROVIDER (gda_freetds_provider_get_type())
- #define GDA_FREETDS_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYPE_FREETDS_PROVIDER, GdaFreeTDSProvider))
-@@ -68,11 +70,11 @@
- gchar *database; /* database we are connected to */
-
- TDSLOGIN *login; /* tds login struct */
--#if defined(HAVE_FREETDS_VER0_6X) || defined(HAVE_FREETDS_VER0_60)
-+#if FREETDS_VERSION >= 6000
- TDSCONTEXT *ctx; /* tds context */
- #endif
- TDSSOCKET *tds; /* connection handle */
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- TDSCONNECTINFO *config; /* tds connect struct */
- #else
- TDSCONFIGINFO *config; /* tds config struct */
-diff -NurdB libgda-1.2.3/providers/freetds/gda-freetds-recordset.c libgda-1.2.3-patched/providers/freetds/gda-freetds-recordset.c
---- libgda-1.2.3/providers/freetds/gda-freetds-recordset.c 2004-12-28 08:26:11.000000000 -0500
-+++ libgda-1.2.3-patched/providers/freetds/gda-freetds-recordset.c 2006-08-06 04:09:11.000000000 -0500
-@@ -279,7 +279,7 @@
-
- /* set pointers to NULL */
- copy->column_nullbind = NULL;
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- copy->column_varaddr = NULL;
- #else
- copy->varaddr = NULL;
-@@ -339,9 +339,20 @@
- recset->priv->tds_cnc = tds_cnc;
- recset->priv->res = tds_cnc->tds->res_info;
-
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
-+#if FREETDS_VERSION >= 6400
-+ while ((tds_cnc->rc = tds_process_tokens (tds_cnc->tds,
-+ &tds_cnc->result_type, NULL,
-+ TDS_RETURN_ROWFMT | TDS_RETURN_COMPUTEFMT |
-+ TDS_RETURN_DONE | TDS_STOPAT_ROW |
-+ TDS_STOPAT_COMPUTE | TDS_RETURN_PROC))
-+#elif FREETDS_VERSION >= 6200
-+ while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds,
-+ &tds_cnc->result_type, NULL))
-+#else
- while ((tds_cnc->rc = tds_process_result_tokens (tds_cnc->tds,
- &tds_cnc->result_type))
-+#endif
- == TDS_SUCCEED) {
- if (tds_cnc->result_type == TDS_ROW_RESULT) {
- gint row_type, compute_id;
-@@ -378,7 +389,11 @@
- g_object_unref (recset);
- recset = NULL;
- return NULL;
-+#if FREETDS_VERSION >= 6400
-+ } else if (tds_cnc->rc != TDS_NO_MORE_RESULTS) {
-+#else
- } else if (tds_cnc->rc != TDS_NO_MORE_ROWS) {
-+#endif
- error = gda_freetds_make_error(tds_cnc->tds,
- _("Unexpected freetds return code in tds_process_row_tokens().\n"));
- gda_connection_add_error (cnc, error);
-diff -NurdB libgda-1.2.3/providers/freetds/gda-freetds-types.c libgda-1.2.3-patched/providers/freetds/gda-freetds-types.c
---- libgda-1.2.3/providers/freetds/gda-freetds-types.c 2003-03-09 13:55:34.000000000 -0500
-+++ libgda-1.2.3-patched/providers/freetds/gda-freetds-types.c 2006-08-06 02:13:21.000000000 -0500
-@@ -191,7 +191,7 @@
- const TDS_INT max_size = 255;
- TDS_INT col_size = 0;
- gchar *txt = NULL;
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- CONV_RESULT tds_conv;
- #endif
- GdaNumeric numeric;
-@@ -202,7 +202,7 @@
- /* perhaps remove ifdef later on
- * tds_cnc is just needed for context structure of 0.6x api for now
- */
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- g_return_if_fail (tds_cnc != NULL);
- g_return_if_fail (tds_cnc->ctx != NULL);
-
-@@ -309,7 +309,7 @@
- txt = g_new0 (gchar, col_size);
-
- /* tds_convert api changed to 0.6x */
--#ifdef HAVE_FREETDS_VER0_6X
-+#if FREETDS_VERSION > 6000
- if (tds_convert (tds_cnc->ctx,
- col->column_type, val,
- col->column_size, SYBCHAR,
-@@ -319,7 +319,7 @@
- gda_value_set_string (field,
- (tds_conv.c ? tds_conv.c : (tds_conv.ib ? tds_conv.ib : "")));
- }
--#elif HAVE_FREETDS_VER0_60
-+#elif FREETDS_VERSION == 6000
- tds_convert (tds_cnc->ctx,
- col->column_type, val,
- col->column_size, SYBCHAR,
diff --git a/gnome-extra/libgda/libgda-1.2.3.ebuild b/gnome-extra/libgda/libgda-1.2.3.ebuild
deleted file mode 100644
index 2e91d70c04de..000000000000
--- a/gnome-extra/libgda/libgda-1.2.3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.2.3.ebuild,v 1.15 2007/07/12 04:19:34 mr_bones_ Exp $
-
-inherit autotools eutils gnome2
-
-DESCRIPTION="Gnome Database Access Library"
-HOMEPAGE="http://www.gnome-db.org/"
-LICENSE="GPL-2 LGPL-2"
-
-IUSE="berkdb doc firebird freetds ldap mdb mysql oci8 odbc postgres sqlite xbase"
-SLOT="1"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-
-RDEPEND=">=dev-libs/glib-2
- >=dev-libs/libxml2-2
- >=dev-libs/libxslt-1.0.9
- 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/postgresql-7.2.1 )
- freetds? ( >=dev-db/freetds-0.62 )
- x86? ( firebird? ( dev-db/firebird ) )
- xbase? ( dev-db/xbase )
- sqlite? ( >=dev-db/sqlite-3 )
- mdb? ( >=app-office/mdbtools-0.5 )
- ldap? ( >=net-nds/openldap-2.0.25 )"
-
-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"
-USE_DESTDIR="1"
-
-# problems with parallel builds
-MAKEOPTS="${MAKEOPTS} -j1"
-
-pkg_setup() {
- G2CONF="$(use_with berkdb bdb /usr) \
- $(use_with firebird firebird /usr) \
- $(use_with freetds tds /usr) \
- $(use_with ldap ldap /usr) \
- $(use_with mdb mdb /usr) \
- $(use_with mysql mysql /usr) \
- $(use_with odbc odbc /usr) \
- $(use_with postgres postgres /usr) \
- $(use_with sqlite sqlite /usr) \
- $(use_with xbase xbase /usr)"
-
- use oci8 || G2CONF="${G2CONF} --without-oracle"
-
- # not in portage
- G2CONF="${G2CONF} --without-msql --without-sybase --without-ibmdb2"
-}
-
-src_unpack() {
- gnome2_src_unpack
-
- # Fix freetds API problems
- epatch "${FILESDIR}"/${P}-freetds_api_fixes.patch
- # Fix compilation of the mdb provider
- epatch "${FILESDIR}"/${P}-mdb_api.patch
-
- 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
-}
diff --git a/gnome-extra/libgda/libgda-3.0.1.ebuild b/gnome-extra/libgda/libgda-3.0.1.ebuild
index e4d97fd6ea91..5c4eda6aa534 100644
--- a/gnome-extra/libgda/libgda-3.0.1.ebuild
+++ b/gnome-extra/libgda/libgda-3.0.1.ebuild
@@ -1,6 +1,6 @@
# 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-3.0.1.ebuild,v 1.3 2007/07/27 14:19:11 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-3.0.1.ebuild,v 1.4 2007/11/27 19:36:54 dang Exp $
# TODO:
# * Verify if the parallel compilation problems persist, and if so fix them.
@@ -12,7 +12,7 @@ HOMEPAGE="http://www.gnome-db.org/"
LICENSE="GPL-2 LGPL-2"
# MDB support currently works with CVS only, so disable it in the meantime
-IUSE="berkdb doc firebird freetds ldap mysql oci8 odbc postgres xbase"
+IUSE="berkdb bindist doc firebird freetds ldap mysql oci8 odbc postgres xbase"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
@@ -26,7 +26,7 @@ RDEPEND=">=dev-libs/glib-2.8
mysql? ( virtual/mysql )
postgres? ( >=dev-db/libpq-7.2.1 )
freetds? ( >=dev-db/freetds-0.62 )
- firebird? ( dev-db/firebird )
+ !bindist? ( firebird? ( dev-db/firebird ) )
xbase? ( dev-db/xbase )
ldap? ( >=net-nds/openldap-2.0.25 )"
# mdb? ( >app-office/mdbtools-0.5 )
@@ -47,12 +47,18 @@ pkg_setup() {
$(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 ldap ldap /usr) \
--without-mdb"
# $(use_with mdb mdb /usr) \
+ if use bindist; then
+ # firebird license is not GPL compatible
+ G2CONF="${G2CONR} --without-firebird"
+ else
+ G2CONF="${G2CONR} $(use_with firebird firebird /usr)"
+ fi
+
use berkdb && append-cppflags "-I$(db_includedir)"
use oci8 || G2CONF="${G2CONF} --without-oracle"