Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/abiword: metadata.xml ChangeLog abiword-2.6.4.ebuild abiword-2.8.4.ebuild abiword-2.6.5.ebuild abiword-2.6.6.ebuild
Date: Mon, 19 Apr 2010 23:16:38
Message-Id: 20100419231635.F2B322C04B@corvid.gentoo.org
1 eva 10/04/19 23:16:35
2
3 Modified: metadata.xml ChangeLog abiword-2.6.4.ebuild
4 Added: abiword-2.8.4.ebuild
5 Removed: abiword-2.6.5.ebuild abiword-2.6.6.ebuild
6 Log:
7 Major version bump, bug #272097. Drop usage of a couple of old libraries. Clean up old revisions.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 app-office/abiword/metadata.xml
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/abiword/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 1 Nov 2005 16:21:48 -0000 1.2
24 +++ metadata.xml 19 Apr 2010 23:16:35 -0000 1.3
25 @@ -2,4 +2,16 @@
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 <herd>gnome-office</herd>
29 +<use>
30 + <flag name='collab'>Enable collaborative editing plugin</flag>
31 + <flag name='grammar'>Enable grammar checking via
32 + <pkg>dev-libs/link-grammar</pkg></flag>
33 + <flag name='math'>Enable support for <pkg>x11-libs/gtkmathview</pkg></flag>
34 + <flag name='openxml'>Enable OpenXML support</flag>
35 + <flag name='ots'>Enable Text Summarizer plugin</flag>
36 + <flag name='plugins'>Enable plugins build</flag>
37 + <flag name='thesaurus'>Enable thesaurus support</flag>
38 + <flag name='wordperfect'>Enable wordperfect file support via
39 + <pkg>app-text/libwpd</pkg></flag>
40 +</use>
41 </pkgmetadata>
42
43
44
45 1.215 app-office/abiword/ChangeLog
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/ChangeLog?rev=1.215&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/ChangeLog?rev=1.215&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/ChangeLog?r1=1.214&r2=1.215
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v
54 retrieving revision 1.214
55 retrieving revision 1.215
56 diff -u -r1.214 -r1.215
57 --- ChangeLog 31 Mar 2010 18:47:09 -0000 1.214
58 +++ ChangeLog 19 Apr 2010 23:16:35 -0000 1.215
59 @@ -1,6 +1,14 @@
60 # ChangeLog for app-office/abiword
61 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.214 2010/03/31 18:47:09 armin76 Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.215 2010/04/19 23:16:35 eva Exp $
64 +
65 +*abiword-2.8.4 (19 Apr 2010)
66 +
67 + 19 Apr 2010; Gilles Dartiguelongue <eva@g.o> abiword-2.6.4.ebuild,
68 + -abiword-2.6.5.ebuild, -abiword-2.6.6.ebuild, +abiword-2.8.4.ebuild,
69 + metadata.xml:
70 + Major version bump, bug #272097. Drop usage of a couple of old libraries.
71 + Clean up old revisions.
72
73 31 Mar 2010; Raúl Porcel <armin76@g.o> abiword-2.6.8.ebuild:
74 alpha/ia64/sparc stable wrt #283031
75
76
77
78 1.11 app-office/abiword/abiword-2.6.4.ebuild
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/abiword-2.6.4.ebuild?rev=1.11&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/abiword-2.6.4.ebuild?rev=1.11&content-type=text/plain
82 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/abiword-2.6.4.ebuild?r1=1.10&r2=1.11
83
84 Index: abiword-2.6.4.ebuild
85 ===================================================================
86 RCS file: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-2.6.4.ebuild,v
87 retrieving revision 1.10
88 retrieving revision 1.11
89 diff -u -r1.10 -r1.11
90 --- abiword-2.6.4.ebuild 4 Jan 2009 22:51:26 -0000 1.10
91 +++ abiword-2.6.4.ebuild 19 Apr 2010 23:16:35 -0000 1.11
92 @@ -1,6 +1,6 @@
93 -# Copyright 1999-2009 Gentoo Foundation
94 +# Copyright 1999-2010 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 -# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-2.6.4.ebuild,v 1.10 2009/01/04 22:51:26 ulm Exp $
97 +# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-2.6.4.ebuild,v 1.11 2010/04/19 23:16:35 eva Exp $
98
99 EAPI="1"
100
101 @@ -14,7 +14,7 @@
102
103 LICENSE="GPL-2"
104 SLOT="2"
105 -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
106 +KEYWORDS="hppa"
107 IUSE="debug gnome spell xml"
108
109 # FIXME: gsf could probably be conditional
110
111
112
113 1.1 app-office/abiword/abiword-2.8.4.ebuild
114
115 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/abiword-2.8.4.ebuild?rev=1.1&view=markup
116 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword/abiword-2.8.4.ebuild?rev=1.1&content-type=text/plain
117
118 Index: abiword-2.8.4.ebuild
119 ===================================================================
120 # Copyright 1999-2010 Gentoo Foundation
121 # Distributed under the terms of the GNU General Public License v2
122 # $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-2.8.4.ebuild,v 1.1 2010/04/19 23:16:35 eva Exp $
123
124 EAPI="3"
125
126 inherit alternatives gnome2 versionator
127
128 MY_MAJORV=$(get_version_component_range 1-2)
129
130 DESCRIPTION="Fully featured yet light and fast cross platform word processor"
131 HOMEPAGE="http://www.abisource.com/"
132 SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.gz"
133
134 LICENSE="GPL-2"
135 SLOT="2"
136 KEYWORDS="~amd64 ~x86"
137 IUSE="collab cups gnome grammar latex libgda math ots openxml plugins readline spell wordperfect wmf thesaurus" # svg
138
139 # libgsf raised to make sure it provides gio backend (ebuild)
140 # not enabling telepathy backend for collab, it depends on libempathy-gtk which
141 # has be removed from empathy-2.30 already
142 RDEPEND="
143 >=app-text/wv-1.2
144 >=dev-libs/fribidi-0.10.4
145 >=dev-libs/glib-2.16
146 >=gnome-base/librsvg-2.16
147 >=gnome-extra/libgsf-1.14.15
148 >=media-libs/libpng-1.2
149 media-libs/jpeg:0
150 >=x11-libs/cairo-1.8[X]
151 >=x11-libs/gtk+-2.14[cups?]
152 gnome? (
153 >=gnome-extra/gucharmap-2
154 >=x11-libs/goffice-0.8:0.8 )
155 plugins? (
156 collab? (
157 dev-cpp/asio
158 >=dev-libs/boost-1.33.1
159 >=dev-libs/libxml2-2.4
160 >=net-libs/loudmouth-1
161 net-libs/libsoup:2.4
162 net-libs/gnutls )
163 grammar? ( >=dev-libs/link-grammar-4.2.1 )
164 latex? ( dev-libs/libxslt )
165 libgda? (
166 =gnome-extra/libgda-1*
167 =gnome-extra/libgnomedb-1* )
168 math? ( >=x11-libs/gtkmathview-0.7.5 )
169 openxml? ( dev-libs/boost )
170 ots? ( >=app-text/ots-0.5 )
171 readline? ( sys-libs/readline )
172 thesaurus? ( >=app-text/aiksaurus-1.2[gtk] )
173 wordperfect? (
174 >=app-text/libwpd-0.8
175 >=media-libs/libwpg-0.1 )
176 wmf? ( >=media-libs/libwmf-0.2.8 )
177 )
178 spell? ( >=app-text/enchant-1.2 )
179 !<app-office/abiword-plugins-2.8"
180 # svg? ( >=gnome-base/librsvg-2 )
181
182 DEPEND="${RDEPEND}
183 >=dev-util/pkgconfig-0.9"
184
185 pkg_setup() {
186 # do not enable gnome-vfs
187 G2CONF="${G2CONF}
188 --enable-shave
189 --disable-static
190 --disable-maintainer-mode
191 --disable-default-plugins
192 --disable-builtin-plugins
193 --disable-collab-backend-telepathy
194 --enable-clipart
195 --enable-statusbar
196 --enable-templates
197 --with-gio
198 --without-gnomevfs
199 $(use_with gnome goffice)
200 $(use_enable cups print)
201 $(use_enable collab collab-backend-xmpp)
202 $(use_enable collab collab-backend-tcp)
203 $(use_enable collab collab-backend-service)
204 $(use_enable spell)"
205 }
206
207 src_configure() {
208 local plugins=""
209
210 if use plugins; then
211 # Plugins depending on libgsf
212 plugins="t602 docbook clarisworks wml kword hancom openwriter pdf
213 loadbindings mswrite garble pdb applix opendocument sdw xslfo"
214
215 # Plugins not depending on anything
216 plugins="${plugins} gimp bmp freetranslation iscii s5 babelfish opml eml
217 wikipedia gdict passepartout google presentation urldict hrtext mif"
218
219 # inter7eps: eps.h
220 # libtidy: gsf + tidy.h
221 # paint: windows only ?
222 use collab && plugins="${plugins} collab"
223 use gnome && plugins="${plugins} goffice"
224 use latex && plugins="${plugins} latex"
225 use libgda && plugins="${plugins} gda"
226 use math && plugins="${plugins} mathview"
227 use openxml && plugins="${plugins} openxml"
228 use ots && plugins="${plugins} ots"
229 # psion: >=psiconv-0.9.4
230 use readline && plugins="${plugins} command"
231 # plugin doesn't build
232 #use svg && plugins="${plugins} rsvg"
233 use thesaurus && plugins="${plugins} aiksaurus"
234 use wmf && plugins="${plugins} wmf"
235 # wordperfect: >=wpd-0.8 >=wps-0.1
236 use wordperfect && plugins="${plugins} wpg"
237 fi
238
239 gnome2_src_configure --enable-plugins="$(echo ${plugins})"
240 }
241
242 src_prepare() {
243 gnome2_src_prepare
244
245 # install icon to pixmaps (bug #220097)
246 sed 's:icondir= $(datadir)/icons:icondir = $(datadir)/pixmaps:' \
247 -i Makefile.am Makefile.in || die "sed 1 failed"
248 # readme.txt will be installed using dodoc
249 sed '/readme\.txt\|abw/d' \
250 -i user/wp/Makefile.am user/wp/Makefile.in || die "sed 2 failed"
251 }
252
253 src_install() {
254 gnome2_src_install
255
256 sed "s:Exec=abiword:Exec=abiword-${MY_MAJORV}:" \
257 -i "${D}"/usr/share/applications/abiword.desktop || die "sed 3 failed"
258
259 mv "${D}/usr/bin/abiword" "${D}/usr/bin/AbiWord-${MY_MAJORV}"
260 dosym AbiWord-${MY_MAJORV} /usr/bin/abiword-${MY_MAJORV}
261
262 dodoc AUTHORS user/wp/readme.txt || die "dodoc failed"
263
264 # Not needed
265 find "${D}" -name "*.la" -delete || die "failed *.la removal"
266 }
267
268 pkg_postinst() {
269 gnome2_pkg_postinst
270
271 alternatives_auto_makesym "/usr/bin/abiword" "/usr/bin/abiword-[0-9].[0-9]"
272 }
273
274 pkg_postrm() {
275 gnome2_pkg_postrm
276
277 alternatives_auto_makesym "/usr/bin/abiword" "/usr/bin/abiword-[0-9].[0-9]"
278 }