public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/spyview/files/, sci-visualization/spyview/
Date: Mon,  6 Feb 2017 19:32:01 +0000 (UTC)	[thread overview]
Message-ID: <1486409413.1a181c4f6c61cb3bc1c11fa700add911613d2bd8.soap@gentoo> (raw)

commit:     1a181c4f6c61cb3bc1c11fa700add911613d2bd8
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Mon Jan 30 22:01:25 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 19:30:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a181c4f

sci-visualization/spyview: Fix 20150124 ebuild

Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/3731

 .../spyview-20150124-gnuplot_interface_fix.patch      | 10 ++++++++++
 sci-visualization/spyview/spyview-20150124.ebuild     | 19 ++++++++++---------
 2 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/sci-visualization/spyview/files/spyview-20150124-gnuplot_interface_fix.patch b/sci-visualization/spyview/files/spyview-20150124-gnuplot_interface_fix.patch
new file mode 100644
index 00000000..6f15296
--- /dev/null
+++ b/sci-visualization/spyview/files/spyview-20150124-gnuplot_interface_fix.patch
@@ -0,0 +1,10 @@
+--- a/spyview/Gnuplot_Interface.C
++++ b/spyview/Gnuplot_Interface.C
+@@ -13,6 +13,7 @@
+ #else
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <sys/wait.h>
+ #endif
+ using namespace boost;
+ 

diff --git a/sci-visualization/spyview/spyview-20150124.ebuild b/sci-visualization/spyview/spyview-20150124.ebuild
index fd110c3..2127793 100644
--- a/sci-visualization/spyview/spyview-20150124.ebuild
+++ b/sci-visualization/spyview/spyview-20150124.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
-inherit autotools flag-o-matic eutils multilib
+inherit autotools flag-o-matic
 
 DESCRIPTION="2D and 3D data visualization and analysis program"
 HOMEPAGE="http://nsweb.tn.tudelft.nl/~gsteele/spyview/"
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/gsteele13/spyview/archive/966012afae2fbb77262bd96a7e
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""  # no keywords since it doesnt build yet...
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 COMMON_DEPEND="
@@ -29,6 +29,8 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
 	sci-visualization/gnuplot"
 
+PATCHES=( ${FILESDIR}/${P}-gnuplot_interface_fix.patch )
+
 src_unpack() {
 	default
 	mv -v "${WORKDIR}"/spyview-*/source "${S}" || die
@@ -36,18 +38,17 @@ src_unpack() {
 
 src_prepare() {
 	append-cflags $(fltk-config --cflags)
-	append-cxxflags $(fltk-config --cxxflags) -I/usr/include/netpbm
+	append-cxxflags $(fltk-config --cxxflags)
+	append-cppflags -I"${EPREFIX}"/usr/include/netpbm
 
 	# append-ldflags $(fltk-config --ldflags)
 	# this one leads to an insane amount of warnings
 	append-ldflags -L$(dirname $(fltk-config --libs))
 
-	find "${S}" -name Makefile.am -exec sed -i -e 's:-mwindows -mconsole::g' {} + || die
+	while IFS="" read -d $'\0' -r file; do
+		sed -i -e 's:-mwindows -mconsole::g' "$file" || die
+	done < <(find "${S}" -name Makefile.am -print0)
 
 	default
 	eautoreconf
 }
-
-src_configure() {
-	econf --datadir=/usr/share/spyview --docdir=/usr/share/doc/${PF}
-}


             reply	other threads:[~2017-02-06 19:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06 19:32 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-16 18:44 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/spyview/files/, sci-visualization/spyview/ Andreas Hüttel
2017-04-18 16:36 Andreas Hüttel
2017-12-11 19:46 Michał Górny
2024-04-25 10:21 Andreas K. Hüttel
2024-12-26 17:50 Ionen Wolkens

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=1486409413.1a181c4f6c61cb3bc1c11fa700add911613d2bd8.soap@gentoo \
    --to=soap@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