public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/
Date: Fri, 10 Jun 2016 19:12:11 +0000 (UTC)	[thread overview]
Message-ID: <1465585926.7d0eeef49b16891cf7e60c4c49f0b1f4272ec8c4.dilfridge@gentoo> (raw)

commit:     7d0eeef49b16891cf7e60c4c49f0b1f4272ec8c4
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 10 19:11:40 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 19:12:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d0eeef4

sci-visualization/gnuplot: Forward-port fixes from releases and remove triplicate eautoreconf calls

Package-Manager: portage-2.3.0_rc1

 sci-visualization/gnuplot/gnuplot-5.0.9999.ebuild | 30 +++++++++++++++++------
 sci-visualization/gnuplot/gnuplot-5.1.9999.ebuild | 27 +++++++++++++-------
 2 files changed, 40 insertions(+), 17 deletions(-)

diff --git a/sci-visualization/gnuplot/gnuplot-5.0.9999.ebuild b/sci-visualization/gnuplot/gnuplot-5.0.9999.ebuild
index ad098d2..74c3e3f 100644
--- a/sci-visualization/gnuplot/gnuplot-5.0.9999.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.0.9999.ebuild
@@ -4,13 +4,13 @@
 
 EAPI=5
 
-inherit eutils flag-o-matic multilib readme.gentoo-r1 toolchain-funcs wxwidgets
+inherit autotools eutils flag-o-matic multilib readme.gentoo-r1 toolchain-funcs wxwidgets
 
 DESCRIPTION="Command-line driven interactive plotting program"
 HOMEPAGE="http://www.gnuplot.info/"
 
 if [[ -z ${PV%%*9999} ]]; then
-	inherit autotools cvs
+	inherit cvs
 	ECVS_SERVER="gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot"
 	ECVS_MODULE="gnuplot"
 	ECVS_BRANCH="branch-5-0-stable"
@@ -23,7 +23,6 @@ else
 	MY_P="${P/_/.}"
 	SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
 	KEYWORDS="~alpha ~amd64 ~arm ~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"
-	inherit autotools
 fi
 
 LICENSE="gnuplot bitmap? ( free-noncomm )"
@@ -50,7 +49,7 @@ RDEPEND="
 	libcerf? ( sci-libs/libcerf )
 	svga? ( media-libs/svgalib )
 	wxwidgets? (
-		x11-libs/wxGTK:2.8[X]
+		x11-libs/wxGTK:3.0[X]
 		x11-libs/cairo
 		x11-libs/pango
 		x11-libs/gtk+:2 )
@@ -69,12 +68,14 @@ E_SITEFILE="lisp/50${PN}-gentoo.el"
 TEXMF="${EPREFIX}/usr/share/texmf-site"
 
 src_prepare() {
+	# Fix underlinking
+	epatch "${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
+
 	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
-		eautoreconf
 	fi
 
 	# Add special version identification as required by provision 2
@@ -98,6 +99,17 @@ src_prepare() {
 		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.'
+
+	mv configure.in configure.ac || 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() {
@@ -106,11 +118,13 @@ src_configure() {
 	fi
 
 	if use wxwidgets; then
-		WX_GTK_VER="2.8"
+		WX_GTK_VER="3.0"
 		need-wxwidgets unicode
 	fi
 
 	tc-export CC CXX			#453174
+	tc-export_build_env BUILD_CC
+	export CC_FOR_BUILD=${BUILD_CC}
 
 	econf \
 		--without-pdf \
@@ -131,13 +145,13 @@ src_configure() {
 		--enable-stats \
 		$(use_with qt4 qt qt4) \
 		$(use_enable wxwidgets) \
-		DIST_CONTACT="http://bugs.gentoo.org/" \
+		DIST_CONTACT="https://bugs.gentoo.org/" \
 		EMACS=no
 }
 
 src_compile() {
 	# Prevent access violations, see bug 201871
-	VARTEXFONTS="${T}/fonts"
+	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.

diff --git a/sci-visualization/gnuplot/gnuplot-5.1.9999.ebuild b/sci-visualization/gnuplot/gnuplot-5.1.9999.ebuild
index 989bfc8..5aa64ea 100644
--- a/sci-visualization/gnuplot/gnuplot-5.1.9999.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.1.9999.ebuild
@@ -4,13 +4,13 @@
 
 EAPI=5
 
-inherit eutils flag-o-matic multilib readme.gentoo-r1 toolchain-funcs wxwidgets
+inherit autotools eutils flag-o-matic multilib readme.gentoo-r1 toolchain-funcs wxwidgets
 
 DESCRIPTION="Command-line driven interactive plotting program"
 HOMEPAGE="http://www.gnuplot.info/"
 
 if [[ -z ${PV%%*9999} ]]; then
-	inherit autotools cvs
+	inherit cvs
 	ECVS_SERVER="gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot"
 	ECVS_MODULE="gnuplot"
 	ECVS_BRANCH="HEAD"
@@ -23,7 +23,6 @@ else
 	MY_P="${P/_/.}"
 	SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
 	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-	inherit autotools
 fi
 
 LICENSE="gnuplot bitmap? ( free-noncomm )"
@@ -50,7 +49,7 @@ RDEPEND="
 	libcerf? ( sci-libs/libcerf )
 	svga? ( media-libs/svgalib )
 	wxwidgets? (
-		x11-libs/wxGTK:2.8[X]
+		x11-libs/wxGTK:3.0[X]
 		x11-libs/cairo
 		x11-libs/pango
 		x11-libs/gtk+:2 )
@@ -74,10 +73,8 @@ src_prepare() {
 		for dir in config demo m4 term tutorial; do
 			emake -C "$dir" -f Makefile.am.in Makefile.am
 		done
-		eautoreconf
 	else
 		epatch "${FILESDIR}/${PN}-5.0_rc1-libcerf.patch"
-		eautoreconf
 	fi
 
 	# Add special version identification as required by provision 2
@@ -101,6 +98,16 @@ src_prepare() {
 		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() {
@@ -109,11 +116,13 @@ src_configure() {
 	fi
 
 	if use wxwidgets; then
-		WX_GTK_VER="2.8"
+		WX_GTK_VER="3.0"
 		need-wxwidgets unicode
 	fi
 
 	tc-export CC CXX			#453174
+	tc-export_build_env BUILD_CC
+	export CC_FOR_BUILD=${BUILD_CC}
 
 	econf \
 		--without-pdf \
@@ -134,13 +143,13 @@ src_configure() {
 		--enable-stats \
 		$(use_with qt4 qt qt4) \
 		$(use_enable wxwidgets) \
-		DIST_CONTACT="http://bugs.gentoo.org/" \
+		DIST_CONTACT="https://bugs.gentoo.org/" \
 		EMACS=no
 }
 
 src_compile() {
 	# Prevent access violations, see bug 201871
-	VARTEXFONTS="${T}/fonts"
+	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.


             reply	other threads:[~2016-06-10 19:12 UTC|newest]

Thread overview: 206+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10 19:12 Andreas Hüttel [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-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 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=1465585926.7d0eeef49b16891cf7e60c4c49f0b1f4272ec8c4.dilfridge@gentoo \
    --to=dilfridge@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