diff options
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/gnuplot/ChangeLog | 7 | ||||
-rw-r--r-- | sci-visualization/gnuplot/Manifest | 14 | ||||
-rw-r--r-- | sci-visualization/gnuplot/gnuplot-4.6.5.ebuild | 200 |
3 files changed, 216 insertions, 5 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog index 39e755de32e8..89fde9f9d814 100644 --- a/sci-visualization/gnuplot/ChangeLog +++ b/sci-visualization/gnuplot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-visualization/gnuplot # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.241 2014/04/25 13:16:04 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.242 2014/05/12 01:56:50 ottxor Exp $ + +*gnuplot-4.6.5 (12 May 2014) + + 12 May 2014; Christoph Junghans <ottxor@gentoo.org> +gnuplot-4.6.5.ebuild: + version bump, fix double install of manual 25 Apr 2014; Jeroen Roovers <jer@gentoo.org> gnuplot-4.6.4-r2.ebuild: Stable for HPPA (bug #508218). diff --git a/sci-visualization/gnuplot/Manifest b/sci-visualization/gnuplot/Manifest index c20e4fea6084..3bfe1b04c1cf 100644 --- a/sci-visualization/gnuplot/Manifest +++ b/sci-visualization/gnuplot/Manifest @@ -5,16 +5,22 @@ AUX gnuplot-4.6.2-gdversion.patch 877 SHA256 03b128ed38869a9547565c6ba3509eb6af7 AUX gnuplot-4.6.3-eldoc.patch 749 SHA256 b5aa370051e384bc463ac671c70c0a062eef22553e8cda053185e200d8cda054 SHA512 7cfb9c472f9bddc698163393ff4c070ffb3abf02bb1b644050ee0f2f54b4c9828c0722c0a44bc65264e5bcffea54cd1cad729d50a15888ee1539bc685ea50bd4 WHIRLPOOL 145ea0651a248af3e2d56f8c60e41c36f94e8236ae9458b8055512f4ac88ff7f26a1af51a6b5d22a73b2775d9d857d5516e381695abfc55660e4a3369e67c088 DIST gnuplot-4.6.3.tar.gz 4973116 SHA256 df5ffafa25fb32b3ecc0206a520f6bca8680e6dcc961efd30df34c0a1b7ea7f5 SHA512 8bb7af550c0847e65e041bd5bb6dc8cd3cee1e43a5306a7f9af0b5c82067bbe24a7f19c93914c88e4f08f2eee509773964e574e415710bbf99501e0cd3dad7e7 WHIRLPOOL 0566a93ad6af7813c8ebcbde00cb305cd037250959e25e43d93c7bb6313552851d59b70a5d02eae18449d1e18591e2e91ebdf9aac71d443f985fbb77493572f5 DIST gnuplot-4.6.4.tar.gz 4974176 SHA256 843a2019bcc89f76520ac2c88ada900917f28b90f809a47da50a1cffc9190431 SHA512 0431fa6e6f9504ea723b3b903ab0c5c35d4813022f4e56a8e8f09026a76774958695906e2be1fdf9d82a4d8c1d8958510a60731cfac4ae4dfe912f5e99cf31db WHIRLPOOL 4225bffa1a3cf581cec0d25d9ed6a989b30b862a14199c834a01a8f61e67a4b340aa3e7fe4da4718040927d7f2e42aed1cc8e093aedfba5392aec5571d27e073 +DIST gnuplot-4.6.5.tar.gz 5035657 SHA256 e550f030c7d04570e89c3d4e3f6e82296816508419c86ab46c4dd73156519a2d SHA512 5a9c55d664105242aaf6356e707094a7dd5a80ba8d836bc7b3ce8836bcf5d2a57174d38220ea9efc58fa04f3c5f7d680ca5023482cff1a62b93549ff0530c47d WHIRLPOOL 9b3bc60668af708359c66f01d3780ee1547a03d8842af7010505c98ec3f870df846d167f557157e2ec6f85bf55cc03be02dc3514f533a3adaf9edc7fca61037b DIST gnuplot.info-4.6.2.tar.xz 182168 SHA256 73307153e8f525cce04d8c2c09ef28e422f21cd216d019f7aef8dbe71b6cc1bd SHA512 805e11933addefde41a15287e96bff9f4e307bbffbabe4bf1a9c49663a688702d9e738750d4ca6db475c9c09c0b6a14589b7e18392161610709e8864c626d4ff WHIRLPOOL bc16e1b6a798e214516aba413b3843045b0489038943dec6511722fed1eba772ba1067a8cdcada216afa903de5744c0722fa9f856a74d8f8e68fa27016704e53 EBUILD gnuplot-4.6.3.ebuild 7039 SHA256 9a86dd58c0c9060b2441d349999def1f0a39a35d7f06b36509948228f917f893 SHA512 796751f75187a55d29b379b7c316ea525c4d62203a78cf2996d861d394f9bcd5cc220756966a3e41e975e5683a89cfa9483c6e3fd9ac46d54be0093b1146d786 WHIRLPOOL ce362c2e283f8fc6e334de97ae45a9932c8a1909cb14eb4ad615eefaeb9bda3431aeeb6ce974187fcbbef214df22cf341fbad37c18649e6ac7ecd27eb82216b3 EBUILD gnuplot-4.6.4-r1.ebuild 7028 SHA256 41f28793047ba8f88951ae8e2197ad40a15f9aacf55b2cda7f0ebbbaac956b6a SHA512 3419d2a520d77f308693928b84c485a4acec7ae1e5fab4860c35ff9bd67d4571097194656724de07e4867b4f64994f93873ae24d3fb4e906cf226efef3b3de17 WHIRLPOOL aa5381bb04aab81e685ee9454d16d2bc3f1f1d15d7c189d1c49bc43f4fa51cc92af071281c2993769e786908d7149b9de1c56330b440ec4669000df7dd6ffabe EBUILD gnuplot-4.6.4-r2.ebuild 5754 SHA256 6e31cbb4ff7ec2e5e8c8f7c4931b0872101a2bf636142566cd2c881bc6b7eb91 SHA512 0464f8cd05f8d0754c78fd1723143d4920b110dac51adccfdc9e5940312576e26494c2da4fd82ed90a4fe7d3ea6e9b4474ff566dd9f1691de0c7b0eab6e7bf15 WHIRLPOOL d1d8d5303425760e37518331667c28e8bf51c3f1eb82bc591d89a9e659c752685a059ae866f35893ae1f6e2491d3485e3b50031b22069d2280c2750ad41983c6 -MISC ChangeLog 40431 SHA256 e4748241274bbdf89c0b65d1a0a0b7bf6fc66bb4e226b06e3cb2376f330a438c SHA512 3ab40bada2f61c5d47d5f0a91e176a7c501ec957ab7bdcee71ebaf86afcbd0956a79e82b35277a52f14e96e91c76ba58ddbceda6634d49c567b6eac65a5c6b49 WHIRLPOOL fb42700c3d401594b647c97ee4201526116afae0aa6e9da166b9338484a59f96c037e81743b2025faa7cd6494d6a0b74af0a1b1a8dd9425eeef6bb295326e5f7 +EBUILD gnuplot-4.6.5.ebuild 5738 SHA256 39e9706f119ccb8c5628aa0cc86e2203746692409838679fd5b10ca049fef679 SHA512 f80b8291c49f8a4f094d43eb40fb94a6cc333a581911bed13c4e96df58d96f31729d334e2f8b63d357f28b00b7476020457d59363ebadbc6bf9549c8e486f74a WHIRLPOOL 2f21f008f0d321e7502423a9a325a08b540485a5679211d7e5f1b79c6a93b7812daec7994fed7755fe8cc8db3a5226d274e6b9aa43c3a928549c0e33fbe84aa8 +MISC ChangeLog 40587 SHA256 b1d005d7fed2f887156f0a4f26db33e0e2c49e6d4942ce1fcf5cf997244dedf6 SHA512 31921cc25b454b2245a55e54fcfc7ce7331bffcc6526a94358f9a3e89901264346786df999e355bb22c93506433626d0add41b80eca5a233739fe24e51e867d1 WHIRLPOOL d59b01c300f6992a65948eff76006ee7c50a4e2b80067f58509dd722afa401500b98d2bda21dd961fc5be2938771f526c342837684c16a4fdc153427284818b6 MISC metadata.xml 1011 SHA256 e70915c9ca263af29a8a4ed487f4e8693518dc9dc060ee3907b85869e84af3a4 SHA512 181a761a17a116db150c9cf9345ac311b823c34e340e367f338b697c661aa6fd14303fd47aafec629fb9cccd1af17cc61099f55bb032aa79b21c110ffa9ac5da WHIRLPOOL 25fe2556cb5e13fe35b6612d1306751f2c6c982bea8c76b32ee7255cad3c90b51348248bdfe3378330e7de083a8fb1cd842db3e9cbad731cf0cbd34bea9e5c2a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlNaYBUACgkQVWmRsqeSphOJKQCePEdLGvGrbQIbZCdYDtJAOSuP -WKIAnA4TIB8TVeCHD4jSGHP+TPBwmBNK -=blj7 +iQEcBAEBCAAGBQJTcCpxAAoJEOeBhlrCAAWGwXsH/08mW1F0gVZU10B03PJc5zsV +PFR616AIYZXCe2YcGEveblxz4oL964hhfU7fcqJ0yHFH7Z9na/yKtCmieKKpWjme +KJx56xFFfIYZzKIEH3Z5XKyBgCv5+dhZm6Cfe6l09Npn4RUgV3QgubWfhW6UKGES +WOZ9YQlEPOvEsuFrvc1l20UHYxTO5seesp3K9ftKMaZpxmaE+h+GqOdHSxnbtXuR +JGr1remMz6J45rzEK3wwI7GG5caspfjc0ruL3xWfWicpeyK/1zy5d/zl+UcGZOKI +LZ8JO3nvgSek4fJf1+X70EtB3Ox+Y983d8IqQhwSFkKzA2glMP10koJ/lBigMq8= +=/SLk -----END PGP SIGNATURE----- diff --git a/sci-visualization/gnuplot/gnuplot-4.6.5.ebuild b/sci-visualization/gnuplot/gnuplot-4.6.5.ebuild new file mode 100644 index 000000000000..2a6688ecb218 --- /dev/null +++ b/sci-visualization/gnuplot/gnuplot-4.6.5.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.6.5.ebuild,v 1.1 2014/05/12 01:56:50 ottxor Exp $ + +EAPI=5 + +inherit eutils flag-o-matic multilib readme.gentoo toolchain-funcs wxwidgets + +DESCRIPTION="Command-line driven interactive plotting program" +HOMEPAGE="http://www.gnuplot.info/" + +if [[ -z ${PV%%*9999} ]]; then + inherit autotools cvs + ECVS_SERVER="gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot" + ECVS_MODULE="gnuplot" + ECVS_BRANCH="branch-4-6-stable" + ECVS_USER="anonymous" + ECVS_CVS_OPTIONS="-dP" + MY_P="${PN}" + SRC_URI="" +else + MY_P="${P/_/.}" + SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz + mirror://gentoo/${PN}.info-4.6.2.tar.xz" +fi + +LICENSE="gnuplot bitmap? ( free-noncomm )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="aqua bitmap cairo doc examples +gd ggi latex lua plotutils qt4 readline svga thin-splines wxwidgets X" + +RDEPEND=" + cairo? ( + x11-libs/cairo + x11-libs/pango ) + gd? ( >=media-libs/gd-2.0.35-r3[png] ) + ggi? ( media-libs/libggi ) + latex? ( + virtual/latex-base + lua? ( + dev-tex/pgf + >=dev-texlive/texlive-latexrecommended-2008-r2 ) ) + lua? ( dev-lang/lua ) + plotutils? ( media-libs/plotutils ) + qt4? ( >=dev-qt/qtcore-4.5:4 + >=dev-qt/qtgui-4.5:4 + >=dev-qt/qtsvg-4.5:4 ) + readline? ( sys-libs/readline ) + svga? ( media-libs/svgalib ) + wxwidgets? ( + x11-libs/wxGTK:2.8[X] + x11-libs/cairo + x11-libs/pango + x11-libs/gtk+:2 ) + X? ( x11-libs/libXaw )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + virtual/latex-base + dev-texlive/texlive-latexextra + app-text/ghostscript-gpl )" + +S="${WORKDIR}/${MY_P}" + +GP_VERSION="${PV%.*}" +E_SITEFILE="lisp/50${PN}-gentoo.el" +TEXMF="${EPREFIX}/usr/share/texmf-site" + +src_prepare() { + if [[ -n ${PV%%*9999} ]]; then + epatch "${FILESDIR}/${PN}-4.6.2-gdversion.patch" #462996 + mv "${WORKDIR}"/gnuplot-4.6.2/docs/gnuplot.info docs || die + touch docs/gnuplot.info || die #464092#c12 and #466758 + else + local dir + for dir in config demo m4 term tutorial; do + emake -C "$dir" -f Makefile.am.in Makefile.am + done + eautoreconf + fi + + # Add special version identification as required by provision 2 + # of the gnuplot license + sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die + + # hacky workaround + # Please hack the buildsystem if you like + if use prefix && use qt4; then + append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/qt4 + fi + + DOC_CONTENTS='Gnuplot no longer links against pdflib, see the ChangeLog + for details. You can use the "pdfcairo" terminal for PDF output.' + use cairo || DOC_CONTENTS+=' It is available with USE="cairo".' + use svga && DOC_CONTENTS+='\n\nIn order to enable ordinary users to use + SVGA console graphics, gnuplot needs to be set up as setuid root. + Please note that this is usually considered to be a security hazard. + As root, manually "chmod u+s /usr/bin/gnuplot".' + use gd && DOC_CONTENTS+='\n\nFor font support in png/jpeg/gif output, + you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT + environment variables. See the FAQ file in /usr/share/doc/${PF}/ + for more information.' + DOC_CONTENTS+='\n\ngnuplot-mode for Emacs is now maintained and + distributed separately; the gnuplot ebuild no longer installs it. + Emerge app-emacs/gnuplot-mode for Emacs support.' + has_version "${CATEGORY}/${PN}[emacs(-)]" && FORCE_PRINT_ELOG=1 +} + +src_configure() { + if ! use latex; then + sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die + fi + + if use wxwidgets; then + WX_GTK_VER="2.8" + need-wxwidgets unicode + fi + + tc-export CC CXX #453174 + + econf \ + --without-pdf \ + --with-texdir="${TEXMF}/tex/latex/${PN}" \ + --with-readline=$(usex readline gnu builtin) \ + --without-lisp-files \ + $(use_with bitmap bitmap-terminals) \ + $(use_with cairo) \ + $(use_with doc tutorial) \ + $(use_with gd) \ + "$(use_with ggi ggi "${EPREFIX}/usr/$(get_libdir)")" \ + "$(use_with ggi xmi "${EPREFIX}/usr/$(get_libdir)")" \ + $(use_with lua) \ + "$(use_with plotutils plot "${EPREFIX}/usr/$(get_libdir)")" \ + $(use_with svga linux-vga) \ + $(use_with X x) \ + --enable-stats \ + $(use_enable qt4 qt) \ + $(use_enable thin-splines) \ + $(use_enable wxwidgets) \ + DIST_CONTACT="http://bugs.gentoo.org/" \ + EMACS=no +} + +src_compile() { + # Prevent access violations, see bug 201871 + VARTEXFONTS="${T}/fonts" + + # We believe that the following line is no longer needed. + # In case of problems file a bug report at bugs.gentoo.org. + #addwrite /dev/svga:/dev/mouse:/dev/tts/0 + + emake all info + + if use doc; then + # Avoid sandbox violation in epstopdf/ghostscript + addpredict /var/cache/fontconfig + emake -C docs pdf + emake -C tutorial pdf + fi +} + +src_install () { + emake -j1 DESTDIR="${D}" install + + doinfo docs/gnuplot.info + dodoc BUGS ChangeLog NEWS PGPKEYS PORTING README* + newdoc term/PostScript/README README-ps + newdoc term/js/README README-js + use lua && newdoc term/lua/README README-lua + readme.gentoo_create_doc + + if use examples; then + # Demo files + insinto /usr/share/${PN}/${GP_VERSION} + doins -r demo + rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile* + rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary* + fi + + if use doc; then + # Manual, tutorial, FAQ + dodoc tutorial/{tutorial.dvi,tutorial.pdf} FAQ.pdf + # Documentation for making PostScript files + docinto psdoc + dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README} + fi +} + +src_test() { + GNUTERM="unknown" default_src_test +} + +pkg_postinst() { + use latex && texmf-update + readme.gentoo_print_elog +} + +pkg_postrm() { + use latex && texmf-update +} |