diff options
author | Andrey Grozin <grozin@gentoo.org> | 2009-04-13 13:09:29 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2009-04-13 13:09:29 +0000 |
commit | f269e719be771808a7fc81c75921627903dc3a70 (patch) | |
tree | b89da26e0f1ab39ba1d1103b0bd4a5c7a5d5b115 /sci-libs/mathgl | |
parent | Fix deps. Per bug #265974. (diff) | |
download | historical-f269e719be771808a7fc81c75921627903dc3a70.tar.gz historical-f269e719be771808a7fc81c75921627903dc3a70.tar.bz2 historical-f269e719be771808a7fc81c75921627903dc3a70.zip |
Version bump, fixing bug #263941
Package-Manager: portage-2.2_rc29/cvs/Linux i686
Diffstat (limited to 'sci-libs/mathgl')
-rw-r--r-- | sci-libs/mathgl/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/mathgl/Manifest | 10 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-1.8-fltk.patch | 20 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-1.8-octave.patch | 21 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-1.8-r1.ebuild | 61 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-1.8.1.ebuild | 96 | ||||
-rw-r--r-- | sci-libs/mathgl/metadata.xml | 2 |
7 files changed, 110 insertions, 111 deletions
diff --git a/sci-libs/mathgl/ChangeLog b/sci-libs/mathgl/ChangeLog index 6ed220ccf05f..be7606216895 100644 --- a/sci-libs/mathgl/ChangeLog +++ b/sci-libs/mathgl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/mathgl -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.3 2008/12/13 06:46:01 grozin Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.4 2009/04/13 13:09:29 grozin Exp $ + +*mathgl-1.8.1 (13 Apr 2009) + + 13 Apr 2009; Andrey Grozin <grozin@gentoo.org> + -files/mathgl-1.8-fltk.patch, -files/mathgl-1.8-octave.patch, + metadata.xml, -mathgl-1.8-r1.ebuild, +mathgl-1.8.1.ebuild: + Version bump, fixing bug #263941 13 Dec 2008; Andrey Grozin <grozin@gentoo.org> -mathgl-1.8.ebuild: Cleaning diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest index 2c8d12a7288d..ad130c552b58 100644 --- a/sci-libs/mathgl/Manifest +++ b/sci-libs/mathgl/Manifest @@ -1,6 +1,4 @@ -AUX mathgl-1.8-fltk.patch 774 RMD160 1e865f3659cca8d3c70e4f2c51263d342ee027ce SHA1 966e5f691e0feae4dace3345e469eec9bc861eaf SHA256 c8e038aeeff64b08482e6d8abf5edf63a1c2b68338f00f18f483f16c85f8b280 -AUX mathgl-1.8-octave.patch 979 RMD160 ed2674304185914a99d2eee25737c127273393f8 SHA1 e4d697919e3228e8c20f46e1f973229d17307223 SHA256 a4462814e62ace1ddec8587aaa51b931c89be26e266f22dd7df29edeacf51dde -DIST mathgl-1.8.tar.gz 4697872 RMD160 696f2e9beb56e9a5e6de48b4282af99692356dce SHA1 03f86cfec2f28349cb53b9f0ff5849465b1d32a8 SHA256 c06d695c66c4fad3e4e6aec56675efc2261173226853085422891e30be5033a8 -EBUILD mathgl-1.8-r1.ebuild 1521 RMD160 a189889e947a382de964a8a54169290ab2372043 SHA1 80d92310b9c3b191958f6d0d75f16cdd5a0958d5 SHA256 bbedb6de5f822713ff937528be464b27147e817544c7f5ca43253fda0ea56890 -MISC ChangeLog 681 RMD160 98b26702d5c35e8efc10cee2f0f0ce31490bcd6f SHA1 7db4d04a4314996e66ec251c2866cb3ca9010b18 SHA256 910667ed074ebf5e9034a475f0ae949a07b5747ccdd1395ef04eac113feffa18 -MISC metadata.xml 407 RMD160 1eb68494bbd3286099a8de2415899c9ed624d8d2 SHA1 9fc068a7a7560578471edfa85aa8c7dc54aba624 SHA256 d9bf76394d79267818a3024ed86f50fbbb1bc14f65171070718d71e766f129f6 +DIST mathgl-1.8.1.tgz 8288534 RMD160 402cc7fe15b81255189764d7f9ed64fbd5987251 SHA1 307153645a514b071c192b883153f6aa8d9ad52f SHA256 0f4065d5052e1e1f5a1af9284acbfcd249012ff71bfa1a03724d24f791d7c48f +EBUILD mathgl-1.8.1.ebuild 2223 RMD160 3cbf03f9440a9ccd9c22391620a3de3e137592a8 SHA1 fedd851a2f15b13d1308929dd521aa3ad41dabc6 SHA256 ec98b9b997b07722427989c3de6e7ee17ea4cd517476e8563d5d06253d58fc8e +MISC ChangeLog 920 RMD160 3d2067964672e2f1ff35e4c9936f3f36a26e2b7f SHA1 a9a0d06e1a6fe3aeb42950a23806d524cac8e824 SHA256 3ad76d409df80f78abe299a0969f31fe6a6a30d1f4b8ec4ac816f069fe57c182 +MISC metadata.xml 403 RMD160 58842b16ab72ab3b23b8d29eaf00dd2c05da11c9 SHA1 de3dde83893663018de696e3e07010a276db0fff SHA256 2e033d0243bbbafcb9397978f74e7bf0edcb03cfb6f2d2d5ff9e22cdf5e77a42 diff --git a/sci-libs/mathgl/files/mathgl-1.8-fltk.patch b/sci-libs/mathgl/files/mathgl-1.8-fltk.patch deleted file mode 100644 index 102e13583136..000000000000 --- a/sci-libs/mathgl/files/mathgl-1.8-fltk.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: mathgl-1.8/examples/Makefile.am -=================================================================== ---- mathgl-1.8.orig/examples/Makefile.am -+++ mathgl-1.8/examples/Makefile.am -@@ -9,11 +9,13 @@ mgl_example_LDADD = $(top_builddir)/mgl/ - if USE_FLTK - bin_PROGRAMS += mgl_fltk_example - mgl_fltk_example_SOURCES = fltk_example.cpp --mgl_fltk_example_LDADD = $(top_builddir)/widgets/libmgl-fltk.la -+mgl_fltk_example_LDADD = $(FLTK_LIBS) $(top_builddir)/widgets/libmgl-fltk.la -+mgl_fltk_example_CXXFLAGS = $(FLTK_FLAGS) $(AM_CXXFLAGS) - - check_PROGRAMS += test - test_SOURCES = main.cpp --test_LDADD = $(top_builddir)/widgets/libmgl-fltk.la -+test_LDADD = $(FLTK_LIBS) $(top_builddir)/widgets/libmgl-fltk.la -+test_CXXFLAGS = $(FLTK_FLAGS) $(AM_CXXFLAGS) - endif - - if USE_GLUT diff --git a/sci-libs/mathgl/files/mathgl-1.8-octave.patch b/sci-libs/mathgl/files/mathgl-1.8-octave.patch deleted file mode 100644 index 0ee821b99682..000000000000 --- a/sci-libs/mathgl/files/mathgl-1.8-octave.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: mathgl-1.8/configure.ac -=================================================================== ---- mathgl-1.8.orig/configure.ac -+++ mathgl-1.8/configure.ac -@@ -231,12 +231,14 @@ AC_ARG_ENABLE(octave, - *) AC_MSG_ERROR(bad value ${enableval} for --enable-octave) ;; - esac],[octave=false]) - if (test x$langall = xtrue || test x$octave = xtrue) ;then -+ AC_CHECK_PROG([OCTAVE],[octave-config],[octave-config]) - # find Octave arch -- OCTAVE=octave - AC_MSG_CHECKING([for Octave arch]) -- OCTAVE_ARCH=`$OCTAVE -q --eval 'strcat(octave_config_info("canonical_host_type"), "-", octave_config_info("api_version"))'|sed -e 's/ans = //'` -+ OCTAVE_ARCH=`$OCTAVE -p CANONICAL_HOST_TYPE`-`$OCTAVE -p API_VERSION` -+ OCTAVE_INCFLAGS="-I`$OCTAVE -p OCTINCLUDEDIR`" - AC_MSG_RESULT([$OCTAVE_ARCH]) - AC_SUBST(OCTAVE_ARCH,[$OCTAVE_ARCH]) -+ AC_SUBST(OCTAVE_INCFLAGS,[$OCTAVE_INCFLAGS]) - test_octave=true - fi - AM_CONDITIONAL(USE_OCTAVE, test x$test_octave = xtrue ) diff --git a/sci-libs/mathgl/mathgl-1.8-r1.ebuild b/sci-libs/mathgl/mathgl-1.8-r1.ebuild deleted file mode 100644 index ee579e799a34..000000000000 --- a/sci-libs/mathgl/mathgl-1.8-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.8-r1.ebuild,v 1.1 2008/12/06 16:26:11 grozin Exp $ -EAPI=2 -WX_GTK_VER=2.8 -inherit autotools wxwidgets -DESCRIPTION="Math Graphics Library" -IUSE="doc fltk glut hdf5 jpeg octave python qt4 wxwindows" -HOMEPAGE="http://mathgl.sourceforge.net/" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -RDEPEND="sci-libs/gsl - media-libs/libpng - virtual/glu - glut? ( virtual/glut ) - fltk? ( x11-libs/fltk ) - jpeg? ( media-libs/jpeg ) - hdf5? ( sci-libs/hdf5 ) - octave? ( sci-mathematics/octave ) - qt4? ( x11-libs/qt-gui:4 ) - wxwindows? ( x11-libs/wxGTK:2.8 )" - -DEPEND="${RDEPEND} - doc? ( app-text/texi2html virtual/texi2dvi ) - python? ( dev-lang/swig[python] ) - octave? ( dev-lang/swig[octave] )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-octave.patch - epatch "${FILESDIR}"/${P}-fltk.patch - eautoreconf -} - -src_configure() { - econf --docdir="${ROOT}"usr/share/doc/${PF} \ - $(use_enable glut) \ - $(use_enable qt4 qt) \ - $(use_enable wxwindows wx) \ - $(use_enable fltk) \ - $(use_enable jpeg) \ - $(use_enable hdf5) \ - $(use_enable python) \ - $(use_enable octave) \ - $(use_enable doc docs) -} - -src_compile() { - # see bug #249627 - local JOBS - use doc && JOBS=-j1 - emake ${JOBS} || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README AUTHORS || die "dodoc failed" -} diff --git a/sci-libs/mathgl/mathgl-1.8.1.ebuild b/sci-libs/mathgl/mathgl-1.8.1.ebuild new file mode 100644 index 000000000000..45ed8095bd93 --- /dev/null +++ b/sci-libs/mathgl/mathgl-1.8.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.8.1.ebuild,v 1.1 2009/04/13 13:09:29 grozin Exp $ +EAPI=2 +WX_GTK_VER=2.8 +inherit autotools wxwidgets python versionator toolchain-funcs +DESCRIPTION="Math Graphics Library" +IUSE="doc fltk gif glut gsl hdf5 jpeg octave python qt4 wxwindows" +HOMEPAGE="http://mathgl.sourceforge.net/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +RDEPEND="media-libs/libpng + virtual/glu + python? ( dev-python/numpy ) + glut? ( virtual/glut ) + fltk? ( x11-libs/fltk:1.1 ) + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + hdf5? ( sci-libs/hdf5 ) + gsl? ( sci-libs/gsl ) + octave? ( sci-mathematics/octave ) + qt4? ( x11-libs/qt-gui:4 ) + wxwindows? ( x11-libs/wxGTK:2.8 )" + +DEPEND="${RDEPEND} + doc? ( app-text/texi2html virtual/texi2dvi ) + python? ( dev-lang/swig ) + octave? ( dev-lang/swig )" + +pkg_setup() { + if ! version_is_at_least "4.3.0" "$(gcc-version)"; then + eerror "You need >=gcc-4.3.0 to compile this package" + die "Wrong gcc version" + fi +} + +src_configure() { + econf --docdir="${ROOT}"usr/share/doc/${PF} \ + $(use_enable glut) \ + $(use_enable qt4 qt) \ + $(use_enable wxwindows wx) \ + $(use_enable fltk) \ + $(use_enable gif) \ + $(use_enable jpeg) \ + $(use_enable hdf5) \ + $(use_enable python) \ + $(use_enable octave) \ + $(use_enable gsl) \ + $(use_enable doc docs) +} + +src_prepare() { + # correct location of numpy/arrayobject.h + if use python; then + local numpy_h + numpy_h=$(python_get_sitedir)/numpy/core/include/numpy/arrayobject.h + einfo "fixing numpy.i" + sed -e "s|<numpy/arrayobject.h>|\"${numpy_h}\"|" \ + -i lang/numpy.i \ + || die "sed failed" + fi + + eautoreconf +} + +src_compile() { + # see bug #249627 + local JOBS + use doc && JOBS=-j1 + emake ${JOBS} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS || die "dodoc failed" +} + +pkg_postinst() { + if use octave; then + octave <<-EOF + pkg install /usr/share/${PN}/octave/${PN}.tar.gz + EOF + fi +} + +pkg_prerm() { + if use octave; then + octave <<-EOF + pkg uninstall ${PN} + EOF + fi +} diff --git a/sci-libs/mathgl/metadata.xml b/sci-libs/mathgl/metadata.xml index cd4c771e73ac..d0e39e80724a 100644 --- a/sci-libs/mathgl/metadata.xml +++ b/sci-libs/mathgl/metadata.xml @@ -3,7 +3,7 @@ <pkgmetadata> <herd>sci</herd> <maintainer> - <email>A.G.Grozin@inp.nsk.su</email> + <email>grozin@gentoo.org</email> <name>Andrey Grozin</name> </maintainer> <longdescription>Math Graphics Library</longdescription> |