1 |
pacho 14/02/09 13:00:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libgda-5.2.2.ebuild |
5 |
Removed: libgda-5.1.1-r1.ebuild libgda-5.1.2.ebuild |
6 |
Log: |
7 |
Version bump, drop old |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.222 gnome-extra/libgda/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.222&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?rev=1.222&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/ChangeLog?r1=1.221&r2=1.222 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v |
21 |
retrieving revision 1.221 |
22 |
retrieving revision 1.222 |
23 |
diff -u -r1.221 -r1.222 |
24 |
--- ChangeLog 8 Dec 2013 18:54:26 -0000 1.221 |
25 |
+++ ChangeLog 9 Feb 2014 13:00:05 -0000 1.222 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for gnome-extra/libgda |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.221 2013/12/08 18:54:26 pacho Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.222 2014/02/09 13:00:05 pacho Exp $ |
32 |
+ |
33 |
+*libgda-5.2.2 (09 Feb 2014) |
34 |
+ |
35 |
+ 09 Feb 2014; Pacho Ramos <pacho@g.o> +libgda-5.2.2.ebuild, |
36 |
+ -libgda-5.1.1-r1.ebuild, -libgda-5.1.2.ebuild: |
37 |
+ Version bump, drop old |
38 |
|
39 |
08 Dec 2013; Pacho Ramos <pacho@g.o> libgda-5.0.4.ebuild: |
40 |
x86 stable, bug #478252 |
41 |
|
42 |
|
43 |
|
44 |
1.1 gnome-extra/libgda/libgda-5.2.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/libgda-5.2.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgda/libgda-5.2.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: libgda-5.2.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-5.2.2.ebuild,v 1.1 2014/02/09 13:00:05 pacho Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
GNOME2_LA_PUNT="yes" |
57 |
GCONF_DEBUG="yes" |
58 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
59 |
#VALA_MIN_API_VERSION="0.18" |
60 |
#VALA_MAX_API_VERSION="0.18" # configure explicitly checks for 0.18 |
61 |
#VALA_USE_DEPEND="vapigen" |
62 |
|
63 |
inherit autotools db-use eutils flag-o-matic gnome2 java-pkg-opt-2 python-single-r1 # vala |
64 |
|
65 |
DESCRIPTION="GNOME database access library" |
66 |
HOMEPAGE="http://www.gnome-db.org/" |
67 |
LICENSE="GPL-2+ LGPL-2+" |
68 |
|
69 |
IUSE="berkdb bindist canvas firebird gtk graphviz http +introspection json ldap libsecret mdb mysql oci8 postgres reports sourceview ssl" # vala |
70 |
REQUIRED_USE=" |
71 |
reports? ( ${PYTHON_REQUIRED_USE} ) |
72 |
canvas? ( gtk ) |
73 |
firebird? ( !bindist ) |
74 |
graphviz? ( gtk ) |
75 |
sourceview? ( gtk ) |
76 |
" |
77 |
# firebird license is not GPL compatible |
78 |
|
79 |
SLOT="5/4" # subslot = libgda-5.0 soname version |
80 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
81 |
|
82 |
RDEPEND=" |
83 |
app-text/iso-codes |
84 |
>=dev-libs/glib-2.32:2 |
85 |
>=dev-libs/libxml2-2 |
86 |
dev-libs/libxslt |
87 |
sys-libs/readline:= |
88 |
sys-libs/ncurses:= |
89 |
berkdb? ( sys-libs/db ) |
90 |
!bindist? ( firebird? ( dev-db/firebird ) ) |
91 |
gtk? ( |
92 |
>=x11-libs/gtk+-3.0.0:3 |
93 |
canvas? ( x11-libs/goocanvas:2.0= ) |
94 |
sourceview? ( x11-libs/gtksourceview:3.0 ) |
95 |
graphviz? ( media-gfx/graphviz ) |
96 |
) |
97 |
http? ( >=net-libs/libsoup-2.24:2.4 ) |
98 |
introspection? ( >=dev-libs/gobject-introspection-1.30 ) |
99 |
json? ( dev-libs/json-glib ) |
100 |
ldap? ( net-nds/openldap:= ) |
101 |
libsecret? ( app-crypt/libsecret ) |
102 |
mdb? ( >app-office/mdbtools-0.5:= ) |
103 |
mysql? ( virtual/mysql:= ) |
104 |
postgres? ( dev-db/postgresql-base:= ) |
105 |
reports? ( |
106 |
${PYTHON_DEPS} |
107 |
dev-java/fop |
108 |
dev-python/reportlab ) |
109 |
ssl? ( dev-libs/openssl:= ) |
110 |
>=dev-db/sqlite-3.6.22:3= |
111 |
" |
112 |
# vala? ( dev-libs/libgee:0.8 ) |
113 |
DEPEND="${RDEPEND} |
114 |
>=app-text/gnome-doc-utils-0.9 |
115 |
dev-util/gtk-doc-am |
116 |
>=dev-util/intltool-0.40.6 |
117 |
virtual/pkgconfig |
118 |
java? ( virtual/jdk:1.6 )" |
119 |
# vala? ( $(vala_depend) ) |
120 |
|
121 |
# FIXME: lots of tests failing. Check if they still fail in 5.1.2 |
122 |
RESTRICT="test" |
123 |
|
124 |
pkg_setup() { |
125 |
java-pkg-opt-2_pkg_setup |
126 |
use reports && python-single-r1_pkg_setup |
127 |
} |
128 |
|
129 |
src_prepare() { |
130 |
use berkdb && append-cppflags "-I$(db_includedir)" |
131 |
|
132 |
use reports || |
133 |
sed -e '/SUBDIRS =/ s/trml2html//' \ |
134 |
-e '/SUBDIRS =/ s/trml2pdf//' \ |
135 |
-i libgda-report/RML/Makefile.{am,in} || die |
136 |
|
137 |
# Prevent file collisions with libgda:4 |
138 |
epatch "${FILESDIR}/${PN}-4.99.1-gda-browser-doc-collision.patch" |
139 |
epatch "${FILESDIR}/${PN}-4.99.1-control-center-icon-collision.patch" |
140 |
# Move files with mv (since epatch can't handle rename diffs) and |
141 |
# update pre-generated gtk-doc files (for non-git versions of libgda) |
142 |
local f |
143 |
for f in tools/browser/doc/gda-browser* ; do |
144 |
mv ${f} ${f/gda-browser/gda-browser-5.0} || die "mv ${f} failed" |
145 |
done |
146 |
for f in tools/browser/doc/html/gda-browser.devhelp* ; do |
147 |
sed -e 's:name="gda-browser":name="gda-browser-5.0":' \ |
148 |
-i ${f} || die "sed ${f} failed" |
149 |
mv ${f} ${f/gda-browser/gda-browser-5.0} || die "mv ${f} failed" |
150 |
done |
151 |
for f in control-center/data/*_gda-control-center.png ; do |
152 |
mv ${f} ${f/_gda-control-center.png/_gda-control-center-5.0.png} || |
153 |
die "mv ${f} failed" |
154 |
done |
155 |
|
156 |
eautoreconf |
157 |
gnome2_src_prepare |
158 |
java-pkg-opt-2_src_prepare |
159 |
# use vala && vala_src_prepare |
160 |
} |
161 |
|
162 |
src_configure() { |
163 |
gnome2_src_configure \ |
164 |
--with-help \ |
165 |
--disable-static \ |
166 |
--enable-system-sqlite \ |
167 |
$(use_with berkdb bdb /usr) \ |
168 |
$(use_with canvas goocanvas) \ |
169 |
$(use_with firebird firebird /usr) \ |
170 |
$(use_with graphviz) \ |
171 |
$(use_with gtk ui) \ |
172 |
$(use_with http libsoup) \ |
173 |
$(use_enable introspection) \ |
174 |
"$(use_with java java $JAVA_HOME)" \ |
175 |
$(use_enable json) \ |
176 |
$(use_with ldap) \ |
177 |
$(use_with libsecret) \ |
178 |
$(use_with mdb mdb /usr) \ |
179 |
$(use_with mysql mysql /usr) \ |
180 |
$(use_with oci8 oracle) \ |
181 |
$(use_with postgres postgres /usr) \ |
182 |
$(use_enable ssl crypto) \ |
183 |
$(use_with sourceview gtksourceview) \ |
184 |
--disable-default-binary \ |
185 |
--disable-vala |
186 |
# vala bindings fail to build |
187 |
} |
188 |
|
189 |
pkg_preinst() { |
190 |
gnome2_pkg_preinst |
191 |
java-pkg-opt-2_pkg_preinst |
192 |
} |
193 |
|
194 |
src_install() { |
195 |
gnome2_src_install |
196 |
if use reports; then |
197 |
for t in trml2{html,pdf}; do |
198 |
python_scriptinto /usr/share/libgda-5.0/gda_${t} |
199 |
python_doscript libgda-report/RML/${t}/${t}.py |
200 |
done |
201 |
fi |
202 |
} |