Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/libgda: ChangeLog libgda-4.1.0.ebuild libgda-3.0.1.ebuild
Date: Sun, 31 May 2009 21:12:14
Message-Id: E1MAsKB-0008AD-Jl@stork.gentoo.org
1 eva 09/05/31 21:12:11
2
3 Modified: ChangeLog
4 Added: libgda-4.1.0.ebuild
5 Removed: libgda-3.0.1.ebuild
6 Log:
7 Bump to 4.1.0. Clean up old revision.
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.128 gnome-extra/libgda/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.128&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.128&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgda/ChangeLog?r1=1.127&r2=1.128
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v
20 retrieving revision 1.127
21 retrieving revision 1.128
22 diff -u -r1.127 -r1.128
23 --- ChangeLog 27 Feb 2009 23:12:07 -0000 1.127
24 +++ ChangeLog 31 May 2009 21:12:11 -0000 1.128
25 @@ -1,6 +1,13 @@
26 # ChangeLog for gnome-extra/libgda
27 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.127 2009/02/27 23:12:07 jer Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.128 2009/05/31 21:12:11 eva Exp $
31 +
32 +*libgda-4.1.0 (31 May 2009)
33 +
34 + 31 May 2009; Gilles Dartiguelongue <eva@g.o> -libgda-3.0.1.ebuild,
35 + +files/libgda-4.0.2-libsoup-magic.patch,
36 + +files/libgda-4.0.2-sandbox.patch, +libgda-4.1.0.ebuild:
37 + Bump to 4.1.0. Clean up old revision.
38
39 27 Feb 2009; Jeroen Roovers <jer@g.o> libgda-3.0.4.ebuild:
40 Stable for HPPA (bug #258192).
41
42
43
44 1.1 gnome-extra/libgda/libgda-4.1.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgda/libgda-4.1.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgda/libgda-4.1.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libgda-4.1.0.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.1.0.ebuild,v 1.1 2009/05/31 21:12:11 eva Exp $
54
55 EAPI="2"
56
57 inherit autotools db-use flag-o-matic gnome2 java-pkg-opt-2
58
59 DESCRIPTION="Gnome Database Access Library"
60 HOMEPAGE="http://www.gnome-db.org/"
61 LICENSE="GPL-2 LGPL-2"
62
63 # MDB support currently works with CVS only, so disable it in the meantime
64 IUSE="berkdb bindist doc firebird freetds ldap mysql oci8 odbc postgres xbase"
65 SLOT="4"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
67
68 # FIXME: sqlite is automagic, but maybe it is a hard-dep
69 # FIXME: autoconf is a hell of inconsistencies
70 RDEPEND=">=dev-libs/glib-2.16
71 >=dev-libs/libxml2-2
72 dev-libs/libxslt
73 sys-libs/readline
74 sys-libs/ncurses
75 >=net-libs/libsoup-2.24
76 berkdb? ( sys-libs/db )
77 odbc? ( >=dev-db/unixODBC-2.0.6 )
78 mysql? ( virtual/mysql )
79 postgres? ( >=virtual/postgresql-base-7.2.1 )
80 freetds? ( >=dev-db/freetds-0.62 )
81 !bindist? ( firebird? ( dev-db/firebird ) )
82 xbase? ( dev-db/xbase )
83 ldap? ( >=net-nds/openldap-2.0.25 )
84 >=dev-db/sqlite-3.6.11:3"
85 # json? ( dev-libs/json-glib )
86 # mdb? ( >app-office/mdbtools-0.5 )
87
88 DEPEND="${RDEPEND}
89 >=dev-util/pkgconfig-0.18
90 >=dev-util/intltool-0.35.5
91 doc? ( >=dev-util/gtk-doc-1 )"
92
93 DOCS="AUTHORS ChangeLog NEWS README"
94
95 # Tests are not really good
96 RESTRICT="test"
97
98 pkg_setup() {
99 G2CONF="${G2CONF}
100 --with-libsoup
101 --enable-system-sqlite
102 $(use_with berkdb bdb /usr)
103 $(use_with odbc odbc /usr)
104 $(use_with mysql mysql /usr)
105 $(use_with postgres postgres /usr)
106 $(use_with freetds tds /usr)
107 $(use_with xbase xbase /usr)
108 $(use_with ldap ldap /usr)
109 $(use_with java java $JAVA_HOME)
110 --without-mdb"
111 # $(use_with mdb mdb /usr)
112
113 if use bindist; then
114 # firebird license is not GPL compatible
115 G2CONF="${G2CONF} --without-firebird"
116 else
117 G2CONF="${G2CONF} $(use_with firebird firebird /usr)"
118 fi
119
120 use berkdb && append-cppflags "-I$(db_includedir)"
121 use oci8 || G2CONF="${G2CONF} --without-oracle"
122
123 # Not in portage
124 G2CONF="${G2CONF}
125 --without-msql
126 --without-sybase
127 --without-ibmdb2
128 --disable-default-binary"
129 }
130
131 src_prepare() {
132 gnome2_src_prepare
133
134 # Fix sandbox violations, upstream bug #579458
135 epatch "${FILESDIR}/${PN}-4.0.2-sandbox.patch"
136
137 # Fix automagic libsoup support, upstream bug #584398
138 epatch "${FILESDIR}/${PN}-4.0.2-libsoup-magic.patch"
139
140 intltoolize --force --copy --automake || die "intltoolize failed"
141 eautoreconf
142 }
143
144 src_test() {
145 emake check HOME=$(unset HOME; echo "~") || die "tests failed"
146 }