diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-10-16 00:05:36 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-10-16 00:05:36 +0000 |
commit | 14a2e35caf60db962f96118db2e7f009aa7a5cec (patch) | |
tree | cc69f4c3f912670af2e3d11a32c41cd807141eb3 /gnome-extra/libgda | |
parent | Drop old difffilter-0.3. (diff) | |
download | historical-14a2e35caf60db962f96118db2e7f009aa7a5cec.tar.gz historical-14a2e35caf60db962f96118db2e7f009aa7a5cec.tar.bz2 historical-14a2e35caf60db962f96118db2e7f009aa7a5cec.zip |
Fix installation, bug #385251 by Henrique Dias and work properly when python3 is main interpreter. Remove old.
Package-Manager: portage-2.1.10.27/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra/libgda')
-rw-r--r-- | gnome-extra/libgda/ChangeLog | 9 | ||||
-rw-r--r-- | gnome-extra/libgda/Manifest | 23 | ||||
-rw-r--r-- | gnome-extra/libgda/files/libgda-4.2.5-missing-m4.patch | 12 | ||||
-rw-r--r-- | gnome-extra/libgda/files/libgda-4.2.8-ldap.patch | 27 | ||||
-rw-r--r-- | gnome-extra/libgda/files/libgda-4.2.8-sandbox-fix.patch | 55 | ||||
-rw-r--r-- | gnome-extra/libgda/libgda-4.2.2.ebuild | 121 | ||||
-rw-r--r-- | gnome-extra/libgda/libgda-4.2.8.ebuild | 131 | ||||
-rw-r--r-- | gnome-extra/libgda/libgda-4.99.4.ebuild | 10 |
8 files changed, 21 insertions, 367 deletions
diff --git a/gnome-extra/libgda/ChangeLog b/gnome-extra/libgda/ChangeLog index 9d66e41fd20b..9c34677e9306 100644 --- a/gnome-extra/libgda/ChangeLog +++ b/gnome-extra/libgda/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for gnome-extra/libgda # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.179 2011/10/14 21:25:47 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.180 2011/10/16 00:05:35 pacho Exp $ + + 16 Oct 2011; Pacho Ramos <pacho@gentoo.org> -libgda-4.2.2.ebuild, + -files/libgda-4.2.5-missing-m4.patch, -libgda-4.2.8.ebuild, + -files/libgda-4.2.8-ldap.patch, -files/libgda-4.2.8-sandbox-fix.patch, + libgda-4.99.4.ebuild: + Fix installation, bug #385251 by Henrique Dias and work properly when python3 + is main interpreter. Remove old. 14 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> libgda-4.2.9.ebuild: amd64 stable wrt #385699 diff --git a/gnome-extra/libgda/Manifest b/gnome-extra/libgda/Manifest index 2947e8d8e358..ad204fde53d1 100644 --- a/gnome-extra/libgda/Manifest +++ b/gnome-extra/libgda/Manifest @@ -3,34 +3,23 @@ Hash: SHA1 AUX libgda-4.2.0-missing-include-in-keyword_hash-generator.patch 897 RMD160 2a879a730831b7d6c05bf3a48df542cbf025adc4 SHA1 d76018f2b545290174cce55be7c4561edf7772bc SHA256 7cc133de8931b1dc86a08ee7a620e8b9218071723549734ea2290440318a7b8f AUX libgda-4.2.2-fix-build-order.patch 738 RMD160 b17874c3aab6b50b342e612e24bc706f4b6a077d SHA1 f72ecb1dd74a776decfb8fc6c7de1b0ceec90d43 SHA256 d8a293598d8277b766f5971066b27aeab45e2ead491b2250b5d700577c44a0e1 -AUX libgda-4.2.5-missing-m4.patch 359 RMD160 495d1eb184ffeb1d529a385291b61b41fccff445 SHA1 55c70bfdbaf9411a10ddf6f63b71f6e12b315703 SHA256 ed03d29bdb6454d6a54bd21cb1844ecd294e2d58593ec58496deb09953176b2f -AUX libgda-4.2.8-ldap.patch 900 RMD160 aa2bb0c3972cbc06408b3905cea97ecde7b4d3c8 SHA1 c343c8f054706738691a3691b1db601b3d7df20a SHA256 fe2ca3407626b87b9daca3f20293ba91de7faeb099312ee0a1b627561f19f07f -AUX libgda-4.2.8-sandbox-fix.patch 1884 RMD160 8f22b90ed93c634a01f9d2e3883ab346181c5131 SHA1 885cb7fc5d4cd899df1d9d28a9f70496f11b2120 SHA256 9eb945c021309a2ebd1d1f5f92c44a787b9e60519929f0c954e814a134e9ae0a AUX libgda-4.99.1-control-center-icon-collision.patch 4936 RMD160 09a5e9d06384f38512ec6efcdb030db4840657b7 SHA1 195bcd2a4c31517e0c12df8b144e7b79b19c59cc SHA256 d9d77e140b9c59f8e5e5afdb2103e1be18e1cc3e798824385bfc440a8b6a4c78 AUX libgda-4.99.1-gda-browser-doc-collision.patch 1847 RMD160 b103d8a8eb0e44318afe78191f0a6041b7364aa0 SHA1 b38ae8cdda23c6abd16d3aa1017b0bccd0d689b5 SHA256 54afb7f259dad0d3fd7a4de057113f788e64c212c4c3c25b8987a9223540dea0 AUX libgda-4.99.1-gda-browser-help-collision.patch 1270 RMD160 e7675db0e35b98d4f94b22b204b806c9938051c1 SHA1 1ba6f0587f82a66f7062cc48fff05b024b8bdc4d SHA256 b9d20506fe89fd0219f3d737450bbba0a98e5b850cf152e570ca8a6a66740994 AUX libgda-4.99.4-disable-broken-tests.patch 363 RMD160 3c2559b32d5a01b9377782f7130980b68ca85f8a SHA1 360074a84e6eadc7480a8e1adeceedce344af0d7 SHA256 cbc8b5bbd5577538f68d1625616f3812ebb1976d05b356b13feb491eb1174f5c AUX libgda-4.99.4-statement-rewriting-fix.patch 17054 RMD160 b8b5a084b9e548b913595ae94defa9320b17febe SHA1 e702517de6d0fb128f46513a7d9bd839d20930ba SHA256 81c6089b0899ef43428e5e6f182df153c85730e879f2ecefa7c769b0073c756d -DIST libgda-4.2.2.tar.bz2 14091997 RMD160 2604f68f25ee1a44b9b44897a6d06a7d2ede63c1 SHA1 124c00c977b0cfd4a615c925ec79ee0ff97e107f SHA256 7d0bfca2eda3158fb44ff05890aabd79e6e4b357a03574eacf380dc03bcb9d87 DIST libgda-4.2.7.tar.bz2 12636540 RMD160 ab3587f3ed2d049cd1e7bd1f051188e7f2405470 SHA1 8c2b1a744ba50008fa230be0f0abebdb8ea9b0b9 SHA256 0c95d2ae4563bbb024c9179a20e95a4b544a7d4fc687ca79ac6b33c5adc113d5 -DIST libgda-4.2.8.tar.xz 11118668 RMD160 4a81a915b5c4201be5aed8b5e6c3cb9cfe7e3ec5 SHA1 7bf762fec0863abbe7b0d58239b5f4fbc88f3f23 SHA256 ffb838b8e05d4c7c869461795bb97c90dd859f8be794660b257d8e614a679da9 DIST libgda-4.2.9.tar.xz 11215344 RMD160 fd172c5aac8ed76b97b9c66f0558c79ad373d3d1 SHA1 57205e2ec041f8138a85b7b5e5728dc0f1266fb6 SHA256 bbae913734b0bf0149b36d1b8617e343f08611c10219fa5ba24b84dfa782e814 DIST libgda-4.99.4.tar.xz 11621632 RMD160 a786eb9c5ab4798fe7fadabf60989060b7380616 SHA1 773f137df3e54cc55d210e810e8708538c1c495c SHA256 efef38c0318d156ba3263416355847af961f561660793cb670633e056018beac -EBUILD libgda-4.2.2.ebuild 3523 RMD160 3c2d6d860bce908a4899a1e4650423d767757cad SHA1 a029fdb96de02751d8a6751ca542deb90925c835 SHA256 4f0926ae46da5228ab8f6d389c7988acab75ca186fdb887898b202d8d6482bd9 EBUILD libgda-4.2.7.ebuild 3698 RMD160 c1428640299ed4e22bafd57f0c8fce335e8189e2 SHA1 ce20b471eca4e0caba3fa7d4bbb138d414cb64a8 SHA256 c8b32c4dbb570e306e6332fffdfb2694941ab1847f1081b1943facdace23dee7 -EBUILD libgda-4.2.8.ebuild 3905 RMD160 7b16ff5cc63ab627524016e9a904b03e247e3482 SHA1 8e7c3b84a766912e0c8f62d43efddd3884645a01 SHA256 86d860bbf8d11b7678541eeb4cd8e377aa71d6d47ca09cff94bee184889c5796 EBUILD libgda-4.2.9.ebuild 3650 RMD160 ec04669f96e2f9efa68dfbb65aeaf19cdad8456d SHA1 59306b243355728cc1a6f43e491f8a6572bc63bb SHA256 1ab63b09f527e6f36055099f0d5109a2b90858c76c57062db976da6c80d520a5 -EBUILD libgda-4.99.4.ebuild 4999 RMD160 d67e39089556df4588b1603914e90f5d8eb5ef63 SHA1 f5c61469592d283316212f28d8ee1beba44233d3 SHA256 b3ad0ab471dbe10d016cedba63e87d63eb12d09751a2f442ba714c257a9cb319 -MISC ChangeLog 26980 RMD160 55fc56bd9c00428568f877e5ab9fde53a49edef5 SHA1 2daf9d76f48cd5fbc23d8e65c5e4248ac5a1b7e7 SHA256 c757f2e99b97f17cbc8a86ebf8080e5c3d759b1dcc4d9f6a4434c0b71fb75a3a +EBUILD libgda-4.99.4.ebuild 5011 RMD160 b5a5dfd1fdd9ef22e3b2ab7bcf4919a946d0f503 SHA1 a2a16e29cf0c96fbbf88f5e21d29ebd588b3e008 SHA256 72f3955651a40a8061d935f755f91620351315f4f3cbea77eab346a8a22da7fc +MISC ChangeLog 27319 RMD160 558404e4b08d35c0994c2a216b5dd31ed614b78b SHA1 e840909ff3c709ac7d51fe0a240ef7b37e1a41cb SHA256 b79251bb4e4196b4a60b29feb3290f4d8eb513d6788991f6bcc8b0ff56864575 MISC metadata.xml 685 RMD160 947db2a1525c1737c4c183771f55e422a3abc95a SHA1 ba263d5f1851c2295214bb9edc868f77bce0033e SHA256 8482c362762fa4d00ccd08bac5d9fbe2468f055c4fd9a7eb2c9d31a9987cc611 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iQEcBAEBAgAGBQJOmKjaAAoJEEdUh39IaPFND1wH/3Z9xT+OQYFHfc+mn/m7XOXy -ATSTcycIIJmM/YTebFoR1ZcgMBediQ6zrw1gL9OFQj3KQMP+akuCCx7u4ZiMewFF -fUfDAvsLdT7bxtEitpVVdZ9JZV5tIhzYBmBPpHd2w5rRvLi5lGjWMSNT5uS0fZpL -oQm3slSpjAH07SjOlDHP3ERGmoxCayxUbgGM8sMF12mYo2C2APcYwVqc7S5bKVQ8 -WBzY5M3DHbPsMgWVpFxMmqZMvLhv/rx7oCcMIdlsmg+ggr+L014jWzuj7tA1BpQw -1Sn9lx77uCTE0ZO2oN7ijkSd0u1ru9SuBVLWJ+4e00Y+h3yzzyzVGUCio4beNAI= -=IBWK +iEUEARECAAYFAk6aH9YACgkQCaWpQKGI+9Qy3ACbBFVS1EWDRMUxAmiDPs3zmqAN +YgMAl2T9XeyISqJhQOWOkeTBkDp30qI= +=LZI8 -----END PGP SIGNATURE----- diff --git a/gnome-extra/libgda/files/libgda-4.2.5-missing-m4.patch b/gnome-extra/libgda/files/libgda-4.2.5-missing-m4.patch deleted file mode 100644 index bea88cf70bbb..000000000000 --- a/gnome-extra/libgda/files/libgda-4.2.5-missing-m4.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 7ce16f8..3f5ae10 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -5,6 +5,7 @@ m4_define([gda_stable], - m4_if(m4_eval(minor % 2), [0], [yes], [no])) - AC_CONFIG_MACRO_DIR([m4]) - m4_include(m4/introspection.m4) -+m4_include(m4/dk-warn.m4) - m4_include(m4/mdbtools.m4) - m4_include(m4/bdb.m4) - m4_include(m4/mysql.m4) diff --git a/gnome-extra/libgda/files/libgda-4.2.8-ldap.patch b/gnome-extra/libgda/files/libgda-4.2.8-ldap.patch deleted file mode 100644 index b8f6d3119b0a..000000000000 --- a/gnome-extra/libgda/files/libgda-4.2.8-ldap.patch +++ /dev/null @@ -1,27 +0,0 @@ -From f8042173c2139f65c69502a393fb44e00124ecc6 Mon Sep 17 00:00:00 2001 -From: Daniel Espinosa <esodan@gmail.com> -Date: Thu, 02 Jun 2011 15:51:52 +0000 -Subject: Added checks for LDAP on table-columns for GdaBrowser - ---- -diff --git a/tools/browser/schema-browser/table-columns.c b/tools/browser/schema-browser/table-columns.c -index 80cdaee..26ad771 100644 ---- a/tools/browser/schema-browser/table-columns.c -+++ b/tools/browser/schema-browser/table-columns.c -@@ -117,12 +117,14 @@ table_columns_show_all (GtkWidget *widget) - { - TableColumns *tcolumns = (TableColumns *) widget; - GTK_WIDGET_CLASS (parent_class)->show_all (widget); -+#ifdef HAVE_LDAP - if (browser_connection_is_ldap (tcolumns->priv->bcnc)) { - if (! tcolumns->priv->ldap_props_shown) { - gtk_widget_hide (tcolumns->priv->ldap_header); - gtk_widget_hide (tcolumns->priv->ldap_text); - } - } -+#endif - } - - GType --- -cgit v0.9 diff --git a/gnome-extra/libgda/files/libgda-4.2.8-sandbox-fix.patch b/gnome-extra/libgda/files/libgda-4.2.8-sandbox-fix.patch deleted file mode 100644 index 8d24430972d5..000000000000 --- a/gnome-extra/libgda/files/libgda-4.2.8-sandbox-fix.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 9c1a1809650321c3d752a143f87089d325c49237 Mon Sep 17 00:00:00 2001 -From: Vivien Malerba <malerba@gnome-db.org> -Date: Mon, 06 Jun 2011 18:42:19 +0000 -Subject: Correction for bug #651922 - libgda-4.2.8 wants to write on /etc/libgda-4.0/config during compilation with --enable-gtk-doc - ---- -diff --git a/libgda/gda-config.c b/libgda/gda-config.c -index e1b65c0..e0a51c7 100644 ---- a/libgda/gda-config.c -+++ b/libgda/gda-config.c -@@ -20,6 +20,7 @@ - * Boston, MA 02111-1307, USA. - */ - -+#include <unistd.h> - #include <stdio.h> - #include <gmodule.h> - #include <libgda/gda-config.h> -@@ -630,12 +631,34 @@ gda_config_constructor (GType type, - LIBGDA_ABI_NAME, "config", NULL); - unique_instance->priv->system_config_allowed = FALSE; - if (unique_instance->priv->system_file) { -+#ifdef G_OS_WIN32 -+ - FILE *file; - file = fopen (unique_instance->priv->system_file, "a"); /* Flawfinder: ignore */ - if (file) { - unique_instance->priv->system_config_allowed = TRUE; - fclose (file); - } -+#else -+ struct stat stbuf; -+ if (stat (unique_instance->priv->system_file, &stbuf) == 0) { -+ /* use effective user and group IDs */ -+ uid_t euid; -+ gid_t egid; -+ euid = geteuid (); -+ egid = getegid (); -+ if (euid == stbuf.st_uid) { -+ if ((stbuf.st_mode & S_IWUSR) && (stbuf.st_mode & S_IRUSR)) -+ unique_instance->priv->system_config_allowed = TRUE; -+ } -+ else if (egid == stbuf.st_gid) { -+ if ((stbuf.st_mode & S_IWGRP) && (stbuf.st_mode & S_IRGRP)) -+ unique_instance->priv->system_config_allowed = TRUE; -+ } -+ else if ((stbuf.st_mode & S_IWOTH) && (stbuf.st_mode & S_IROTH)) -+ unique_instance->priv->system_config_allowed = TRUE; -+ } -+#endif - } - - /* Setup file monitoring */ --- -cgit v0.9 diff --git a/gnome-extra/libgda/libgda-4.2.2.ebuild b/gnome-extra/libgda/libgda-4.2.2.ebuild deleted file mode 100644 index 6f83b3b5caf0..000000000000 --- a/gnome-extra/libgda/libgda-4.2.2.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.2.2.ebuild,v 1.8 2011/03/22 19:30:35 ranger Exp $ - -EAPI="3" - -inherit autotools 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 -IUSE="berkdb bindist canvas doc firebird gnome-keyring gtk graphviz http +introspection json mysql oci8 postgres sourceview ssl" -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:2 - >=dev-libs/libxml2-2:2 - dev-libs/libxslt - dev-libs/libunique:1 - sys-libs/readline - sys-libs/ncurses - berkdb? ( sys-libs/db ) - !bindist? ( firebird? ( dev-db/firebird ) ) - gtk? ( - >=x11-libs/gtk+-2.12:2 - canvas? ( x11-libs/goocanvas:0 ) - sourceview? ( x11-libs/gtksourceview:2.0 ) - graphviz? ( media-gfx/graphviz ) - ) - gnome-keyring? ( || ( gnome-base/libgnome-keyring <gnome-base/gnome-keyring-2.29.4 ) ) - http? ( >=net-libs/libsoup-2.24:2.4 ) - introspection? ( >=dev-libs/gobject-introspection-0.6.5 ) - json? ( dev-libs/json-glib ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql-base ) - ssl? ( dev-libs/openssl ) - >=dev-db/sqlite-3.6.22:3" -# mdb? ( >app-office/mdbtools-0.5 ) - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.18 - >=dev-util/intltool-0.35.5 - >=app-text/gnome-doc-utils-0.9 - >=dev-util/gtk-doc-am-1 - doc? ( >=dev-util/gtk-doc-1 )" - -# Tests are not really good -RESTRICT="test" - -pkg_setup() { - DOCS="AUTHORS ChangeLog NEWS README" - - 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 - --disable-scrollkeeper - --disable-static - --enable-system-sqlite - $(use_with berkdb bdb /usr) - $(use_with gnome-keyring) - $(use_with gtk ui) - $(use_with http libsoup) - $(use_enable introspection) - $(use_with java java $JAVA_HOME) - $(use_with mysql mysql /usr) - $(use_with postgres postgres /usr) - $(use_enable ssl crypto) - --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)" - # --disable-json doesn't work, upstream bug #636439 - use json && G2CONF="${G2CONF} --enable-json" - use oci8 || G2CONF="${G2CONF} --without-oracle" - - # Not in portage - G2CONF="${G2CONF} - --disable-default-binary" -} - -src_prepare() { - gnome2_src_prepare - - # Fix build order for generated content, upstream #630958 - epatch "${FILESDIR}/${PN}-4.2.2-fix-build-order.patch" - - # Fix compilation failure of keyword_hash.c, upstream #630959 - epatch "${FILESDIR}/${PN}-4.2.0-missing-include-in-keyword_hash-generator.patch" - - intltoolize --force --copy --automake || die - eautoreconf -} - -src_test() { - emake check XDG_DATA_HOME="${T}/.local" || die "tests failed" -} diff --git a/gnome-extra/libgda/libgda-4.2.8.ebuild b/gnome-extra/libgda/libgda-4.2.8.ebuild deleted file mode 100644 index c8b95da67d2d..000000000000 --- a/gnome-extra/libgda/libgda-4.2.8.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.2.8.ebuild,v 1.4 2011/06/25 15:30:46 pacho Exp $ - -EAPI="4" -GCONF_DEBUG="yes" -GNOME2_LA_PUNT="yes" - -inherit autotools 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 -IUSE="berkdb bindist canvas doc firebird gnome-keyring gtk graphviz http +introspection json ldap mysql oci8 postgres sourceview ssl" -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:2 - >=dev-libs/libxml2-2:2 - dev-libs/libxslt - dev-libs/libunique:1 - sys-libs/readline - sys-libs/ncurses - berkdb? ( sys-libs/db ) - !bindist? ( firebird? ( dev-db/firebird ) ) - gtk? ( - || ( >=x11-libs/gtk+-2.12:2 x11-libs/gdk-pixbuf:2 ) - canvas? ( x11-libs/goocanvas:0 ) - sourceview? ( x11-libs/gtksourceview:2.0 ) - graphviz? ( media-gfx/graphviz ) - ) - gnome-keyring? ( || ( gnome-base/libgnome-keyring <gnome-base/gnome-keyring-2.29.4 ) ) - http? ( >=net-libs/libsoup-2.24:2.4 ) - introspection? ( >=dev-libs/gobject-introspection-0.6.5 ) - json? ( dev-libs/json-glib ) - ldap? ( net-nds/openldap ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql-base ) - ssl? ( dev-libs/openssl ) - >=dev-db/sqlite-3.6.22:3" -# mdb? ( >app-office/mdbtools-0.5 ) - -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.18 - >=dev-util/intltool-0.35.5 - >=app-text/gnome-doc-utils-0.9 - >=dev-util/gtk-doc-am-1 - doc? ( >=dev-util/gtk-doc-1 )" - -# Tests are not really good -RESTRICT="test" - -pkg_setup() { - DOCS="AUTHORS ChangeLog NEWS README" - - 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 - --disable-scrollkeeper - --disable-static - --enable-system-sqlite - $(use_with berkdb bdb /usr) - $(use_with gnome-keyring) - $(use_with gtk ui) - $(use_with http libsoup) - $(use_enable introspection) - $(use_enable introspection gda-gi) - $(use_enable introspection gdaui-gi) - $(use_with java java $JAVA_HOME) - $(use_with ldap) - $(use_with mysql mysql /usr) - $(use_with postgres postgres /usr) - $(use_enable ssl crypto) - --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)" - # --disable-json doesn't work, upstream bug #636439 - use json && G2CONF="${G2CONF} --enable-json" - use oci8 || G2CONF="${G2CONF} --without-oracle" - - # Not in portage - G2CONF="${G2CONF} - --disable-default-binary" - - export XDG_DATA_HOME="${T}/.local" -} - -src_prepare() { - gnome2_src_prepare - - # Fix build order for generated content, upstream #630958 - epatch "${FILESDIR}/${PN}-4.2.2-fix-build-order.patch" - - # Fix compilation failure of keyword_hash.c, upstream #630959 - epatch "${FILESDIR}/${PN}-4.2.0-missing-include-in-keyword_hash-generator.patch" - - # Fix compilation without ldap, bug #370233, upstream #651713 - epatch "${FILESDIR}/${P}-ldap.patch" - - # Fix sandbox violations with USE doc, bug #370013, upstream #651922 - epatch "${FILESDIR}/${P}-sandbox-fix.patch" - - intltoolize --force --copy --automake || die - eautoreconf -} diff --git a/gnome-extra/libgda/libgda-4.99.4.ebuild b/gnome-extra/libgda/libgda-4.99.4.ebuild index 7f57bdec9a94..fad8e8c6cd84 100644 --- a/gnome-extra/libgda/libgda-4.99.4.ebuild +++ b/gnome-extra/libgda/libgda-4.99.4.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.99.4.ebuild,v 1.1 2011/09/30 19:27:46 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.99.4.ebuild,v 1.2 2011/10/16 00:05:35 pacho Exp $ -EAPI="3" +EAPI="4" GNOME2_LA_PUNT="yes" GCONF_DEBUG="yes" -GNOME_TARBALL_SUFFIX="xz" # remove when python eclass supports EAPI 4 PYTHON_DEPEND="2" inherit autotools db-use eutils flag-o-matic gnome2 java-pkg-opt-2 python @@ -103,6 +102,11 @@ pkg_setup() { # Not in portage G2CONF="${G2CONF} --disable-default-binary" + + export XDG_DATA_HOME="${T}/.local" + + python_set_active_version 2 + python_pkg_setup } src_prepare() { |