1 |
commit: a767bce21bbe3f8a223a62964706cf312be5e249 |
2 |
Author: stefson <herrtimson <AT> yahoo <DOT> de> |
3 |
AuthorDate: Sun Sep 3 16:41:37 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 20:54:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=a767bce2 |
7 |
|
8 |
app-office/libreoffice: delete old version |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
|
12 |
app-office/libreoffice/Manifest | 4 +- |
13 |
app-office/libreoffice/diff | 84 +++ |
14 |
app-office/libreoffice/libreoffice-5.3.3.2.ebuild | 604 ---------------------- |
15 |
3 files changed, 85 insertions(+), 607 deletions(-) |
16 |
|
17 |
diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest |
18 |
index 4192cbe..0e33f95 100644 |
19 |
--- a/app-office/libreoffice/Manifest |
20 |
+++ b/app-office/libreoffice/Manifest |
21 |
@@ -17,13 +17,11 @@ DIST 86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz 1794694 SHA256 41d46 |
22 |
DIST a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip 23150 SHA256 75823776fb51a9c526af904f1503a7afaaab900fba83eda64f8a41073724c870 SHA512 2d3835f7ac356805025cafedcad97faa48d0f5da386e6ac7b7451030059df8e2fdb0861ade07a576ebf9fb5b88a973585ab0437944b06aac9289d6898ba8586a WHIRLPOOL 60b98d9af2c83c0cf12a5a60ba30957d335b8b967cac07971e1edbc787b9caecd4b3c5bb480e8b38fe8109c1cf74439ebafae130c976182c2c15399f38f5d28c |
23 |
DIST ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz 1769329 SHA256 3221593ca50f362b546a0888a1431ad24be1470f96b2469c0e0df5e1c55e7305 SHA512 2f8d473916abf9822367edbe857fc2e12dc9858d12e790d689d787e439904bd6a452bf631043aa66e7502457ab0815a473657f58fca17a213e2490f5655e5ae5 WHIRLPOOL 29ddaef03d46fe08aa2dba200be755817f8e77de3bbbb3ed86dae65e891239f3051f79fdfadec6ae56023197e32e1c44a94385a1ce306081f3bf94be6226f8c7 |
24 |
DIST libreoffice-5.2.7.2.tar.xz 184589464 SHA256 106154a72a329605166a49bfa31c6d1cc03133d600ad0ef340b45e4e2a92891d SHA512 f7414a0d0d654d1d9bd6c5524ff2acf2f21c544dd6ed79f4f2d22f79db46264f95f7ca8dd482027f7a573d2d491ea6c8d9875b262d5e2b917dfddb749a3ea95f WHIRLPOOL 28d7f9531190a16bdea14c5dcc710ef593085fddca1b4d7d0cd6107d5f93e4b94a1ae035a626376ab7abfcd926a263b1437de1e52011bb96aa6d87b046a38da8 |
25 |
-DIST libreoffice-5.3.3.2.tar.xz 190216268 SHA256 9632956926d9d5c9049ce5b81c2673f298ae73b873d53cce8cfaea8ee243619a SHA512 ff7ffb5a74d51305d098bf34196ff97ae9b4087119bb06929245facc345499896fbc15e9b99b1c7ac22e85b5d461192b3a4e8cdee7238fd1efae74197cbd8338 WHIRLPOOL e93a6f8b181f4578d2447a50c402b4177add6861db8e7cadb76c412611b5bc49118064eb4cce57506cd4e934ce5d729d458972781f3bf8212a886c4fcb0a46d4 |
26 |
DIST libreoffice-5.3.4.2.tar.xz 188762904 SHA256 1d75393fd8b02b1e2e2e001bc0262359c7452e29a0fff35cb152717246f02379 SHA512 ac3b0a0615577faf6c2529b7ec888fd7969d32f38d8b83a3747535bc408e8d2ef2e724f5b1840ae79a219bb855584be87f10ab26ef101afe04dd15d224e6ebc0 WHIRLPOOL 4b314f2df7ee8bd80049cc6ad04e65df11a46a20853f0a285389cf2c72006dd122f1826ae0080c7efc41faa251b77a48f839f345451d993b48bc673d6e450aed |
27 |
DIST libreoffice-branding-gentoo-0.8.tar.xz 151568 SHA256 22722121be062742624e0634beae92289c75e6a99ed507d3bf0a05c5164e3c69 SHA512 785031a699b1d1895ce4b50ffc3ddf645f3a0ef9acdf37facfd18cf75db9484cb8f53a50abb63d6006ead76a80b6ff5aa99661063245ebb84bd64013d713de7f WHIRLPOOL 1f36652a52d501d6548cfa9aa013b3e3a1867aa2b0693d2274cf7816d4aa4e0cde3c7096cc71ed47cf74e5f96da2757bf537f553021f8fd86939accb227bf538 |
28 |
DIST libreoffice-help-5.2.7.2.tar.xz 1940516 SHA256 f7d35c460da96ed2d52cf97baef159382b38e5ce4579c34e65480ff2911cac4b SHA512 c86bc17448fcd1da01e13d3e9fee739610fde390abaf0635cc4593755d102da08a5eea0533076e1a0f8d89f0b32ba5086b155b9b388f317a5e4c669bf17769e1 WHIRLPOOL 4da96a14b70be718109eda5ced62cec85b96e9028fcf65d729a99604598de81edc097bc06577f3ce7958de1316b04d2d2f1f2782c6504a487ffc6ebaaf7feca6 |
29 |
-DIST libreoffice-help-5.3.3.2.tar.xz 2127200 SHA256 f9b4fef5f449cdbbcb5796908d0536576585c511173bfccf2ca049b5dcbb0dc7 SHA512 5c73997cf95e4d5acb2693560ac49aef5f589cee22ce22de1ee8f0e0fa2189d8893afe70790895160feb832049943cfc5e1d322bbd9fd7c7d0bbf3b11a8d9a25 WHIRLPOOL fd3c3afc070cb4fe1145ac631e80bbea3333a36c1d10a43b5a16d1dbdee5e78a614617e6290b961ad951b639410205cc5bdadbefe8b55639046ec9633ff269c8 |
30 |
DIST libreoffice-help-5.3.4.2.tar.xz 2108116 SHA256 ab8600dc99e09d90fec83bcc505c42556156730f78973cecd74fa377fe8de91a SHA512 c4785e7e1b99806adc6b354f8ebf5d81a76b1f802628f0453fc365989ed07c5ba039145ea1ebbfbd0340815157c6638040953afad1c1c9f80bc3271257137d7c WHIRLPOOL fe229a3bd9b99067d33ab4d53ae6502578fff4ee3e184b0096e9da3c458534a35751cc6809b77351c011730a91d94c2bf9be94abaa026852ab67b3b6c50cdc7c |
31 |
EBUILD libreoffice-5.2.7.2.ebuild 18072 SHA256 d27c0dfcb258e8c8472c5e365c2c66ba62984ae00ff12835cb094340d8c1427e SHA512 6862d9d832347475813920ae294a1aef7394a8213869844b1789c42a089c419054d1879579248a20ec791a1e695f9dbd707c2661159b09fb2d88bc7c10956202 WHIRLPOOL 2fbbe4ff48f0ac3b4fd25ed077aabc5b0863faeaa60fa03f177be6d2b5bfd34b10aac99c29c6f9fddbab8c36173cb735e9aa88756251f39b474c172120059511 |
32 |
-EBUILD libreoffice-5.3.3.2.ebuild 18387 SHA256 59827e4dc9c24b8bbae95b71b73c7c3ec7090078d2bf2a33289499d3ec18d294 SHA512 7d3900ee026c29834690de6f5270be0456d9f336f1eb94fcfa1ae88f7ad4971daeb4c7411e86d50c09480c579a6550da1f7907a7d2a7923b85d2c515ecf929d5 WHIRLPOOL 92a7316e7c3599579ef7e948f48c942422e8b1bba54654fd039fc85bdabe6e5ea53e6ce59bf59db9bcaf2731053d901ada5bbfffab18fc9472c25c66d834740e |
33 |
EBUILD libreoffice-5.3.4.2.ebuild 18452 SHA256 b24245f0a04c8d8e81e23c9999c896997b0af15c01ff31c5c15023194233145a SHA512 1adb9f0c4c01dbbd47b87529991e90e58f04f211bac290fadf33a7e4262fe17aa031359af108d1cc67ce1a365014ce326a2cfd123a95a4f62b0fc37ab99e6122 WHIRLPOOL d191b03fdd376d4b8a19cd7722fe04521a22d28c17b6dba1ca68791fdda8ddc52eb121142471543b0c739fba04b09d08797e0da46a90491a66010edc8af3f081 |
34 |
+MISC diff 2338 SHA256 378f8c19ca825ace4ce74ffe4fa500c3c1f9b8431500afc9be5aa1c30a761ae1 SHA512 193455d81532d4a2ef516cb137f08d3d8eff690cc63b2fe0de002dfc269e48933e8d0dba68ad7abf8a4b79de22d2630f96273739ead58453d6de7158371ccfce WHIRLPOOL be20ae70d74bb9edcd120e9eeac322ca2ca4144ee9c9f484710333be2d660c9c9d738ef948ce0a791ada299b6aef54fb59d6072da8ab43b2d605765aa37f54d1 |
35 |
MISC metadata.xml 1506 SHA256 e9682eb8fcf1609f39f15680caa33f2b87151ecca4189964ea750a5e8a09485a SHA512 20e6d0f46aa551074f0f0b794d6c4c92e011bf6ab854c7111fad081f9f9d9fe51e370decbbbe9b2cc74a7d1369e38fe0cb3c2768c2d287fc30346c8e4d6783aa WHIRLPOOL ae9571006a3f933ee16ea4e34e3a3cb1b017ce1734e4e09f4ff9f421031c10ebe7c1b5ee87ff84532c13805ec7b4284e14b4aab3d06767d28268b58a768ce9c1 |
36 |
|
37 |
diff --git a/app-office/libreoffice/diff b/app-office/libreoffice/diff |
38 |
new file mode 100644 |
39 |
index 0000000..6db907b |
40 |
--- /dev/null |
41 |
+++ b/app-office/libreoffice/diff |
42 |
@@ -0,0 +1,84 @@ |
43 |
+10c10 |
44 |
+< PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
45 |
+--- |
46 |
+> PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
47 |
+59c59 |
48 |
+< "${ADDONS_URI}/ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz" # modifies source code |
49 |
+--- |
50 |
+> "${ADDONS_URI}/86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz" # modifies source code |
51 |
+86c86 |
52 |
+< KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux" |
53 |
+--- |
54 |
+> KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
55 |
+99a100 |
56 |
+> app-text/libstaroffice |
57 |
+108c109 |
58 |
+< >=dev-libs/boost-1.55:= |
59 |
+--- |
60 |
+> dev-libs/boost:= |
61 |
+112c113 |
62 |
+< =dev-libs/liborcus-0.11* |
63 |
+--- |
64 |
+> =dev-libs/liborcus-0.12* |
65 |
+123c124 |
66 |
+< >=media-libs/harfbuzz-0.9.18:=[icu(+)] |
67 |
+--- |
68 |
+> media-libs/harfbuzz:=[graphite,icu] |
69 |
+129a131 |
70 |
+> media-libs/libzmf |
71 |
+134d135 |
72 |
+< virtual/jpeg:0 |
73 |
+139a141 |
74 |
+> virtual/jpeg:0 |
75 |
+143c145 |
76 |
+< collada? ( >=media-libs/opencollada-1.2.2_p20150207 ) |
77 |
+--- |
78 |
+> collada? ( media-libs/opencollada ) |
79 |
+150c152 |
80 |
+< firebird? ( >=dev-db/firebird-2.5 ) |
81 |
+--- |
82 |
+> firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1 ) |
83 |
+164c166 |
84 |
+< >=x11-libs/gtk+-3.8:3 |
85 |
+--- |
86 |
+> x11-libs/gtk+:3 |
87 |
+207c209 |
88 |
+< >=dev-util/mdds-1.2.0:1= |
89 |
+--- |
90 |
+> >=dev-util/mdds-1.2.2:1= |
91 |
+242,244d243 |
92 |
+< # from master branch |
93 |
+< "${FILESDIR}/${PN}-5.2-icu58.patch" |
94 |
+< |
95 |
+246c245 |
96 |
+< "${FILESDIR}/${PN}-5.2-system-pyuno.patch" |
97 |
+--- |
98 |
+> "${FILESDIR}/${PN}-5.3-system-pyuno.patch" |
99 |
+253c252 |
100 |
+< "${FILESDIR}/${PN}-5.0.5.2-linux-musl.patch" |
101 |
+--- |
102 |
+> "${FILESDIR}/${PN}-5.3.0.3-linux-musl.patch" |
103 |
+260c259,265 |
104 |
+< ewarn "If you plan to use lbase application you should enable java or you will get various crashes." |
105 |
+--- |
106 |
+> ewarn "If you plan to use Base application you should enable java or you will get various crashes." |
107 |
+> |
108 |
+> if has_version "<app-office/libreoffice-5.3.0[firebird]"; then |
109 |
+> ewarn "Firebird has been upgraded to version 3.0.0. It is unable to read back Firebird 2.5 data," |
110 |
+> ewarn "so embedded firebird odb files created in LibreOffice pre-5.3 cannot be opened with LibreOffice 5.3." |
111 |
+> ewarn "See also: https://wiki.documentfoundation.org/ReleaseNotes/5.3#Base" |
112 |
+> fi |
113 |
+431a437 |
114 |
+> # --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad |
115 |
+455a462 |
116 |
+> --disable-breakpad \ |
117 |
+457d463 |
118 |
+< --disable-crashdump \ |
119 |
+462d467 |
120 |
+< --disable-hardlink-deliver \ |
121 |
+481d485 |
122 |
+< --without-sun-templates \ |
123 |
+560c564 |
124 |
+< dosym /usr/$(get_libdir)/libreoffice/program/liblibreofficekitgtk.so \ |
125 |
+--- |
126 |
+> dosym libreoffice/program/liblibreofficekitgtk.so \ |
127 |
|
128 |
diff --git a/app-office/libreoffice/libreoffice-5.3.3.2.ebuild b/app-office/libreoffice/libreoffice-5.3.3.2.ebuild |
129 |
deleted file mode 100644 |
130 |
index 903dd4e..0000000 |
131 |
--- a/app-office/libreoffice/libreoffice-5.3.3.2.ebuild |
132 |
+++ /dev/null |
133 |
@@ -1,604 +0,0 @@ |
134 |
-# Copyright 1999-2017 Gentoo Foundation |
135 |
-# Distributed under the terms of the GNU General Public License v2 |
136 |
- |
137 |
-EAPI=6 |
138 |
- |
139 |
-KDE_REQUIRED="optional" |
140 |
-KDE_SCM="git" |
141 |
-CMAKE_REQUIRED="never" |
142 |
- |
143 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
144 |
-PYTHON_REQ_USE="threads,xml" |
145 |
- |
146 |
-# experimental ; release ; old |
147 |
-# Usually the tarballs are moved a lot so this should make |
148 |
-# everyone happy. |
149 |
-DEV_URI=" |
150 |
- http://dev-builds.libreoffice.org/pre-releases/src |
151 |
- http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/ |
152 |
- http://download.documentfoundation.org/libreoffice/old/${PV}/ |
153 |
-" |
154 |
-ADDONS_URI="http://dev-www.libreoffice.org/src/" |
155 |
- |
156 |
-BRANDING="${PN}-branding-gentoo-0.8.tar.xz" |
157 |
-# PATCHSET="${P}-patchset-01.tar.xz" |
158 |
- |
159 |
-[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3" |
160 |
-inherit multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator xdg-utils qmake-utils ${SCM_ECLASS} |
161 |
-unset SCM_ECLASS |
162 |
- |
163 |
-DESCRIPTION="A full office productivity suite" |
164 |
-HOMEPAGE="http://www.libreoffice.org" |
165 |
-SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )" |
166 |
-[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}" |
167 |
- |
168 |
-# Split modules following git/tarballs |
169 |
-# Core MUST be first! |
170 |
-# Help is used for the image generator |
171 |
-MODULES="core help" |
172 |
-# Only release has the tarballs |
173 |
-if [[ ${PV} != *9999* ]]; then |
174 |
- for i in ${DEV_URI}; do |
175 |
- for mod in ${MODULES}; do |
176 |
- if [[ ${mod} == core ]]; then |
177 |
- SRC_URI+=" ${i}/${P}.tar.xz" |
178 |
- else |
179 |
- SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz" |
180 |
- fi |
181 |
- done |
182 |
- unset mod |
183 |
- done |
184 |
- unset i |
185 |
-fi |
186 |
-unset DEV_URI |
187 |
- |
188 |
-# Really required addons |
189 |
-# These are bundles that can't be removed for now due to huge patchsets. |
190 |
-# If you want them gone, patches are welcome. |
191 |
-ADDONS_SRC=( |
192 |
- "${ADDONS_URI}/86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz" # modifies source code |
193 |
- "collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )" |
194 |
- "java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" |
195 |
- # no release for 8 years, should we package it? |
196 |
- "libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" |
197 |
- # Does not build with 1.6 rhino at all |
198 |
- "libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" |
199 |
- # requirement of rhino |
200 |
- "libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" |
201 |
- # not packageable |
202 |
- "odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" |
203 |
-) |
204 |
-SRC_URI+=" ${ADDONS_SRC[*]}" |
205 |
- |
206 |
-unset ADDONS_URI |
207 |
-unset ADDONS_SRC |
208 |
- |
209 |
-# Extensions that need extra work: |
210 |
-LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" |
211 |
- |
212 |
-IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome googledrive |
213 |
-gstreamer +gtk gtk3 jemalloc kde libressl mysql odk pdfimport postgres quickstarter telepathy test vlc |
214 |
-$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})" |
215 |
- |
216 |
-LICENSE="|| ( LGPL-3 MPL-1.1 )" |
217 |
-SLOT="0" |
218 |
-[[ ${PV} == *9999* ]] || \ |
219 |
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
220 |
- |
221 |
-COMMON_DEPEND="${PYTHON_DEPS} |
222 |
- app-arch/unzip |
223 |
- app-arch/zip |
224 |
- app-text/hunspell:= |
225 |
- >=app-text/libabw-0.1.0 |
226 |
- >=app-text/libebook-0.1 |
227 |
- >=app-text/libetonyek-0.1 |
228 |
- app-text/libexttextcat |
229 |
- app-text/liblangtag |
230 |
- >=app-text/libmspub-0.1.0 |
231 |
- >=app-text/libmwaw-0.3.1 |
232 |
- >=app-text/libodfgen-0.1.0 |
233 |
- app-text/libstaroffice |
234 |
- app-text/libwpd:0.10[tools] |
235 |
- app-text/libwpg:0.3 |
236 |
- >=app-text/libwps-0.4 |
237 |
- app-text/mythes |
238 |
- >=dev-cpp/clucene-2.3.3.4-r2 |
239 |
- =dev-cpp/libcmis-0.5* |
240 |
- dev-db/unixODBC |
241 |
- dev-lang/perl |
242 |
- dev-libs/boost:= |
243 |
- dev-libs/expat |
244 |
- dev-libs/hyphen |
245 |
- dev-libs/icu:= |
246 |
- =dev-libs/liborcus-0.12* |
247 |
- dev-libs/librevenge |
248 |
- dev-libs/nspr |
249 |
- dev-libs/nss |
250 |
- !libressl? ( >=dev-libs/openssl-1.0.0d:0 ) |
251 |
- libressl? ( dev-libs/libressl ) |
252 |
- >=dev-libs/redland-1.0.16 |
253 |
- media-gfx/graphite2 |
254 |
- media-libs/fontconfig |
255 |
- media-libs/freetype:2 |
256 |
- >=media-libs/glew-1.10:= |
257 |
- media-libs/harfbuzz:=[graphite,icu] |
258 |
- media-libs/lcms:2 |
259 |
- >=media-libs/libcdr-0.1.0 |
260 |
- >=media-libs/libfreehand-0.1.0 |
261 |
- media-libs/libpagemaker |
262 |
- >=media-libs/libpng-1.4:0= |
263 |
- >=media-libs/libvisio-0.1.0 |
264 |
- media-libs/libzmf |
265 |
- net-libs/neon |
266 |
- net-misc/curl |
267 |
- net-nds/openldap |
268 |
- sci-mathematics/lpsolve |
269 |
- x11-libs/cairo[X,-xlib-xcb(-)] |
270 |
- x11-libs/libXinerama |
271 |
- x11-libs/libXrandr |
272 |
- x11-libs/libXrender |
273 |
- virtual/glu |
274 |
- virtual/jpeg:0 |
275 |
- virtual/opengl |
276 |
- bluetooth? ( net-wireless/bluez ) |
277 |
- coinmp? ( sci-libs/coinor-mp ) |
278 |
- collada? ( media-libs/opencollada ) |
279 |
- cups? ( net-print/cups ) |
280 |
- dbus? ( dev-libs/dbus-glib ) |
281 |
- eds? ( |
282 |
- dev-libs/glib:2 |
283 |
- gnome-extra/evolution-data-server |
284 |
- ) |
285 |
- firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1 ) |
286 |
- gltf? ( =media-libs/libgltf-0.0* ) |
287 |
- gnome? ( gnome-base/dconf ) |
288 |
- gstreamer? ( |
289 |
- media-libs/gstreamer:1.0 |
290 |
- media-libs/gst-plugins-base:1.0 |
291 |
- ) |
292 |
- gtk? ( |
293 |
- x11-libs/gdk-pixbuf |
294 |
- >=x11-libs/gtk+-2.24:2 |
295 |
- ) |
296 |
- gtk3? ( |
297 |
- dev-libs/glib:2 |
298 |
- dev-libs/gobject-introspection |
299 |
- x11-libs/gtk+:3 |
300 |
- ) |
301 |
- jemalloc? ( dev-libs/jemalloc ) |
302 |
- libreoffice_extensions_scripting-beanshell? ( dev-java/bsh ) |
303 |
- libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) |
304 |
- mysql? ( dev-db/mysql-connector-c++ ) |
305 |
- pdfimport? ( app-text/poppler:=[cxx] ) |
306 |
- postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) |
307 |
- telepathy? ( net-libs/telepathy-glib ) |
308 |
-" |
309 |
- |
310 |
-RDEPEND="${COMMON_DEPEND} |
311 |
- !app-office/libreoffice-bin |
312 |
- !app-office/libreoffice-bin-debug |
313 |
- !app-office/openoffice |
314 |
- media-fonts/liberation-fonts |
315 |
- media-fonts/libertine |
316 |
- media-fonts/urw-fonts |
317 |
- java? ( >=virtual/jre-1.6 ) |
318 |
- kde? ( $(add_kdeapps_dep kioclient) ) |
319 |
- vlc? ( media-video/vlc ) |
320 |
-" |
321 |
- |
322 |
-if [[ ${PV} != *9999* ]]; then |
323 |
- PDEPEND="=app-office/libreoffice-l10n-$(get_version_component_range 1-2)*" |
324 |
-else |
325 |
- # Translations are not reliable on live ebuilds |
326 |
- # rather force people to use english only. |
327 |
- PDEPEND="!app-office/libreoffice-l10n" |
328 |
-fi |
329 |
- |
330 |
-# FIXME: cppunit should be moved to test conditional |
331 |
-# after everything upstream is under gbuild |
332 |
-# as dmake execute tests right away |
333 |
-DEPEND="${COMMON_DEPEND} |
334 |
- !<sys-devel/make-3.82 |
335 |
- >=dev-libs/libatomic_ops-7.2d |
336 |
- >=dev-libs/libxml2-2.7.8 |
337 |
- dev-libs/libxslt |
338 |
- dev-perl/Archive-Zip |
339 |
- dev-util/cppunit |
340 |
- >=dev-util/gperf-3 |
341 |
- dev-util/intltool |
342 |
- >=dev-util/mdds-1.2.2:1= |
343 |
- media-libs/glm |
344 |
- sys-devel/bison |
345 |
- sys-devel/flex |
346 |
- sys-devel/gettext |
347 |
- sys-devel/ucpp |
348 |
- sys-libs/zlib |
349 |
- virtual/pkgconfig |
350 |
- x11-libs/libXt |
351 |
- x11-libs/libXtst |
352 |
- x11-proto/randrproto |
353 |
- x11-proto/xextproto |
354 |
- x11-proto/xineramaproto |
355 |
- x11-proto/xproto |
356 |
- java? ( |
357 |
- dev-java/ant-core |
358 |
- >=virtual/jdk-1.6 |
359 |
- ) |
360 |
- odk? ( >=app-doc/doxygen-1.8.4 ) |
361 |
- test? ( dev-util/cppunit ) |
362 |
-" |
363 |
- |
364 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
365 |
- bluetooth? ( dbus ) |
366 |
- collada? ( gltf ) |
367 |
- eds? ( gnome ) |
368 |
- gnome? ( gtk ) |
369 |
- telepathy? ( gtk ) |
370 |
- libreoffice_extensions_nlpsolver? ( java ) |
371 |
- libreoffice_extensions_scripting-beanshell? ( java ) |
372 |
- libreoffice_extensions_scripting-javascript? ( java ) |
373 |
- libreoffice_extensions_wiki-publisher? ( java ) |
374 |
-" |
375 |
- |
376 |
-PATCHES=( |
377 |
- # not upstreamable stuff |
378 |
- "${FILESDIR}/${PN}-5.3-system-pyuno.patch" |
379 |
- |
380 |
- # TODO: upstream |
381 |
- "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch" |
382 |
- |
383 |
- # musl patches |
384 |
- "${FILESDIR}/${PN}-4.4.1.2-musl-fix-execinfo.patch" |
385 |
- "${FILESDIR}/${PN}-5.3.0.3-linux-musl.patch" |
386 |
- "${FILESDIR}/${PN}-5.2.3.3-fix-includes.patch" |
387 |
- "${FILESDIR}/${PN}-5.2.5.1-musl-vlc.patch" |
388 |
-) |
389 |
- |
390 |
-pkg_pretend() { |
391 |
- use java || \ |
392 |
- ewarn "If you plan to use Base application you should enable java or you will get various crashes." |
393 |
- |
394 |
- if has_version "<app-office/libreoffice-5.3.0[firebird]"; then |
395 |
- ewarn "Firebird has been upgraded to version 3.0.0. It is unable to read back Firebird 2.5 data," |
396 |
- ewarn "so embedded firebird odb files created in LibreOffice pre-5.3 cannot be opened with LibreOffice 5.3." |
397 |
- ewarn "See also: https://wiki.documentfoundation.org/ReleaseNotes/5.3#Base" |
398 |
- fi |
399 |
- |
400 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
401 |
- |
402 |
- CHECKREQS_MEMORY="512M" |
403 |
- if is-flagq "-g*" && ! is-flagq "-g*0" ; then |
404 |
- CHECKREQS_DISK_BUILD="22G" |
405 |
- else |
406 |
- CHECKREQS_DISK_BUILD="6G" |
407 |
- fi |
408 |
- check-reqs_pkg_pretend |
409 |
- |
410 |
- if ! $(tc-is-clang) && { [[ $(gcc-major-version) -lt 4 ]] || |
411 |
- [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]]; } then |
412 |
- eerror "Compilation with gcc older than 4.7 is not supported" |
413 |
- die "Too old gcc found." |
414 |
- fi |
415 |
- fi |
416 |
- |
417 |
- # Ensure pg version but we have to be sure the pg is installed (first |
418 |
- # install on clean system) |
419 |
- if use postgres && has_version dev-db/postgresql; then |
420 |
- local pgslot=$(postgresql-config show) |
421 |
- if [[ ${pgslot//.} -lt 90 ]] ; then |
422 |
- eerror "PostgreSQL slot must be set to 9.0 or higher." |
423 |
- eerror " postgresql-config set 9.0" |
424 |
- die "PostgreSQL slot is not set to 9.0 or higher." |
425 |
- fi |
426 |
- fi |
427 |
-} |
428 |
- |
429 |
-pkg_setup() { |
430 |
- java-pkg-opt-2_pkg_setup |
431 |
- kde4-base_pkg_setup |
432 |
- python-single-r1_pkg_setup |
433 |
- xdg_environment_reset |
434 |
- |
435 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
436 |
- CHECKREQS_MEMORY="512M" |
437 |
- if is-flagq "-g*" && ! is-flagq "-g*0" ; then |
438 |
- CHECKREQS_DISK_BUILD="22G" |
439 |
- else |
440 |
- CHECKREQS_DISK_BUILD="6G" |
441 |
- fi |
442 |
- check-reqs_pkg_setup |
443 |
- fi |
444 |
-} |
445 |
- |
446 |
-src_unpack() { |
447 |
- local mod |
448 |
- |
449 |
- [[ -n ${PATCHSET} ]] && unpack ${PATCHSET} |
450 |
- use branding && unpack "${BRANDING}" |
451 |
- |
452 |
- if [[ ${PV} != *9999* ]]; then |
453 |
- unpack "${P}.tar.xz" |
454 |
- for mod in ${MODULES}; do |
455 |
- [[ ${mod} == core ]] && continue |
456 |
- unpack "${PN}-${mod}-${PV}.tar.xz" |
457 |
- done |
458 |
- else |
459 |
- local base_uri branch checkout mypv |
460 |
- base_uri="git://anongit.freedesktop.org" |
461 |
- for mod in ${MODULES}; do |
462 |
- branch="master" |
463 |
- mypv=${PV/.9999} |
464 |
- [[ ${mypv} != ${PV} ]] && branch="${PN}-${mypv/./-}" |
465 |
- git-r3_fetch "${base_uri}/${PN}/${mod}" "refs/heads/${branch}" |
466 |
- [[ ${mod} != core ]] && checkout="${S}/${mod}" |
467 |
- [[ ${mod} == help ]] && checkout="helpcontent2" # doesn't match on help |
468 |
- git-r3_checkout "${base_uri}/${PN}/${mod}" ${checkout} |
469 |
- done |
470 |
- fi |
471 |
-} |
472 |
- |
473 |
-src_prepare() { |
474 |
- [[ -n ${PATCHSET} ]] && eapply "${WORKDIR}/${PATCHSET/.tar.xz/}" |
475 |
- eapply "${PATCHES[@]}" |
476 |
- eapply_user |
477 |
- |
478 |
- AT_M4DIR="m4" eautoreconf |
479 |
- # hack in the autogen.sh |
480 |
- touch autogen.lastrun |
481 |
- |
482 |
- # system pyuno mess |
483 |
- sed -i \ |
484 |
- -e "s:%eprefix%:${EPREFIX}:g" \ |
485 |
- -e "s:%libdir%:$(get_libdir):g" \ |
486 |
- pyuno/source/module/uno.py \ |
487 |
- pyuno/source/officehelper.py || die |
488 |
- # sed in the tests |
489 |
- sed -i \ |
490 |
- -e "s#all : build unitcheck#all : build#g" \ |
491 |
- solenv/gbuild/Module.mk || die |
492 |
- sed -i \ |
493 |
- -e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \ |
494 |
- -e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \ |
495 |
- Makefile.in || die |
496 |
- |
497 |
- sed -i \ |
498 |
- -e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \ |
499 |
- -e "s,\$INSTALLDIRNAME.sh,${PN}," \ |
500 |
- bin/distro-install-desktop-integration || die |
501 |
- |
502 |
- if use branding; then |
503 |
- # hack... |
504 |
- mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die |
505 |
- fi |
506 |
- |
507 |
- # Don't list pdfimport support in desktop when built with none, bug # 605464 |
508 |
- if ! use pdfimport; then |
509 |
- sed -i \ |
510 |
- -e ":MimeType: s:application/pdf;::" \ |
511 |
- -e ":Keywords: s:pdf;::" \ |
512 |
- sysui/desktop/menus/draw.desktop || die |
513 |
- fi |
514 |
-} |
515 |
- |
516 |
-src_configure() { |
517 |
- local java_opts |
518 |
- local ext_opts |
519 |
- |
520 |
- # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys |
521 |
- # Note: these are for Gentoo use ONLY. For your own distribution, please get |
522 |
- # your own set of keys. Feel free to contact chromium@g.o for more info. |
523 |
- local google_default_client_id="329227923882.apps.googleusercontent.com" |
524 |
- local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" |
525 |
- |
526 |
- # optimization flags |
527 |
- export GMAKE_OPTIONS="${MAKEOPTS}" |
528 |
- # System python enablement: |
529 |
- export PYTHON_CFLAGS=$(python_get_CFLAGS) |
530 |
- export PYTHON_LIBS=$(python_get_LIBS) |
531 |
- |
532 |
- if use collada; then |
533 |
- export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser" |
534 |
- export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser" |
535 |
- fi |
536 |
- |
537 |
- # libreoffice extensions handling |
538 |
- for lo_xt in ${LO_EXTS}; do |
539 |
- if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then |
540 |
- ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})" |
541 |
- else |
542 |
- ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})" |
543 |
- fi |
544 |
- done |
545 |
- |
546 |
- if use java; then |
547 |
- # hsqldb: system one is too new |
548 |
- java_opts=" |
549 |
- --without-junit |
550 |
- --without-system-hsqldb |
551 |
- --with-ant-home="${ANT_HOME}" |
552 |
- --with-jdk-home=$(java-config --jdk-home 2>/dev/null) |
553 |
- --with-jvm-path="${EPREFIX}/usr/lib/" |
554 |
- " |
555 |
- |
556 |
- use libreoffice_extensions_scripting-beanshell && \ |
557 |
- java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)" |
558 |
- |
559 |
- use libreoffice_extensions_scripting-javascript && \ |
560 |
- java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)" |
561 |
- fi |
562 |
- |
563 |
- if use kde; then |
564 |
- # bug 544108, bug 599076 |
565 |
- export QMAKEQT4="$(qt4_get_bindir)/qmake" |
566 |
- export MOCQT4="$(qt4_get_bindir)/moc" |
567 |
- fi |
568 |
- |
569 |
- # system headers/libs/...: enforce using system packages |
570 |
- # --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad |
571 |
- # --enable-cairo: ensure that cairo is always required |
572 |
- # --enable-graphite: disabling causes build breakages |
573 |
- # --enable-*-link: link to the library rather than just dlopen on runtime |
574 |
- # --enable-release-build: build the libreoffice as release |
575 |
- # --disable-fetch-external: prevent dowloading during compile phase |
576 |
- # --enable-extension-integration: enable any extension integration support |
577 |
- # --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs |
578 |
- # --disable-report-builder: too much java packages pulled in without pkgs |
579 |
- # --without-system-sane: just sane.h header that is used for scan in writer, |
580 |
- # not linked or anything else, worthless to depend on |
581 |
- econf \ |
582 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}/" \ |
583 |
- --with-system-dicts \ |
584 |
- --with-system-headers \ |
585 |
- --with-system-jars \ |
586 |
- --with-system-libs \ |
587 |
- --enable-cairo-canvas \ |
588 |
- --enable-graphite \ |
589 |
- --enable-largefile \ |
590 |
- --enable-mergelibs \ |
591 |
- --enable-neon \ |
592 |
- --enable-python=system \ |
593 |
- --enable-randr \ |
594 |
- --enable-release-build \ |
595 |
- --disable-breakpad \ |
596 |
- --disable-ccache \ |
597 |
- --disable-dependency-tracking \ |
598 |
- --disable-epm \ |
599 |
- --disable-fetch-external \ |
600 |
- --disable-gstreamer-0-10 \ |
601 |
- --disable-online-update \ |
602 |
- --disable-report-builder \ |
603 |
- --with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \ |
604 |
- --with-build-version="Gentoo official package" \ |
605 |
- --enable-extension-integration \ |
606 |
- --with-external-dict-dir="${EPREFIX}/usr/share/myspell" \ |
607 |
- --with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \ |
608 |
- --with-external-thes-dir="${EPREFIX}/usr/share/myspell" \ |
609 |
- --with-external-tar="${DISTDIR}" \ |
610 |
- --with-lang="" \ |
611 |
- --with-parallelism=$(makeopts_jobs) \ |
612 |
- --with-system-ucpp \ |
613 |
- --with-vendor="Gentoo Foundation" \ |
614 |
- --with-x \ |
615 |
- --without-fonts \ |
616 |
- --without-myspell-dicts \ |
617 |
- --without-help \ |
618 |
- --with-helppack-integration \ |
619 |
- --without-system-sane \ |
620 |
- $(use_enable bluetooth sdremote-bluetooth) \ |
621 |
- $(use_enable coinmp) \ |
622 |
- $(use_enable collada) \ |
623 |
- $(use_enable cups) \ |
624 |
- $(use_enable debug) \ |
625 |
- $(use_enable dbus) \ |
626 |
- $(use_enable eds evolution2) \ |
627 |
- $(use_enable firebird firebird-sdbc) \ |
628 |
- $(use_enable gltf) \ |
629 |
- $(use_enable gnome gio) \ |
630 |
- $(use_enable gnome dconf) \ |
631 |
- $(use_enable gstreamer gstreamer-1-0) \ |
632 |
- $(use_enable gtk) \ |
633 |
- $(use_enable gtk3) \ |
634 |
- $(use_enable kde kde4) \ |
635 |
- $(use_enable mysql ext-mariadb-connector) \ |
636 |
- $(use_enable odk) \ |
637 |
- $(use_enable pdfimport) \ |
638 |
- $(use_enable postgres postgresql-sdbc) \ |
639 |
- $(use_enable quickstarter systray) \ |
640 |
- $(use_enable telepathy) \ |
641 |
- $(use_enable vlc) \ |
642 |
- $(use_with coinmp system-coinmp) \ |
643 |
- $(use_with collada system-opencollada) \ |
644 |
- $(use_with gltf system-libgltf) \ |
645 |
- $(use_with googledrive gdrive-client-id ${google_default_client_id}) \ |
646 |
- $(use_with googledrive gdrive-client-secret ${google_default_client_secret}) \ |
647 |
- $(use_with java) \ |
648 |
- $(use_with mysql system-mysql-cppconn) \ |
649 |
- $(use_with odk doxygen) \ |
650 |
- ${java_opts} \ |
651 |
- ${ext_opts} |
652 |
-} |
653 |
- |
654 |
-src_compile() { |
655 |
- # more and more LO stuff tries to use OpenGL, including tests during build |
656 |
- # bug 501508, bug 540624, bug 545974 and probably more |
657 |
- addpredict /dev/dri |
658 |
- addpredict /dev/ati |
659 |
- addpredict /dev/nvidiactl |
660 |
- |
661 |
- # hack for offlinehelp, this needs fixing upstream at some point |
662 |
- # it is broken because we send --without-help |
663 |
- # https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
664 |
- ( |
665 |
- grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die |
666 |
- source "${T}/config_host.mk" 2&> /dev/null |
667 |
- |
668 |
- local path="${WORKDIR}/helpcontent2/source/auxiliary/" |
669 |
- mkdir -p "${path}" || die |
670 |
- |
671 |
- echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\"" |
672 |
- perl "${S}/helpcontent2/helpers/create_ilst.pl" \ |
673 |
- -dir=icon-themes/galaxy/res/helpimg \ |
674 |
- > "${path}/helpimg.ilst" |
675 |
- [[ -s "${path}/helpimg.ilst" ]] || \ |
676 |
- ewarn "The help images list is empty, something is fishy, report a bug." |
677 |
- ) |
678 |
- |
679 |
- local target |
680 |
- use test && target="build" || target="build-nocheck" |
681 |
- |
682 |
- # this is not a proper make script |
683 |
- make ${target} || die |
684 |
-} |
685 |
- |
686 |
-src_test() { |
687 |
- make unitcheck || die |
688 |
- make slowcheck || die |
689 |
-} |
690 |
- |
691 |
-src_install() { |
692 |
- # This is not Makefile so no buildserver |
693 |
- make DESTDIR="${D}" distro-pack-install -o build -o check || die |
694 |
- |
695 |
- # bug 593514 |
696 |
- if use gtk3; then |
697 |
- dosym libreoffice/program/liblibreofficekitgtk.so \ |
698 |
- /usr/$(get_libdir)/liblibreofficekitgtk.so |
699 |
- fi |
700 |
- |
701 |
- # bash completion aliases |
702 |
- bashcomp_alias \ |
703 |
- libreoffice \ |
704 |
- unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice |
705 |
- |
706 |
- if use branding; then |
707 |
- insinto /usr/$(get_libdir)/${PN}/program |
708 |
- newins "${WORKDIR}/branding-sofficerc" sofficerc |
709 |
- dodir /etc/env.d |
710 |
- echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die |
711 |
- fi |
712 |
- |
713 |
- # Hack for offlinehelp, this needs fixing upstream at some point. |
714 |
- # It is broken because we send --without-help |
715 |
- # https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
716 |
- insinto /usr/$(get_libdir)/libreoffice/help |
717 |
- doins xmlhelp/util/*.xsl |
718 |
- |
719 |
- # Remove desktop files to support old installs that can't parse mime |
720 |
- rm -r "${ED}"usr/share/mimelnk/ || die |
721 |
- |
722 |
- pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin |
723 |
- pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin |
724 |
-} |
725 |
- |
726 |
-pkg_preinst() { |
727 |
- # Cache updates - all handled by kde eclass for all environments |
728 |
- kde4-base_pkg_preinst |
729 |
-} |
730 |
- |
731 |
-pkg_postinst() { |
732 |
- kde4-base_pkg_postinst |
733 |
-} |
734 |
- |
735 |
-pkg_postrm() { |
736 |
- kde4-base_pkg_postrm |
737 |
-} |