1 |
dilfridge 14/01/27 23:39:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libreoffice-bin-4.1.4.2.ebuild |
5 |
Log: |
6 |
Version bump for bug 491150 |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.133 app-office/libreoffice-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.133&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.133&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?r1=1.132&r2=1.133 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v |
20 |
retrieving revision 1.132 |
21 |
retrieving revision 1.133 |
22 |
diff -u -r1.132 -r1.133 |
23 |
--- ChangeLog 16 Jan 2014 20:46:24 -0000 1.132 |
24 |
+++ ChangeLog 27 Jan 2014 23:39:43 -0000 1.133 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-office/libreoffice-bin |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.132 2014/01/16 20:46:24 dilfridge Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.133 2014/01/27 23:39:43 dilfridge Exp $ |
30 |
+ |
31 |
+*libreoffice-bin-4.1.4.2 (27 Jan 2014) |
32 |
+ |
33 |
+ 27 Jan 2014; Andreas K. Huettel <dilfridge@g.o> |
34 |
+ +libreoffice-bin-4.1.4.2.ebuild: |
35 |
+ Version bump for bug 491150 |
36 |
|
37 |
16 Jan 2014; Andreas K. Huettel <dilfridge@g.o> |
38 |
-libreoffice-bin-4.1.3.2-r2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-office/libreoffice-bin/libreoffice-bin-4.1.4.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-4.1.4.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-4.1.4.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: libreoffice-bin-4.1.4.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-4.1.4.2.ebuild,v 1.1 2014/01/27 23:39:43 dilfridge Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
KDE_REQUIRED="optional" |
56 |
CMAKE_REQUIRED="never" |
57 |
|
58 |
BASE_PACKAGENAME="bin" |
59 |
BASE_AMD64_URI="http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-${BASE_PACKAGENAME}-" |
60 |
BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-${BASE_PACKAGENAME}-" |
61 |
|
62 |
PYTHON_COMPAT=( python2_7 python3_3 ) |
63 |
PYTHON_REQ_USE="threads,xml" |
64 |
|
65 |
inherit kde4-base java-pkg-opt-2 python-single-r1 pax-utils prefix versionator |
66 |
|
67 |
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package." |
68 |
HOMEPAGE="http://www.libreoffice.org" |
69 |
SRC_URI_AMD64=" |
70 |
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz |
71 |
kde? ( |
72 |
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 ) |
73 |
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 ) |
74 |
) |
75 |
gnome? ( |
76 |
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 ) |
77 |
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 ) |
78 |
) |
79 |
!kde? ( !gnome? ( |
80 |
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 ) |
81 |
) ) |
82 |
" |
83 |
SRC_URI_X86=" |
84 |
${BASE_X86_URI}libreoffice-${PVR}.tar.xz |
85 |
kde? ( |
86 |
!java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 ) |
87 |
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 ) |
88 |
) |
89 |
gnome? ( |
90 |
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 ) |
91 |
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 ) |
92 |
) |
93 |
!kde? ( !gnome? ( |
94 |
java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 ) |
95 |
) ) |
96 |
" |
97 |
|
98 |
SRC_URI=" |
99 |
amd64? ( ${SRC_URI_AMD64} ) |
100 |
x86? ( ${SRC_URI_X86} ) |
101 |
" |
102 |
|
103 |
IUSE="gnome java kde" |
104 |
LICENSE="LGPL-3" |
105 |
SLOT="0" |
106 |
KEYWORDS="-* ~amd64 ~x86" |
107 |
|
108 |
BIN_COMMON_DEPEND=" |
109 |
=app-text/libexttextcat-3.4* |
110 |
app-text/poppler:0/44 |
111 |
dev-libs/boost:0/1.52 |
112 |
dev-libs/icu:0/51.2 |
113 |
=media-gfx/graphite2-1.2* |
114 |
=media-libs/harfbuzz-0.9.23[icu] |
115 |
media-libs/libpng:0/16 |
116 |
>=sys-libs/glibc-2.17 |
117 |
virtual/jpeg:62 |
118 |
kde? ( >=kde-base/kdelibs-4.11.2-r1:4 >=dev-qt/qtcore-4.8.5-r1:4 ) |
119 |
" |
120 |
|
121 |
# PLEASE place any restrictions that are specific to the binary builds |
122 |
# into the BIN_COMMON_DEPEND block above. |
123 |
# All dependencies below this point should remain identical to those in |
124 |
# the source ebuilds. |
125 |
|
126 |
COMMON_DEPEND=" |
127 |
${BIN_COMMON_DEPEND} |
128 |
${PYTHON_DEPS} |
129 |
app-arch/zip |
130 |
app-arch/unzip |
131 |
>=app-text/hunspell-1.3.2-r3 |
132 |
app-text/mythes |
133 |
>=app-text/libexttextcat-3.2 |
134 |
app-text/liblangtag |
135 |
app-text/libmspub |
136 |
>=app-text/libmwaw-0.1.7 |
137 |
app-text/libodfgen |
138 |
app-text/libwpd:0.9[tools] |
139 |
app-text/libwpg:0.2 |
140 |
>=app-text/libwps-0.2.2 |
141 |
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx] |
142 |
>=dev-cpp/clucene-2.3.3.4-r2 |
143 |
>=dev-cpp/libcmis-0.3.1:0.3 |
144 |
dev-db/unixODBC |
145 |
>=dev-libs/boost-1.46:= |
146 |
dev-libs/expat |
147 |
>=dev-libs/hyphen-2.7.1 |
148 |
>=dev-libs/icu-4.8.1.1:= |
149 |
>=dev-libs/liborcus-0.5.1:= |
150 |
>=dev-libs/nspr-4.8.8 |
151 |
>=dev-libs/nss-3.12.9 |
152 |
>=dev-lang/perl-5.0 |
153 |
>=dev-libs/openssl-1.0.0d |
154 |
>=dev-libs/redland-1.0.16[ssl] |
155 |
media-gfx/graphite2 |
156 |
>=media-libs/fontconfig-2.8.0 |
157 |
media-libs/freetype:2 |
158 |
>=media-libs/harfbuzz-0.9.10:=[icu(+)] |
159 |
media-libs/lcms:2 |
160 |
>=media-libs/libpng-1.4 |
161 |
>=media-libs/libcdr-0.0.5 |
162 |
media-libs/libvisio |
163 |
>=net-misc/curl-7.21.4 |
164 |
net-nds/openldap |
165 |
sci-mathematics/lpsolve |
166 |
virtual/jpeg |
167 |
>=x11-libs/cairo-1.10.0[X] |
168 |
x11-libs/libXinerama |
169 |
x11-libs/libXrandr |
170 |
x11-libs/libXrender |
171 |
net-print/cups |
172 |
>=dev-libs/dbus-glib-0.92 |
173 |
gnome? ( gnome-extra/evolution-data-server ) |
174 |
gnome? ( gnome-base/gconf:2 ) |
175 |
x11-libs/gdk-pixbuf[X] |
176 |
>=x11-libs/gtk+-2.24:2 |
177 |
media-libs/gstreamer:1.0 |
178 |
media-libs/gst-plugins-base:1.0 |
179 |
virtual/glu |
180 |
virtual/opengl |
181 |
net-libs/neon |
182 |
" |
183 |
|
184 |
RDEPEND="${COMMON_DEPEND} |
185 |
!app-office/libreoffice |
186 |
!<app-office/openoffice-bin-3.4.0-r1 |
187 |
!app-office/openoffice |
188 |
media-fonts/libertine-ttf |
189 |
media-fonts/liberation-fonts |
190 |
media-fonts/urw-fonts |
191 |
java? ( >=virtual/jre-1.6 ) |
192 |
" |
193 |
|
194 |
PDEPEND=" |
195 |
=app-office/libreoffice-l10n-${PV}* |
196 |
" |
197 |
|
198 |
DEPEND="dev-util/xdelta:3" |
199 |
|
200 |
# only one flavor at a time |
201 |
REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )" |
202 |
|
203 |
RESTRICT="test strip" |
204 |
|
205 |
S="${WORKDIR}" |
206 |
|
207 |
PYTHON_UPDATER_IGNORE="1" |
208 |
|
209 |
pkg_pretend() { |
210 |
[[ $(gcc-major-version) -lt 4 ]] || \ |
211 |
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \ |
212 |
&& die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)." |
213 |
} |
214 |
|
215 |
pkg_setup() { |
216 |
kde4-base_pkg_setup |
217 |
} |
218 |
|
219 |
src_unpack() { |
220 |
elog "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" |
221 |
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die |
222 |
|
223 |
local patchname |
224 |
use kde && patchname="-kde" |
225 |
use gnome && patchname="-gnome" |
226 |
use java && patchname="${patchname}-java" |
227 |
|
228 |
if [ -n "${patchname}" ]; then |
229 |
elog "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" |
230 |
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die |
231 |
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die |
232 |
fi |
233 |
|
234 |
elog "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" |
235 |
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" |
236 |
} |
237 |
|
238 |
src_prepare() { |
239 |
cp "${FILESDIR}"/50-${PN} "${T}" |
240 |
eprefixify "${T}"/50-${PN} |
241 |
} |
242 |
|
243 |
src_configure() { :; } |
244 |
|
245 |
src_compile() { :; } |
246 |
|
247 |
src_install() { |
248 |
dodir /usr |
249 |
cp -aR "${S}"/usr/* "${ED}"/usr/ |
250 |
|
251 |
# prevent revdep-rebuild from attempting to rebuild all the time |
252 |
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}" |
253 |
} |
254 |
|
255 |
pkg_preinst() { |
256 |
# Cache updates - all handled by kde eclass for all environments |
257 |
kde4-base_pkg_preinst |
258 |
} |
259 |
|
260 |
pkg_postinst() { |
261 |
kde4-base_pkg_postinst |
262 |
|
263 |
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
264 |
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin |
265 |
|
266 |
use java || \ |
267 |
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.' |
268 |
} |
269 |
|
270 |
pkg_postrm() { |
271 |
kde4-base_pkg_postrm |
272 |
} |