1 |
commit: 3b921e8f62f9c51cba8139d283896472c0d56a34 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 15 19:58:29 2017 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 15 20:36:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b921e8f |
7 |
|
8 |
gnome-extra/libgda: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
gnome-extra/libgda/libgda-5.2.4-r1.ebuild | 180 ------------------------------ |
13 |
1 file changed, 180 deletions(-) |
14 |
|
15 |
diff --git a/gnome-extra/libgda/libgda-5.2.4-r1.ebuild b/gnome-extra/libgda/libgda-5.2.4-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 064ca8b361..0000000000 |
18 |
--- a/gnome-extra/libgda/libgda-5.2.4-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,180 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI="5" |
26 |
-GNOME2_LA_PUNT="yes" |
27 |
-GCONF_DEBUG="yes" |
28 |
-PYTHON_COMPAT=( python2_7 ) |
29 |
-VALA_MIN_API_VERSION="0.26" |
30 |
-VALA_MAX_API_VERSION="0.26" # configure explicitly checks for that version |
31 |
-VALA_USE_DEPEND="vapigen" |
32 |
- |
33 |
-inherit autotools db-use eutils flag-o-matic gnome2 java-pkg-opt-2 python-single-r1 vala |
34 |
- |
35 |
-DESCRIPTION="GNOME database access library" |
36 |
-HOMEPAGE="http://www.gnome-db.org/" |
37 |
-LICENSE="GPL-2+ LGPL-2+" |
38 |
- |
39 |
-IUSE="berkdb canvas firebird gnome-keyring gtk graphviz http +introspection json ldap mdb mysql oci8 postgres reports sourceview ssl vala" |
40 |
-REQUIRED_USE=" |
41 |
- reports? ( ${PYTHON_REQUIRED_USE} ) |
42 |
- canvas? ( gtk ) |
43 |
- graphviz? ( gtk ) |
44 |
- sourceview? ( gtk ) |
45 |
- vala? ( introspection ) |
46 |
-" |
47 |
-# firebird license is not GPL compatible |
48 |
- |
49 |
-SLOT="5/4" # subslot = libgda-5.0 soname version |
50 |
-KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- app-text/iso-codes |
54 |
- >=dev-libs/glib-2.32:2 |
55 |
- >=dev-libs/libxml2-2 |
56 |
- dev-libs/libxslt |
57 |
- sys-libs/readline:0= |
58 |
- sys-libs/ncurses:0= |
59 |
- berkdb? ( sys-libs/db:* ) |
60 |
- firebird? ( dev-db/firebird ) |
61 |
- gnome-keyring? ( app-crypt/libsecret ) |
62 |
- gtk? ( |
63 |
- >=x11-libs/gtk+-3.0.0:3 |
64 |
- canvas? ( x11-libs/goocanvas:2.0= ) |
65 |
- sourceview? ( x11-libs/gtksourceview:3.0 ) |
66 |
- graphviz? ( media-gfx/graphviz ) |
67 |
- ) |
68 |
- http? ( >=net-libs/libsoup-2.24:2.4 ) |
69 |
- introspection? ( >=dev-libs/gobject-introspection-1.30:= ) |
70 |
- json? ( dev-libs/json-glib ) |
71 |
- ldap? ( net-nds/openldap:= ) |
72 |
- mdb? ( >app-office/mdbtools-0.5:= ) |
73 |
- mysql? ( virtual/mysql:= ) |
74 |
- postgres? ( dev-db/postgresql:= ) |
75 |
- reports? ( |
76 |
- ${PYTHON_DEPS} |
77 |
- dev-java/fop |
78 |
- dev-python/reportlab ) |
79 |
- ssl? ( dev-libs/openssl:= ) |
80 |
- >=dev-db/sqlite-3.6.22:3= |
81 |
- vala? ( dev-libs/libgee:0.8 ) |
82 |
-" |
83 |
- |
84 |
-# java dep shouldn't rely on slots, bug #450004 |
85 |
-DEPEND="${RDEPEND} |
86 |
- >=app-text/gnome-doc-utils-0.9 |
87 |
- app-text/yelp-tools |
88 |
- dev-util/gtk-doc-am |
89 |
- >=dev-util/intltool-0.40.6 |
90 |
- virtual/pkgconfig |
91 |
- java? ( >=virtual/jdk-1.6 ) |
92 |
- vala? ( $(vala_depend) ) |
93 |
-" |
94 |
- |
95 |
-# FIXME: lots of tests failing. Check if they still fail in 5.1.2 |
96 |
-# firebird support bindist-restricted because it is not GPL compatible |
97 |
-RESTRICT=" |
98 |
- test |
99 |
- firebird? ( bindist ) |
100 |
-" |
101 |
- |
102 |
-pkg_setup() { |
103 |
- java-pkg-opt-2_pkg_setup |
104 |
- use reports && python-single-r1_pkg_setup |
105 |
-} |
106 |
- |
107 |
-src_prepare() { |
108 |
- # Fix compilation with -Werror=format-security (from 'master') |
109 |
- epatch "${FILESDIR}"/${PN}-5.2.4-format-security.patch |
110 |
- |
111 |
- # Support JRE 1.8 (from Fedora) |
112 |
- epatch "${FILESDIR}"/${PN}-5.2.4-jre18.patch |
113 |
- |
114 |
- use berkdb && append-cppflags "-I$(db_includedir)" |
115 |
- |
116 |
- use reports || |
117 |
- sed -e '/SUBDIRS =/ s/trml2html//' \ |
118 |
- -e '/SUBDIRS =/ s/trml2pdf//' \ |
119 |
- -i libgda-report/RML/Makefile.{am,in} || die |
120 |
- |
121 |
- # Prevent file collisions with libgda:4 |
122 |
- epatch "${FILESDIR}/${PN}-4.99.1-gda-browser-doc-collision.patch" |
123 |
- epatch "${FILESDIR}/${PN}-4.99.1-control-center-icon-collision.patch" |
124 |
- # Move files with mv (since epatch can't handle rename diffs) and |
125 |
- # update pre-generated gtk-doc files (for non-git versions of libgda) |
126 |
- local f |
127 |
- for f in tools/browser/doc/gda-browser* ; do |
128 |
- mv ${f} ${f/gda-browser/gda-browser-5.0} || die "mv ${f} failed" |
129 |
- done |
130 |
- for f in tools/browser/doc/html/gda-browser.devhelp* ; do |
131 |
- sed -e 's:name="gda-browser":name="gda-browser-5.0":' \ |
132 |
- -i ${f} || die "sed ${f} failed" |
133 |
- mv ${f} ${f/gda-browser/gda-browser-5.0} || die "mv ${f} failed" |
134 |
- done |
135 |
- for f in control-center/data/*_gda-control-center.png ; do |
136 |
- mv ${f} ${f/_gda-control-center.png/_gda-control-center-5.0.png} || |
137 |
- die "mv ${f} failed" |
138 |
- done |
139 |
- |
140 |
- eautoreconf |
141 |
- gnome2_src_prepare |
142 |
- java-pkg-opt-2_src_prepare |
143 |
- use vala && vala_src_prepare |
144 |
-} |
145 |
- |
146 |
-src_configure() { |
147 |
- local myconf=( ) |
148 |
- if use introspection ; then |
149 |
- myconf+=( $(use_enable gtk gdaui-gi) ) |
150 |
- else: |
151 |
- myconf+=( --disable-gdaui-gi ) |
152 |
- fi |
153 |
- if use vala ; then |
154 |
- myconf+=( $(use_enable gtk gdaui-vala) ) |
155 |
- else |
156 |
- myconf+=( --disable-gdaui-vala ) |
157 |
- fi |
158 |
- |
159 |
- gnome2_src_configure \ |
160 |
- --with-help \ |
161 |
- --disable-default-binary \ |
162 |
- --disable-static \ |
163 |
- --enable-system-sqlite \ |
164 |
- $(use_with berkdb bdb /usr) \ |
165 |
- $(use_with canvas goocanvas) \ |
166 |
- $(use_with firebird firebird /usr) \ |
167 |
- $(use_with gnome-keyring libsecret) \ |
168 |
- $(use_with graphviz) \ |
169 |
- $(use_with gtk ui) \ |
170 |
- $(use_with http libsoup) \ |
171 |
- $(use_enable introspection) \ |
172 |
- $(use_enable introspection gda-gi) \ |
173 |
- "$(use_with java java $JAVA_HOME)" \ |
174 |
- $(use_enable json) \ |
175 |
- $(use_with ldap) \ |
176 |
- $(use_with mdb mdb /usr) \ |
177 |
- $(use_with mysql mysql /usr) \ |
178 |
- $(use_with oci8 oracle) \ |
179 |
- $(use_with postgres postgres /usr) \ |
180 |
- $(use_enable ssl crypto) \ |
181 |
- $(use_with sourceview gtksourceview) \ |
182 |
- $(use_enable vala) \ |
183 |
- $(use_enable vala vala-extensions) \ |
184 |
- ${myconf[@]} |
185 |
-} |
186 |
- |
187 |
-pkg_preinst() { |
188 |
- gnome2_pkg_preinst |
189 |
- java-pkg-opt-2_pkg_preinst |
190 |
-} |
191 |
- |
192 |
-src_install() { |
193 |
- gnome2_src_install |
194 |
- if use reports; then |
195 |
- for t in trml2{html,pdf}; do |
196 |
- python_scriptinto /usr/share/libgda-5.0/gda_${t} |
197 |
- python_doscript libgda-report/RML/${t}/${t}.py |
198 |
- done |
199 |
- fi |
200 |
-} |