1 |
commit: 214fb6b50b013531dc3a255492726d5e0cc3bcda |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 28 16:05:24 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 30 09:58:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214fb6b5 |
7 |
|
8 |
app-office/libreoffice: Drop offlinehelp hacks, use --with-help=html |
9 |
|
10 |
Thanks-to: V. Reher <vreher <AT> cox.net> |
11 |
Bug: https://bugs.gentoo.org/671478 |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
app-office/libreoffice/libreoffice-6.2.9999.ebuild | 28 ++-------------------- |
16 |
app-office/libreoffice/libreoffice-9999.ebuild | 28 ++-------------------- |
17 |
2 files changed, 4 insertions(+), 52 deletions(-) |
18 |
|
19 |
diff --git a/app-office/libreoffice/libreoffice-6.2.9999.ebuild b/app-office/libreoffice/libreoffice-6.2.9999.ebuild |
20 |
index caf354cdab3..79a08e6a2d5 100644 |
21 |
--- a/app-office/libreoffice/libreoffice-6.2.9999.ebuild |
22 |
+++ b/app-office/libreoffice/libreoffice-6.2.9999.ebuild |
23 |
@@ -428,8 +428,8 @@ src_configure() { |
24 |
--with-x |
25 |
--without-fonts |
26 |
--without-myspell-dicts |
27 |
- --without-help |
28 |
- --with-helppack-integration |
29 |
+ --with-help="html" |
30 |
+ --without-helppack-integration |
31 |
--with-system-gpgmepp |
32 |
--without-system-sane |
33 |
$(use_enable bluetooth sdremote-bluetooth) |
34 |
@@ -506,24 +506,6 @@ src_compile() { |
35 |
addpredict /dev/ati |
36 |
addpredict /dev/nvidiactl |
37 |
|
38 |
- # hack for offlinehelp, this needs fixing upstream at some point |
39 |
- # it is broken because we send --without-help |
40 |
- # https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
41 |
- ( |
42 |
- grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die |
43 |
- source "${T}/config_host.mk" 2&> /dev/null |
44 |
- |
45 |
- local path="${WORKDIR}/helpcontent2/source/auxiliary/" |
46 |
- mkdir -p "${path}" || die |
47 |
- |
48 |
- echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=helpcontent2/source/media/helpimg > \"${path}/helpimg.ilst\"" |
49 |
- perl "${S}/helpcontent2/helpers/create_ilst.pl" \ |
50 |
- -dir=helpcontent2/source/media/helpimg \ |
51 |
- > "${path}/helpimg.ilst" |
52 |
- [[ -s "${path}/helpimg.ilst" ]] || \ |
53 |
- ewarn "The help images list is empty, something is fishy, report a bug." |
54 |
- ) |
55 |
- |
56 |
local target |
57 |
use test && target="build" || target="build-nocheck" |
58 |
|
59 |
@@ -558,12 +540,6 @@ src_install() { |
60 |
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die |
61 |
fi |
62 |
|
63 |
- # Hack for offlinehelp, this needs fixing upstream at some point. |
64 |
- # It is broken because we send --without-help |
65 |
- # https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
66 |
- insinto /usr/$(get_libdir)/libreoffice/help |
67 |
- doins xmlhelp/util/*.xsl |
68 |
- |
69 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
70 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin |
71 |
} |
72 |
|
73 |
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild |
74 |
index 33af7c8cd64..c891354e8c0 100644 |
75 |
--- a/app-office/libreoffice/libreoffice-9999.ebuild |
76 |
+++ b/app-office/libreoffice/libreoffice-9999.ebuild |
77 |
@@ -424,8 +424,8 @@ src_configure() { |
78 |
--with-x |
79 |
--without-fonts |
80 |
--without-myspell-dicts |
81 |
- --without-help |
82 |
- --with-helppack-integration |
83 |
+ --with-help="html" |
84 |
+ --without-helppack-integration |
85 |
--with-system-gpgmepp |
86 |
--without-system-sane |
87 |
$(use_enable bluetooth sdremote-bluetooth) |
88 |
@@ -502,24 +502,6 @@ src_compile() { |
89 |
addpredict /dev/ati |
90 |
addpredict /dev/nvidiactl |
91 |
|
92 |
- # hack for offlinehelp, this needs fixing upstream at some point |
93 |
- # it is broken because we send --without-help |
94 |
- # https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
95 |
- ( |
96 |
- grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die |
97 |
- source "${T}/config_host.mk" 2&> /dev/null |
98 |
- |
99 |
- local path="${WORKDIR}/helpcontent2/source/auxiliary/" |
100 |
- mkdir -p "${path}" || die |
101 |
- |
102 |
- echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=helpcontent2/source/media/helpimg > \"${path}/helpimg.ilst\"" |
103 |
- perl "${S}/helpcontent2/helpers/create_ilst.pl" \ |
104 |
- -dir=helpcontent2/source/media/helpimg \ |
105 |
- > "${path}/helpimg.ilst" |
106 |
- [[ -s "${path}/helpimg.ilst" ]] || \ |
107 |
- ewarn "The help images list is empty, something is fishy, report a bug." |
108 |
- ) |
109 |
- |
110 |
local target |
111 |
use test && target="build" || target="build-nocheck" |
112 |
|
113 |
@@ -554,12 +536,6 @@ src_install() { |
114 |
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die |
115 |
fi |
116 |
|
117 |
- # Hack for offlinehelp, this needs fixing upstream at some point. |
118 |
- # It is broken because we send --without-help |
119 |
- # https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
120 |
- insinto /usr/$(get_libdir)/libreoffice/help |
121 |
- doins xmlhelp/util/*.xsl |
122 |
- |
123 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
124 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin |
125 |
} |