From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/
Date: Fri, 26 Mar 2021 00:57:13 +0000 (UTC) [thread overview]
Message-ID: <1616720185.f3eb23e2183025fcf28dbcf8f323cc961cc45f0a.mjo@gentoo> (raw)
commit: f3eb23e2183025fcf28dbcf8f323cc961cc45f0a
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 11:27:43 2021 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 00:56:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3eb23e2
sci-mathematics/maxima: rename USE=tk to USE=gui.
The "tk" flag isn't something a normal user can understand. Since its
main purpose it to enable a GUI, I've renamed it to "gui".
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
...ima-5.44.0-r2.ebuild => maxima-5.44.0-r3.ebuild} | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/sci-mathematics/maxima/maxima-5.44.0-r2.ebuild b/sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
similarity index 91%
rename from sci-mathematics/maxima/maxima-5.44.0-r2.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
index 778b0ba34fb..57a63d133cc 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8} )
inherit autotools elisp-common eutils flag-o-matic python-single-r1 xdg-utils
@@ -24,7 +24,7 @@ CONF_FLAG=( . . . ecl ccl . )
# patch file version; . - no patch
PATCH_V=( 2 1 . 4 3 1 )
-IUSE="emacs tk nls unicode X test ${LISPS[*]}"
+IUSE="emacs gui nls unicode X test ${LISPS[*]}"
RESTRICT="!test? ( test )"
# Languages
@@ -36,13 +36,13 @@ done
# texlive-latexrecommended needed by imaxima for breqn.sty
RDEPEND="
X? ( x11-misc/xdg-utils
- sci-visualization/gnuplot[gd]
- tk? ( dev-lang/tk:0 ) )
+ sci-visualization/gnuplot[gd] )
emacs? ( >=app-editors/emacs-23.1:*
virtual/latex-base
app-emacs/auctex
app-text/ghostscript-gpl
- dev-texlive/texlive-latexrecommended )"
+ dev-texlive/texlive-latexrecommended )
+ gui? ( dev-lang/tk:0 )"
# generating lisp dependencies
depends() {
@@ -74,7 +74,9 @@ done
unset LISP
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+# Maxima can make use of X features like plotting (and launching a PNG
+# viewer) from the console, but you can't use the xmaxima GUI without X.
+REQUIRED_USE="${PYTHON_REQUIRED_USE} gui? ( X )"
RDEPEND="${RDEPEND}
${DEF_DEP}"
@@ -106,7 +108,8 @@ pkg_setup() {
src_prepare() {
local n PATCHES v
- PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 dont-hardcode-python )
+ PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1
+ dont-hardcode-python )
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do
@@ -160,7 +163,7 @@ src_configure() {
#
econf ${CONFS} \
LDFLAGS="$(raw-ldflags)" \
- $(use_with tk wish) \
+ $(use_with gui wish) \
$(use_enable emacs) \
--with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
}
@@ -185,7 +188,7 @@ src_install() {
docompress -x /usr/share/info
emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
- use tk && make_desktop_entry xmaxima xmaxima \
+ use gui && make_desktop_entry xmaxima xmaxima \
/usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
"Science;Math;Education"
next reply other threads:[~2021-03-26 0:57 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-26 0:57 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-01 20:56 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/ Michael Orlitzky
2024-06-04 6:33 Andrey Grozin
2023-11-22 23:18 Michael Orlitzky
2023-07-22 15:19 Andrey Grozin
2023-06-01 15:38 Andrey Grozin
2023-06-01 15:37 Andrey Grozin
2023-05-25 8:32 Andrey Grozin
2023-04-23 5:36 Jakov Smolić
2023-04-19 11:52 Sam James
2023-02-16 13:18 Andrey Grozin
2023-01-22 6:29 Andrey Grozin
2022-09-19 19:49 Andreas Sturmlechner
2022-09-16 8:31 Ulrich Müller
2022-09-15 6:47 Agostino Sarubbo
2022-09-14 12:52 Michael Orlitzky
2022-04-14 11:46 Andrey Grozin
2022-04-13 8:48 Andrey Grozin
2022-04-13 8:48 Andrey Grozin
2021-11-18 23:50 Georgy Yakovlev
2021-07-17 18:58 Michael Orlitzky
2021-06-22 22:38 Sam James
2021-06-21 4:09 Andrey Grozin
2021-06-21 4:07 Andrey Grozin
2021-06-09 10:29 Andrey Grozin
2021-04-02 1:03 Michael Orlitzky
2021-03-30 12:43 Michael Orlitzky
2021-03-29 13:47 Michael Orlitzky
2021-03-29 13:47 Michael Orlitzky
2020-11-05 20:25 Andreas Sturmlechner
2020-07-23 7:03 Kent Fredric
2020-06-08 14:10 Andrey Grozin
2020-04-07 15:08 Andrey Grozin
2020-03-27 3:49 Michael Orlitzky
2020-03-27 3:44 Michael Orlitzky
2020-01-30 15:44 Andrey Grozin
2020-01-30 15:42 Andrey Grozin
2019-12-20 22:49 Ulrich Müller
2019-12-20 10:11 Ulrich Müller
2019-04-28 22:06 Thomas Deutschmann
2019-04-08 14:13 Mikle Kolyada
2019-03-15 15:38 Andrey Grozin
2019-03-12 18:32 Andrey Grozin
2018-10-18 16:51 Andrey Grozin
2018-09-05 15:22 Andrey Grozin
2018-01-07 16:57 Ulrich Müller
2017-12-31 13:32 Andrey Grozin
2017-12-31 5:00 Andrey Grozin
2017-10-05 15:59 Andrey Grozin
2017-05-30 19:38 Andrey Grozin
2016-12-29 10:05 Agostino Sarubbo
2016-12-11 12:04 Andrey Grozin
2016-06-06 11:53 Andrey Grozin
2016-05-14 7:54 Andrey Grozin
2016-05-14 7:53 Andrey Grozin
2016-03-18 11:18 Andrey Grozin
2016-03-05 16:26 Mikle Kolyada
2015-12-25 11:47 Andrey Grozin
2015-12-23 11:29 Ulrich Müller
2015-12-23 8:20 Ulrich Müller
2015-11-27 12:08 Andrey Grozin
2015-11-10 5:09 Andrey Grozin
2015-11-10 5:07 Andrey Grozin
2015-09-18 4:25 Andrey Grozin
2015-09-18 4:23 Andrey Grozin
2015-09-03 18:57 Andrey Grozin
2015-08-26 12:31 Guilherme Amadio
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=1616720185.f3eb23e2183025fcf28dbcf8f323cc961cc45f0a.mjo@gentoo \
--to=mjo@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