public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/libalkimia/
Date: Fri,  1 Mar 2024 23:42:44 +0000 (UTC)	[thread overview]
Message-ID: <1709336558.2b641d2a1cdd886f628067eee31c06672227fd16.sam@gentoo> (raw)

commit:     2b641d2a1cdd886f628067eee31c06672227fd16
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar  1 23:42:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 23:42:38 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2b641d2a

app-office/libalkimia: remove gmp USE flag, force it instead of mpir

mpir is an ancient fork of gmp from 2017. It claims to be focused on
speed. It doesn't build with modern compilers due to Modern C issues,
and it fails to build with LTO as well. Unlike gmp, this will never be
fixed.

Bug: https://bugs.gentoo.org/812950
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-office/libalkimia/libalkimia-8.9999.ebuild | 7 +++----
 app-office/libalkimia/libalkimia-9999.ebuild   | 7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/app-office/libalkimia/libalkimia-8.9999.ebuild b/app-office/libalkimia/libalkimia-8.9999.ebuild
index 6b645c6c38..78c3eff6f6 100644
--- a/app-office/libalkimia/libalkimia-8.9999.ebuild
+++ b/app-office/libalkimia/libalkimia-8.9999.ebuild
@@ -21,9 +21,10 @@ https://community.kde.org/Alkimia"
 
 LICENSE="LGPL-2.1"
 SLOT="0/8"
-IUSE="doc gmp plasma webengine"
+IUSE="doc plasma webengine"
 
 DEPEND="
+	dev-libs/gmp:0=[cxx(+)]
 	>=dev-qt/qtdbus-${QTMIN}:5
 	>=dev-qt/qtdeclarative-${QTMIN}:5
 	>=dev-qt/qtgui-${QTMIN}:5
@@ -40,8 +41,6 @@ DEPEND="
 	>=kde-frameworks/ktextwidgets-${KFMIN}:5
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
 	>=kde-frameworks/kxmlgui-${KFMIN}:5
-	!gmp? ( sci-libs/mpir:=[cxx] )
-	gmp? ( dev-libs/gmp:0=[cxx(+)] )
 	plasma? (
 		>=kde-frameworks/kpackage-${KFMIN}:5
 		>=kde-plasma/libplasma-${KFMIN}:5
@@ -62,7 +61,7 @@ src_configure() {
 		-DBUILD_TOOLS=ON
 		-DBUILD_WITH_WEBKIT=OFF
 		$(cmake_use_find_package doc Doxygen)
-		$(cmake_use_find_package !gmp MPIR)
+		-DCMAKE_DISABLE_FIND_PACKAGE_MPIR=ON
 		-DBUILD_APPLETS=$(usex plasma)
 		-DBUILD_WITH_WEBENGINE=$(usex webengine)
 	)

diff --git a/app-office/libalkimia/libalkimia-9999.ebuild b/app-office/libalkimia/libalkimia-9999.ebuild
index 7892456059..22f13e44d1 100644
--- a/app-office/libalkimia/libalkimia-9999.ebuild
+++ b/app-office/libalkimia/libalkimia-9999.ebuild
@@ -20,9 +20,10 @@ https://community.kde.org/Alkimia"
 
 LICENSE="LGPL-2.1"
 SLOT="0/8"
-IUSE="doc gmp plasma webengine"
+IUSE="doc plasma webengine"
 
 DEPEND="
+	dev-libs/gmp:0=[cxx(+)]
 	>=dev-qt/qtdbus-${QTMIN}:5
 	>=dev-qt/qtdeclarative-${QTMIN}:5
 	>=dev-qt/qtgui-${QTMIN}:5
@@ -39,8 +40,6 @@ DEPEND="
 	>=kde-frameworks/ktextwidgets-${KFMIN}:5
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
 	>=kde-frameworks/kxmlgui-${KFMIN}:5
-	!gmp? ( sci-libs/mpir:=[cxx] )
-	gmp? ( dev-libs/gmp:0=[cxx(+)] )
 	plasma? (
 		>=kde-frameworks/kpackage-${KFMIN}:5
 		>=kde-plasma/libplasma-${KFMIN}:5
@@ -61,7 +60,7 @@ src_configure() {
 		-DBUILD_TOOLS=ON
 		-DBUILD_WITH_WEBKIT=OFF
 		$(cmake_use_find_package doc Doxygen)
-		$(cmake_use_find_package !gmp MPIR)
+		-DCMAKE_DISABLE_FIND_PACKAGE_MPIR=ON
 		-DBUILD_APPLETS=$(usex plasma)
 		-DBUILD_WITH_WEBENGINE=$(usex webengine)
 	)


             reply	other threads:[~2024-03-01 23:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01 23:42 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-12 15:50 [gentoo-commits] proj/kde:master commit in: app-office/libalkimia/ Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2024-11-23 13:48 Andreas Sturmlechner
2024-10-07 23:21 Andreas Sturmlechner
2024-01-13 16:39 Sam James
2023-09-08 23:38 Andreas Sturmlechner
2021-06-20 18:46 Andreas Sturmlechner
2020-12-13 10:46 Andreas Sturmlechner
2020-08-06 21:46 Andreas Sturmlechner
2020-06-30 14:43 Andreas Sturmlechner
2020-02-23 10:59 Andreas Sturmlechner
2020-02-23 10:59 Andreas Sturmlechner
2020-01-10 21:55 Andreas Sturmlechner
2019-11-13  2:00 Andreas Sturmlechner
2019-08-22 16:13 Andreas Sturmlechner
2018-12-08 21:06 Andreas Sturmlechner
2018-12-03  0:08 Andreas Sturmlechner
2018-04-12 17:49 Johannes Huber
2018-02-07 22:49 Andreas Sturmlechner
2018-01-07 18:30 Andreas Sturmlechner
2017-11-11 18:39 Andreas Sturmlechner
2017-06-18 14:24 Andreas Sturmlechner
2016-03-22 12:33 Johannes Huber
2016-03-08 14:41 Michael Palimaka
2015-12-02 11:03 Michael Palimaka
2015-10-14 12:51 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709336558.2b641d2a1cdd886f628067eee31c06672227fd16.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox