public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dataplot/
@ 2016-02-17 14:06 Justin Lecher
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2016-02-17 14:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e64b5d58dddafae9975f26ca43959561aba6f724
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 17 14:04:25 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 17 14:06:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64b5d58

sci-mathematics/dataplot: REQUIRE USE=X for USE=opengl

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=574958

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-mathematics/dataplot/dataplot-20090821.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/dataplot/dataplot-20090821.ebuild b/sci-mathematics/dataplot/dataplot-20090821.ebuild
index c646b4b..5b67730 100644
--- a/sci-mathematics/dataplot/dataplot-20090821.ebuild
+++ b/sci-mathematics/dataplot/dataplot-20090821.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -24,6 +24,8 @@ LICENSE="public-domain"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="examples gd opengl X"
 
+REQUIRED_USE="opengl? ( X )"
+
 COMMON_DEPEND="
 	media-libs/plotutils
 	opengl? ( virtual/opengl )


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dataplot/
@ 2021-02-27  6:19 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-02-27  6:19 UTC (permalink / raw
  To: gentoo-commits

commit:     3281e8ef05713154e59c8c84c5f73ad5eb00e080
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 06:14:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 06:19:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3281e8ef

sci-mathematics/dataplot: fix build with gcc 10

Closes: https://bugs.gentoo.org/707176
Closes: https://bugs.gentoo.org/722208
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/dataplot/dataplot-20131220.ebuild | 25 +++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/dataplot/dataplot-20131220.ebuild b/sci-mathematics/dataplot/dataplot-20131220.ebuild
index 11d223e7d7f..ea559f7ade9 100644
--- a/sci-mathematics/dataplot/dataplot-20131220.ebuild
+++ b/sci-mathematics/dataplot/dataplot-20131220.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils fortran-2 toolchain-funcs autotools
+inherit autotools fortran-2 flag-o-matic toolchain-funcs
 
 #     YEAR         MONTH    DAY
 MY_PV=${PV:0:4}_${PV:4:2}_${PV:6:2}
@@ -17,6 +17,7 @@ HOMEPAGE="https://www.itl.nist.gov/div898/software/dataplot/"
 SRC_URI="
 	ftp://ftp.nist.gov/pub/dataplot/unix/${MY_P}.tar.gz
 	ftp://ftp.nist.gov/pub/dataplot/unix/${MY_P_AUX}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 SLOT="0"
 LICENSE="public-domain"
@@ -34,7 +35,6 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
 	X? ( x11-misc/xdg-utils )"
 
-S="${WORKDIR}/${MY_P}"
 S_AUX="${WORKDIR}/${MY_P_AUX}"
 
 PATCHES=( "${FILESDIR}"/${PN}-20090821-opengl.patch )
@@ -43,9 +43,11 @@ src_unpack() {
 	# unpacking and renaming because
 	# upstream does not use directories
 	mkdir "${S_AUX}" || die
+
 	pushd "${S_AUX}" > /dev/null || die
 	unpack ${MY_P_AUX}.tar.gz
 	popd > /dev/null || die
+
 	mkdir ${MY_P} || die
 	cd "${S}" || die
 	unpack ${MY_P}.tar.gz
@@ -53,11 +55,21 @@ src_unpack() {
 
 src_prepare() {
 	default
+
+	# bug #707176
+	append-cflags -fcommon
+	# bug #722208
+	append-fflags $(test-flags-FC -fallow-invalid-boz)
+	# another Fortran issue
+	append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
 	cp "${FILESDIR}"/Makefile.am.${PV} Makefile.am || die
 	cp "${FILESDIR}"/configure.ac.${PV} configure.ac || die
+
 	sed -e "s:IHOST1='SUN':IHOST1='@HOST@:" \
 		-e "s:/usr/local/lib:@datadir@:g" \
 		dp1_linux.f > dp1_linux.f.in || die
+
 	sed -e "s/(MAXOBV=.*)/(MAXOBV=@MAXOBV@)/" \
 		-e "s:/usr/local/lib:@datadir@:g" \
 		DPCOPA.INC > DPCOPA.INC.in || die
@@ -76,9 +88,10 @@ src_install() {
 	default
 
 	if use examples; then
-		insinto /usr/share/doc/${PF}/examples
-		doins -r "${S_AUX}"/data/*
+		docinto examples
+		dodoc -r "${S_AUX}"/data/*
 	fi
+
 	insinto /usr/share/dataplot
 	doins "${S_AUX}"/dp{mes,sys,log}f.tex
 	doenvd "${FILESDIR}"/90${PN}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dataplot/
@ 2022-10-06 13:06 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2022-10-06 13:06 UTC (permalink / raw
  To: gentoo-commits

commit:     069405d0726c3baac4c091c972c15c3ee08b79d7
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 13:06:22 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 13:06:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=069405d0

sci-mathematics/dataplot: add missing bdepend

Closes: https://bugs.gentoo.org/728890
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-mathematics/dataplot/dataplot-20131220.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/dataplot/dataplot-20131220.ebuild b/sci-mathematics/dataplot/dataplot-20131220.ebuild
index ea559f7ade99..ddad933a3c40 100644
--- a/sci-mathematics/dataplot/dataplot-20131220.ebuild
+++ b/sci-mathematics/dataplot/dataplot-20131220.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,6 +34,7 @@ DEPEND="${COMMON_DEPEND}
 	virtual/pkgconfig"
 RDEPEND="${COMMON_DEPEND}
 	X? ( x11-misc/xdg-utils )"
+BDEPEND="media-libs/gd"
 
 S_AUX="${WORKDIR}/${MY_P_AUX}"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-06 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06 13:06 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dataplot/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-02-27  6:19 Sam James
2016-02-17 14:06 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox