summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-12-23 12:09:25 +0100
committerUlrich Müller <ulm@gentoo.org>2020-12-23 12:09:25 +0100
commitfdf3652cd3166e4c6770ca87f89343ee7f16fc2f (patch)
tree7ef5548cd07a0d1bc0ee3764c9f7cb97c9be0d12 /sci-visualization/gnuplot
parentpython-r1.eclass: Support PYTHON_SINGLE_USEDEP in any-dep API (diff)
downloadgentoo-fdf3652cd3166e4c6770ca87f89343ee7f16fc2f.tar.gz
gentoo-fdf3652cd3166e4c6770ca87f89343ee7f16fc2f.tar.bz2
gentoo-fdf3652cd3166e4c6770ca87f89343ee7f16fc2f.zip
sci-visualization/gnuplot: Remove old.
Bug: https://bugs.gentoo.org/746419 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'sci-visualization/gnuplot')
-rw-r--r--sci-visualization/gnuplot/Manifest1
-rw-r--r--sci-visualization/gnuplot/files/gnuplot-5.4.0-caca.patch46
-rw-r--r--sci-visualization/gnuplot/files/gnuplot-5.4.0-no-mouse.patch27
-rw-r--r--sci-visualization/gnuplot/files/gnuplot-5.4.0-pkg-config.patch40
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.2.8.ebuild215
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild213
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild206
7 files changed, 0 insertions, 748 deletions
diff --git a/sci-visualization/gnuplot/Manifest b/sci-visualization/gnuplot/Manifest
index a76b0f41f3c3..5e56dc1dc99f 100644
--- a/sci-visualization/gnuplot/Manifest
+++ b/sci-visualization/gnuplot/Manifest
@@ -1,3 +1,2 @@
DIST gnuplot-5.2.8.tar.gz 5340677 BLAKE2B 169f5bef44a64b3b7a5be40e28ea22ef24ebc7526fe13ab09e16495453c3922712603d63a03c3b4332368d2ae8cbe4ef57ec53e18bbb4ad2cde13e4cc534245a SHA512 513dff15236dcb58c3c5471cdaa0713242787dbf30ef860c3f69152cb87c6392e4973caff5eb178707bbb84c78548e806b2920864a37686bce49425fbfdc4e8c
-DIST gnuplot-5.4.0.tar.gz 5622595 BLAKE2B e42011fa49ba0440436a406737f03ad55359b337dce359c62c1b4f536f70ca07126cf04e3e0eef6e4b22340dfb0318f6890d7814ad55b38d60ee24a4bc570ca1 SHA512 abbb69ded9eed3a1e53caeeb7d75ee4e3532b1254640a3f38f00260e261e75f87744e3df4210b0db7c8c2acee9b25147524d5377b3f4305e2449b2e99ca58d66
DIST gnuplot-5.4.1.tar.gz 5608076 BLAKE2B 7b2c30acd16b1aec3be9341c019449882a9231afe196bb05dc5d7925681296986de2be3463ca19d62ff1cea6dece0586b6bc8a54881c4fc2ec372635264ebb3d SHA512 2371830636d4c9ee93e9d6566dc2889e96ece3660b63ef4cfb6514e233510e5abaf4f93863bbe9a418f11db8e3b12a15242556aae52bb69591ad7d26e6581121
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.4.0-caca.patch b/sci-visualization/gnuplot/files/gnuplot-5.4.0-caca.patch
deleted file mode 100644
index f92ac93ab018..000000000000
--- a/sci-visualization/gnuplot/files/gnuplot-5.4.0-caca.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From f76d96206a7251d62dbbd3879bf0ad6dfe1ec486 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
-Date: Sat, 7 Nov 2020 11:25:07 -0800
-Subject: [PATCH] Allow to build --with-caca but without mouse support
-
-EAM: slightly modified fix
-Bug #2351
----
- term/caca.trm | 9 +++++++--
- 1 file changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/term/caca.trm b/term/caca.trm
-index cf7c0d7c6..58606e2d8 100644
---- a/term/caca.trm
-+++ b/term/caca.trm
-@@ -1913,8 +1913,11 @@ CACA_process_events(void)
- CACA_result loop = CACA_loop;
- caca_event_t ev;
- const int event_mask =
-- CACA_EVENT_KEY_PRESS | CACA_EVENT_RESIZE | CACA_EVENT_QUIT |
-- CACA_EVENT_MOUSE_MOTION | CACA_EVENT_MOUSE_PRESS | CACA_EVENT_MOUSE_RELEASE;
-+ CACA_EVENT_KEY_PRESS | CACA_EVENT_RESIZE | CACA_EVENT_QUIT
-+#ifdef USE_MOUSE
-+ | CACA_EVENT_MOUSE_MOTION | CACA_EVENT_MOUSE_PRESS | CACA_EVENT_MOUSE_RELEASE
-+#endif
-+ ;
- static int mx = 0, my = 0; /* current mouse position */
- static unsigned long last_event_time = 0;
-
-@@ -2579,11 +2582,13 @@ CACA_modify_plots(unsigned int operations, int plotno)
- }
- }
-
-+#ifdef USE_MOUSE
- if (changed) {
- /* Replot only if something changed. */
- CACA_zoom_or_replot = TRUE;
- exec_event(GE_replot, 0, 0, 0, 0, 0);
- }
-+#endif
- }
-
-
---
-2.29.2
-
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.4.0-no-mouse.patch b/sci-visualization/gnuplot/files/gnuplot-5.4.0-no-mouse.patch
deleted file mode 100644
index 8133c3516edf..000000000000
--- a/sci-visualization/gnuplot/files/gnuplot-5.4.0-no-mouse.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From cfd9ff9408949ee58be9ba5a18b74ce4562f374a Mon Sep 17 00:00:00 2001
-From: Ethan A Merritt <merritt@u.washington.edu>
-Date: Fri, 6 Nov 2020 13:06:21 -0800
-Subject: [PATCH] make sure warning message about no mouse support is non-fatal
-
-Bug #2350
----
- src/set.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/set.c b/src/set.c
-index a697925bc..a6acf8fc6 100644
---- a/src/set.c
-+++ b/src/set.c
-@@ -3130,7 +3130,8 @@ set_mouse()
- PM_update_menu_items();
- #endif
- #else /* USE_MOUSE */
-- c_token++;
-+ while (!END_OF_COMMAND)
-+ c_token++;
- int_warn(NO_CARET, "this copy of gnuplot has no mouse support");
- #endif /* USE_MOUSE */
- }
---
-2.29.2
-
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.4.0-pkg-config.patch b/sci-visualization/gnuplot/files/gnuplot-5.4.0-pkg-config.patch
deleted file mode 100644
index aa98f27dc2b2..000000000000
--- a/sci-visualization/gnuplot/files/gnuplot-5.4.0-pkg-config.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 87034e509b366078b746a3a70e05aaf497e34585 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
-Date: Fri, 6 Nov 2020 13:25:02 +0100
-Subject: [PATCH] configure.ac: move PKG_PROG_PKG_CONFIG to the beginning of
- the file
-
-Bug #2349
----
- configure.ac | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 67ad1396c..606242ea3 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -88,6 +88,10 @@ AC_CHECK_MEMBERS([struct tm.tm_gmtoff, struct tm.__tm_gmtoff],,,[
- #include <sys/types.h>
- #include <time.h>])
-
-+dnl explicit call to PKG_PROG_PKG_CONFIG because the first call to
-+dnl PKG_CHECK_MODULES{,_NOFAIL} may not happen
-+PKG_PROG_PKG_CONFIG
-+
- AC_ARG_WITH(libcerf,dnl
- [ --without-libcerf build without special functions from libcerf (default enabled)],,
- [test -z "${with_libcerf}" && with_libcerf=yes])
-@@ -759,10 +763,6 @@ AC_ARG_ENABLE(raise-console,dnl
- fi
-
-
--dnl explicit call to PKG_PROG_PKG_CONFIG because the first call to
--dnl PKG_CHECK_MODULES may not happen
--PKG_PROG_PKG_CONFIG
--
- dnl wxWidgets terminal
-
- dnl wxWidgets terminal needs C++
---
-2.29.2
-
diff --git a/sci-visualization/gnuplot/gnuplot-5.2.8.ebuild b/sci-visualization/gnuplot/gnuplot-5.2.8.ebuild
deleted file mode 100644
index b741e27f8423..000000000000
--- a/sci-visualization/gnuplot/gnuplot-5.2.8.ebuild
+++ /dev/null
@@ -1,215 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic readme.gentoo-r1 toolchain-funcs wxwidgets
-
-DESCRIPTION="Command-line driven interactive plotting program"
-HOMEPAGE="http://www.gnuplot.info/"
-
-if [[ -z ${PV%%*9999} ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.code.sf.net/p/gnuplot/gnuplot-main"
- EGIT_BRANCH="branch-5-2-stable"
- MY_P="${PN}"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${MY_P}"
-else
- MY_P="${P/_/.}"
- SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
-
-LICENSE="gnuplot"
-SLOT="0"
-IUSE="aqua bitmap cairo compat doc examples +gd ggi latex libcaca libcerf lua qt5 readline regis svga wxwidgets X"
-
-RDEPEND="
- cairo? (
- x11-libs/cairo
- x11-libs/pango )
- gd? ( >=media-libs/gd-2.0.35-r3:2=[png] )
- ggi? ( media-libs/libggi )
- latex? (
- virtual/latex-base
- lua? (
- dev-tex/pgf
- >=dev-texlive/texlive-latexrecommended-2008-r2 ) )
- libcaca? ( media-libs/libcaca )
- lua? ( dev-lang/lua:0 )
- qt5? (
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtnetwork:5=
- dev-qt/qtprintsupport:5=
- dev-qt/qtsvg:5=
- dev-qt/qtwidgets:5= )
- readline? ( sys-libs/readline:0= )
- libcerf? ( sci-libs/libcerf )
- svga? ( media-libs/svgalib )
- wxwidgets? (
- x11-libs/wxGTK:3.0[X]
- x11-libs/cairo
- x11-libs/pango
- x11-libs/gtk+:2 )
- X? ( x11-libs/libXaw )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- virtual/pkgconfig
- doc? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- app-text/ghostscript-gpl )
- qt5? ( dev-qt/linguist-tools:5 )"
-
-S="${WORKDIR}/${MY_P}"
-
-GP_VERSION="${PV%.*}"
-E_SITEFILE="lisp/50${PN}-gentoo.el"
-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 "${FILESDIR}"/${PN}-5.2.8-caca.patch
- eapply_user
-
- if [[ -z ${PV%%*9999} ]]; then
- local dir
- for dir in config demo m4 term tutorial; do
- emake -C "$dir" -f Makefile.am.in Makefile.am
- done
- fi
-
- # Add special version identification as required by provision 2
- # of the gnuplot license
- sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die
-
- DOC_CONTENTS='Gnuplot no longer links against pdflib, see the ChangeLog
- for details. You can use the "pdfcairo" terminal for PDF output.'
- use cairo || DOC_CONTENTS+=' It is available with USE="cairo".'
- use svga && DOC_CONTENTS+='\n\nIn order to enable ordinary users to use
- SVGA console graphics, gnuplot needs to be set up as setuid root.
- Please note that this is usually considered to be a security hazard.
- As root, manually "chmod u+s /usr/bin/gnuplot".'
- use gd && DOC_CONTENTS+="\n\nFor font support in png/jpeg/gif output,
- you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT
- environment variables. See the FAQ file in /usr/share/doc/${PF}/
- for more information."
-
- eautoreconf
-
- # Make sure we don't mix build & host flags.
- sed -i \
- -e 's:@CPPFLAGS@:$(BUILD_CPPFLAGS):' \
- -e 's:@CFLAGS@:$(BUILD_CFLAGS):' \
- -e 's:@LDFLAGS@:$(BUILD_LDFLAGS):' \
- -e 's:@CC@:$(CC_FOR_BUILD):' \
- docs/Makefile.in || die
-}
-
-src_configure() {
- if ! use latex; then
- sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die
- fi
-
- if use wxwidgets; then
- WX_GTK_VER="3.0"
- setup-wxwidgets
- fi
-
- tc-export CC CXX #453174
- tc-export_build_env BUILD_CC
- export CC_FOR_BUILD=${BUILD_CC}
-
- use qt5 && append-cxxflags -std=c++11
-
- econf \
- --with-texdir="${TEXMF}/tex/latex/${PN}" \
- --with-readline=$(usex readline gnu builtin) \
- $(use_with bitmap bitmap-terminals) \
- $(use_with cairo) \
- $(use_enable compat backwards-compatibility) \
- $(use_with doc tutorial) \
- $(use_with gd) \
- "$(use_with ggi ggi "${EPREFIX}/usr/$(get_libdir)")" \
- "$(use_with ggi xmi "${EPREFIX}/usr/$(get_libdir)")" \
- "$(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 \
- $(use_with qt5 qt qt5) \
- $(use_enable wxwidgets) \
- DIST_CONTACT="https://bugs.gentoo.org/" \
- EMACS=no
-}
-
-src_compile() {
- # Prevent access violations, see bug 201871
- export VARTEXFONTS="${T}/fonts"
-
- # We believe that the following line is no longer needed.
- # In case of problems file a bug report at bugs.gentoo.org.
- #addwrite /dev/svga:/dev/mouse:/dev/tts/0
-
- emake all
-
- if use doc; then
- # Avoid sandbox violation in epstopdf/ghostscript
- addpredict /var/cache/fontconfig
- if use cairo && use gd; then
- emake -C docs pdf
- else
- ewarn "Cannot build figures unless cairo and gd are enabled."
- ewarn "Building documentation without figures."
- emake -C docs pdf_nofig
- mv docs/nofigures.pdf docs/gnuplot.pdf || die
- fi
- emake -C tutorial pdf
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dodoc BUGS ChangeLog NEWS PGPKEYS README* RELEASE_NOTES TODO
- newdoc term/PostScript/README README-ps
- newdoc term/js/README README-js
- use lua && newdoc term/lua/README README-lua
- readme.gentoo_create_doc
-
- if use examples; then
- # Demo files
- insinto /usr/share/${PN}/${GP_VERSION}
- doins -r demo
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile*
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary*
- fi
-
- if use doc; then
- # Manual, tutorial, FAQ
- dodoc docs/gnuplot.pdf tutorial/{tutorial.dvi,tutorial.pdf} FAQ.pdf
- # Documentation for making PostScript files
- docinto psdoc
- dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
- fi
-}
-
-src_test() {
- GNUTERM="unknown" default_src_test
-}
-
-pkg_postinst() {
- use latex && texmf-update
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- use latex && texmf-update
-}
diff --git a/sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild
deleted file mode 100644
index 47013ca921da..000000000000
--- a/sci-visualization/gnuplot/gnuplot-5.4.0-r100.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1,2,3} )
-
-inherit autotools flag-o-matic lua-single readme.gentoo-r1 toolchain-funcs wxwidgets
-
-DESCRIPTION="Command-line driven interactive plotting program"
-HOMEPAGE="http://www.gnuplot.info/"
-
-if [[ -z ${PV%%*9999} ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.code.sf.net/p/gnuplot/gnuplot-main"
- EGIT_BRANCH="master"
- MY_P="${PN}"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${MY_P}"
-else
- MY_P="${P/_/.}"
- SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="gnuplot"
-SLOT="0"
-IUSE="aqua bitmap cairo doc examples +gd ggi latex libcaca libcerf lua qt5 readline regis wxwidgets X"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
-
-RDEPEND="
- cairo? (
- x11-libs/cairo
- x11-libs/pango )
- gd? ( >=media-libs/gd-2.0.35-r3:2=[png] )
- ggi? ( media-libs/libggi )
- latex? (
- virtual/latex-base
- lua? (
- dev-tex/pgf
- >=dev-texlive/texlive-latexrecommended-2008-r2 ) )
- libcaca? ( media-libs/libcaca )
- lua? ( ${LUA_DEPS} )
- qt5? (
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtnetwork:5=
- dev-qt/qtprintsupport:5=
- dev-qt/qtsvg:5=
- dev-qt/qtwidgets:5= )
- readline? ( sys-libs/readline:0= )
- libcerf? ( sci-libs/libcerf )
- wxwidgets? (
- x11-libs/wxGTK:3.0-gtk3[X]
- x11-libs/cairo
- x11-libs/pango
- x11-libs/gtk+:3 )
- X? ( x11-libs/libXaw )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- virtual/pkgconfig
- doc? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-langgreek
- app-text/ghostscript-gpl )
- qt5? ( dev-qt/linguist-tools:5 )"
-
-GP_VERSION="${PV%.*}"
-E_SITEFILE="lisp/50${PN}-gentoo.el"
-TEXMF="${EPREFIX}/usr/share/texmf-site"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
- "${FILESDIR}"/${PN}-5.0.6-no-picins.patch
- "${FILESDIR}"/${P}-pkg-config.patch
- "${FILESDIR}"/${P}-no-mouse.patch
- "${FILESDIR}"/${P}-caca.patch
-)
-
-pkg_setup() {
- use lua && lua-single_pkg_setup
-}
-
-src_prepare() {
- default
-
- if [[ ${PV##*.} = 9999 ]]; then
- local dir
- for dir in config demo m4 term tutorial; do
- emake -C "$dir" -f Makefile.am.in Makefile.am
- done
- fi
-
- # Add special version identification as required by provision 2
- # of the gnuplot license
- sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die
-
- eautoreconf
-
- # Make sure we don't mix build & host flags.
- sed -i \
- -e 's:@CPPFLAGS@:$(BUILD_CPPFLAGS):' \
- -e 's:@CFLAGS@:$(BUILD_CFLAGS):' \
- -e 's:@LDFLAGS@:$(BUILD_LDFLAGS):' \
- -e 's:@CC@:$(CC_FOR_BUILD):' \
- docs/Makefile.in || die
-}
-
-src_configure() {
- if ! use latex; then
- sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die
- fi
-
- if use wxwidgets; then
- WX_GTK_VER="3.0-gtk3"
- setup-wxwidgets
- fi
-
- tc-export CC CXX #453174
- tc-export_build_env BUILD_CC
- export CC_FOR_BUILD=${BUILD_CC}
-
- use qt5 && append-cxxflags -std=c++11
-
- econf \
- --with-texdir="${TEXMF}/tex/latex/${PN}" \
- --with-readline=$(usex readline gnu builtin) \
- $(use_with bitmap bitmap-terminals) \
- $(use_with cairo) \
- $(use_with gd) \
- "$(use_with ggi ggi "${EPREFIX}/usr/$(get_libdir)")" \
- "$(use_with libcaca caca "${EPREFIX}/usr/$(get_libdir)")" \
- $(use_with libcerf) \
- $(use_with lua) \
- $(use_with regis) \
- $(use_with X x) \
- --enable-stats \
- $(use_with qt5 qt qt5) \
- $(use_enable wxwidgets) \
- DIST_CONTACT="https://bugs.gentoo.org/" \
- EMACS=no
-}
-
-src_compile() {
- # Prevent access violations, see bug 201871
- export VARTEXFONTS="${T}/fonts"
-
- emake all
-
- if use doc; then
- # Avoid sandbox violation in epstopdf/ghostscript
- addpredict /var/cache/fontconfig
- if use cairo; then
- emake -C docs pdf
- else
- ewarn "Cannot build figures unless cairo is enabled."
- ewarn "Building documentation without figures."
- emake -C docs pdf_nofig
- mv docs/nofigures.pdf docs/gnuplot.pdf || die
- fi
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dodoc BUGS NEWS PGPKEYS README* RELEASE_NOTES
- newdoc term/PostScript/README README-ps
- newdoc term/js/README README-js
- use lua && newdoc term/lua/README README-lua
-
- local DOC_CONTENTS='Gnuplot no longer links against pdflib. You can
- use the "pdfcairo" terminal for PDF output.'
- use cairo || DOC_CONTENTS+=' It is available with USE="cairo".'
- use gd && DOC_CONTENTS+="\n\nFor font support in png/jpeg/gif output,
- you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT
- environment variables. See the FAQ file in /usr/share/doc/${PF}/
- for more information."
- readme.gentoo_create_doc
-
- if use examples; then
- # Demo files
- insinto /usr/share/${PN}/${GP_VERSION}
- doins -r demo
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile*
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary*
- fi
-
- if use doc; then
- # Manual, FAQ
- dodoc docs/gnuplot.pdf FAQ.pdf
- # Documentation for making PostScript files
- docinto psdoc
- dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
- fi
-}
-
-src_test() {
- emake check GNUTERM="dumb"
-}
-
-pkg_postinst() {
- use latex && texmf-update
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- use latex && texmf-update
-}
diff --git a/sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild
deleted file mode 100644
index a05cfa6234c7..000000000000
--- a/sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild
+++ /dev/null
@@ -1,206 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic readme.gentoo-r1 toolchain-funcs wxwidgets
-
-DESCRIPTION="Command-line driven interactive plotting program"
-HOMEPAGE="http://www.gnuplot.info/"
-
-if [[ -z ${PV%%*9999} ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.code.sf.net/p/gnuplot/gnuplot-main"
- EGIT_BRANCH="master"
- MY_P="${PN}"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${MY_P}"
-else
- MY_P="${P/_/.}"
- SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="gnuplot"
-SLOT="0"
-IUSE="aqua bitmap cairo doc examples +gd ggi latex libcaca libcerf lua qt5 readline regis wxwidgets X"
-
-RDEPEND="
- cairo? (
- x11-libs/cairo
- x11-libs/pango )
- gd? ( >=media-libs/gd-2.0.35-r3:2=[png] )
- ggi? ( media-libs/libggi )
- latex? (
- virtual/latex-base
- lua? (
- dev-tex/pgf
- >=dev-texlive/texlive-latexrecommended-2008-r2 ) )
- libcaca? ( media-libs/libcaca )
- lua? ( dev-lang/lua:0 )
- qt5? (
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtnetwork:5=
- dev-qt/qtprintsupport:5=
- dev-qt/qtsvg:5=
- dev-qt/qtwidgets:5= )
- readline? ( sys-libs/readline:0= )
- libcerf? ( sci-libs/libcerf )
- wxwidgets? (
- x11-libs/wxGTK:3.0-gtk3[X]
- x11-libs/cairo
- x11-libs/pango
- x11-libs/gtk+:3 )
- X? ( x11-libs/libXaw )"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- virtual/pkgconfig
- doc? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-langgreek
- app-text/ghostscript-gpl )
- qt5? ( dev-qt/linguist-tools:5 )"
-
-GP_VERSION="${PV%.*}"
-E_SITEFILE="lisp/50${PN}-gentoo.el"
-TEXMF="${EPREFIX}/usr/share/texmf-site"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
- "${FILESDIR}"/${PN}-5.0.6-no-picins.patch
- "${FILESDIR}"/${P}-pkg-config.patch
- "${FILESDIR}"/${P}-no-mouse.patch
- "${FILESDIR}"/${P}-caca.patch
-)
-
-src_prepare() {
- default
-
- if [[ ${PV##*.} = 9999 ]]; then
- local dir
- for dir in config demo m4 term tutorial; do
- emake -C "$dir" -f Makefile.am.in Makefile.am
- done
- fi
-
- # Add special version identification as required by provision 2
- # of the gnuplot license
- sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die
-
- eautoreconf
-
- # Make sure we don't mix build & host flags.
- sed -i \
- -e 's:@CPPFLAGS@:$(BUILD_CPPFLAGS):' \
- -e 's:@CFLAGS@:$(BUILD_CFLAGS):' \
- -e 's:@LDFLAGS@:$(BUILD_LDFLAGS):' \
- -e 's:@CC@:$(CC_FOR_BUILD):' \
- docs/Makefile.in || die
-}
-
-src_configure() {
- if ! use latex; then
- sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die
- fi
-
- if use wxwidgets; then
- WX_GTK_VER="3.0-gtk3"
- setup-wxwidgets
- fi
-
- tc-export CC CXX #453174
- tc-export_build_env BUILD_CC
- export CC_FOR_BUILD=${BUILD_CC}
-
- use qt5 && append-cxxflags -std=c++11
-
- econf \
- --with-texdir="${TEXMF}/tex/latex/${PN}" \
- --with-readline=$(usex readline gnu builtin) \
- $(use_with bitmap bitmap-terminals) \
- $(use_with cairo) \
- $(use_with gd) \
- "$(use_with ggi ggi "${EPREFIX}/usr/$(get_libdir)")" \
- "$(use_with libcaca caca "${EPREFIX}/usr/$(get_libdir)")" \
- $(use_with libcerf) \
- $(use_with lua) \
- $(use_with regis) \
- $(use_with X x) \
- --enable-stats \
- $(use_with qt5 qt qt5) \
- $(use_enable wxwidgets) \
- DIST_CONTACT="https://bugs.gentoo.org/" \
- EMACS=no
-}
-
-src_compile() {
- # Prevent access violations, see bug 201871
- export VARTEXFONTS="${T}/fonts"
-
- emake all
-
- if use doc; then
- # Avoid sandbox violation in epstopdf/ghostscript
- addpredict /var/cache/fontconfig
- if use cairo; then
- emake -C docs pdf
- else
- ewarn "Cannot build figures unless cairo is enabled."
- ewarn "Building documentation without figures."
- emake -C docs pdf_nofig
- mv docs/nofigures.pdf docs/gnuplot.pdf || die
- fi
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dodoc BUGS NEWS PGPKEYS README* RELEASE_NOTES
- newdoc term/PostScript/README README-ps
- newdoc term/js/README README-js
- use lua && newdoc term/lua/README README-lua
-
- local DOC_CONTENTS='Gnuplot no longer links against pdflib. You can
- use the "pdfcairo" terminal for PDF output.'
- use cairo || DOC_CONTENTS+=' It is available with USE="cairo".'
- use gd && DOC_CONTENTS+="\n\nFor font support in png/jpeg/gif output,
- you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT
- environment variables. See the FAQ file in /usr/share/doc/${PF}/
- for more information."
- readme.gentoo_create_doc
-
- if use examples; then
- # Demo files
- insinto /usr/share/${PN}/${GP_VERSION}
- doins -r demo
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile*
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary*
- fi
-
- if use doc; then
- # Manual, FAQ
- dodoc docs/gnuplot.pdf FAQ.pdf
- # Documentation for making PostScript files
- docinto psdoc
- dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
- fi
-}
-
-src_test() {
- emake check GNUTERM="dumb"
-}
-
-pkg_postinst() {
- use latex && texmf-update
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- use latex && texmf-update
-}