From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6311213829C for ; Fri, 10 Jun 2016 19:12:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BAA921C038; Fri, 10 Jun 2016 19:12:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECCF921C038 for ; Fri, 10 Jun 2016 19:12:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00DB1340C9D for ; Fri, 10 Jun 2016 19:12:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2C1F9F4 for ; Fri, 10 Jun 2016 19:12:11 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1465585926.7d0eeef49b16891cf7e60c4c49f0b1f4272ec8c4.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gnuplot/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/gnuplot/gnuplot-5.0.9999.ebuild sci-visualization/gnuplot/gnuplot-5.1.9999.ebuild X-VCS-Directories: sci-visualization/gnuplot/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: 7d0eeef49b16891cf7e60c4c49f0b1f4272ec8c4 X-VCS-Branch: master Date: Fri, 10 Jun 2016 19:12:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2c4df763-c4cd-4f14-9572-3fe4c77d88b7 X-Archives-Hash: 4bf02981495f983a75f6b7fc186f852e commit: 7d0eeef49b16891cf7e60c4c49f0b1f4272ec8c4 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Jun 10 19:11:40 2016 +0000 Commit: Andreas Hüttel gentoo 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.