public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/
Date: Fri, 26 Oct 2018 19:05:26 +0000 (UTC)	[thread overview]
Message-ID: <1540580662.3e82f855518bde73a71f91b7117120c43b1f3390.ulm@gentoo> (raw)

commit:     3e82f855518bde73a71f91b7117120c43b1f3390
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 26 18:59:58 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 26 19:04:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e82f855

sci-visualization/gnuplot: Version bump.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-visualization/gnuplot/Manifest             |   1 +
 sci-visualization/gnuplot/gnuplot-5.2.5.ebuild | 210 +++++++++++++++++++++++++
 2 files changed, 211 insertions(+)

diff --git a/sci-visualization/gnuplot/Manifest b/sci-visualization/gnuplot/Manifest
index 03224b5074d..1595b67f156 100644
--- a/sci-visualization/gnuplot/Manifest
+++ b/sci-visualization/gnuplot/Manifest
@@ -1,3 +1,4 @@
 DIST gnuplot-5.0.7.tar.gz 5100186 BLAKE2B 97fcefa12148fc2b581113c5283eb09217e87858ae293931758d0bb595fd7aaca4671216956211a3d30492be35f91809a975c9c80c25861c477e9235a8b5b309 SHA512 5d7241dc1472f87af8632110a1e88f83b5ea3f41e1bc8c89a45dc4662a3071d91a25bf9ae5196a2b8bef09c8079c22f635bb947c02def3416d78880d61eea919
 DIST gnuplot-5.2.2.tar.gz 5282973 BLAKE2B a15c72aaa8d62079ea3e9f20fa9fe3aaaf6036cf8dc67a784dee79ac7bd0ad7bfac754c9583b50c46deeef2f1bcd920d1094a5d1e19a1dae75405de8c3249621 SHA512 51d5b2234dae358580cc2794ed63f8a5b950baf73edc5362f5bb18d77e8066c3c010239c3b29840db11e5936cb9381bb57193de751bd274af5547a45d6d88b0b
 DIST gnuplot-5.2.4.tar.gz 5292321 BLAKE2B a2eee046de6707ffcaf1a5b175601c18da14db350095a949deed0e241d8476c177e2cecb35eab3059234231ad4be42e5e8a9e3083651313cc4b5997156813c67 SHA512 b276e379fe5e493a176750d9ccd84a8b02c8784b1d8701dc4252945a7e9e0455eebba0085d0d98824a4acf5da0def3b71ad3362803365a32e7c29f18af7854bb
+DIST gnuplot-5.2.5.tar.gz 5305288 BLAKE2B e9ba602cb8ae8f5f24758fcf8dc4f6e7530fe0286370fdf02e01a19be073c4d93ac1d03f3e1f1154212e269124f1c5305a22814d19f6e6989d70d8e1fb68f8f5 SHA512 e516f33b678963e13c2464679efec6c387e57df4f92a57d319baec8bbd29ab46e545cd5d70b2d17644d734040892769da745b8a5441467dcdb8f9c892a493ca4

diff --git a/sci-visualization/gnuplot/gnuplot-5.2.5.ebuild b/sci-visualization/gnuplot/gnuplot-5.2.5.ebuild
new file mode 100644
index 00000000000..08d856ea631
--- /dev/null
+++ b/sci-visualization/gnuplot/gnuplot-5.2.5.ebuild
@@ -0,0 +1,210 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+fi
+
+LICENSE="gnuplot bitmap? ( free-noncomm )"
+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}
+	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_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; 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
+		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
+}


             reply	other threads:[~2018-10-26 19:05 UTC|newest]

Thread overview: 206+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-26 19:05 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-11  0:07 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/ Sam James
2024-11-10 13:37 Sam James
2024-11-10  6:40 Arthur Zamarin
2024-11-10  6:40 Arthur Zamarin
2024-11-09 17:04 Sam James
2024-11-09 17:04 Sam James
2024-11-09 16:25 Ulrich Müller
2024-08-28 18:23 Ulrich Müller
2024-08-03  9:57 Ulrich Müller
2024-03-09 20:04 Ulrich Müller
2024-02-22 20:33 Arthur Zamarin
2024-02-22 20:33 Arthur Zamarin
2024-02-08  9:43 Sam James
2024-02-08  8:28 Sam James
2024-02-08  8:28 Sam James
2024-02-08  8:28 Sam James
2024-02-08  8:21 Jakov Smolić
2024-01-13 12:05 Ulrich Müller
2023-11-24 14:31 Pacho Ramos
2023-11-16 20:14 Ulrich Müller
2023-10-09  4:57 Sam James
2023-10-09  4:21 Sam James
2023-10-09  3:51 Sam James
2023-10-09  3:40 Ulrich Müller
2023-10-09  3:40 Ulrich Müller
2023-08-12 15:50 Ulrich Müller
2023-05-29 16:56 Ulrich Müller
2023-05-29 16:56 Ulrich Müller
2023-05-19  9:15 Pacho Ramos
2023-04-23 10:39 Ulrich Müller
2023-03-26 17:42 Ulrich Müller
2023-03-26 17:42 Ulrich Müller
2022-12-02  1:06 Sam James
2022-12-02  1:06 Sam James
2022-12-02  0:46 Sam James
2022-12-02  0:46 Sam James
2022-12-02  0:46 Sam James
2022-12-01 22:28 Jakov Smolić
2022-12-01 22:24 Jakov Smolić
2022-12-01 20:59 Ulrich Müller
2022-11-29 18:06 WANG Xuerui
2022-07-28 17:37 Ulrich Müller
2022-03-26 18:46 Arthur Zamarin
2022-03-24  8:38 Agostino Sarubbo
2022-03-24  8:36 Agostino Sarubbo
2022-03-23  9:58 Jakov Smolić
2022-03-22 18:44 Jakov Smolić
2022-03-22 18:44 Jakov Smolić
2022-03-22 16:40 Sam James
2022-03-22 12:20 Ulrich Müller
2022-03-22 12:15 Ulrich Müller
2022-01-22 10:58 Ulrich Müller
2021-10-24 19:45 Sam James
2021-10-24 19:40 Sam James
2021-10-11 23:36 Sam James
2021-10-09 19:18 Sam James
2021-10-08 18:48 Agostino Sarubbo
2021-10-08  5:02 Sam James
2021-10-07  6:03 Agostino Sarubbo
2021-09-07  6:45 Ulrich Müller
2021-09-07  3:02 Sam James
2021-08-09  1:18 Sam James
2021-08-09  1:18 Sam James
2021-08-08 18:22 Ulrich Müller
2021-08-08 18:22 Ulrich Müller
2021-08-07 16:03 Ulrich Müller
2021-08-06 12:16 Sam James
2021-08-05 14:08 Sam James
2021-08-05  1:32 Sam James
2021-08-04 18:42 Agostino Sarubbo
2021-08-04  7:42 Ulrich Müller
2021-08-03 19:54 Ulrich Müller
2021-08-03  6:08 Ulrich Müller
2021-08-01 18:27 Sam James
2021-04-07 15:58 Ulrich Müller
2021-04-07 13:14 David Seifert
2021-03-31 10:56 Ulrich Müller
2021-01-24  3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:42 Sam James
2021-01-23  4:20 Sam James
2021-01-23  4:09 Sam James
2021-01-20 10:16 David Seifert
2021-01-06 15:20 Fabian Groffen
2020-12-27 18:09 Fabian Groffen
2020-12-21  9:41 Sergei Trofimovich
2020-12-20 16:40 Thomas Deutschmann
2020-12-18 10:25 Sergei Trofimovich
2020-12-17 12:48 Sam James
2020-12-17  8:02 Sam James
2020-12-17  0:48 Sam James
2020-12-16 15:17 Sam James
2020-12-16 10:18 Ulrich Müller
2020-12-16  9:03 Ulrich Müller
2020-11-30 18:22 Ulrich Müller
2020-11-06 15:47 Ulrich Müller
2020-11-06 14:18 Ulrich Müller
2020-11-06 13:26 Ulrich Müller
2020-11-06 12:57 Ulrich Müller
2020-11-04 20:46 Ulrich Müller
2020-11-04 20:46 Ulrich Müller
2020-11-04 20:46 Ulrich Müller
2020-06-28 20:44 Agostino Sarubbo
2020-06-28 20:37 Agostino Sarubbo
2020-06-28 20:33 Agostino Sarubbo
2020-06-28 20:30 Agostino Sarubbo
2020-06-28 16:48 Christoph Junghans
2020-06-27  9:09 Sergei Trofimovich
2020-06-26 17:43 Agostino Sarubbo
2020-04-10 19:04 Ulrich Müller
2020-04-10 19:04 Ulrich Müller
2020-04-10 19:04 Ulrich Müller
2020-04-10 19:04 Ulrich Müller
2019-12-01 18:54 Ulrich Müller
2019-11-22  9:59 Mikle Kolyada
2019-11-14 11:55 Agostino Sarubbo
2019-11-12 15:08 Agostino Sarubbo
2019-11-10 18:20 Aaron Bauman
2019-11-05  9:39 Agostino Sarubbo
2019-11-05  9:27 Agostino Sarubbo
2019-10-11 15:37 Michał Górny
2019-07-28 20:30 Ulrich Müller
2019-07-28 19:59 Mikle Kolyada
2019-07-23 20:03 Aaron Bauman
2019-07-19 11:33 Agostino Sarubbo
2019-07-18 11:43 Agostino Sarubbo
2019-07-18 11:31 Agostino Sarubbo
2019-07-17 15:24 Agostino Sarubbo
2019-07-16  9:08 Ulrich Müller
2019-07-14  9:11 Sergei Trofimovich
2019-07-12 13:33 Agostino Sarubbo
2019-07-12 10:18 Ulrich Müller
2019-07-12 10:18 Ulrich Müller
2019-05-20 17:22 Aaron Bauman
2019-04-02 12:18 Mikle Kolyada
2019-04-01 19:58 Thomas Deutschmann
2019-03-24 12:43 Ulrich Müller
2019-03-24 12:43 Ulrich Müller
2019-03-20 11:23 Mikle Kolyada
2019-03-17 23:02 Sergei Trofimovich
2019-03-16 22:55 Sergei Trofimovich
2019-03-15 22:40 Mikle Kolyada
2018-10-26 19:05 Ulrich Müller
2018-08-30 16:36 Ulrich Müller
2018-08-29 21:21 Ulrich Müller
2018-08-29 21:21 Ulrich Müller
2018-08-29 21:21 Ulrich Müller
2018-08-29 21:21 Ulrich Müller
2018-05-31 22:05 Mikle Kolyada
2018-05-29 20:05 Markus Meier
2018-05-14 19:21 Tobias Klausmann
2018-05-09 21:46 Sergei Trofimovich
2018-05-08 19:36 Andreas Sturmlechner
2018-05-07 23:55 Thomas Deutschmann
2018-05-07 22:16 Mikle Kolyada
2018-05-07 20:39 Ulrich Müller
2018-05-06 18:52 Matt Turner
2018-04-18 20:41 Sergei Trofimovich
2018-04-16 21:34 Mikle Kolyada
2018-04-01 10:00 Tobias Klausmann
2018-03-17 10:09 Mikle Kolyada
2018-03-15 22:59 Sergei Trofimovich
2018-01-22 18:24 Markus Meier
2017-12-16 13:38 Ulrich Müller
2017-12-16 13:35 Ulrich Müller
2017-12-15  9:23 Jason Zaman
2017-11-23 11:54 Tobias Klausmann
2017-11-20 23:11 Sergei Trofimovich
2017-11-19 19:31 Sergei Trofimovich
2017-11-19 19:23 Sergei Trofimovich
2017-11-19 18:35 Sergei Trofimovich
2017-11-19 14:35 Ulrich Müller
2017-11-19 14:35 Ulrich Müller
2017-11-19 14:35 Ulrich Müller
2017-11-19 14:35 Ulrich Müller
2017-11-19 12:43 Ulrich Müller
2017-11-19 12:32 Ulrich Müller
2017-11-19 11:51 Ulrich Müller
2017-11-19 11:46 Ulrich Müller
2017-11-19 11:46 Ulrich Müller
2017-07-10 22:50 Christoph Junghans
2017-06-21  9:44 Alexis Ballier
2017-01-15  8:50 Ulrich Müller
2017-01-14 23:04 Christoph Junghans
2017-01-14 23:04 Christoph Junghans
2017-01-14 23:04 Christoph Junghans
2016-11-25 18:57 Pacho Ramos
2016-11-14  2:01 Christoph Junghans
2016-10-21 22:36 Andreas Hüttel
2016-10-21  6:39 Ulrich Müller
2016-10-21  6:39 Ulrich Müller
2016-09-14 17:16 Christoph Junghans
2016-09-11 10:00 Jeroen Roovers
2016-06-14 12:09 Tobias Klausmann
2016-06-12 19:50 Markus Meier
2016-06-10 19:12 Andreas Hüttel
2016-06-10 16:09 Andreas Hüttel
2016-03-17 11:56 Agostino Sarubbo
2016-03-07 16:11 Christoph Junghans
2016-01-29 22:53 Mike Frysinger
2015-12-23 14:53 Ulrich Müller
2015-12-23  0:00 Ulrich Müller
2015-12-18 13:53 Ulrich Müller
2015-12-18 13:53 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=1540580662.3e82f855518bde73a71f91b7117120c43b1f3390.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