version bump
authorChristoph Junghans <ottxor@gentoo.org>
Mon, 28 Nov 2011 05:22:38 +0000 (05:22 +0000)
committerChristoph Junghans <ottxor@gentoo.org>
Mon, 28 Nov 2011 05:22:38 +0000 (05:22 +0000)
Package-Manager: portage-2.2.0_alpha79/cvs/Linux i686

sci-visualization/gnuplot/ChangeLog
sci-visualization/gnuplot/Manifest
sci-visualization/gnuplot/gnuplot-4.4.4.ebuild [new file with mode: 0644]

index d98db8227ccbe5ea2ec135edfe43abe2e7c6f15e..9de19cfeae3d617578b2c84667fc516ad08691fa 100644 (file)
@@ -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.167 2011/11/11 22:56:21 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.168 2011/11/28 05:22:38 ottxor Exp $
+
+*gnuplot-4.4.4 (28 Nov 2011)
+
+  28 Nov 2011; Christoph Junghans <ottxor@gentoo.org> +gnuplot-4.4.4.ebuild:
+  version bump
 
   11 Nov 2011; Ulrich Mueller <ulm@gentoo.org> gnuplot-4.2.6-r2.ebuild,
   gnuplot-4.4.3-r1.ebuild:
index 12fab13eb3fea6ad59167cf1476b6b743b256702..9c920bba895bae9ef2b1a479470490d0fc22dacc 100644 (file)
@@ -11,15 +11,21 @@ DIST gnuplot-4.2.6.tar.gz 2936753 RMD160 3b1726e5327b17bb7b528198e62a12b9fe3e5a7
 DIST gnuplot-4.4.2.tar.gz 3299690 RMD160 077d6d353e0370d1f8463693380030722f5789af SHA1 35666be22e877ade5e272199d3d81555c141cef5 SHA256 37e8c8d4838fb84a3ad97a6c4823f086b929cb18d6613a2d0e8227ce0d4de9e4
 DIST gnuplot-4.4.3-texinfo-update.patch.gz 7519 RMD160 73188caf8edbc84d11b43ea16a93fb5c9bece959 SHA1 dbd8d69214ae99411a2ffcc63f309cd342622865 SHA256 6153e081a0165682b052188a0166408e353a03be5fa1465d889c75f56d32700a
 DIST gnuplot-4.4.3.tar.gz 3305912 RMD160 90290eb2b6b9404dc520080439bdee9056e61fc4 SHA1 a4d315b9288739e3cbaa04d8ddda7861b4009bd4 SHA256 6faa236ed5c744f34a9ac58ef89dab6177a15c5835dc3644a0a12779439426e6
+DIST gnuplot-4.4.4.tar.gz 3328278 RMD160 7e1d039c05c46fa38b53a3c4afbd328509da901d SHA1 d4f143eade1f8d8b27be44cbda431d37a71c6a31 SHA256 d228599d08d5f87bcb79af8af8bb432c77d942802b1643f920c7baaeaf1ddbfd
 EBUILD gnuplot-4.2.6-r2.ebuild 6248 RMD160 6f71b84f8910c13486a16909588bba6bb090281e SHA1 95410f2ca5668e1cab008ca07b0fb03872d98040 SHA256 7772cb9ebe0bc7988f8b560f56daee45224e60f2e4561923876634d69d8c40f6
 EBUILD gnuplot-4.4.2-r1.ebuild 6181 RMD160 63faef8bd6011bcc598e17671b987abbd27f598d SHA1 edf29dde8d42dc8909ae12071e9b603af61dfb99 SHA256 92d37d2469a9a6122f2405a1cd5f86980b0e2ae279d677c9e3ad886eed5fbf1f
 EBUILD gnuplot-4.4.3-r1.ebuild 6840 RMD160 abe9cddabf8c4ac8fdb5aa5442ad2a13773592c9 SHA1 e057f3b0c3ac60fc6dd6e67877195ff31ac62c95 SHA256 d7d47d7e2eb251b043b933c69134d3f3409581682bad4d2f63caf48c9dac8379
-MISC ChangeLog 30695 RMD160 3557ddca468e5767b97d40dde66bfa34cd0ef6bf SHA1 cb896ed8495ddac5c2ceb5e7f982b9e5a57b94fa SHA256 fa6c17121dccdda772b023c327c30eb031595fc8f85ed1333b37c77b2ae0579d
+EBUILD gnuplot-4.4.4.ebuild 6722 RMD160 2c63f1f97a845ae641c947bcd61bfb90cb9c9fae SHA1 1415611fd244b95e154800d0e8024de3f0b27f24 SHA256 24eb1b38df2c0c6ff483700e247ffeab1b10c2a95f60da2acdb7e4d78a48f12d
+MISC ChangeLog 30821 RMD160 3f71173c3f24798d7f49856f5872629382fc91bf SHA1 8d7dd2d89be5f0f44450501020b8976c00403bd4 SHA256 43036d4292067f80830aae06fde971e0caa41b32a1d76c29ea79932eb614668c
 MISC metadata.xml 827 RMD160 e6b9c60a2d8ad33c3ed2c649ead9e836b1a54fdb SHA1 23524656ce50cf1b1b44fda522c79c6ce78afa1b SHA256 d98221cb62667b8e7eaafa41b3a89be5bf2b9fbfc958b3adde99150839403ea5
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk69qCIACgkQOeoy/oIi7uybmACfYJj6mgajH8PNcukyfWDtJwz7
-lawAn3g5yGO50V+qhDZ+Qfy2F6x4qoaJ
-=5ZLX
+iQEcBAEBAgAGBQJO0xqkAAoJEOeBhlrCAAWGLbIH/2XVsrdem45YpcBP3pA3BOB/
+hkai/3Ge0Srl5cxFbuj6W53x8GA48Yyp85cjA2yZFnmTSOTih5kSeDMtdkzBB7dY
+98crIONXltsMCXxFd7pdKB858dsyQv/ppYTYqomchpbTKRS9TGtZWLKcoDNPhq88
+NaMoq9/jjCtbN1/b4uVb5FmY1agLCqjViJLO19HAXq0YiyZDX54fbIxZJg35j1Es
+W5bqoVxq7o/fcr+aiU36CBRSfpn1nA50FYRiLiDavPrSq753Klxxu2rTe1/5J9TB
+jI9JC2vDPATe0fu4h1KXrfW6bxwG8WbG3l5NuR1czlE1E9cROnRrFkF6b47gTfo=
+=ftiT
 -----END PGP SIGNATURE-----
diff --git a/sci-visualization/gnuplot/gnuplot-4.4.4.ebuild b/sci-visualization/gnuplot/gnuplot-4.4.4.ebuild
new file mode 100644 (file)
index 0000000..5c82dce
--- /dev/null
@@ -0,0 +1,249 @@
+# 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.4.ebuild,v 1.1 2011/11/28 05:22:38 ottxor Exp $
+
+EAPI=3
+
+inherit elisp-common multilib 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-4-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"
+fi
+
+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 examples +gd ggi latex lua plotutils readline svga thin-splines wxwidgets X xemacs"
+
+RDEPEND="
+       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 )"
+DEPEND="${RDEPEND}
+       dev-util/pkgconfig
+       doc? (
+               virtual/latex-base
+               dev-texlive/texlive-latexextra
+               app-text/ghostscript-gpl )
+       !emacs? ( xemacs? ( app-xemacs/texinfo ) )"
+
+RESTRICT="wxwidgets? ( test )"
+
+S="${WORKDIR}/${MY_P}"
+
+GP_VERSION="${PV%.*}"
+E_SITEFILE="50${PN}-gentoo.el"
+TEXMF="${EPREFIX}/usr/share/texmf-site"
+
+src_prepare() {
+       if [[ -z ${PV%%*9999} ]]; then
+               local dir
+               for dir in config demo m4 term tutorial; do
+                       emake -C "$dir" -f Makefile.am.in Makefile.am || \
+                               die "make -f Makefile.am.in Makefile.am in $dir failed"
+               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
+}
+
+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/" \
+               EMACS=$(usev emacs || usev xemacs || echo no)
+
+       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 all info || 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 examples; 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*
+       fi
+       if use doc; then
+               # 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
+
+       elog "Gnuplot no longer links against pdflib, see the ChangeLog for"
+       elog "details. You can use the \"pdfcairo\" terminal for PDF output."
+       use cairo || elog "It is available with USE=\"cairo\"."
+
+       if use svga; then
+               echo
+               elog "In order to enable ordinary users to use SVGA console graphics"
+               elog "gnuplot needs to be set up as setuid root. Please note that"
+               elog "this is usually considered to be a security hazard."
+               elog "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
+       fi
+       if use gd; then
+               echo
+               elog "For font support in png/jpeg/gif output, you may have to"
+               elog "set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT environment"
+               elog "variables. See the FAQ file in /usr/share/doc/${PF}/"
+               elog "for more information."
+       fi
+}
+
+pkg_postrm() {
+       use emacs && elisp-site-regen
+       use latex && texmf-update
+}