1 |
pacho 11/05/06 17:10:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libgda-4.2.7.ebuild |
5 |
Log: |
6 |
Version bump, use eapi4. |
7 |
|
8 |
(Portage version: 2.1.9.47/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.165 gnome-extra/libgda/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.165&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.165&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?r1=1.164&r2=1.165 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v |
20 |
retrieving revision 1.164 |
21 |
retrieving revision 1.165 |
22 |
diff -u -r1.164 -r1.165 |
23 |
--- ChangeLog 20 Apr 2011 16:54:11 -0000 1.164 |
24 |
+++ ChangeLog 6 May 2011 17:10:32 -0000 1.165 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for gnome-extra/libgda |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.164 2011/04/20 16:54:11 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.165 2011/05/06 17:10:32 pacho Exp $ |
30 |
+ |
31 |
+*libgda-4.2.7 (06 May 2011) |
32 |
+ |
33 |
+ 06 May 2011; Pacho Ramos <pacho@g.o> +libgda-4.2.7.ebuild: |
34 |
+ Version bump, use eapi4. |
35 |
|
36 |
*libgda-4.2.6 (20 Apr 2011) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 gnome-extra/libgda/libgda-4.2.7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/libgda-4.2.7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/libgda-4.2.7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libgda-4.2.7.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.2.7.ebuild,v 1.1 2011/05/06 17:10:32 pacho Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
GCONF_DEBUG="yes" |
54 |
GNOME2_LA_PUNT="yes" |
55 |
|
56 |
inherit autotools db-use eutils flag-o-matic gnome2 java-pkg-opt-2 |
57 |
|
58 |
DESCRIPTION="Gnome Database Access Library" |
59 |
HOMEPAGE="http://www.gnome-db.org/" |
60 |
LICENSE="GPL-2 LGPL-2" |
61 |
|
62 |
# MDB support currently works with CVS only, so disable it in the meantime |
63 |
IUSE="berkdb bindist canvas doc firebird gnome-keyring gtk graphviz http +introspection json mysql oci8 postgres sourceview ssl" |
64 |
SLOT="4" |
65 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 |
|
67 |
# FIXME: sqlite is automagic, but maybe it is a hard-dep |
68 |
# FIXME: autoconf is a hell of inconsistencies |
69 |
RDEPEND=" |
70 |
app-text/iso-codes |
71 |
>=dev-libs/glib-2.16:2 |
72 |
>=dev-libs/libxml2-2:2 |
73 |
dev-libs/libxslt |
74 |
dev-libs/libunique:1 |
75 |
sys-libs/readline |
76 |
sys-libs/ncurses |
77 |
berkdb? ( sys-libs/db ) |
78 |
!bindist? ( firebird? ( dev-db/firebird ) ) |
79 |
gtk? ( |
80 |
|| ( >=x11-libs/gtk+-2.12:2 x11-libs/gdk-pixbuf:2 ) |
81 |
canvas? ( x11-libs/goocanvas:0 ) |
82 |
sourceview? ( x11-libs/gtksourceview:2.0 ) |
83 |
graphviz? ( media-gfx/graphviz ) |
84 |
) |
85 |
gnome-keyring? ( || ( gnome-base/libgnome-keyring <gnome-base/gnome-keyring-2.29.4 ) ) |
86 |
http? ( >=net-libs/libsoup-2.24:2.4 ) |
87 |
introspection? ( >=dev-libs/gobject-introspection-0.6.5 ) |
88 |
json? ( dev-libs/json-glib ) |
89 |
mysql? ( virtual/mysql ) |
90 |
postgres? ( dev-db/postgresql-base ) |
91 |
ssl? ( dev-libs/openssl ) |
92 |
>=dev-db/sqlite-3.6.22:3" |
93 |
# mdb? ( >app-office/mdbtools-0.5 ) |
94 |
|
95 |
DEPEND="${RDEPEND} |
96 |
>=dev-util/pkgconfig-0.18 |
97 |
>=dev-util/intltool-0.35.5 |
98 |
>=app-text/gnome-doc-utils-0.9 |
99 |
>=dev-util/gtk-doc-am-1 |
100 |
doc? ( >=dev-util/gtk-doc-1 )" |
101 |
|
102 |
# Tests are not really good |
103 |
RESTRICT="test" |
104 |
|
105 |
pkg_setup() { |
106 |
DOCS="AUTHORS ChangeLog NEWS README" |
107 |
|
108 |
if use canvas || use graphviz || use sourceview; then |
109 |
if ! use gtk; then |
110 |
ewarn "You must enable USE=gtk to make use of canvas, graphivz or sourceview USE flag." |
111 |
ewarn "Disabling for now." |
112 |
G2CONF="${G2CONF} --without-goocanvas --without-graphivz --without-gtksourceview" |
113 |
else |
114 |
G2CONF="${G2CONF} |
115 |
$(use_with canvas goocanvas) |
116 |
$(use_with graphviz) |
117 |
$(use_with sourceview gtksourceview)" |
118 |
fi |
119 |
fi |
120 |
|
121 |
G2CONF="${G2CONF} |
122 |
--with-unique |
123 |
--disable-scrollkeeper |
124 |
--disable-static |
125 |
--enable-system-sqlite |
126 |
$(use_with berkdb bdb /usr) |
127 |
$(use_with gnome-keyring) |
128 |
$(use_with gtk ui) |
129 |
$(use_with http libsoup) |
130 |
$(use_enable introspection) |
131 |
$(use_enable introspection gda-gi) |
132 |
$(use_enable introspection gdaui-gi) |
133 |
$(use_with java java $JAVA_HOME) |
134 |
$(use_with mysql mysql /usr) |
135 |
$(use_with postgres postgres /usr) |
136 |
$(use_enable ssl crypto) |
137 |
--without-mdb" |
138 |
# $(use_with mdb mdb /usr) |
139 |
|
140 |
if use bindist; then |
141 |
# firebird license is not GPL compatible |
142 |
G2CONF="${G2CONF} --without-firebird" |
143 |
else |
144 |
G2CONF="${G2CONF} $(use_with firebird firebird /usr)" |
145 |
fi |
146 |
|
147 |
use berkdb && append-cppflags "-I$(db_includedir)" |
148 |
# --disable-json doesn't work, upstream bug #636439 |
149 |
use json && G2CONF="${G2CONF} --enable-json" |
150 |
use oci8 || G2CONF="${G2CONF} --without-oracle" |
151 |
|
152 |
# Not in portage |
153 |
G2CONF="${G2CONF} |
154 |
--disable-default-binary" |
155 |
} |
156 |
|
157 |
src_prepare() { |
158 |
gnome2_src_prepare |
159 |
|
160 |
# Fix build order for generated content, upstream #630958 |
161 |
epatch "${FILESDIR}/${PN}-4.2.2-fix-build-order.patch" |
162 |
|
163 |
# Fix compilation failure of keyword_hash.c, upstream #630959 |
164 |
epatch "${FILESDIR}/${PN}-4.2.0-missing-include-in-keyword_hash-generator.patch" |
165 |
|
166 |
intltoolize --force --copy --automake || die |
167 |
eautoreconf |
168 |
} |
169 |
|
170 |
src_test() { |
171 |
emake check XDG_DATA_HOME="${T}/.local" || die "tests failed" |
172 |
} |