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