From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/files/, sci-visualization/gnuplot/
Date: Fri, 12 Jan 2018 08:37:31 +0000 (UTC) [thread overview]
Message-ID: <1515746217.d16bf2294acc3e5d523da4a4c0544ae7a02d4558.ulm@gentoo> (raw)
commit: d16bf2294acc3e5d523da4a4c0544ae7a02d4558
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 08:35:46 2018 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 08:36:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16bf229
sci-visualization/gnuplot: New regis USE flag to enable ReGIS terminal.
Closes: https://bugs.gentoo.org/643888
Package-Manager: Portage-2.3.19, Repoman-2.3.6
.../gnuplot/files/gnuplot-5.2.2-regis.patch | 43 ++++++++++++++++++++++
sci-visualization/gnuplot/gnuplot-5.2.2.ebuild | 6 ++-
sci-visualization/gnuplot/metadata.xml | 1 +
3 files changed, 48 insertions(+), 2 deletions(-)
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch b/sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch
new file mode 100644
index 00000000000..613a028ee79
--- /dev/null
+++ b/sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch
@@ -0,0 +1,43 @@
+Add configure option for ReGIS support.
+https://bugs.gentoo.org/643888
+
+--- gnuplot-5.2.2-orig/configure.ac
++++ gnuplot-5.2.2/configure.ac
+@@ -1057,6 +1057,13 @@
+ AC_DEFINE(HAVE_MIF,1,
+ [ Define to include support for mif terminal ],))
+
++dnl ReGIS terminal
++AC_ARG_WITH(regis,dnl
++[ --with-regis ReGIS terminal])
++AS_IF([test "x${with_regis}" = "xyes"],
++ AC_DEFINE(HAVE_REGIS,1,
++ [ Define to include support for ReGIS terminal ],))
++
+ AC_ARG_WITH(cairo,dnl
+ [ --without-cairo cairo-based terminals (default enabled)],,
+ [test -z "${with_cairo}" && with_cairo=yes])
+@@ -1350,6 +1357,12 @@
+ AC_MSG_RESULT([ mif terminal: no (use --with-mif to enable)])
+ fi
+
++if test "$with_regis" = yes; then
++ AC_MSG_RESULT([ ReGIS terminal: yes])
++else
++ AC_MSG_RESULT([ ReGIS terminal: no (use --with-regis to enable)])
++fi
++
+ if test "$is_msdos" = yes; then
+ AC_MSG_RESULT([ svga terminal (MSDOS/djgpp): yes])
+ fi
+--- gnuplot-5.2.2-orig/src/term.h
++++ gnuplot-5.2.2/src/term.h
+@@ -182,7 +182,7 @@
+ #endif
+
+ /* REGIS graphics language */
+-#ifdef VMS
++#if defined(VMS) || defined(HAVE_REGIS)
+ # include "regis.trm"
+ #endif
+
diff --git a/sci-visualization/gnuplot/gnuplot-5.2.2.ebuild b/sci-visualization/gnuplot/gnuplot-5.2.2.ebuild
index 9948859c483..ee0a6fd1657 100644
--- a/sci-visualization/gnuplot/gnuplot-5.2.2.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,7 +26,7 @@ fi
LICENSE="gnuplot bitmap? ( free-noncomm )"
SLOT="0"
-IUSE="aqua bitmap cairo compat doc examples +gd ggi latex libcaca libcerf lua qt5 readline svga wxwidgets X"
+IUSE="aqua bitmap cairo compat doc examples +gd ggi latex libcaca libcerf lua qt5 readline regis svga wxwidgets X"
RDEPEND="
cairo? (
@@ -73,6 +73,7 @@ TEXMF="${EPREFIX}/usr/share/texmf-site"
src_prepare() {
eapply "${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
eapply "${FILESDIR}"/${PN}-5.0.6-no-picins.patch
+ eapply "${FILESDIR}"/${PN}-5.2.2-regis.patch
eapply_user
if [[ -z ${PV%%*9999} ]]; then
@@ -138,6 +139,7 @@ src_configure() {
"$(use_with libcaca caca "${EPREFIX}/usr/$(get_libdir)")" \
$(use_with libcerf) \
$(use_with lua) \
+ $(use_with regis) \
$(use_with svga linux-vga) \
$(use_with X x) \
--enable-stats \
diff --git a/sci-visualization/gnuplot/metadata.xml b/sci-visualization/gnuplot/metadata.xml
index 8700ea95739..6442566e482 100644
--- a/sci-visualization/gnuplot/metadata.xml
+++ b/sci-visualization/gnuplot/metadata.xml
@@ -27,6 +27,7 @@
<flag name="libcerf">Enable special functions from
<pkg>sci-libs/libcerf</pkg></flag>
<flag name="bitmap">Enable dot-matrix printers and pbm terminal</flag>
+ <flag name="regis">Enable ReGIS terminal</flag>
</use>
<upstream>
<remote-id type="sourceforge">gnuplot</remote-id>
next reply other threads:[~2018-01-12 8:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 8:37 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-03 9:57 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/files/, sci-visualization/gnuplot/ Ulrich Müller
2023-10-09 19:31 Ulrich Müller
2023-05-29 16:56 Ulrich Müller
2021-10-18 9:01 Ulrich Müller
2021-08-03 6:08 Ulrich Müller
2020-12-23 11:10 Ulrich Müller
2020-11-07 4:07 Ulrich Müller
2020-11-06 12:57 Ulrich Müller
2019-07-23 7:19 Ulrich Müller
2017-11-19 11:46 Ulrich Müller
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=1515746217.d16bf2294acc3e5d523da4a4c0544ae7a02d4558.ulm@gentoo \
--to=ulm@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