Gentoo Archives: gentoo-commits

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