diff options
author | Andrey Grozin <grozin@gentoo.org> | 2009-09-15 04:37:30 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2009-09-15 04:37:30 +0000 |
commit | 8a621523a2cd87d389083818ae5def95f8ca109b (patch) | |
tree | b24a97fd9e7487f1986b766d75cd6b807085008d /sci-libs/mathgl | |
parent | Updated with required patches to stop build failures with packages that (diff) | |
download | historical-8a621523a2cd87d389083818ae5def95f8ca109b.tar.gz historical-8a621523a2cd87d389083818ae5def95f8ca109b.tar.bz2 historical-8a621523a2cd87d389083818ae5def95f8ca109b.zip |
Fix libtool dependency (closing bug #284847, thanks to Kacper Kowalik <xarthisius.kk@gmail.com>). Remove old version which does not compile with hdf5-1.8 (closing bug #267628).
Package-Manager: portage-2.2_rc40/cvs/Linux i686
Diffstat (limited to 'sci-libs/mathgl')
-rw-r--r-- | sci-libs/mathgl/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/mathgl/Manifest | 8 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-1.8.1-gcc43.patch | 10 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-1.8.1-gcc44.patch | 21 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-1.8.1.ebuild | 102 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-1.9.0.1.ebuild | 3 |
6 files changed, 12 insertions, 141 deletions
diff --git a/sci-libs/mathgl/ChangeLog b/sci-libs/mathgl/ChangeLog index d5fb93aec24f..8654570b8575 100644 --- a/sci-libs/mathgl/ChangeLog +++ b/sci-libs/mathgl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/mathgl # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.7 2009/08/31 16:18:51 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.8 2009/09/15 04:37:30 grozin Exp $ + + 15 Sep 2009; Andrey Grozin <grozin@gentoo.org> -mathgl-1.8.1.ebuild, + -files/mathgl-1.8.1-gcc43.patch, -files/mathgl-1.8.1-gcc44.patch, + mathgl-1.9.0.1.ebuild: + Fix libtool dependency (closing bug #284847, thanks to Kacper Kowalik + <xarthisius.kk@gmail.com>). Remove old version which does not compile with + hdf5-1.8 (closing bug #267628). *mathgl-1.9.0.1 (31 Aug 2009) diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest index b8d971c7c173..beff3eb7d95f 100644 --- a/sci-libs/mathgl/Manifest +++ b/sci-libs/mathgl/Manifest @@ -1,11 +1,7 @@ -AUX mathgl-1.8.1-gcc43.patch 345 RMD160 81d76baed06d779853dd96ce169f5bef620629b2 SHA1 e50c8e600cb243c809d3a6648344bbe29146666d SHA256 2165125d4677b882548530dc21a0368bf7ed27cab516ee6f78604f98b3b60ac9 -AUX mathgl-1.8.1-gcc44.patch 723 RMD160 8b293d760821c1ca0534545495581c3db4b53048 SHA1 67e26c391c002764a85cf3f4042dfabc08e692a3 SHA256 b1bc7eca4a785fdde06010e73795b515d5939519999a7e7d89b144b31e067d10 AUX mathgl-1.9.0.1-gcc43.patch 345 RMD160 81d76baed06d779853dd96ce169f5bef620629b2 SHA1 e50c8e600cb243c809d3a6648344bbe29146666d SHA256 2165125d4677b882548530dc21a0368bf7ed27cab516ee6f78604f98b3b60ac9 AUX mathgl-1.9.0.1-hdf5.patch 2232 RMD160 73826c20a1e6504d6d510b9895f2bf8dc2c29e3d SHA1 bc87b61d9f113642a862d0b63e48aa984db32d2c SHA256 e7dc51c67e673ee1abd38bef980ccb929c6f787493e496a9c0ea7658d10be830 DIST STIX_font.tgz 2450541 RMD160 7595c2b99c5982d72b1ef551ab8f9d65237e5466 SHA1 3cbc4f5090cd37d1b35d594150357550d2639f81 SHA256 6408290fd4a5267637a88507344a8f07b908ce72f46ef93d09e068fedb67e8fe -DIST mathgl-1.8.1.tgz 8288534 RMD160 402cc7fe15b81255189764d7f9ed64fbd5987251 SHA1 307153645a514b071c192b883153f6aa8d9ad52f SHA256 0f4065d5052e1e1f5a1af9284acbfcd249012ff71bfa1a03724d24f791d7c48f DIST mathgl-1.9.0.1.tgz 1897707 RMD160 a49e731dd432e83a63a53f6a1840cd2b7611773b SHA1 1fc6f0e0ac3ce951973ce595f939ad20730d2130 SHA256 34c84aa7b7d6fb98c4a95a72b9b04d0a69944279ee685980985138862120e493 -EBUILD mathgl-1.8.1.ebuild 2342 RMD160 669f4d4b39b147af37f4585afae1f56249810824 SHA1 9b6fdd392ab3e2d8e1120581cf4654b580ab1351 SHA256 35246a700ac06c0ce53a29b9d702ff04ef130a484a55befcdb1da90bb00d068f -EBUILD mathgl-1.9.0.1.ebuild 2457 RMD160 347782d6e11d48a90a46b778f66d41c1d7d085ae SHA1 7b5d0adb531a56b5b31db10dc8827becdf46962e SHA256 610dc5a3452221ba4d7658a51e946f0c4fef42f9da1a23599df1ca73634b216e -MISC ChangeLog 1458 RMD160 e1ffc14953ce75db68850a4d640500b28c131389 SHA1 5101536786c60af6f857ee60174ae6dd31dbe50f SHA256 2d719f8d4597857550df4e51c7d12f518b30e82605eeecf5aadcec0292fc98fc +EBUILD mathgl-1.9.0.1.ebuild 2484 RMD160 5dfdaf60c3dcc7e1136a75bf60bf197cfdc22060 SHA1 75d840c3c05273654ec63f5b1f10445cc7ad8b03 SHA256 02666517753322ffdee94d899525a96f8e1b3a592b58e7382beaab55c86cf0b8 +MISC ChangeLog 1806 RMD160 71ad9e0f3dcf36541242455510ad202111bf4623 SHA1 be805b5a4e19569db989bce70ec634a6b4bf4c22 SHA256 121785d6b412a4b7fec5d6ec8222742168a698258b92ec26f69a2b05c476aefc MISC metadata.xml 403 RMD160 58842b16ab72ab3b23b8d29eaf00dd2c05da11c9 SHA1 de3dde83893663018de696e3e07010a276db0fff SHA256 2e033d0243bbbafcb9397978f74e7bf0edcb03cfb6f2d2d5ff9e22cdf5e77a42 diff --git a/sci-libs/mathgl/files/mathgl-1.8.1-gcc43.patch b/sci-libs/mathgl/files/mathgl-1.8.1-gcc43.patch deleted file mode 100644 index 7a639bb9a4ab..000000000000 --- a/sci-libs/mathgl/files/mathgl-1.8.1-gcc43.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- utils/mgl2gif.cpp.ORIG 2009-03-04 14:22:12.000000000 +0100 -+++ utils/mgl2gif.cpp 2009-04-22 10:15:02.000000000 +0200 -@@ -19,6 +19,7 @@ - ***************************************************************************/ - #include <stdio.h> - #include <string.h> -+#include <cstdlib> - #include <locale.h> - #include <wchar.h> - #include "mgl/mgl_zb.h" diff --git a/sci-libs/mathgl/files/mathgl-1.8.1-gcc44.patch b/sci-libs/mathgl/files/mathgl-1.8.1-gcc44.patch deleted file mode 100644 index 58eac42ce025..000000000000 --- a/sci-libs/mathgl/files/mathgl-1.8.1-gcc44.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur mathgl-1.8.1.orig/mgl/mgl_addon.cpp mathgl-1.8.1/mgl/mgl_addon.cpp ---- mathgl-1.8.1.orig/mgl/mgl_addon.cpp 2009-03-04 15:22:03.000000000 +0200 -+++ mathgl-1.8.1/mgl/mgl_addon.cpp 2009-08-09 16:33:40.000000000 +0300 -@@ -28,7 +28,7 @@ - //--------------------------------------------------------------------------- - int mgl_strpos(const char *str,char *fnd) - { -- char *p=strstr(str,fnd); -+ const char *p=strstr(str,fnd); - int res; - if(p) res = p-str; - else res = -1; -@@ -37,7 +37,7 @@ - //--------------------------------------------------------------------------- - int mgl_strpos(const char *str,char ch) - { -- char *p=strchr(str,ch); -+ const char *p=strchr(str,ch); - int res; - if(p) res = p-str; - else res = -1; diff --git a/sci-libs/mathgl/mathgl-1.8.1.ebuild b/sci-libs/mathgl/mathgl-1.8.1.ebuild deleted file mode 100644 index 32f9996c49f1..000000000000 --- a/sci-libs/mathgl/mathgl-1.8.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# 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.3 2009/08/09 13:35:22 ssuominen Exp $ - -EAPI=2 -WX_GTK_VER=2.8 -inherit autotools wxwidgets python versionator toolchain-funcs - -DESCRIPTION="Math Graphics Library" -HOMEPAGE="http://mathgl.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc fltk gif glut gsl hdf5 jpeg octave python qt4 wxwindows" - -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_prepare() { - # bug #267061 - epatch "${FILESDIR}"/${P}-gcc43.patch - # bug 274282 - epatch "${FILESDIR}"/${P}-gcc44.patch - - # 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_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_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/mathgl-1.9.0.1.ebuild b/sci-libs/mathgl/mathgl-1.9.0.1.ebuild index 49f9b94d91ee..545de02ce54f 100644 --- a/sci-libs/mathgl/mathgl-1.9.0.1.ebuild +++ b/sci-libs/mathgl/mathgl-1.9.0.1.ebuild @@ -1,6 +1,6 @@ # 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.9.0.1.ebuild,v 1.1 2009/08/31 16:18:51 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.9.0.1.ebuild,v 1.2 2009/09/15 04:37:30 grozin Exp $ EAPI=2 WX_GTK_VER=2.8 @@ -28,6 +28,7 @@ RDEPEND="media-libs/libpng qt4? ( x11-libs/qt-gui:4 ) wxwindows? ( x11-libs/wxGTK:2.8 )" DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2.4 doc? ( app-text/texi2html virtual/texi2dvi ) python? ( dev-lang/swig ) octave? ( dev-lang/swig )" |