From c381e5163be8880307fa214de22d61eb01ff059a Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Sun, 10 Oct 2010 20:12:41 +0000 Subject: Version bump, added flag for D compiler bindings Package-Manager: portage-2.2_rc91/cvs/Linux x86_64 --- sci-libs/plplot/ChangeLog | 8 +- sci-libs/plplot/Manifest | 17 ++-- sci-libs/plplot/metadata.xml | 1 + sci-libs/plplot/plplot-5.9.5.ebuild | 191 ------------------------------------ sci-libs/plplot/plplot-5.9.7.ebuild | 191 ++++++++++++++++++++++++++++++++++++ 5 files changed, 207 insertions(+), 201 deletions(-) delete mode 100644 sci-libs/plplot/plplot-5.9.5.ebuild create mode 100644 sci-libs/plplot/plplot-5.9.7.ebuild (limited to 'sci-libs/plplot') diff --git a/sci-libs/plplot/ChangeLog b/sci-libs/plplot/ChangeLog index 3879068d1294..d25304279fad 100644 --- a/sci-libs/plplot/ChangeLog +++ b/sci-libs/plplot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/plplot # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.29 2010/07/04 18:27:02 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.30 2010/10/10 20:12:41 bicatali Exp $ + +*plplot-5.9.7 (10 Oct 2010) + + 10 Oct 2010; Sébastien Fabbro -plplot-5.9.5.ebuild, + +plplot-5.9.7.ebuild, metadata.xml: + Version bump, added flag for D compiler bindings *plplot-5.9.6 (04 Jul 2010) diff --git a/sci-libs/plplot/Manifest b/sci-libs/plplot/Manifest index 88ac9894ccea..da136fd88317 100644 --- a/sci-libs/plplot/Manifest +++ b/sci-libs/plplot/Manifest @@ -3,17 +3,16 @@ Hash: SHA1 AUX plplot-5.9.0-python.patch 283 RMD160 6252e5a37fd79aafc2e6333cc67fe7fddc76e54e SHA1 a7ebf85d462a3abd555d3acee6cfacecc266377e SHA256 25138e47df484955b67cc723ad2ccd3666ab3e9335f0838f82e569ff1e6d2f9a AUX plplot-5.9.6-python.patch 379 RMD160 0a86baca63a0078974928be8802bcf8eb5bdbf20 SHA1 480e20d98e14dd468737e52be0c53f1d25f0fc5d SHA256 a338e7b7d9893aabf0bc2e4bc5bd25a97b81674abfa40492b6cc8a33fe8763c8 -DIST plplot-5.9.5-wxwidgets-cmake.patch.bz2 9827 RMD160 cfcedd58cfcdba8bbcdc9b650b57e15693e8ce89 SHA1 6d4d16140f6764507f9db5c9bd979d7cee280f94 SHA256 44c91584721864b6fb0f217b1ff6e511484b6e44b9ca11d08367a3427befbb0e -DIST plplot-5.9.5.tar.gz 7071486 RMD160 75f21ad12fbe952c964e0a9b3d298a4f059157c2 SHA1 f24d096238398b5519427145f0134ce1c180f0e8 SHA256 094cdfa1fced0cf86a52fdc3dae062a120f025ac271ddc3676a3fba7134538c3 DIST plplot-5.9.6.tar.gz 7221179 RMD160 c7c300dbb57101e8c3157457174b3d243a5d6e69 SHA1 c4926e8d47c213cca5de4182923f81397d1f9b7d SHA256 a1324a5c5677f4d45b95a27d788a5bee8a99143d9aa3ff0c0f2c769e90e61aad -EBUILD plplot-5.9.5.ebuild 5505 RMD160 4639fc5e3f77d7dac150055bf8434c8dce835251 SHA1 5a60dc55a311560ee556167f70e3470a6061f0a4 SHA256 386ec4aa2c7a5369e6c72a1a177cc4f3341ccd3bc3dd051a11f576a0e8cd0c55 +DIST plplot-5.9.7.tar.gz 7230997 RMD160 4dacdbe908830f79d7200933a6b16f1fefa53d26 SHA1 4bfdc2e8ead40ba280ea02ddb56dc90201f5fd47 SHA256 fbf9f48c4c4d96cb9eeb9d821c09b0ce4a36ae5dda9e378f5367f6b9671725e0 EBUILD plplot-5.9.6.ebuild 5487 RMD160 d9cc7c47f9fa1618df7e8e52cafa2f7a8b811713 SHA1 1059baa738c0460e60a1e12bc95593d027e34caa SHA256 e80f285c0d7449707574729a6376b0d08f87140ceb47cb2d525c898ab763d2af -MISC ChangeLog 5143 RMD160 db2af3c015b634c3e3feb5c4f1008553f3390ec1 SHA1 bbc63089fc753b5c6597c224e71d81a74ef13604 SHA256 aa3c35966852cf34c54799423255095a82fc6e6add3112077621937cde3a7294 -MISC metadata.xml 1219 RMD160 f221eb3d8c1967c473532291a0605628d95a9c68 SHA1 bd13e4b7ccfd9cdf2d5b129476f3f4d9f6875a15 SHA256 2d3438d25fa17ccdf08c18aa421a442f86a0dce5cef5753811e8aa7109adc74a +EBUILD plplot-5.9.7.ebuild 5530 RMD160 1eee5a12e2ccd89003a234b7a98fe7757d7c23c1 SHA1 572b7c6f9072b669dbcba8c8b044bc21f80b6382 SHA256 d3dee9770c38235fb6bd750f86fb33305e5b477320dcac82978d42490e43a33b +MISC ChangeLog 5343 RMD160 250cd4de3d7350c07981d0fb05a877a8f17ce631 SHA1 d26e050c46c38f5c23cba2340f92f8749a6699fb SHA256 0beb9e0771fc24941a4d8a67bb54d1bcd77466ef46f987512239f362be0d3648 +MISC metadata.xml 1287 RMD160 16881b806950d595ee82f28ea2a7246e5a41622b SHA1 f0b23914c3453cc751b59c62130c6d7dc08226c8 SHA256 955d599fa5a8c9ca568611283e562b2cdd91e606642636823544b8b2d8de25c7 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAkww0n4ACgkQgAnW8HDreRb6DACgtxz5Xe0tiUtOXWwjw5kUtpTO -OrIAoLhldr67QDD3JsRso1uar6Kk/+nE -=LQ+V +iEYEARECAAYFAkyyHkUACgkQ1ycZbhPLE2AxJACfYfrLiULenvgZz2MmnGjAtz12 +VwEAoKLwzK8Z+Q+hnj+v+mB2nKSx3/8C +=hG1i -----END PGP SIGNATURE----- diff --git a/sci-libs/plplot/metadata.xml b/sci-libs/plplot/metadata.xml index 964835975663..63ee7b93611e 100644 --- a/sci-libs/plplot/metadata.xml +++ b/sci-libs/plplot/metadata.xml @@ -17,6 +17,7 @@ Add bindings for the ADA programming language + Add bindings for the D programming language Add bindings for sci-mathematics/octave Add bindings for media-libs/qhull bindings diff --git a/sci-libs/plplot/plplot-5.9.5.ebuild b/sci-libs/plplot/plplot-5.9.5.ebuild deleted file mode 100644 index 2703ecc70e1b..000000000000 --- a/sci-libs/plplot/plplot-5.9.5.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.9.5.ebuild,v 1.6 2010/07/04 18:27:02 jlec Exp $ - -EAPI="2" - -WX_GTK_VER="2.8" -PYTHON_DEPEND="python? 2" - -inherit eutils cmake-utils python toolchain-funcs wxwidgets java-pkg-opt-2 - -DESCRIPTION="Multi-language scientific plotting library" -HOMEPAGE="http://plplot.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz - mirror://gentoo/${P}-wxwidgets-cmake.patch.bz2" - -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 qt4 svg svga tcl threads tk truetype wxwidgets 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 app-text/ghostscript-gpl ) - octave? ( >=sci-mathematics/octave-3 ) - pdf? ( media-libs/libharu ) - perl? ( dev-perl/PDL dev-perl/XML-DOM ) - python? ( dev-python/numpy ) - qt4? ( - x11-libs/qt-gui:4 - x11-libs/qt-svg:4 ) - 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] ) ) - wxwidgets? ( x11-libs/wxGTK:2.8[X] x11-libs/agg[truetype?] ) - 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 - app-text/ghostscript-gpl - 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 - export FC=$(tc-getFC) F77=$(tc-getF77) - else - export FC="" F77="" - fi - use wxwidgets && wxwidgets_pkg_setup - use python && python_set_active_version 2 - use java && java-pkg-opt-2_pkg_setup -} - -src_prepare() { - # path for python independent of python version - epatch "${FILESDIR}"/${PN}-5.9.0-python.patch - - # bug #242212 - epatch "${WORKDIR}"/${P}-wxwidgets-cmake.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 - - use java && java-utils-2_src_prepare -} - -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_use_has python numpy) - $(cmake-utils_use_has qhull QHULL) - $(cmake-utils_use_has threads PTHREAD) - $(cmake-utils_use_with 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 qt4 qt) - $(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_pld qt4 _svgqt) - $(cmake-utils_pld wxwidgets _wxwidgets) - $(cmake-utils_pld wxwidgets _wxpng) - $(cmake-utils_pld pdf pdf) - $(cmake-utils_pld truetype psttf) - $(cmake-utils_pld latex pstex) - $(cmake-utils_pld svga linuxvga)" - - use fortran && [[ $(tc-getFC) != 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 - VARTEXFONTS="${T}/fonts" cmake-utils_src_make -j1 - fi -} - -src_install() { - cmake-utils_src_install - use examples || rm -rf "${D}"usr/share/doc/${PF}/examples -} diff --git a/sci-libs/plplot/plplot-5.9.7.ebuild b/sci-libs/plplot/plplot-5.9.7.ebuild new file mode 100644 index 000000000000..6572b037f764 --- /dev/null +++ b/sci-libs/plplot/plplot-5.9.7.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.9.7.ebuild,v 1.1 2010/10/10 20:12:41 bicatali Exp $ + +EAPI="2" + +WX_GTK_VER="2.8" +PYTHON_DEPEND="python? 2" + +inherit eutils cmake-utils python toolchain-funcs 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 d doc examples fortran gd gnome java jpeg latex octave + pdf perl png python qhull qt4 svg svga tcl threads tk truetype wxwidgets 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 app-text/ghostscript-gpl ) + octave? ( >=sci-mathematics/octave-3 ) + pdf? ( media-libs/libharu ) + perl? ( dev-perl/PDL dev-perl/XML-DOM ) + python? ( dev-python/numpy ) + qt4? ( + x11-libs/qt-gui:4 + x11-libs/qt-svg:4 ) + 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] ) ) + wxwidgets? ( x11-libs/wxGTK:2.8[X] x11-libs/agg[truetype?] ) + 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 + app-text/ghostscript-gpl + 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 + export FC=$(tc-getFC) F77=$(tc-getF77) + else + export FC="" F77="" + fi + use wxwidgets && wxwidgets_pkg_setup + use python && python_set_active_version 2 + use java && java-pkg-opt-2_pkg_setup +} + +src_prepare() { + # path for python independent of python version + epatch "${FILESDIR}"/${PN}-5.9.6-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 + + # Problem if old version is installed + sed "/TEST_DYNDRIVERS/s:ON:OFF:g" -i drivers/CMakeLists.txt + + use java && java-utils-2_src_prepare +} + +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_use_has python numpy) + $(cmake-utils_use_has qhull QHULL) + $(cmake-utils_use_has threads PTHREAD) + $(cmake-utils_use_with truetype FREETYPE) + $(cmake-utils_use_enable ada ada) + $(cmake-utils_use_enable d) + $(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 qt4 qt) + $(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_pld qt4 _svgqt) + $(cmake-utils_pld wxwidgets _wxwidgets) + $(cmake-utils_pld wxwidgets _wxpng) + $(cmake-utils_pld pdf pdf) + $(cmake-utils_pld truetype psttf) + $(cmake-utils_pld latex pstex) + $(cmake-utils_pld svga linuxvga)" + + use fortran && [[ $(tc-getFC) != 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 + VARTEXFONTS="${T}/fonts" cmake-utils_src_make -j1 + fi +} + +src_install() { + cmake-utils_src_install + use examples || rm -rf "${D}"usr/share/doc/${PF}/examples +} -- cgit v1.2.3-65-gdbad