AUX gnuplot-4.2.3-disable-texhash.patch 677 RMD160 b299c7425e735ebad6afa1e2d154190fb2f3fdf8 SHA1 6e5f25a0283b2dd887738d8caee7c92d1905b1cc SHA256 af25fded8998eb48ea0b89f9ce0d5322721088c2b69a360ec7928a7f6115873e
AUX gnuplot-4.2.5-configure-pkgconfig.patch 484 RMD160 d1d8031382b8062c393fa430eb69f74f68d93c64 SHA1 e749dbd1cf8047a6274182cc0e2317d3f1b09a2e SHA256 58d0c0106337c5f48ad2f75671566556c055eb58ee016c4a125dbc6fd434d1b6
AUX gnuplot-gentoo-version.patch 2079 RMD160 394bee0853cb9343864342a2a11a4453af30e22e SHA1 337c0b3b329965c01d75decf49a7ef678e3d46a9 SHA256 c6c1b8a6ccc9d8aeaa12d178f5e91653d4f7f5f9c49eae1feb1ec3f7267670e1
-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-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
+EBUILD gnuplot-4.4.2-r1.ebuild 6158 RMD160 4b31a2b6240fc957304a5db5c3fb3cd37dd12b32 SHA1 5e1eb21a80d67472ecde1648d0ad456431167a2a SHA256 5fef0cb9cd88d3446c98539220fa807b89ae0db5977329ab578a34d01c7bd6eb
+EBUILD gnuplot-4.4.3-r1.ebuild 6818 RMD160 a2c9616b1e9c755298b6940754a2b96ba6245e80 SHA1 2fa3180fe50ef9874d9e4c05cebc554f9a08abe7 SHA256 84c75e14e2bb617f5c89e5e9a9be267a64dd38970ef33874b468255920cfd60f
EBUILD gnuplot-4.4.4.ebuild 6722 RMD160 2c63f1f97a845ae641c947bcd61bfb90cb9c9fae SHA1 1415611fd244b95e154800d0e8024de3f0b27f24 SHA256 24eb1b38df2c0c6ff483700e247ffeab1b10c2a95f60da2acdb7e4d78a48f12d
-MISC ChangeLog 30821 RMD160 3f71173c3f24798d7f49856f5872629382fc91bf SHA1 8d7dd2d89be5f0f44450501020b8976c00403bd4 SHA256 43036d4292067f80830aae06fde971e0caa41b32a1d76c29ea79932eb614668c
+MISC ChangeLog 30986 RMD160 499efbd81630b302ccb48150f826f61d331de470 SHA1 e257574d000bde2c7ee981dd98c6f4373eb180d3 SHA256 f521913486a2fc8b1f744bb031658225e7b9c7c2e65d0493682d53ea22e6c286
MISC metadata.xml 827 RMD160 e6b9c60a2d8ad33c3ed2c649ead9e836b1a54fdb SHA1 23524656ce50cf1b1b44fda522c79c6ce78afa1b SHA256 d98221cb62667b8e7eaafa41b3a89be5bf2b9fbfc958b3adde99150839403ea5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQEcBAEBAgAGBQJO0xqkAAoJEOeBhlrCAAWGLbIH/2XVsrdem45YpcBP3pA3BOB/
-hkai/3Ge0Srl5cxFbuj6W53x8GA48Yyp85cjA2yZFnmTSOTih5kSeDMtdkzBB7dY
-98crIONXltsMCXxFd7pdKB858dsyQv/ppYTYqomchpbTKRS9TGtZWLKcoDNPhq88
-NaMoq9/jjCtbN1/b4uVb5FmY1agLCqjViJLO19HAXq0YiyZDX54fbIxZJg35j1Es
-W5bqoVxq7o/fcr+aiU36CBRSfpn1nA50FYRiLiDavPrSq753Klxxu2rTe1/5J9TB
-jI9JC2vDPATe0fu4h1KXrfW6bxwG8WbG3l5NuR1czlE1E9cROnRrFkF6b47gTfo=
-=ftiT
+iQEcBAEBAgAGBQJO0xyXAAoJEOeBhlrCAAWGGwAH/jRhMZ6Pp64ckAXQoyJ51+Sr
+IGmsx7qe1AfhfDTyAaBfQ+rIB8do9EBPK1aMLH5QC1fYLoUi6CPEeziWMZldRHFo
+f1mSFWCXaDm6hiFqVEnd7g36Orpl+xW9V13jEXNjy0Y3IulT+ktCE9JOBgHY+b2Z
+Lk6Z3732e8jbmrXOi2CTq2fDzxQHAD9ieGAriXWHb/UJ8IrKkxV3R+UpCc14rAPg
+MwV+DjqooA+nRfTKhWz8RVBAy9/YNaVhEBk1QvzZYpJg2wkbA95GXxh+2vgLrqEC
+lPfs95kegxA/3ACKcUgru7+z2QKvkjX35ZNtxxoynQczYL/XLzvtW5kUiu/JjOg=
+=8zic
-----END PGP SIGNATURE-----
+++ /dev/null
-# 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.2.6-r2.ebuild,v 1.6 2011/11/11 22:56:21 ulm Exp $
-
-EAPI=2
-
-inherit autotools elisp-common eutils 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
- mirror://gentoo/${PN}-4.2.5-lua-term.patch.bz2"
-
-LICENSE="gnuplot GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
-IUSE="doc emacs examples +gd ggi latex lua plotutils readline svga wxwidgets X xemacs"
-
-RDEPEND="
- xemacs? ( app-editors/xemacs app-xemacs/xemacs-base )
- emacs? ( virtual/emacs !app-emacs/gnuplot-mode )
- lua? ( >=dev-lang/lua-5.1 )
- ggi? ( media-libs/libggi )
- gd? ( >=media-libs/gd-2[png] )
- latex? (
- virtual/latex-base
- lua? (
- dev-tex/pgf
- >=dev-texlive/texlive-latexrecommended-2008-r2 ) )
- X? ( x11-libs/libXaw )
- svga? ( media-libs/svgalib )
- readline? ( >=sys-libs/readline-4.2 )
- plotutils? ( media-libs/plotutils )
- wxwidgets? (
- x11-libs/wxGTK:2.8[X]
- >=x11-libs/cairo-0.9
- >=x11-libs/pango-1.10.3
- x11-libs/gtk+:2 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- doc? (
- virtual/latex-base
- app-text/ghostscript-gpl )
- !emacs? ( xemacs? ( app-xemacs/texinfo ) )"
-
-RESTRICT="wxwidgets? ( test )"
-
-S="${WORKDIR}/${MY_P}"
-
-E_SITEFILE="50${PN}-gentoo.el"
-TEXMF="/usr/share/texmf-site"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.2.2-disable_texi_generation.patch #194216
- epatch "${FILESDIR}"/${PN}-4.2.3-app-defaults.patch #219323
- epatch "${FILESDIR}"/${PN}-4.2.3-disable-texhash.patch #201871
- epatch "${WORKDIR}"/${PN}-4.2.5-lua-term.patch #233475
- epatch "${FILESDIR}"/${PN}-4.2.5-configure-pkgconfig.patch #233475 c9
- # Add Gentoo version identification since the licence requires it
- epatch "${FILESDIR}"/${PN}-gentoo-version.patch
-
- eautoreconf
-}
-
-src_configure() {
- # See bug #156427.
- if use latex ; then
- sed -i -e "s:\`kpsexpand.*\`:${TEXMF}/tex/latex/${PN}:" \
- share/LaTeX/Makefile.in || die
- else
- sed -i \
- -e '/^SUBDIRS/ s/LaTeX//' share/LaTeX/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-gihdir=/usr/share/${PN}/gih"
- myconf="${myconf} $(use_with X x)"
- myconf="${myconf} $(use_with svga linux-vga)"
- myconf="${myconf} $(use_with gd)"
- myconf="${myconf} $(use_enable wxwidgets)"
- myconf="${myconf} $(use_with plotutils plot /usr/$(get_libdir))"
- myconf="${myconf} $(use_with lua)"
- myconf="${myconf} $(use_with doc tutorial)"
- myconf="${myconf} $(use_with ggi ggi /usr/$(get_libdir))"
- myconf="${myconf} $(use_with ggi xmi /usr/$(get_libdir))"
-
- use readline \
- && myconf="${myconf} --with-readline=gnu --enable-history-file" \
- || myconf="${myconf} --with-readline=builtin"
-
- econf ${myconf} CFLAGS="${CFLAGS} -DGENTOO_REVISION=\\\"${PR}\\\""
-
- 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="/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="${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 xemacs || use emacs; then
- cd "${S}/lisp"
- emake pdf || die
- fi
- fi
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die
-
- if ! use X; then
- # see bug 194527
- rm -rf "${D}/usr/$(get_libdir)/X11"
- fi
-
- 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 "${D}${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}"
- if use latex && use lua; then
- # install style file in an (additional) place where TeX can find it
- insinto "${TEXMF}/tex/latex/${PN}"
- doins term/lua/gnuplot-lua-tikz.sty || die
- fi
-
- dodoc BUGS ChangeLog FAQ NEWS PATCHLEVEL PGPKEYS PORTING README* \
- TODO VERSION
- use lua && newdoc term/lua/README README-lua
-
- if use examples; then
- # Demo files
- insinto /usr/share/${PN}/demo
- doins demo/*
- fi
- if use doc; then
- # Manual
- dodoc docs/gnuplot.pdf
- # Tutorial
- dodoc tutorial/{tutorial.dvi,tutorial.pdf}
- # Documentation for making PostScript files
- docinto psdoc
- dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
- fi
-
- if use xemacs || use emacs; 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
-
- if use svga; then
- 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
-}