diff options
author | Markus Dittrich <markusle@gentoo.org> | 2009-08-25 02:59:51 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2009-08-25 02:59:51 +0000 |
commit | a3cfc5e444333b49d3e14d2d15f4dc9d87592278 (patch) | |
tree | 7b161400197315112bf0466769af1b25c2658ee2 /sci-libs/plplot | |
parent | Update rpcgen ioctl patch to reflect changes in upstream. (diff) | |
download | historical-a3cfc5e444333b49d3e14d2d15f4dc9d87592278.tar.gz historical-a3cfc5e444333b49d3e14d2d15f4dc9d87592278.tar.bz2 historical-a3cfc5e444333b49d3e14d2d15f4dc9d87592278.zip |
Version bump.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/plplot')
-rw-r--r-- | sci-libs/plplot/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/plplot/Manifest | 14 | ||||
-rw-r--r-- | sci-libs/plplot/plplot-5.9.4.ebuild | 173 |
3 files changed, 182 insertions, 12 deletions
diff --git a/sci-libs/plplot/ChangeLog b/sci-libs/plplot/ChangeLog index 510cf8b8619b..59ec561639f7 100644 --- a/sci-libs/plplot/ChangeLog +++ b/sci-libs/plplot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/plplot # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.21 2009/03/14 13:57:15 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.22 2009/08/25 02:59:51 markusle Exp $ + +*plplot-5.9.4 (25 Aug 2009) + + 25 Aug 2009; Markus Dittrich <markusle@gentoo.org> +plplot-5.9.4.ebuild: + Version bump. 14 Mar 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> -plplot-5.9.0.ebuild, plplot-5.9.2.ebuild: diff --git a/sci-libs/plplot/Manifest b/sci-libs/plplot/Manifest index e3aed05e97a1..3d3251123fa3 100644 --- a/sci-libs/plplot/Manifest +++ b/sci-libs/plplot/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX plplot-5.5.1-gcc-3.4-fix.patch 1396 RMD160 8854c2f315a5443cc5c29082a949e2ee359e6746 SHA1 ee321d24c5534bb4a86f9dda17579ae21965ef43 SHA256 1142ad469f6cc6dbf6331de9ceac0967e0128bef26e1ece2bb6b4f200f7e638f AUX plplot-5.5.2-macro-fix.patch 534 RMD160 71ffcec74770cab421a4756355f22818032e6e5c SHA1 0c1be25c54c94667371bbe386278960ed6cb4bdb SHA256 4a0d75b9e6d7ffeddfb38dcd58d9e440cde02ec93ce5ee22e48a3379c236874b AUX plplot-5.9.0-cmake.patch 14449 RMD160 d3f767d1229bafd6efd2da136260f77b02192cef SHA1 14a8b5d100694f1fc851ef38022d5064bce30b59 SHA256 eab7939ad0f630ff0b704996caa788708099be903ba8304723c981968f6ab685 @@ -8,14 +5,9 @@ AUX plplot-5.9.0-pdftex.patch 3603 RMD160 8ed16124102a4c0ae404de0b0e6475d7f85bc7 AUX plplot-5.9.0-python.patch 283 RMD160 6252e5a37fd79aafc2e6333cc67fe7fddc76e54e SHA1 a7ebf85d462a3abd555d3acee6cfacecc266377e SHA256 25138e47df484955b67cc723ad2ccd3666ab3e9335f0838f82e569ff1e6d2f9a DIST plplot-5.5.2.tar.gz 5891255 RMD160 55ea8e7dde5c0542ce8f360228a676049ad7d701 SHA1 72e0830b12d7d50ff9ac5b54e49aa1813a580786 SHA256 267d9c4070b8b6de75590efc24388da670dd5d0039a5dc21ecb803366d14730c DIST plplot-5.9.2.tar.gz 6666641 RMD160 b134b99a40b320d2e03601191aefa8967701acf8 SHA1 271b7792e547f71ae7123b4bef10d92720fb7e5c SHA256 6aa22f1c7b210f819d54e761a6df573038d961c99183bcdc59c7a92d4cf72587 +DIST plplot-5.9.4.tar.gz 6921093 RMD160 926ceda7e7821d5ca82affed05a90611476584a0 SHA1 2649f3628d7d6b2d9267e55b33b56cae3b20fb3d SHA256 b18ec085291dbdbb06492f1b01a7bec2ed4f7dba02e08b8591190172423fbe66 EBUILD plplot-5.5.2.ebuild 5150 RMD160 f4566a19c4a0dc8c76fd760396046dec47fde91d SHA1 f874b95ad608a7830f72bb4d5fd775e2dc2cb38a SHA256 56eaae02509aaec912d3baaeb719461dfc9395419d626d0158327dcea06481e6 EBUILD plplot-5.9.2.ebuild 5027 RMD160 53bb02f1d2069f5473bb339908749bdd8034f20b SHA1 8ec7fc7d81380cf334a4ef461d3e05b189ec78f1 SHA256 ef495930a873f8d61d00211d2d46cae48996da508723672e8f71dac761927d91 -MISC ChangeLog 3747 RMD160 bb84664d6b89dcd246e7f68ee9761db96a4247c0 SHA1 ba1c959de3d6dc3a93494276c0b837fa4090d5ee SHA256 b5397bfdd27b579e35c91b0cc4457cd6dfe4347006625e98102f81db42d88c50 +EBUILD plplot-5.9.4.ebuild 5027 RMD160 ebcb9d8db1e8cc3a92bbe3124c0510af162f7a6b SHA1 dfaeb026961c251cfe8cd382185fa12a19336020 SHA256 b854ffefa5bbf444d59c1a94ec5bedc1e068f2dfa0114260cdb00657eb04d6cc +MISC ChangeLog 3868 RMD160 0c74f89b77834a2bd386511af453778c5d7c7ba8 SHA1 90c7d7e50204ff21ceab48e139956419ff97340e SHA256 15d7fcfde35c8fbe9d4bf6031a8005212c10815e777d0826b377f36cb84dbb6b MISC metadata.xml 1429 RMD160 7df6d6b4334c97bffcc04e6162609d614484ca2a SHA1 2bcc9006b03b5ef5b6331766ebcad535b74a6394 SHA256 eb6173703686df98812dcba922d9d4ccc61023cce655fd996d71c06573f614b7 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.10 (GNU/Linux) - -iEYEARECAAYFAkm7t9MACgkQ1ycZbhPLE2ChTACgipdrHERSLkBrisT3XqnTgH1k -9hEAoK0BfmZwNQSWp0+UQP6W7LKNB2d4 -=o9R2 ------END PGP SIGNATURE----- diff --git a/sci-libs/plplot/plplot-5.9.4.ebuild b/sci-libs/plplot/plplot-5.9.4.ebuild new file mode 100644 index 000000000000..1f5b981ad568 --- /dev/null +++ b/sci-libs/plplot/plplot-5.9.4.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.9.4.ebuild,v 1.1 2009/08/25 02:59:51 markusle Exp $ + +EAPI="2" +WX_GTK_VER="2.8" +inherit eutils fortran cmake-utils wxwidgets java-pkg-opt-2 + +DESCRIPTION="Multi-language scientific plotting library" +HOMEPAGE="http://plplot.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ada cairo doc examples fortran gd gnome java jpeg latex octave + pdf perl png python qhull svg svga tcl threads tk truetype wxwindows X" + +RDEPEND="ada? ( virtual/gnat ) + cairo? ( x11-libs/cairo[svg?,X?] ) + java? ( >=virtual/jre-1.5 ) + gd? ( media-libs/gd[jpeg?,png?] ) + gnome? ( gnome-base/libgnomeui + gnome-base/libgnomeprintui + python? ( dev-python/gnome-python ) ) + latex? ( virtual/latex-base virtual/ghostscript ) + octave? ( >=sci-mathematics/octave-3 ) + pdf? ( media-libs/libharu ) + perl? ( dev-perl/PDL dev-perl/XML-DOM ) + python? ( dev-python/numpy ) + svga? ( media-libs/svgalib ) + tcl? ( dev-lang/tcl dev-tcltk/itcl ) + tk? ( dev-lang/tk dev-tcltk/itk ) + truetype? ( media-fonts/freefont-ttf + media-libs/lasi + gd? ( media-libs/gd[truetype] ) ) + wxwindows? ( x11-libs/wxGTK:2.8[X] x11-libs/agg ) + X? ( x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp )" + +DEPEND="${RDEPEND} + >=dev-util/cmake-2.6 + dev-util/pkgconfig + doc? ( app-text/opensp + app-text/jadetex + app-text/docbook2X + app-text/docbook-dsssl-stylesheets + dev-perl/XML-DOM + virtual/latex-base + virtual/ghostscript + sys-apps/texinfo ) + java? ( >=virtual/jdk-1.5 dev-lang/swig ) + python? ( dev-lang/swig ) + qhull? ( media-libs/qhull )" + +pkg_setup() { + if use fortran; then + FORTRAN="gfortran ifc g77" + fortran_pkg_setup + fi + export FC=${FORTRANC} F77=${FORTRANC} + + wxwidgets_pkg_setup +} + +src_prepare() { + # path for python independent of python version + epatch "${FILESDIR}"/${PN}-5.9.0-python.patch + + # remove license + sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die + + # change default install directories for doc and examples + sed -i \ + -e 's:${DATA_DIR}/examples:${DOC_DIR}/examples:g' \ + examples/CMakeLists.txt examples/*/CMakeLists.txt || die + sed -i \ + -e 's:${VERSION}::g' \ + -e "s:doc/\${PACKAGE}:doc/${PF}:" \ + cmake/modules/instdirs.cmake || die + + # haru pdf devide does not build with HPDF_SHARED + sed -i \ + -e 's:-DHPDF_SHARED::' \ + cmake/modules/pdf.cmake || die + + # default location for docbook crap + sed -i \ + -e 's:xml/declaration:sgml:' \ + cmake/modules/docbook.cmake || die +} + +src_configure() { + # see http://www.miscdebris.net/plplot_wiki/index.php?title=CMake_options_for_PLplot + + cmake-utils_pld() { _use_me_now PLD "$@" ; } + + mycmakeargs=" + -DUSE_RPATH=OFF + -DDEFAULT_ALL_DEVICES=ON + -DCMAKE_INSTALL_LIBDIR=/usr/$(get_libdir) + $(cmake-utils_has python numpy) + $(cmake-utils_has qhull QHULL) + $(cmake-utils_has threads PTHREAD) + $(cmake-utils_has truetype FREETYPE) + $(cmake-utils_use_enable ada ada) + $(cmake-utils_use_enable fortran f77) + $(cmake-utils_use_enable java java) + $(cmake-utils_use_enable gnome gnome2) + $(cmake-utils_use_enable octave octave) + $(cmake-utils_use_enable perl pdl) + $(cmake-utils_use_enable python python) + $(cmake-utils_use_enable tcl tcl) + $(cmake-utils_use_enable tcl itcl) + $(cmake-utils_use_enable tk tk) + $(cmake-utils_use_enable tk itk) + $(cmake-utils_use_enable wxwindows wxwidgets) + $(cmake-utils_pld pdf pdf) + $(cmake-utils_pld truetype psttf) + $(cmake-utils_pld latex pstex) + $(cmake-utils_pld svga linuxvga)" + + use fortran && [[ ${FORTRANC} != g77 ]] && \ + mycmakeargs="${mycmakeargs} $(cmake-utils_use_enable fortran f95)" + + use truetype && mycmakeargs="${mycmakeargs} + -DPL_FREETYPE_FONT_PATH:PATH=/usr/share/fonts/freefont-ttf" + + if use python && use gnome; then + mycmakeargs="${mycmakeargs} -DENABLE_pygcw=ON" + else + mycmakeargs="${mycmakeargs} -DENABLE_pygcw=OFF" + fi + if use cairo; then + # memcairo buggy, see cmake/modules/drivers-init.cmake + mycmakeargs="${mycmakeargs} + -DPLD_memcairo=OFF + -DPLD_extcairo=OFF + -DPLD_pdfcairo=ON + -DPLD_pngcairo=ON + -DPLD_pscairo=ON + $(cmake-utils_pld svg svgcairo) + $(cmake-utils_pld X xcairo)" + else + mycmakeargs="${mycmakeargs} + -DPLD_memcairo=OFF + -DPLD_extcairo=OFF + -DPLD_pdfcairo=OFF + -DPLD_pngcairo=OFF + -DPLD_pscairo=OFF + -DPLD_svgcairo=OFF + -DPLD_xcairo=OFF" + fi + cmake-utils_src_configure +} + +src_compile() { + # separate doc and normal because doc building crashes with parallel + cmake-utils_src_make + if use doc; then + mycmakeargs="${mycmakeargs} -DBUILD_DOC=ON" + mycmakeargs="${mycmakeargs} -DHAVE_DB_DTD=ON" + mycmakeargs="${mycmakeargs} -DHAVE_DSSSL_DTD=ON" + mycmakeargs="${mycmakeargs} -DHAVE_HTML_SS=ON" + mycmakeargs="${mycmakeargs} -DHAVE_PRINT_SS=ON" + cmake-utils_src_configure + cmake-utils_src_make -j1 + fi +} + +src_install() { + cmake-utils_src_install + use examples || rm -rf "${D}"usr/share/doc/${PF}/examples +} |