1 |
eva 10/09/29 22:12:54 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: libgda-4.2.0.ebuild |
5 |
Log: |
6 |
Version bump. Translation updates. Cryptographic support. |
7 |
|
8 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.150 gnome-extra/libgda/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.150&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.150&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?r1=1.149&r2=1.150 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v |
20 |
retrieving revision 1.149 |
21 |
retrieving revision 1.150 |
22 |
diff -u -r1.149 -r1.150 |
23 |
--- ChangeLog 13 Sep 2010 20:59:26 -0000 1.149 |
24 |
+++ ChangeLog 29 Sep 2010 22:12:54 -0000 1.150 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for gnome-extra/libgda |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.149 2010/09/13 20:59:26 eva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.150 2010/09/29 22:12:54 eva Exp $ |
30 |
+ |
31 |
+*libgda-4.2.0 (29 Sep 2010) |
32 |
+ |
33 |
+ 29 Sep 2010; Gilles Dartiguelongue <eva@g.o> +libgda-4.2.0.ebuild, |
34 |
+ +files/libgda-4.2.0-fix-build-order.patch, |
35 |
+ +files/libgda-4.2.0-fix-undefined-mdb.patch, |
36 |
+ +files/libgda-4.2.0-json-libcrypto-automagic.patch, |
37 |
+ +files/libgda-4.2.0-missing-include-in-keyword_hash-generator.patch, |
38 |
+ metadata.xml: |
39 |
+ Version bump. Translation updates. Cryptographic support. |
40 |
|
41 |
13 Sep 2010; Gilles Dartiguelongue <eva@g.o> libgda-4.1.10.ebuild: |
42 |
gnome-keyring does not depend on the gtk USE flag. |
43 |
|
44 |
|
45 |
|
46 |
1.4 gnome-extra/libgda/metadata.xml |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/metadata.xml?rev=1.4&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/metadata.xml?rev=1.4&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/metadata.xml?r1=1.3&r2=1.4 |
51 |
|
52 |
Index: metadata.xml |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgda/metadata.xml,v |
55 |
retrieving revision 1.3 |
56 |
retrieving revision 1.4 |
57 |
diff -u -r1.3 -r1.4 |
58 |
--- metadata.xml 7 Mar 2010 23:56:54 -0000 1.3 |
59 |
+++ metadata.xml 29 Sep 2010 22:12:54 -0000 1.4 |
60 |
@@ -4,6 +4,10 @@ |
61 |
<herd>gnome</herd> |
62 |
<use> |
63 |
<flag name="canvas">Enables support for <pkg>x11-libs/goocanvas</pkg></flag> |
64 |
+ <flag name="http">Enable embedded <pkg>net-libs/libsoup</pkg> based server</flag> |
65 |
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for |
66 |
+ introspection</flag> |
67 |
+ <flag name="json">Enable support for JSON format</flag> |
68 |
<flag name='mdb'>Enables Microsoft Access DB support</flag> |
69 |
<flag name="sourceview">Enable support for <pkg>x11-libs/gtksourceview</pkg></flag> |
70 |
<flag name='xbase'>Enables support for xbase databases (dBase, FoxPro, |
71 |
|
72 |
|
73 |
|
74 |
1.1 gnome-extra/libgda/libgda-4.2.0.ebuild |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/libgda-4.2.0.ebuild?rev=1.1&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/libgda-4.2.0.ebuild?rev=1.1&content-type=text/plain |
78 |
|
79 |
Index: libgda-4.2.0.ebuild |
80 |
=================================================================== |
81 |
# Copyright 1999-2010 Gentoo Foundation |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.2.0.ebuild,v 1.1 2010/09/29 22:12:54 eva Exp $ |
84 |
|
85 |
EAPI="3" |
86 |
|
87 |
inherit autotools db-use eutils flag-o-matic gnome2 java-pkg-opt-2 |
88 |
|
89 |
DESCRIPTION="Gnome Database Access Library" |
90 |
HOMEPAGE="http://www.gnome-db.org/" |
91 |
LICENSE="GPL-2 LGPL-2" |
92 |
|
93 |
# MDB support currently works with CVS only, so disable it in the meantime |
94 |
IUSE="berkdb bindist canvas doc firebird freetds gnome-keyring gtk graphviz http +introspection json ldap mysql oci8 odbc postgres sourceview ssl xbase" |
95 |
SLOT="4" |
96 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
97 |
|
98 |
# FIXME: sqlite is automagic, but maybe it is a hard-dep |
99 |
# FIXME: autoconf is a hell of inconsistencies |
100 |
RDEPEND=" |
101 |
app-text/iso-codes |
102 |
>=dev-libs/glib-2.16 |
103 |
>=dev-libs/libxml2-2 |
104 |
dev-libs/libxslt |
105 |
dev-libs/libunique |
106 |
sys-libs/readline |
107 |
sys-libs/ncurses |
108 |
berkdb? ( sys-libs/db ) |
109 |
freetds? ( >=dev-db/freetds-0.62 ) |
110 |
!bindist? ( firebird? ( dev-db/firebird ) ) |
111 |
gtk? ( |
112 |
>=x11-libs/gtk+-2.12 |
113 |
canvas? ( x11-libs/goocanvas ) |
114 |
sourceview? ( x11-libs/gtksourceview:2.0 ) |
115 |
graphviz? ( media-gfx/graphviz ) |
116 |
) |
117 |
gnome-keyring? ( || ( gnome-base/libgnome-keyring <gnome-base/gnome-keyring-2.29.4 ) ) |
118 |
http? ( >=net-libs/libsoup-2.24:2.4 ) |
119 |
introspection? ( >=dev-libs/gobject-introspection-0.6.5 ) |
120 |
json? ( dev-libs/json-glib ) |
121 |
ldap? ( >=net-nds/openldap-2.0.25 ) |
122 |
mysql? ( virtual/mysql ) |
123 |
odbc? ( >=dev-db/unixODBC-2.0.6 ) |
124 |
postgres? ( dev-db/postgresql-base ) |
125 |
ssl? ( dev-libs/openssl ) |
126 |
xbase? ( dev-db/xbase ) |
127 |
>=dev-db/sqlite-3.6.22:3" |
128 |
# mdb? ( >app-office/mdbtools-0.5 ) |
129 |
|
130 |
DEPEND="${RDEPEND} |
131 |
>=dev-util/pkgconfig-0.18 |
132 |
>=dev-util/intltool-0.35.5 |
133 |
>=app-text/gnome-doc-utils-0.9 |
134 |
>=dev-util/gtk-doc-am-1 |
135 |
doc? ( >=dev-util/gtk-doc-1 )" |
136 |
|
137 |
DOCS="AUTHORS ChangeLog NEWS README" |
138 |
|
139 |
# Tests are not really good |
140 |
RESTRICT="test" |
141 |
|
142 |
pkg_setup() { |
143 |
if use canvas || use graphviz || use sourceview; then |
144 |
if ! use gtk; then |
145 |
ewarn "You must enable USE=gtk to make use of canvas, graphivz or sourceview USE flag." |
146 |
ewarn "Disabling for now." |
147 |
G2CONF="${G2CONF} --without-goocanvas --without-graphivz --without-gtksourceview" |
148 |
else |
149 |
G2CONF="${G2CONF} |
150 |
$(use_with canvas goocanvas) |
151 |
$(use_with graphviz) |
152 |
$(use_with sourceview gtksourceview)" |
153 |
fi |
154 |
fi |
155 |
|
156 |
G2CONF="${G2CONF} |
157 |
--with-unique |
158 |
--disable-scrollkeeper |
159 |
--disable-static |
160 |
--enable-system-sqlite |
161 |
$(use_with berkdb bdb /usr) |
162 |
$(use_with freetds tds /usr) |
163 |
$(use_with gnome-keyring) |
164 |
$(use_with gtk ui) |
165 |
$(use_enable http libsoup) |
166 |
$(use_enable introspection) |
167 |
$(use_with java java $JAVA_HOME) |
168 |
$(use_enable json) |
169 |
$(use_with ldap ldap /usr) |
170 |
$(use_with mysql mysql /usr) |
171 |
$(use_with odbc odbc /usr) |
172 |
$(use_with postgres postgres /usr) |
173 |
$(use_enable ssl crypto) |
174 |
$(use_with xbase xbase /usr) |
175 |
--without-mdb" |
176 |
# $(use_with mdb mdb /usr) |
177 |
|
178 |
if use bindist; then |
179 |
# firebird license is not GPL compatible |
180 |
G2CONF="${G2CONF} --without-firebird" |
181 |
else |
182 |
G2CONF="${G2CONF} $(use_with firebird firebird /usr)" |
183 |
fi |
184 |
|
185 |
use berkdb && append-cppflags "-I$(db_includedir)" |
186 |
use oci8 || G2CONF="${G2CONF} --without-oracle" |
187 |
|
188 |
# Not in portage |
189 |
G2CONF="${G2CONF} |
190 |
--without-msql |
191 |
--without-sybase |
192 |
--without-ibmdb2 |
193 |
--disable-default-binary" |
194 |
} |
195 |
|
196 |
src_prepare() { |
197 |
gnome2_src_prepare |
198 |
|
199 |
# Fix automagic json-glib and libcrypto, upstream #630953 |
200 |
epatch "${FILESDIR}/${P}-json-libcrypto-automagic.patch" |
201 |
|
202 |
# Fix undefined MDB, upstream #630955 |
203 |
epatch "${FILESDIR}/${P}-fix-undefined-mdb.patch" |
204 |
|
205 |
# Fix build order for generated content, upstream #630958 |
206 |
epatch "${FILESDIR}/${P}-fix-build-order.patch" |
207 |
|
208 |
# Fix compilation failure of keyword_hash.c, upstream #630959 |
209 |
epatch "${FILESDIR}/${P}-missing-include-in-keyword_hash-generator.patch" |
210 |
|
211 |
intltoolize --force --copy --automake || die |
212 |
eautoreconf |
213 |
} |
214 |
|
215 |
src_test() { |
216 |
emake check HOME=$(unset HOME; echo "~") || die "tests failed" |
217 |
} |