diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-05-05 07:58:51 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-05-05 07:58:51 +0000 |
commit | 8e0d3c16de30c0d769e8d3bf282c478024be9061 (patch) | |
tree | 298322a2e8d739c590221d292105546959014b45 /sci-visualization | |
parent | Stable on amd64 wrt bug #365573 (diff) | |
download | historical-8e0d3c16de30c0d769e8d3bf282c478024be9061.tar.gz historical-8e0d3c16de30c0d769e8d3bf282c478024be9061.tar.bz2 historical-8e0d3c16de30c0d769e8d3bf282c478024be9061.zip |
Version bump, bug 365973.
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/gnuplot/ChangeLog | 7 | ||||
-rw-r--r-- | sci-visualization/gnuplot/Manifest | 10 | ||||
-rw-r--r-- | sci-visualization/gnuplot/gnuplot-4.4.3.ebuild | 216 |
3 files changed, 228 insertions, 5 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog index 34c9efa9bdd8..2ff767b8cb41 100644 --- a/sci-visualization/gnuplot/ChangeLog +++ b/sci-visualization/gnuplot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-visualization/gnuplot # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.151 2011/03/07 12:42:13 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.152 2011/05/05 07:58:51 ulm Exp $ + +*gnuplot-4.4.3 (05 May 2011) + + 05 May 2011; Ulrich Mueller <ulm@gentoo.org> +gnuplot-4.4.3.ebuild: + Version bump, bug 365973. 07 Mar 2011; Justin Lecher <jlec@gentoo.org> gnuplot-4.2.6-r2.ebuild, gnuplot-4.4.2-r1.ebuild: diff --git a/sci-visualization/gnuplot/Manifest b/sci-visualization/gnuplot/Manifest index 5bf054445771..20dd5c674516 100644 --- a/sci-visualization/gnuplot/Manifest +++ b/sci-visualization/gnuplot/Manifest @@ -9,14 +9,16 @@ AUX gnuplot-gentoo-version.patch 2079 RMD160 394bee0853cb9343864342a2a11a4453af3 DIST gnuplot-4.2.5-lua-term.patch.bz2 26660 RMD160 981db04276ce51ece9b95076856b9811de872e3d SHA1 845fffa290d66e51ce5924d020a1d9b3bf354986 SHA256 32f39b4eb14e41f22fc911c73adf740e38af0819315ee102449ad4e572ab1b7f DIST gnuplot-4.2.6.tar.gz 2936753 RMD160 3b1726e5327b17bb7b528198e62a12b9fe3e5a76 SHA1 d11fdde8218bee98597ee836cbc17e4bf6093b70 SHA256 81fbc2eb6077bd6abfe98c5c82aae14a2c970473ee4c2c37743ff3b1e2aa8e82 DIST gnuplot-4.4.2.tar.gz 3299690 RMD160 077d6d353e0370d1f8463693380030722f5789af SHA1 35666be22e877ade5e272199d3d81555c141cef5 SHA256 37e8c8d4838fb84a3ad97a6c4823f086b929cb18d6613a2d0e8227ce0d4de9e4 +DIST gnuplot-4.4.3.tar.gz 3305912 RMD160 90290eb2b6b9404dc520080439bdee9056e61fc4 SHA1 a4d315b9288739e3cbaa04d8ddda7861b4009bd4 SHA256 6faa236ed5c744f34a9ac58ef89dab6177a15c5835dc3644a0a12779439426e6 EBUILD gnuplot-4.2.6-r2.ebuild 6174 RMD160 d8ec6d071a72b96c2506d4952ea0299d6aa3a2bc SHA1 7f675e12d9623d46012df12df5bea08a47dd466f SHA256 8c0b27398df6bdcd59929bd2bc5a66814a2274dbef2b48a57e11d906412b736d EBUILD gnuplot-4.4.2-r1.ebuild 6096 RMD160 d3bda7e8a4b4fe2b3a2cb35285e097e8d2e46813 SHA1 148c05a41145b5da9beec25800e864beff1d3cc9 SHA256 8a359ec90450ca3f1641044ac860b38eaa3514c40c8429cfa3b9f523499261cf -MISC ChangeLog 28497 RMD160 eff6f5eceb2469692e1676ad36e8fa729d580472 SHA1 bc53e3f4d2debbc68f4093d38a7d493cc380fe2c SHA256 7c9af55d45d056e871063a36207df0a7db09f497d378d73189c5607adb26565f +EBUILD gnuplot-4.4.3.ebuild 6101 RMD160 722ecec5517a3d6a4765d66a897e485cf40c30f6 SHA1 67ea46a57b1a7228e90a58db3f2f8d2cd6a7a10c SHA256 b89c67d2b5425eca4d3536b47ea10aa37278a6e73f0dbce330093727cb4b64a9 +MISC ChangeLog 28625 RMD160 7461c971c71e48409a27bd94d86ee6a25539924c SHA1 1ebd989d49c88818e98f609d029ce6501e9a5a53 SHA256 d162b439ca79201843f673b648d2a5ef0e77a6ca9e2c45d55b38a6874f647abf MISC metadata.xml 404 RMD160 7c05f336a5561bb8b6dfa4ac1f70889c0c6d3f5c SHA1 a8ae16bc80aedbedbfa575b538bf95b71ce4c319 SHA256 dfacaf36a82a2dd67ea22d03f8c6c56bd4bd60588e9187c8a8e0988ae10a3a3b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk100q4ACgkQgAnW8HDreRYBbACeN3ahwfkpGokMG7cI1/fWeNSu -Y0YAn1R4RFfbGe7J3v83dnrRrWT4H6y2 -=eEn2 +iEYEARECAAYFAk3CWTkACgkQOeoy/oIi7uxDVwCg1bg5yeTaP46EF+bqix1PxAJV +qXsAn3irU5PLOuWUD52+MDTAbDoJvSpm +=+8Rr -----END PGP SIGNATURE----- diff --git a/sci-visualization/gnuplot/gnuplot-4.4.3.ebuild b/sci-visualization/gnuplot/gnuplot-4.4.3.ebuild new file mode 100644 index 000000000000..b77acc5b41bb --- /dev/null +++ b/sci-visualization/gnuplot/gnuplot-4.4.3.ebuild @@ -0,0 +1,216 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.4.3.ebuild,v 1.1 2011/05/05 07:58:51 ulm Exp $ + +EAPI=3 + +inherit elisp-common multilib wxwidgets + +MY_P="${P/_/-}" +DESCRIPTION="Command-line driven interactive plotting program" +HOMEPAGE="http://www.gnuplot.info/" +SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz" + +LICENSE="gnuplot GPL-2" +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="cairo doc emacs +gd ggi latex lua plotutils readline svga thin-splines wxwidgets X xemacs" + +RESTRICT="wxwidgets? ( test )" + +RDEPEND="!app-emacs/gnuplot-mode + cairo? ( x11-libs/cairo + x11-libs/pango ) + emacs? ( virtual/emacs ) + gd? ( media-libs/gd[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 ) + 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 ) + xemacs? ( app-editors/xemacs + app-xemacs/xemacs-base + app-xemacs/texinfo )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( virtual/latex-base + app-text/ghostscript-gpl )" + +S="${WORKDIR}/${MY_P}" +GP_VERSION="${PV%.*}" +E_SITEFILE="50${PN}-gentoo.el" +TEXMF="${EPREFIX}/usr/share/texmf-site" + +src_prepare() { + # Add special version identification as required by provision 2 + # of the gnuplot license + sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die +} + +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 + + local myconf + myconf="${myconf} --without-lisp-files" + myconf="${myconf} --without-pdf" + myconf="${myconf} --with-texdir=${TEXMF}/tex/latex/${PN}" + myconf="${myconf} $(use_with cairo)" + myconf="${myconf} $(use_with doc tutorial)" + myconf="${myconf} $(use_with gd)" + myconf="${myconf} $(use_with ggi ggi ${EPREFIX}/usr/$(get_libdir))" + myconf="${myconf} $(use_with ggi xmi ${EPREFIX}/usr/$(get_libdir))" + myconf="${myconf} $(use_with lua)" + myconf="${myconf} $(use_with plotutils plot "${EPREFIX}"/usr/$(get_libdir))" + myconf="${myconf} $(use_with svga linux-vga)" + myconf="${myconf} $(use_enable thin-splines)" + myconf="${myconf} $(use_enable wxwidgets)" + myconf="${myconf} $(use_with X x)" + use readline \ + && myconf="${myconf} --with-readline=gnu" \ + || myconf="${myconf} --with-readline=builtin" + + econf ${myconf} DIST_CONTACT="http://bugs.gentoo.org/" + + if use xemacs; then + einfo "Configuring gnuplot-mode for XEmacs ..." + use emacs && cp -Rp lisp lisp-xemacs || ln -s lisp lisp-xemacs + cd "${S}/lisp-xemacs" + econf --with-lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/${PN}" EMACS=xemacs + fi + + if use emacs; then + einfo "Configuring gnuplot-mode for GNU Emacs ..." + cd "${S}/lisp" + econf --with-lispdir="${EPREFIX}${SITELISP}/${PN}" EMACS=emacs + fi +} + +src_compile() { + # Prevent access violations, see bug 201871 + VARTEXFONTS="${T}/fonts" + + # This is a hack to avoid sandbox violations when using the Linux console. + # Creating the DVI and PDF tutorials require /dev/svga to build the + # example plots. + addwrite /dev/svga:/dev/mouse:/dev/tts/0 + + emake || die + + if use xemacs; then + cd "${S}/lisp-xemacs" + emake || die + fi + + if use emacs; then + cd "${S}/lisp" + emake || die + fi + + if use doc; then + # Avoid sandbox violation in epstopdf/ghostscript + addpredict /var/cache/fontconfig + cd "${S}/docs" + emake pdf || die + cd "${S}/tutorial" + emake pdf || die + + if use emacs || use xemacs; then + cd "${S}/lisp" + emake pdf || die + fi + fi +} + +src_install () { + emake DESTDIR="${D}" install || die + + if use xemacs; then + cd "${S}/lisp-xemacs" + emake DESTDIR="${D}" install || die + fi + + if use emacs; then + cd "${S}/lisp" + emake DESTDIR="${D}" install || die + # info-look* is included with >=emacs-21 + rm -f "${ED}${SITELISP}/${PN}"/info-look* + + # Gentoo emacs site-lisp configuration + echo "(add-to-list 'load-path \"@SITELISP@\")" > ${E_SITEFILE} + sed '/^;; move/,+3 d' dotemacs >> ${E_SITEFILE} || die + elisp-site-file-install ${E_SITEFILE} || die + fi + + cd "${S}" + dodoc BUGS ChangeLog NEWS PGPKEYS PORTING README* TODO + newdoc term/PostScript/README README-ps + newdoc term/js/README README-js + use lua && newdoc term/lua/README README-lua + + if use doc; then + # Demo files + insinto /usr/share/${PN}/${GP_VERSION} + doins -r demo || die + rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile* + rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary* + # Manual + dodoc docs/gnuplot.pdf + # Tutorial + dodoc tutorial/{tutorial.dvi,tutorial.pdf} + # FAQ + dodoc FAQ.pdf + # Documentation for making PostScript files + docinto psdoc + dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README} + fi + + if use emacs || use xemacs; then + docinto emacs + dodoc lisp/ChangeLog lisp/README + use doc && dodoc lisp/gpelcard.pdf + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + use latex && texmf-update + + einfo "Gnuplot no longer links against pdflib, see the ChangeLog for" + einfo "details. You can use the \"pdfcairo\" terminal for PDF output." + use cairo || einfo "It is available with USE=\"cairo\"." + + if use svga; then + echo + einfo "In order to enable ordinary users to use SVGA console graphics" + einfo "gnuplot needs to be set up as setuid root. Please note that" + einfo "this is usually considered to be a security hazard." + einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"." + fi + if use gd; then + echo + einfo "For font support in png/jpeg/gif output, you may have to" + einfo "set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT environment" + einfo "variables. See the FAQ file in /usr/share/doc/${PF}/" + einfo "for more information." + fi +} + +pkg_postrm() { + use emacs && elisp-site-regen + use latex && texmf-update +} |