summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-07-26 16:14:02 +0000
committerPacho Ramos <pacho@gentoo.org>2010-07-26 16:14:02 +0000
commit2cb2564e9a406cd1a42ec4164d8d682e9d84710b (patch)
treee812b898ee0c6130957e6a7a405f20bd76f435bd /gnome-extra/libgda
parentVersion bump. (diff)
downloadgentoo-2-2cb2564e9a406cd1a42ec4164d8d682e9d84710b.tar.gz
gentoo-2-2cb2564e9a406cd1a42ec4164d8d682e9d84710b.tar.bz2
gentoo-2-2cb2564e9a406cd1a42ec4164d8d682e9d84710b.zip
Version bump with multiple bugfixes.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/libgda')
-rw-r--r--gnome-extra/libgda/ChangeLog7
-rw-r--r--gnome-extra/libgda/libgda-4.1.7.ebuild111
2 files changed, 117 insertions, 1 deletions
diff --git a/gnome-extra/libgda/ChangeLog b/gnome-extra/libgda/ChangeLog
index 4581f6df3ecb..27285ce427a2 100644
--- a/gnome-extra/libgda/ChangeLog
+++ b/gnome-extra/libgda/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gnome-extra/libgda
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.142 2010/07/25 10:29:54 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.143 2010/07/26 16:14:02 pacho Exp $
+
+*libgda-4.1.7 (26 Jul 2010)
+
+ 26 Jul 2010; Pacho Ramos <pacho@gentoo.org> +libgda-4.1.7.ebuild:
+ Version bump with multiple bugfixes.
25 Jul 2010; Christian Faulhammer <fauli@gentoo.org>
libgda-4.1.4-r1.ebuild:
diff --git a/gnome-extra/libgda/libgda-4.1.7.ebuild b/gnome-extra/libgda/libgda-4.1.7.ebuild
new file mode 100644
index 000000000000..4cb4c669bfd7
--- /dev/null
+++ b/gnome-extra/libgda/libgda-4.1.7.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.1.7.ebuild,v 1.1 2010/07/26 16:14:02 pacho Exp $
+
+EAPI="2"
+
+inherit db-use eutils flag-o-matic gnome2 java-pkg-opt-2
+
+DESCRIPTION="Gnome Database Access Library"
+HOMEPAGE="http://www.gnome-db.org/"
+LICENSE="GPL-2 LGPL-2"
+
+# MDB support currently works with CVS only, so disable it in the meantime
+# experimental IUSE: introspection
+IUSE="berkdb bindist canvas doc firebird freetds gtk graphviz ldap mysql oci8 odbc postgres sourceview xbase"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+# FIXME: sqlite is automagic, but maybe it is a hard-dep
+# FIXME: autoconf is a hell of inconsistencies
+RDEPEND="
+ app-text/iso-codes
+ >=dev-libs/glib-2.16
+ >=dev-libs/libxml2-2
+ dev-libs/libxslt
+ dev-libs/libunique
+ sys-libs/readline
+ sys-libs/ncurses
+ >=net-libs/libsoup-2.24:2.4
+ berkdb? ( sys-libs/db )
+ freetds? ( >=dev-db/freetds-0.62 )
+ !bindist? ( firebird? ( dev-db/firebird ) )
+ gtk? (
+ >=x11-libs/gtk+-2.12
+ canvas? ( x11-libs/goocanvas )
+ sourceview? ( x11-libs/gtksourceview:2.0 )
+ graphviz? ( media-gfx/graphviz )
+ )
+ ldap? ( >=net-nds/openldap-2.0.25 )
+ mysql? ( virtual/mysql )
+ odbc? ( >=dev-db/unixODBC-2.0.6 )
+ postgres? ( dev-db/postgresql-base )
+ xbase? ( dev-db/xbase )
+ >=dev-db/sqlite-3.6.22:3"
+# json? ( dev-libs/json-glib )
+# mdb? ( >app-office/mdbtools-0.5 )
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.18
+ >=dev-util/intltool-0.35.5
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+# Tests are not really good
+RESTRICT="test"
+
+pkg_setup() {
+ if use canvas || use graphviz || use sourceview; then
+ if ! use gtk; then
+ ewarn "You must enable USE=gtk to make use of canvas, graphivz or sourceview USE flag."
+ ewarn "Disabling for now."
+ G2CONF="${G2CONF} --without-goocanvas --without-graphivz --without-gtksourceview"
+ else
+ G2CONF="${G2CONF}
+ $(use_with canvas goocanvas)
+ $(use_with graphviz)
+ $(use_with sourceview gtksourceview)"
+ fi
+ fi
+
+ G2CONF="${G2CONF}
+ --with-unique
+ --with-libsoup
+ --disable-scrollkeeper
+ --disable-introspection
+ --disable-static
+ --enable-system-sqlite
+ $(use_with gtk ui)
+ $(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 xbase xbase /usr)
+ $(use_with ldap ldap /usr)
+ $(use_with java java $JAVA_HOME)
+ --without-mdb"
+# $(use_with mdb mdb /usr)
+
+ if use bindist; then
+ # firebird license is not GPL compatible
+ G2CONF="${G2CONF} --without-firebird"
+ else
+ G2CONF="${G2CONF} $(use_with firebird firebird /usr)"
+ fi
+
+ use berkdb && append-cppflags "-I$(db_includedir)"
+ use oci8 || G2CONF="${G2CONF} --without-oracle"
+
+ # Not in portage
+ G2CONF="${G2CONF}
+ --without-msql
+ --without-sybase
+ --without-ibmdb2
+ --disable-default-binary"
+}
+
+src_test() {
+ emake check HOME=$(unset HOME; echo "~") || die "tests failed"
+}