1 |
pacho 14/07/01 15:38:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: abiword-3.0.0-r2.ebuild |
5 |
Log: |
6 |
Apply some Ubuntu patches fixing some bugs like crash when saving as PDF (#515990 by cowhead) |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.277 app-office/abiword/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/abiword/ChangeLog?rev=1.277&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/abiword/ChangeLog?rev=1.277&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/abiword/ChangeLog?r1=1.276&r2=1.277 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v |
20 |
retrieving revision 1.276 |
21 |
retrieving revision 1.277 |
22 |
diff -u -r1.276 -r1.277 |
23 |
--- ChangeLog 17 Apr 2014 12:50:41 -0000 1.276 |
24 |
+++ ChangeLog 1 Jul 2014 15:38:31 -0000 1.277 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for app-office/abiword |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.276 2014/04/17 12:50:41 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/ChangeLog,v 1.277 2014/07/01 15:38:31 pacho Exp $ |
30 |
+ |
31 |
+*abiword-3.0.0-r2 (01 Jul 2014) |
32 |
+ |
33 |
+ 01 Jul 2014; Pacho Ramos <pacho@g.o> +abiword-3.0.0-r2.ebuild, |
34 |
+ +files/abiword-3.0.0-bison30.patch, +files/abiword-3.0.0-boost54.patch, |
35 |
+ +files/abiword-3.0.0-fix-redraw.patch, |
36 |
+ +files/abiword-3.0.0-fix-shortcut.patch, +files/abiword-3.0.0-pdf-crash.patch: |
37 |
+ Apply some Ubuntu patches fixing some bugs like crash when saving as PDF |
38 |
+ (#515990 by cowhead) |
39 |
|
40 |
17 Apr 2014; Pacho Ramos <pacho@g.o> -abiword-2.8.6-r2.ebuild, |
41 |
-files/abiword-2.8.6-gcc46.patch, -files/abiword-2.8.6-glib-2.31.patch, |
42 |
|
43 |
|
44 |
|
45 |
1.1 app-office/abiword/abiword-3.0.0-r2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/abiword/abiword-3.0.0-r2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/abiword/abiword-3.0.0-r2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: abiword-3.0.0-r2.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-3.0.0-r2.ebuild,v 1.1 2014/07/01 15:38:30 pacho Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
GCONF_DEBUG="yes" |
58 |
GNOME2_LA_PUNT="yes" |
59 |
|
60 |
inherit eutils gnome2 |
61 |
|
62 |
DESCRIPTION="Fully featured yet light and fast cross platform word processor" |
63 |
HOMEPAGE="http://www.abisource.com/" |
64 |
SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="2" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
69 |
IUSE="calendar collab cups eds +goffice grammar +introspection latex map math ots +plugins readline redland spell wordperfect wmf thesaurus" |
70 |
|
71 |
# You need 'plugins' enabled if want to enable the extra plugins |
72 |
REQUIRED_USE="!plugins? ( !collab !grammar !latex !math !ots !readline !thesaurus !wordperfect !wmf )" |
73 |
|
74 |
RDEPEND=" |
75 |
>=app-text/wv-1.2 |
76 |
>=dev-libs/fribidi-0.10.4 |
77 |
>=dev-libs/glib-2.16:2 |
78 |
>=dev-libs/libgcrypt-1.4.5:0 |
79 |
dev-libs/libxslt |
80 |
>=gnome-base/librsvg-2.16:2 |
81 |
>=gnome-extra/libgsf-1.14.18 |
82 |
>=media-libs/libpng-1.2 |
83 |
virtual/jpeg |
84 |
>=x11-libs/cairo-1.10[X] |
85 |
>=x11-libs/gtk+-3.0.8:3[cups?] |
86 |
calendar? ( >=dev-libs/libical-0.46 ) |
87 |
eds? ( >=gnome-extra/evolution-data-server-3.6.0 ) |
88 |
goffice? ( >=x11-libs/goffice-0.10.2:0.10 ) |
89 |
introspection? ( >=dev-libs/gobject-introspection-1.0.0 ) |
90 |
map? ( >=media-libs/libchamplain-0.12 ) |
91 |
plugins? ( |
92 |
collab? ( |
93 |
>=dev-libs/libxml2-2.4 |
94 |
>=net-libs/loudmouth-1 |
95 |
net-libs/libsoup:2.4 |
96 |
net-libs/gnutls ) |
97 |
grammar? ( >=dev-libs/link-grammar-4.2.1 ) |
98 |
math? ( >=x11-libs/gtkmathview-0.7.5 ) |
99 |
ots? ( >=app-text/ots-0.5-r1 ) |
100 |
readline? ( sys-libs/readline ) |
101 |
thesaurus? ( >=app-text/aiksaurus-1.2[gtk] ) |
102 |
wordperfect? ( |
103 |
app-text/libwpd:0.9 |
104 |
app-text/libwpg:0.2 ) |
105 |
wmf? ( >=media-libs/libwmf-0.2.8 ) |
106 |
) |
107 |
redland? ( |
108 |
>=dev-libs/redland-1.0.10 |
109 |
>=dev-libs/rasqal-0.9.17 ) |
110 |
spell? ( >=app-text/enchant-1.2 ) |
111 |
!<app-office/abiword-plugins-2.8 |
112 |
" |
113 |
DEPEND="${RDEPEND} |
114 |
dev-lang/perl |
115 |
>=dev-libs/boost-1.40.0 |
116 |
virtual/pkgconfig |
117 |
collab? ( dev-cpp/asio ) |
118 |
" |
119 |
|
120 |
src_prepare() { |
121 |
# readme.txt will be installed using dodoc |
122 |
sed '/readme\.txt\|abw/d' \ |
123 |
-i user/wp/Makefile.am user/wp/Makefile.in || die |
124 |
|
125 |
# http://bugzilla.abisource.com/show_bug.cgi?id=13532 |
126 |
epatch "${FILESDIR}/${PN}-3.0.0-eds-3.6.patch" |
127 |
|
128 |
# http://bugzilla.abisource.com/show_bug.cgi?id=13564 |
129 |
epatch "${FILESDIR}/${PN}-3.0.0-fix-crash.patch" |
130 |
|
131 |
# http://bugzilla.abisource.com/show_bug.cgi?id=13589 |
132 |
epatch "${FILESDIR}/${PN}-3.0.0-libgcrypt_1_6_0-1.patch" |
133 |
|
134 |
# Fix build with boost-1.54 |
135 |
epatch "${FILESDIR}/${PN}-3.0.0-boost54.patch" |
136 |
|
137 |
# http://bugzilla.abisource.com/show_bug.cgi?id=13596 |
138 |
epatch "${FILESDIR}/${PN}-3.0.0-fix-shortcut.patch" |
139 |
|
140 |
# Fix build with bison-3.0 |
141 |
epatch "${FILESDIR}/${PN}-3.0.0-bison30.patch" |
142 |
|
143 |
# Fix crash when saving as PDF, bug #515990 |
144 |
epatch "${FILESDIR}/${PN}-3.0.0-pdf-crash.patch" |
145 |
|
146 |
# Fix redraw region in custom widget |
147 |
epatch "${FILESDIR}/${PN}-3.0.0-fix-redraw.patch" |
148 |
|
149 |
gnome2_src_prepare |
150 |
} |
151 |
|
152 |
src_configure() { |
153 |
local plugins="" |
154 |
|
155 |
if use plugins; then |
156 |
# Plugins depending on libgsf |
157 |
plugins="t602 docbook clarisworks wml kword hancom openwriter pdf |
158 |
loadbindings mswrite garble pdb applix opendocument sdw xslfo" |
159 |
|
160 |
# Plugins depending on librsvg |
161 |
# But doesn't build: http://bugzilla.abisource.com/show_bug.cgi?id=13563 |
162 |
#plugins="${plugins} svg" |
163 |
|
164 |
# Plugins not depending on anything |
165 |
plugins="${plugins} gimp bmp freetranslation iscii s5 babelfish opml eml |
166 |
wikipedia gdict passepartout google presentation urldict hrtext mif |
167 |
openxml" |
168 |
|
169 |
# inter7eps: eps.h |
170 |
# libtidy: gsf + tidy.h |
171 |
# paint: windows only ? |
172 |
use collab && plugins="${plugins} collab" |
173 |
use goffice && plugins="${plugins} goffice" |
174 |
use latex && plugins="${plugins} latex" |
175 |
use math && plugins="${plugins} mathview" |
176 |
use ots && plugins="${plugins} ots" |
177 |
# psion: >=psiconv-0.9.4 |
178 |
use readline && plugins="${plugins} command" |
179 |
use thesaurus && plugins="${plugins} aiksaurus" |
180 |
use wmf && plugins="${plugins} wmf" |
181 |
# wordperfect: >=wpd-0.9 >=wpg-0.2 |
182 |
use wordperfect && plugins="${plugins} wpg" |
183 |
fi |
184 |
|
185 |
gnome2_src_configure \ |
186 |
--enable-plugins="$(echo ${plugins})" \ |
187 |
--disable-static \ |
188 |
--disable-default-plugins \ |
189 |
--disable-builtin-plugins \ |
190 |
--disable-collab-backend-telepathy \ |
191 |
--enable-clipart \ |
192 |
--enable-statusbar \ |
193 |
--enable-templates \ |
194 |
--with-gio \ |
195 |
--without-gnomevfs \ |
196 |
--without-gtk2 \ |
197 |
$(use_with goffice goffice) \ |
198 |
$(use_with calendar libical) \ |
199 |
$(use_enable cups print) \ |
200 |
$(use_enable collab collab-backend-xmpp) \ |
201 |
$(use_enable collab collab-backend-tcp) \ |
202 |
$(use_enable collab collab-backend-service) \ |
203 |
$(use_with eds evolution-data-server) \ |
204 |
$(use_enable introspection) \ |
205 |
$(use_with map champlain) \ |
206 |
$(use_with redland) \ |
207 |
$(use_enable spell) |
208 |
} |
209 |
|
210 |
src_compile() { |
211 |
# Parallel build fails, bug #488462 |
212 |
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile |
213 |
} |
214 |
|
215 |
src_install() { |
216 |
gnome2_src_install |
217 |
dodoc user/wp/readme.txt |
218 |
} |