Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/libgda/
Date: Sat, 08 Oct 2016 09:51:23
Message-Id: 1475920209.d3d5ab31cd81b2f5795ae371cdb0b75875251c62.pacho@gentoo
1 commit: d3d5ab31cd81b2f5795ae371cdb0b75875251c62
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 8 08:46:49 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 8 09:50:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d5ab31
7
8 gnome-extra/libgda: Drop old
9
10 Package-Manager: portage-2.3.1
11
12 gnome-extra/libgda/libgda-5.2.4.ebuild | 168 ---------------------------------
13 1 file changed, 168 deletions(-)
14
15 diff --git a/gnome-extra/libgda/libgda-5.2.4.ebuild b/gnome-extra/libgda/libgda-5.2.4.ebuild
16 deleted file mode 100644
17 index f7c0721..00000000
18 --- a/gnome-extra/libgda/libgda-5.2.4.ebuild
19 +++ /dev/null
20 @@ -1,168 +0,0 @@
21 -# Copyright 1999-2015 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 -"
46 -# firebird license is not GPL compatible
47 -
48 -SLOT="5/4" # subslot = libgda-5.0 soname version
49 -KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
50 -
51 -RDEPEND="
52 - app-text/iso-codes
53 - >=dev-libs/glib-2.32:2
54 - >=dev-libs/libxml2-2
55 - dev-libs/libxslt
56 - sys-libs/readline:0=
57 - sys-libs/ncurses:0=
58 - berkdb? ( sys-libs/db:* )
59 - firebird? ( dev-db/firebird )
60 - gnome-keyring? ( app-crypt/libsecret )
61 - gtk? (
62 - >=x11-libs/gtk+-3.0.0:3
63 - canvas? ( x11-libs/goocanvas:2.0= )
64 - sourceview? ( x11-libs/gtksourceview:3.0 )
65 - graphviz? ( media-gfx/graphviz )
66 - )
67 - http? ( >=net-libs/libsoup-2.24:2.4 )
68 - introspection? ( >=dev-libs/gobject-introspection-1.30:= )
69 - json? ( dev-libs/json-glib )
70 - ldap? ( net-nds/openldap:= )
71 - mdb? ( >app-office/mdbtools-0.5:= )
72 - mysql? ( virtual/mysql:= )
73 - postgres? ( dev-db/postgresql:= )
74 - reports? (
75 - ${PYTHON_DEPS}
76 - dev-java/fop
77 - dev-python/reportlab )
78 - ssl? ( dev-libs/openssl:= )
79 - >=dev-db/sqlite-3.6.22:3=
80 - vala? ( dev-libs/libgee:0.8 )
81 -"
82 -
83 -# java dep shouldn't rely on slots, bug #450004
84 -DEPEND="${RDEPEND}
85 - >=app-text/gnome-doc-utils-0.9
86 - app-text/yelp-tools
87 - dev-util/gtk-doc-am
88 - >=dev-util/intltool-0.40.6
89 - virtual/pkgconfig
90 - java? ( >=virtual/jdk-1.6 )
91 - vala? ( $(vala_depend) )
92 -"
93 -
94 -# FIXME: lots of tests failing. Check if they still fail in 5.1.2
95 -# firebird support bindist-restricted because it is not GPL compatible
96 -RESTRICT="
97 - test
98 - firebird? ( bindist )
99 -"
100 -
101 -pkg_setup() {
102 - java-pkg-opt-2_pkg_setup
103 - use reports && python-single-r1_pkg_setup
104 -}
105 -
106 -src_prepare() {
107 - # Fix compilation with -Werror=format-security (from 'master')
108 - epatch "${FILESDIR}"/${PN}-5.2.4-format-security.patch
109 -
110 - # Support JRE 1.8 (from Fedora)
111 - epatch "${FILESDIR}"/${PN}-5.2.4-jre18.patch
112 -
113 - use berkdb && append-cppflags "-I$(db_includedir)"
114 -
115 - use reports ||
116 - sed -e '/SUBDIRS =/ s/trml2html//' \
117 - -e '/SUBDIRS =/ s/trml2pdf//' \
118 - -i libgda-report/RML/Makefile.{am,in} || die
119 -
120 - # Prevent file collisions with libgda:4
121 - epatch "${FILESDIR}/${PN}-4.99.1-gda-browser-doc-collision.patch"
122 - epatch "${FILESDIR}/${PN}-4.99.1-control-center-icon-collision.patch"
123 - # Move files with mv (since epatch can't handle rename diffs) and
124 - # update pre-generated gtk-doc files (for non-git versions of libgda)
125 - local f
126 - for f in tools/browser/doc/gda-browser* ; do
127 - mv ${f} ${f/gda-browser/gda-browser-5.0} || die "mv ${f} failed"
128 - done
129 - for f in tools/browser/doc/html/gda-browser.devhelp* ; do
130 - sed -e 's:name="gda-browser":name="gda-browser-5.0":' \
131 - -i ${f} || die "sed ${f} failed"
132 - mv ${f} ${f/gda-browser/gda-browser-5.0} || die "mv ${f} failed"
133 - done
134 - for f in control-center/data/*_gda-control-center.png ; do
135 - mv ${f} ${f/_gda-control-center.png/_gda-control-center-5.0.png} ||
136 - die "mv ${f} failed"
137 - done
138 -
139 - eautoreconf
140 - gnome2_src_prepare
141 - java-pkg-opt-2_src_prepare
142 - use vala && vala_src_prepare
143 -}
144 -
145 -src_configure() {
146 - gnome2_src_configure \
147 - --with-help \
148 - --disable-default-binary \
149 - --disable-static \
150 - --enable-system-sqlite \
151 - $(use_with berkdb bdb /usr) \
152 - $(use_with canvas goocanvas) \
153 - $(use_with firebird firebird /usr) \
154 - $(use_with gnome-keyring libsecret) \
155 - $(use_with graphviz) \
156 - $(use_with gtk ui) \
157 - $(use_with http libsoup) \
158 - $(use_enable introspection) \
159 - "$(use_with java java $JAVA_HOME)" \
160 - $(use_enable json) \
161 - $(use_with ldap) \
162 - $(use_with mdb mdb /usr) \
163 - $(use_with mysql mysql /usr) \
164 - $(use_with oci8 oracle) \
165 - $(use_with postgres postgres /usr) \
166 - $(use_enable ssl crypto) \
167 - $(use_with sourceview gtksourceview) \
168 - $(use_enable vala) \
169 - $(use_enable vala vala-extensions) \
170 - $(use_enable vala gda-gi) \
171 - $(use_enable vala gdaui-gi) \
172 - $(use_enable vala gdaui-vala)
173 -}
174 -
175 -pkg_preinst() {
176 - gnome2_pkg_preinst
177 - java-pkg-opt-2_pkg_preinst
178 -}
179 -
180 -src_install() {
181 - gnome2_src_install
182 - if use reports; then
183 - for t in trml2{html,pdf}; do
184 - python_scriptinto /usr/share/libgda-5.0/gda_${t}
185 - python_doscript libgda-report/RML/${t}/${t}.py
186 - done
187 - fi
188 -}