From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/wxmacmolplt/, sci-chemistry/wxmacmolplt/files/
Date: Sun, 29 Jan 2017 11:59:29 +0000 (UTC) [thread overview]
Message-ID: <1485691164.8f974ded5d27a6a84ae9ff41a35c305b803c23aa.jlec@gentoo> (raw)
commit: 8f974ded5d27a6a84ae9ff41a35c305b803c23aa
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 11:57:08 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec <AT> 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" \
next reply other threads:[~2017-01-29 12:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-29 11:59 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-01-14 9:54 [gentoo-commits] proj/sci:master commit in: sci-chemistry/wxmacmolplt/, sci-chemistry/wxmacmolplt/files/ Justin Lecher
2016-01-12 14:34 Reinis Danne
2014-01-06 18:33 Justin Lecher
2012-10-22 8:38 Reinis Danne
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=1485691164.8f974ded5d27a6a84ae9ff41a35c305b803c23aa.jlec@gentoo \
--to=jlec@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