From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1214139085 for ; Sun, 29 Jan 2017 12:00:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D644E0D92; Sun, 29 Jan 2017 11:59:59 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0E7DBE0D92 for ; Sun, 29 Jan 2017 11:59:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B234D341670 for ; Sun, 29 Jan 2017 11:59:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5D1639C9 for ; Sun, 29 Jan 2017 11:59:29 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1485691164.8f974ded5d27a6a84ae9ff41a35c305b803c23aa.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/wxmacmolplt/, sci-chemistry/wxmacmolplt/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.6.1-pkg_config.patch sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.2.ebuild X-VCS-Directories: sci-chemistry/wxmacmolplt/ sci-chemistry/wxmacmolplt/files/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 8f974ded5d27a6a84ae9ff41a35c305b803c23aa X-VCS-Branch: master Date: Sun, 29 Jan 2017 11:59:29 +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: 8383a720-19d0-4e49-a77a-25be2349436b X-Archives-Hash: 0e37e048126ecbb50ca82ef0e5dd5604 commit: 8f974ded5d27a6a84ae9ff41a35c305b803c23aa Author: Justin Lecher gentoo org> AuthorDate: Sun Jan 29 11:57:08 2017 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Jan 29 11:59:24 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8f974ded sci-chemistry/wxmacmolplt: QA fixes BUMP EAPI to 6 Add missing subslot operator Drop old Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher gentoo.org> .../files/wxmacmolplt-7.6.1-pkg_config.patch | 90 ---------------------- sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild | 49 ------------ sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.2.ebuild | 8 +- 3 files changed, 4 insertions(+), 143 deletions(-) diff --git a/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.6.1-pkg_config.patch b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.6.1-pkg_config.patch deleted file mode 100644 index d2d79ee..0000000 --- a/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.6.1-pkg_config.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index ef3f90f..abec341 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -7,24 +7,24 @@ dnl AC_REVISION - AM_MAINTAINER_MODE - - AC_CANONICAL_HOST --LIBGL= -+GLU_LIBS= - HOST= - case "${host}" in - *msvc*) - HOST=MSW -- LIBGL="-lopengl32 -lglu32" -+ GLU_LIBS="-lopengl32 -lglu32" - ;; - *darwin*) - HOST=OSX -- LIBGL="-framework OpenGL" -+ GLU_LIBS="-framework OpenGL" - ;; - *) - HOST=LINUX -- LIBGL="-lGL -lGLU" -+ PKG_CHECK_MODULES([GLU], [glu], [], [GLU_LIBS="-lGL -lGLU"]) - ;; - esac - AM_CONDITIONAL(HOST_IS_MSW, [test "x$HOST" == xMSW]) --AC_SUBST([LIBGL]) -+AC_SUBST([GLU_LIBS]) - - # - # There isn't a reliable way to know we should use the Apple OpenGL framework -@@ -53,30 +53,37 @@ AC_ARG_WITH(ming, - using the ming library; (default=yes)]], - [], - [with_ming=yes]) --LIBMING= -+ -+MING_LIBS= -+ - AS_IF([test "x$with_ming" != xno], - [AC_CHECK_LIB([ming], [Ming_init], -- [AC_SUBST([LIBMING], ["-lming"]) AC_DEFINE([HAVE_LIBMING])], -+ [PKG_CHECK_MODULES([MING], [libming], [], [MING_LIBS="-lming"]) -+ AC_DEFINE([HAVE_LIBMING])], - [if test "x$with_ming" != xyes ; then - AC_MSG_FAILURE([--with-ming was given, but test for ming failed]) - fi], -lpng)]) - -+AC_SUBST([MING_LIBS]) -+ - AC_ARG_WITH(glew, - [[ --with-glew Use the system provided glew library instead of - the built-in version; (default=yes if present)]], - [], - [with_glew=check]) - --LIBGLEW= -+GLEW_LIBS= - - AS_IF([test "x$with_glew" != xno], - [AC_CHECK_LIB([GLEW], [glewInit], -- [AC_SUBST([LIBGLEW], ["-lGLEW"]) AC_DEFINE([SYSTEM_GLEW])], -+ [PKG_CHECK_MODULES([GLEW], [glew], [], [GLEW_LIBS="-lGLEW"]) -+ AC_DEFINE([SYSTEM_GLEW])], - [if test "x$with_glew" = xyes; then - AC_MSG_FAILURE([--with-glew was given, but test for glew failed]) - fi])]) - --AM_CONDITIONAL([SYSTEM_GLEW], [test $LIBGLEW = "-lGLEW"]) -+AM_CONDITIONAL([SYSTEM_GLEW], [test "x$ac_cv_lib_GLEW_glewInit" = xyes]) -+AC_SUBST([GLEW_LIBS]) - - WXCONFIG=wx-config - AC_ARG_WITH(wx-config, -diff --git a/src/Makefile.am b/src/Makefile.am -index a666aff..0a88493 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -80,7 +80,7 @@ wxmacmolplt_SOURCES += glew.cpp glew.h glxew.h wglew.h - endif - - AM_CXXFLAGS = $(WX_CXXFLAGS) --wxmacmolplt_LDADD = $(WX_LIBS) $(LIBMING) $(LIBGL) $(LIBGLEW) -+wxmacmolplt_LDADD = $(WX_LIBS) $(MING_LIBS) $(GLU_LIBS) $(GLEW_LIBS) - wxmacmolplt_LDFLAGS = $(WX_CXXFLAGS) - EXTRA_DIST = wxMacMolPlt.pjd xpms/arrow.xpm \ - xpms/hand.xpm xpms/rect_lasso.xpm xpms/view.xpm diff --git a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild deleted file mode 100644 index cf7c2cd..0000000 --- a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -WX_GTK_VER=3.0 - -inherit autotools eutils wxwidgets - -DESCRIPTION="Chemical 3D graphics program with GAMESS input builder" -HOMEPAGE="http://brettbode.github.io/wxmacmolplt/" -SRC_URI="https://github.com/brettbode/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="flash" - -RDEPEND=" - media-libs/glew - media-libs/mesa - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] - flash? ( media-libs/ming )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - epatch "${FILESDIR}"/${P}-pkg_config.patch - - epatch_user - - sed \ - -e "/^dist_doc_DATA/d" \ - -i Makefile.am || die "Failed to disable installation of LICENSE file" - eautoreconf -} - -src_configure() { - econf \ - --with-glew \ - $(use_with flash ming) -} - -src_install() { - default - doicon resources/${PN}.png - make_desktop_entry ${PN} wxMacMolPlt ${PN} "Science;DataVisualization;" -} diff --git a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.2.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.2.ebuild index 028ff6f..961ceae 100644 --- a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.2.ebuild +++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 WX_GTK_VER=3.0 @@ -18,7 +18,7 @@ SLOT="0" IUSE="flash" RDEPEND=" - media-libs/glew + media-libs/glew:0= media-libs/mesa x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] flash? ( media-libs/ming )" @@ -26,7 +26,7 @@ DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { - epatch_user + default sed \ -e "/^dist_doc_DATA/d" \