commit:     9b7379d0edebc7ec06b8a1245ade79c4fbdaa1a1
Author:     Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 12:47:50 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 12:47:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7379d0

dev-perl/PDL-Graphics-Gnuplot: Add use requirements for gnuplot, bug 622586

Depending on the Gnuplot compilation options, differents sets of terminals are 
available. When (on Linux) either X or Qt4 terminals are enabled, one
of these automatically becomes default terminal after program start. This can 
be verified with "show terminal", and in this case also
PDL::Graphics::Gnuplot works fine.

However, if both X and Qt4 terminal are disabled during compilation, the 
default terminal after gnuplot start is "unknown", meaning it's not
functional (and a terminal has to be selected first). This makes the 
PDL::Graphics::Gnuplot tests fail, and probably also its functionality.

See also https://github.com/drzowie/PDL-Graphics-Gnuplot/issues/66

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0.ebuild 
b/dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0.ebuild
index b27d7b865cc..a7c38c9b1ff 100644
--- a/dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0.ebuild
+++ b/dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0.ebuild
@@ -23,6 +23,7 @@ RDEPEND="
        dev-perl/Safe-Isa
        virtual/perl-Storable
        virtual/perl-Time-HiRes
+       || ( sci-visualization/gnuplot[X] sci-visualization/gnuplot[qt4] )
 "
 DEPEND="${RDEPEND}
        >=virtual/perl-ExtUtils-MakeMaker-6.480.0

Reply via email to