commit:     46228c2ee31b278182016969395b3797fc19ee28
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue May  4 22:17:29 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May  4 22:56:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46228c2e

app-office/libreoffice: Bad news for x86 and IUSE="base,java"

Bug: https://bugs.gentoo.org/785640
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-office/libreoffice/libreoffice-7.1.9999.ebuild | 14 ++++++++++----
 app-office/libreoffice/libreoffice-9999.ebuild     | 14 ++++++++++----
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/app-office/libreoffice/libreoffice-7.1.9999.ebuild 
b/app-office/libreoffice/libreoffice-7.1.9999.ebuild
index cf695c2bff7..41b1282d902 100644
--- a/app-office/libreoffice/libreoffice-7.1.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-7.1.9999.ebuild
@@ -307,10 +307,16 @@ _check_reqs() {
 }
 
 pkg_pretend() {
-       use base ||
-               ewarn "If you plan to use Base application you must enable USE 
base."
-       use java ||
-               ewarn "Without USE java, several wizards are not going to be 
available."
+       if use x86; then
+               elog "Unfortunately for packaging reasons on x86, various 
Java-based wizards,"
+               elog "most notably Report Builder in LibreOffice Base, will not 
be available."
+               elog "See also: https://bugs.gentoo.org/785640";
+       else
+               use base ||
+                       ewarn "If you plan to use Base application you must 
enable USE base."
+               use java ||
+                       ewarn "Without USE java, several wizards are not going 
to be available."
+       fi
 
        [[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
 }

diff --git a/app-office/libreoffice/libreoffice-9999.ebuild 
b/app-office/libreoffice/libreoffice-9999.ebuild
index a38aba75536..c9f16a41c2a 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -307,10 +307,16 @@ _check_reqs() {
 }
 
 pkg_pretend() {
-       use base ||
-               ewarn "If you plan to use Base application you must enable USE 
base."
-       use java ||
-               ewarn "Without USE java, several wizards are not going to be 
available."
+       if use x86; then
+               elog "Unfortunately for packaging reasons on x86, various 
Java-based wizards,"
+               elog "most notably Report Builder in LibreOffice Base, will not 
be available."
+               elog "See also: https://bugs.gentoo.org/785640";
+       else
+               use base ||
+                       ewarn "If you plan to use Base application you must 
enable USE base."
+               use java ||
+                       ewarn "Without USE java, several wizards are not going 
to be available."
+       fi
 
        [[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
 }

Reply via email to