From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQJGp-0002vM-0f for garchives@archives.gentoo.org; Sat, 28 May 2011 13:09:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 803351C12A; Sat, 28 May 2011 13:09:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 36ED21C108 for ; Sat, 28 May 2011 13:09:26 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C5E61B401B for ; Sat, 28 May 2011 13:09:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B625B80505 for ; Sat, 28 May 2011 13:09:24 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <0cb993816aeb680ca03eae50d3a4cf154ad56de9.kleiner_otti@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/gnuplot/ X-VCS-Repository: proj/sci X-VCS-Files: sci-visualization/gnuplot/ChangeLog sci-visualization/gnuplot/gnuplot-4.4.3-r1.ebuild X-VCS-Directories: sci-visualization/gnuplot/ X-VCS-Committer: kleiner_otti X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 0cb993816aeb680ca03eae50d3a4cf154ad56de9 Date: Sat, 28 May 2011 13:09:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a9f840d9cd7553fe078ec94b2013913a commit: 0cb993816aeb680ca03eae50d3a4cf154ad56de9 Author: Christoph Junghans gentoo org> AuthorDate: Sat May 28 12:56:09 2011 +0000 Commit: Christoph Junghans gmx de> CommitDate: Sat May 28 12:56:09 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D0cb99381 [sci-visualization/gnuplot] 4.4.3-r1 InCVS (Portage version: 2.1.9.42/git/Linux i686, signed Manifest commit with ke= y C2000586) --- sci-visualization/gnuplot/ChangeLog | 4 + sci-visualization/gnuplot/gnuplot-4.4.3-r1.ebuild | 246 ---------------= ------ 2 files changed, 4 insertions(+), 246 deletions(-) diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnup= lot/ChangeLog index d13a5c0..127125b 100644 --- a/sci-visualization/gnuplot/ChangeLog +++ b/sci-visualization/gnuplot/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 28 May 2011; Christoph Junghans -gnuplot-4.4.3-r1.= ebuild, + metadata.xml: + InCVS + *gnuplot-4.4.3-r1 (08 May 2011) =20 08 May 2011; Christoph Junghans +gnuplot-4.4.3-r1.= ebuild, diff --git a/sci-visualization/gnuplot/gnuplot-4.4.3-r1.ebuild b/sci-visu= alization/gnuplot/gnuplot-4.4.3-r1.ebuild deleted file mode 100644 index be4fc1c..0000000 --- a/sci-visualization/gnuplot/gnuplot-4.4.3-r1.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3D3 - -inherit elisp-common multilib wxwidgets - -DESCRIPTION=3D"Command-line driven interactive plotting program" -HOMEPAGE=3D"http://www.gnuplot.info/" - -if [[ -z ${PV%%*9999} ]]; then - inherit autotools cvs - ECVS_SERVER=3D"gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot" - ECVS_MODULE=3D"gnuplot" - ECVS_BRANCH=3D"branch-4-4-stable" - ECVS_USER=3D"anonymous" - ECVS_CVS_OPTIONS=3D"-dP" - MY_P=3D"${PN}" - SRC_URI=3D"" -else - MY_P=3D"${P/_/-}" - SRC_URI=3D"mirror://sourceforge/gnuplot/${MY_P}.tar.gz" -fi - -LICENSE=3D"gnuplot GPL-2" -SLOT=3D"0" -KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86= ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~spar= c-solaris ~x64-solaris ~x86-solaris" -IUSE=3D"cairo doc emacs +gd ggi latex lua plotutils readline svga thin-s= plines wxwidgets X xemacs" - -RESTRICT=3D"wxwidgets? ( test )" - -RDEPEND=3D"!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 - >=3Ddev-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=3D"${RDEPEND} - dev-util/pkgconfig - doc? ( virtual/latex-base - app-text/ghostscript-gpl ) - !emacs? ( xemacs? ( app-xemacs/texinfo ) ) - !emacs? ( !xemacs? ( || ( virtual/emacs app-xemacs/texinfo ) ) )" - -S=3D"${WORKDIR}/${MY_P}" -GP_VERSION=3D"${PV%.*}" -E_SITEFILE=3D"50${PN}-gentoo.el" -TEXMF=3D"${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=3D"2.8" - need-wxwidgets unicode - fi - - local myconf - myconf=3D"${myconf} --without-lisp-files" - myconf=3D"${myconf} --without-pdf" - myconf=3D"${myconf} --with-texdir=3D${TEXMF}/tex/latex/${PN}" - myconf=3D"${myconf} $(use_with cairo)" - myconf=3D"${myconf} $(use_with doc tutorial)" - myconf=3D"${myconf} $(use_with gd)" - myconf=3D"${myconf} $(use_with ggi ggi ${EPREFIX}/usr/$(get_libdir))" - myconf=3D"${myconf} $(use_with ggi xmi ${EPREFIX}/usr/$(get_libdir))" - myconf=3D"${myconf} $(use_with lua)" - myconf=3D"${myconf} $(use_with plotutils plot "${EPREFIX}"/usr/$(get_li= bdir))" - myconf=3D"${myconf} $(use_with svga linux-vga)" - myconf=3D"${myconf} $(use_enable thin-splines)" - myconf=3D"${myconf} $(use_enable wxwidgets)" - myconf=3D"${myconf} $(use_with X x)" - use readline \ - && myconf=3D"${myconf} --with-readline=3Dgnu" \ - || myconf=3D"${myconf} --with-readline=3Dbuiltin" - - if has_version virtual/emacs; then - emacs=3D"emacs" - elif has_version app-xemacs/texinfo; then - emacs=3D"xemacs" - fi - - econf ${myconf} \ - DIST_CONTACT=3D"http://bugs.gentoo.org/" \ - EMACS=3D"${emacs}" - - 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=3D"${EPREFIX}/usr/lib/xemacs/site-packages/${PN}"= EMACS=3Dxemacs - fi - - if use emacs; then - einfo "Configuring gnuplot-mode for GNU Emacs ..." - cd "${S}/lisp" - econf --with-lispdir=3D"${EPREFIX}${SITELISP}/${PN}" EMACS=3Demacs - fi -} - -src_compile() { - # Prevent access violations, see bug 201871 - VARTEXFONTS=3D"${T}/fonts" - - # This is a hack to avoid sandbox violations when using the Linux conso= le. - # 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=3D"${D}" install || die - - if use xemacs; then - cd "${S}/lisp-xemacs" - emake DESTDIR=3D"${D}" install || die - fi - - if use emacs; then - cd "${S}/lisp" - emake DESTDIR=3D"${D}" install || die - # info-look* is included with >=3Demacs-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=3D\"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 -}