diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-04 02:05:04 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-04 02:05:04 +0000 |
commit | a7e8ffe995791796837cf4763645c25085ee7c0d (patch) | |
tree | 3c53626657599863b071e1e28877cf7720a74a0c /sci-libs | |
parent | whitespace (diff) | |
download | historical-a7e8ffe995791796837cf4763645c25085ee7c0d.tar.gz historical-a7e8ffe995791796837cf4763645c25085ee7c0d.tar.bz2 historical-a7e8ffe995791796837cf4763645c25085ee7c0d.zip |
Version bump. Switched to cmake, so had to rewrite from scratch
Package-Manager: portage-2.2.01.20796-prefix/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/mathgl/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/mathgl/Manifest | 34 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-2.0.3.ebuild | 121 | ||||
-rw-r--r-- | sci-libs/mathgl/metadata.xml | 23 |
4 files changed, 160 insertions, 27 deletions
diff --git a/sci-libs/mathgl/ChangeLog b/sci-libs/mathgl/ChangeLog index bf337c1f1566..2c95a9ab927c 100644 --- a/sci-libs/mathgl/ChangeLog +++ b/sci-libs/mathgl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/mathgl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.27 2012/03/01 07:41:06 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.28 2012/08/04 02:05:04 bicatali Exp $ + +*mathgl-2.0.3 (04 Aug 2012) + + 04 Aug 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +mathgl-2.0.3.ebuild, + metadata.xml: + Version bump. Switched to cmake, so had to rewrite from scratch 01 Mar 2012; Justin Lecher <jlec@gentoo.org> mathgl-1.11.2.ebuild, +files/mathgl-1.11.2-cast.patch, metadata.xml: @@ -146,4 +152,3 @@ 02 Dec 2008; Andrey Grozin <grozin@gentoo.org> +metadata.xml, +mathgl-1.8.ebuild: Initial import, based on ebuild in the science overlay - diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest index e2d54fcadf50..599b7b426377 100644 --- a/sci-libs/mathgl/Manifest +++ b/sci-libs/mathgl/Manifest @@ -1,21 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 -AUX mathgl-1.10.2-gcc43.patch 345 RMD160 81d76baed06d779853dd96ce169f5bef620629b2 SHA1 e50c8e600cb243c809d3a6648344bbe29146666d SHA256 2165125d4677b882548530dc21a0368bf7ed27cab516ee6f78604f98b3b60ac9 -AUX mathgl-1.11.2-cast.patch 8224 RMD160 32840d56eac5828034dad3a8be1d6ac6a2fb357a SHA1 d05828a5af9aac425bbb3cfc7db7d674f2538c29 SHA256 8993235430372e9eda84eba5b5af3ac63aba386b830d13fdf249d580fcf17430 -AUX mathgl-1.11.2-zlib.patch 687 RMD160 88205ba7316cc37d4ba170e9202e5faf965f2a96 SHA1 36acb0818d54d43be8a97f06613332e06a0c0f5c SHA256 417da2322b380ce538a1fc3abaa14f68130761e7a9c1221190142d55e926a007 -AUX mathgl-octave-3.4.patch 396 RMD160 620581ff85c8025d25819ef23af6e4885e1d26e9 SHA1 02e61712be707e2f9e116304b41245da47b3b949 SHA256 a6262a8e67a280cc19b8a0ab501c17400d46a91e0eb8b46967c5354f120380b6 -DIST STIX_font.tgz 2450541 RMD160 7595c2b99c5982d72b1ef551ab8f9d65237e5466 SHA1 3cbc4f5090cd37d1b35d594150357550d2639f81 SHA256 6408290fd4a5267637a88507344a8f07b908ce72f46ef93d09e068fedb67e8fe -DIST mathgl-1.11.1.1.tar.gz 4590143 RMD160 058ee41aefa6821cd5fa45651406041cee6e0f0c SHA1 06eaad16de16c37b800b0bf538c2379af90cff39 SHA256 10f44bfdd7a03b9654088994b8bc7ebcb8b65d23d0c06327c30a8adc017389d2 -DIST mathgl-1.11.2.tar.gz 4641427 RMD160 d7e59015304041b3a582e58bc3f60f51bd36e094 SHA1 16b9ab58e654c5b91374f8a35eafc33630d7f5c0 SHA256 1602244136f42bf4b47a4880cb1ff599f6cce9dfb455f8accdbca668ed680e96 -EBUILD mathgl-1.11.1.1.ebuild 3529 RMD160 87e5523afa57a19a8ab7b450f4de66104217eb1d SHA1 2498327c5dc21ad7daac8a5df97d540f68896dc9 SHA256 357bbc8659879fbcf925a573d10629fc026033606b590f0632a3386c42b46d23 -EBUILD mathgl-1.11.2.ebuild 3661 RMD160 6f6ff4712ac24fa86e30f14581f933e0bd71cdef SHA1 9df5890548f0b893ff56881ecbc697d85df2a39e SHA256 ed8276e8c942f5cd53ab67731053a8c4526a1d35126a883c9aa1ca9a4d1d7b84 -MISC ChangeLog 5362 RMD160 825f69dc002613216ad9370aaeca14d9b531a63e SHA1 080b91305bb88a6222f6e4fc60f0a77ba2460ad1 SHA256 d12714f5c4567c399ec36a85f87ac8b55094aad0e60d55dbf1eb25fcb3bc546f -MISC metadata.xml 403 RMD160 703fd2d7e9b93327bb56cd54cbe78ad12be303ec SHA1 69139c20fa0e59c9b2c98f7b97adc5d939fceb7a SHA256 6b9c9442b5a719e0f2ea741b877df3208c7d2388886417cd8e691446d44f007e +AUX mathgl-1.10.2-gcc43.patch 345 SHA256 2165125d4677b882548530dc21a0368bf7ed27cab516ee6f78604f98b3b60ac9 SHA512 d6f22d026953a7fcdba17aae6e7a357ccbc48663cc96b4d3281648cd726049085085bc524fd5dc5b7855e2b76ae1a83afbfe010408083ecfd7eb21808f27bcd3 WHIRLPOOL d4c290edb3075239e64b699c3137f0f76f71ca9d05abeffe5fc545523d8de59989d3c08e328c14a47385fa72e3a5ae08e51a35e1d98d19f86a9512754898c4f8 +AUX mathgl-1.11.2-cast.patch 8224 SHA256 8993235430372e9eda84eba5b5af3ac63aba386b830d13fdf249d580fcf17430 SHA512 7ab32d224a4197fd27608727fbf89afb03b7033fa004d11b12ac589b33de000b271cc2140644001dfd9d68af07ff9cdd718ae24507ca7392da5748f10cc03d76 WHIRLPOOL 1f98cfeab0a66d20dd26fc01db618ce4687f9d1d8a22b2844b2a38d9fabddfd24eff851cb78ad9c4eac1d86b24c8a27cf703c64af02901dae0f79a80323eaf5a +AUX mathgl-1.11.2-zlib.patch 687 SHA256 417da2322b380ce538a1fc3abaa14f68130761e7a9c1221190142d55e926a007 SHA512 76b8989c08f2a6b322beb6cdd8b70dcb9b6ee6a30e8c3eff2ea50494b1132709dcaf9458765c35a6b74a527252fd7faafd8c001f71a6d5064158c489cb0fddaf WHIRLPOOL 2280fe947c1674e59fc467db33c305e20a59d012a4541d7ce4e931f1746332d4bd05537914f38cb9e8b98b0ae4898c5d55a79064611515c85948e19d5f4b270d +AUX mathgl-octave-3.4.patch 396 SHA256 a6262a8e67a280cc19b8a0ab501c17400d46a91e0eb8b46967c5354f120380b6 SHA512 ece155d84d73ed3a067fbbdc81260dff63ff2d43304393b4e57fa4c22b23347073aefa55aa5efb28e5f55212f2527c39e7de196bd030906590de121736ad9808 WHIRLPOOL 9bbf023e85ebdfef6b198f7c4d714e2bd82bae818c8784db9aa0285809266d0b5586b11aea9af0f8140ca998462ea3bc3b132a65e8777496f33689f2921a3651 +DIST STIX_font.tgz 2450541 SHA256 6408290fd4a5267637a88507344a8f07b908ce72f46ef93d09e068fedb67e8fe SHA512 c9124ec552074c98f15d6d3572a063598ca6bc598e3e78dcb5a5d57ae3928b5327a1374635f428ea1cefc9e51ee1d1aa9bd6ba9a306429fc6965140251d368b5 WHIRLPOOL 912a280ad550040c961a84fe48cfa2bd9bbcbad6c539b6126b4cbb5f9673ddd4ad5cc9e0d053fcb20cc6c12e1203aeaa3a05cf07360b16e2e7cbb13c0c42cc1e +DIST mathgl-1.11.1.1.tar.gz 4590143 SHA256 10f44bfdd7a03b9654088994b8bc7ebcb8b65d23d0c06327c30a8adc017389d2 +DIST mathgl-1.11.2.tar.gz 4641427 SHA256 1602244136f42bf4b47a4880cb1ff599f6cce9dfb455f8accdbca668ed680e96 +DIST mathgl-2.0.3.tar.gz 4024665 SHA256 f2b7d6a0106d854e78bf6933596a04f09bc011eae50466cafcd0b979981ccb7a SHA512 6c47e985d0fefb635b5453b9d21ed2a77675edffbfe70738cf475d5c99c0f96c8c8515263ed20ba323a1ee24c30ae02317a66313e78c78d30414c597354528f7 WHIRLPOOL 26bf5e3301dc66974dfc14021cc41b4117b20b6c7e00f181af4bfc46bc85b46a4c347fef55975489151fb2817469707547965cecdfa8fc8885fdf8dd0cededc2 +EBUILD mathgl-1.11.1.1.ebuild 3529 SHA256 357bbc8659879fbcf925a573d10629fc026033606b590f0632a3386c42b46d23 SHA512 330848499a00f67611a41fff3e2e4de99c0d0b3c04d8fbf999e18a884f9842ad83d14448ee8b217a7a5e0760475b37d6c6de0954ce34b6fc80cfa09953d42398 WHIRLPOOL f7709d1e878cadbdb437246344e9453a500ce9c5bf8ffcd688a41e1b889d87f8a6b8ba80ff14f37c4c1cfa877d17177887050c13b11cb8858cf434e5c40c57ee +EBUILD mathgl-1.11.2.ebuild 3661 SHA256 ed8276e8c942f5cd53ab67731053a8c4526a1d35126a883c9aa1ca9a4d1d7b84 SHA512 8d479c63bfd9912c7588e261fa065b4c94e2e6d2496f24320a85de46d72e38a440396c3bd42e6f276a853d163efa3393718b09f2dc58b648d64eaeaa857d1b33 WHIRLPOOL 53d13788e4e7161b7705b98d0b208a3f000eb7384ef3446429d3fb291181d632019173fa2d762e1934a5d26889b124c90fa08e035d6f30bc72041c5de67cda69 +EBUILD mathgl-2.0.3.ebuild 3083 SHA256 b5dea476cf290d9fd405a93f93c8e466911e9c8987032ab6a5d0542e2cf59fee SHA512 dbdf65afcc6f616188638b1cb3918f0bb7155f0ba3c41c449fa9f53a6603f333e4de67d914a9a8d072efb673216d8afcaf37f7850826392adb64d1b2325cea1d WHIRLPOOL a98346ebb8028c4476e841825f0f9bf31f28b37e61082b90aa99a95d8b2c66b8e7e70fb00b2334b155f0d689986da3229ef3f4c573b19c057f17025930e1bbc2 +MISC ChangeLog 5554 SHA256 24a5f873ec84d0a541378bc53fe852b4805464b727234810db12fc5c3b9061e0 SHA512 ad1d68f9eb678116f5328359fc846306e4abbe79aa1be0749a2249a34f8da2b232a56feddefa1a2bac07b745f73df2bf0c314c463c1962c096d0c10436b38258 WHIRLPOOL 87095896717719d64d297c56598643cf23049c1f01188295559645d6fd4f21bc8428d3f029ae429debb3395cb08d57221066b6e304c1a10b377af6edf043082e +MISC metadata.xml 599 SHA256 051b1d85b88fb4fe72fe983a9a05301f8376d7c1f8e64dc1f3ff25e24376145d SHA512 7645f76e3e231e8895aa0c0a1ba51f03a31199380c40e66c4a6731f9f827df72781a92ee8718204a957215a762f80924b630d55b697f0b3e6cd1262d0e656071 WHIRLPOOL 4f0737c154c6f8f313b5cabf3263f7b9f251647abd859b09e0138682c98dd9354d03376f936a6ad796d256a20f6114dc8f9fe8fc60021ddc9eedf1c2a07585ed -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEUEAREKAAYFAk9PKBcACgkQgAnW8HDreRaJbACYn9t0uXZLwCIhHUSoGBCcI75V -+ACfXk3iVXiB5wUf1gjH2EJIOOUgJTY= -=rf44 +iEYEAREIAAYFAlAcg1gACgkQ1ycZbhPLE2CuFACeIkFgwqEDyFDdZaZhbXgFlw3e +BcgAn3vD1Q25UJZyLnt3VrC++OYL2bxp +=2XIX -----END PGP SIGNATURE----- diff --git a/sci-libs/mathgl/mathgl-2.0.3.ebuild b/sci-libs/mathgl/mathgl-2.0.3.ebuild new file mode 100644 index 000000000000..b60641c3ff6a --- /dev/null +++ b/sci-libs/mathgl/mathgl-2.0.3.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild,v 1.1 2012/08/04 02:05:04 bicatali Exp $ + +EAPI=4 + +WX_GTK_VER=2.8 + +inherit cmake-utils eutils python wxwidgets multilib + +DESCRIPTION="Math Graphics Library" +HOMEPAGE="http://mathgl.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/STIX_font.tgz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl pdf png python + qt4 static-libs threads wxwidgets zlib" + +RDEPEND=" + virtual/opengl + fltk? ( x11-libs/fltk:1 ) + gif? ( media-libs/giflib ) + glut? ( media-libs/freeglut ) + gsl? ( sci-libs/gsl ) + hdf? ( sci-libs/hdf ) + hdf5? ( >=sci-libs/hdf5-1.8[mpi=] ) + jpeg? ( virtual/jpeg ) + octave? ( >=sci-mathematics/octave-3.4.0 ) + pdf? ( media-libs/libharu ) + png? ( media-libs/libpng ) + python? ( dev-python/numpy ) + qt4? ( x11-libs/qt-gui:4 ) + wxwidgets? ( x11-libs/wxGTK:2.8 ) + zlib? ( sys-libs/zlib )" + +DEPEND="${RDEPEND} + doc? ( app-text/texi2html virtual/texi2dvi ) + octave? ( dev-lang/swig ) + python? ( dev-lang/swig )" + +REQUIRED_USE="mpi? ( hdf5 ) png? ( zlib )" + +pkg_setup() { + if use mpi; then + export CC=mpicc + export CXX=mpicxx + fi + use python && python_pkg_setup + use wxwidgets && wxwidgets_pkg_setup +} + +src_unpack() { + unpack ${A} + [[ -d "${S}"/fonts ]] || mkdir "${S}"/fonts + cd "${S}"/fonts + unpack STIX_font.tgz +} + +src_prepare() { + # fix for location of hdf headers + sed -i -e 's:hdf/::g' src/data_io.cpp || die + # bored of reporting bad libdir upstream + sed -i \ + -e '/DESTINATION/s:lib$:lib${LIB_SUFFIX}:g' \ + */CMakeLists.txt || diex +} + +src_configure() { + local mycmakeargs=( + -DHDF4_INCLUDE_DIR="${EPREFIX}/usr/include" + $(cmake-utils_use doc enable-doc) + $(cmake-utils_use fltk enable-fltk) + $(cmake-utils_use gif enable-gif) + $(cmake-utils_use glut enable-glut) + $(cmake-utils_use gsl enable-gsl) + $(cmake-utils_use hdf enable-hdf4) + $(cmake-utils_use hdf5 enable-hdf5_18) + $(cmake-utils_use jpeg enable-jpeg) + $(cmake-utils_use mpi enable-mpi) + $(cmake-utils_use octave enable-octave) + $(cmake-utils_use opengl enable-opengl) + $(cmake-utils_use pdf enable-pdf) + $(cmake-utils_use png enable-png) + $(cmake-utils_use threads enable-pthread) + $(cmake-utils_use python enable-python) + $(cmake-utils_use wxwidgets enable-wx) + $(cmake-utils_use zlib enable-zlib) + ) + cmake-utils_src_configure + sed -i -e "s:--prefix=\(.*\) :--prefix=\$ENV{DESTDIR}\1 :" \ + ${CMAKE_BUILD_DIR}/lang/cmake_install.cmake || die +} + +src_install() { + cmake-utils_src_install + dodoc README* *.txt AUTHORS + use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a +} + +pkg_postinst() { + if use octave; then + octave <<-EOF + pkg install ${EROOT}/usr/share/${PN}/octave/${PN}.tar.gz + EOF + fi + use python && python_mod_optimize ${PN}.py +} + +pkg_prerm() { + if use octave; then + octave <<-EOF + pkg uninstall ${PN} + EOF + fi +} + +pkg_postrm() { + use python && python_mod_cleanup ${PN}.py +} diff --git a/sci-libs/mathgl/metadata.xml b/sci-libs/mathgl/metadata.xml index 836ded4f6d6c..e62c4243ffb4 100644 --- a/sci-libs/mathgl/metadata.xml +++ b/sci-libs/mathgl/metadata.xml @@ -1,13 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <maintainer> - <email>grozin@gentoo.org</email> - <name>Andrey Grozin</name> - </maintainer> - <longdescription>Math Graphics Library</longdescription> - <use> - <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> - </use> +<herd>sci</herd> +<maintainer> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> +</maintainer> +<longdescription> + MathGL is a library for: + * making high-quality scientific graphics + * the fast data plotting and data processing of large data arrays + * working in window and console modes and for easy embedding into other programs +</longdescription> +<use> + <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> +</use> </pkgmetadata> |