summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2009-02-13 11:24:29 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2009-02-13 11:24:29 +0000
commit7db797a0c686c1116d4697f92fd77e1e519fda40 (patch)
tree0ad3e823f8b48bdceb903df0ead58d0d24a839a3 /sci-libs
parentversion bump for security bug 258833, reported by Jesse Adelman <jesse AT bol... (diff)
downloadhistorical-7db797a0c686c1116d4697f92fd77e1e519fda40.tar.gz
historical-7db797a0c686c1116d4697f92fd77e1e519fda40.tar.bz2
historical-7db797a0c686c1116d4697f92fd77e1e519fda40.zip
Setting VARTEXFONTS (see bug #223077). Removed obsolete revision.
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r4 i686
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/pgplot/ChangeLog9
-rw-r--r--sci-libs/pgplot/Manifest15
-rw-r--r--sci-libs/pgplot/pgplot-5.2.2-r2.ebuild175
-rw-r--r--sci-libs/pgplot/pgplot-5.2.2-r3.ebuild5
4 files changed, 12 insertions, 192 deletions
diff --git a/sci-libs/pgplot/ChangeLog b/sci-libs/pgplot/ChangeLog
index b4672be95a3c..ac7335dc815b 100644
--- a/sci-libs/pgplot/ChangeLog
+++ b/sci-libs/pgplot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/pgplot
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/ChangeLog,v 1.15 2008/11/07 12:56:54 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/ChangeLog,v 1.16 2009/02/13 11:24:29 phosphan Exp $
+
+ 13 Feb 2009; Patrick Kursawe <phosphan@gentoo.org>
+ -pgplot-5.2.2-r2.ebuild, pgplot-5.2.2-r3.ebuild:
+ Setting VARTEXFONTS (see bug #223077).
+ Removed obsolete revision.
07 Nov 2008; SĂ©bastien Fabbro <bicatali@gentoo.org>
files/pgplot-makemake.patch, pgplot-5.2.2-r3.ebuild:
diff --git a/sci-libs/pgplot/Manifest b/sci-libs/pgplot/Manifest
index 68b741026769..66bec26b447e 100644
--- a/sci-libs/pgplot/Manifest
+++ b/sci-libs/pgplot/Manifest
@@ -1,20 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pgplot-compile-setup.patch 3078 RMD160 657603774f58429b889dfcdeb814812f8499dfc4 SHA1 6835488ea7427b9c029c3df40b14c7d2f99fcd1d SHA256 840bb9977cd61705a459a9c11d0b7c53440539132d3e3538d901c4a441d1909f
AUX pgplot-drivers.patch 7431 RMD160 d300ecf9d5ed3b3117465330e4c235a3f17d0540 SHA1 d1cd686dd0f93b7550affe1e0d4d36f0a336b440 SHA256 19cabb29fd05c2c44cbb0492167ee3e45ab8890390b1e98de672f2ca2588baed
AUX pgplot-headers.patch 2716 RMD160 aaad73bfbea9b4f731346a02c390e0adc318f8d0 SHA1 e6b95497b519a5450a24bb5997e18019c73e33eb SHA256 e92a07e38fff278218c09b84453d5c75be663576bdbe19ed9259615bd7a0be7c
AUX pgplot-makemake.patch 4417 RMD160 1048def60e9d1bbab675e58269d0cc4fef78cda6 SHA1 b00da00521863239f1c32df5d48012cf89777eb3 SHA256 2e9515c5154da98cb385e8d56b9b106c0415aed268ce5d366d37b12a97ade4aa
AUX pgplot-pgdisp.patch 332 RMD160 1bd3c2ed7770bb60be19c50c4610c35d67bf92e9 SHA1 891475823d011156aa919fc2b844d1786ae6d85f SHA256 3aac6127d35f4039023a13182553b24e1902d6e1b46530fbd68e034357d0b078
DIST pgplot522.tar.gz 1197397 RMD160 4c21cad6613772f4104c65ac3d8d9a42e3c4afe1 SHA1 1f1c9aa17eeec9a2fb23fd15a0e4a91dcc49ddc1 SHA256 a5799ff719a510d84d26df4ae7409ae61fe66477e3f1e8820422a9a4727a5be4
-EBUILD pgplot-5.2.2-r2.ebuild 4865 RMD160 4e8945c277ea152e07453cd807d5613f27ab1f5a SHA1 5130d185715002ed41d37445e06270f5275e5d0f SHA256 f035308c3a65fc728ab279eb53aa769dec58fa9e5862be2f89ff676360e49841
-EBUILD pgplot-5.2.2-r3.ebuild 4588 RMD160 e5286a7d321ae345cc75f45308888bce4e40ab24 SHA1 159dad308d3ab87f6e4d90d21f1fda4405e00fcd SHA256 e4163998dac300f3f8fd301f9ee41f651bbce1e4f5b44917ba1036ab172952bf
-MISC ChangeLog 3057 RMD160 f5bd1eeba073c480033b3f8fe10fd8fc2803cec2 SHA1 4ead66c0d86dfbdd72ae774ad0a30cb091df32d9 SHA256 dfe50ed99b6f1bc55f55da1059e23a79c1fbd454b1cb970effda7d7786f56652
+EBUILD pgplot-5.2.2-r3.ebuild 4622 RMD160 e609fc62f5bf5b60b08a5a2c69b0fab3e91430eb SHA1 2944df13b2728b148554e4d5b2f67efb99d9e47d SHA256 cfb684ce6d502b07634574f6be7ad6e793ccf05c70303136ea5519fc59bf64a5
+MISC ChangeLog 3232 RMD160 17f8cb26b7aa94ee9dd35727fcfee737bc56db2f SHA1 ef2594725e031b67a994bbbf02e0dfcbd0fd55a4 SHA256 d562783ad867578ec7b395e818430409625c56e8f79cb965a994cf33cdb66ba5
MISC metadata.xml 507 RMD160 8f89aef225b3c7fa4b817bd88ebfa5e73c9f1f4f SHA1 93061e1e4b6fa0967fec2829db49dbcaa74b6410 SHA256 44c0abf74199b2c4780cd7bf4bbc9b7c235ccc5e74e262985517ec8ade97189c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkUOyAACgkQ1ycZbhPLE2BAsQCdEkfbm6JSDHSdsSwApFHjkNSQ
-8+oAn3Ndfh9/fRitsBfCx2HcG8bkTKQr
-=Al7V
------END PGP SIGNATURE-----
diff --git a/sci-libs/pgplot/pgplot-5.2.2-r2.ebuild b/sci-libs/pgplot/pgplot-5.2.2-r2.ebuild
deleted file mode 100644
index b7b81a0ace0e..000000000000
--- a/sci-libs/pgplot/pgplot-5.2.2-r2.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/pgplot-5.2.2-r2.ebuild,v 1.6 2008/06/29 08:07:10 tove Exp $
-
-inherit eutils toolchain-funcs fortran
-
-MY_P="${PN}${PV//.}"
-DESCRIPTION="A C/FORTRAN device-independent graphics library for making simple scientific graphs"
-HOMEPAGE="http://www.astro.caltech.edu/~tjp/pgplot/"
-SRC_URI="ftp://ftp.astro.caltech.edu/pub/pgplot/${MY_P}.tar.gz"
-LICENSE="free-noncomm"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~x86"
-IUSE="doc motif tk"
-RDEPEND="x11-libs/libX11
- x11-libs/libXt
- media-libs/libpng
- motif? ( x11-libs/openmotif )
- tk? ( dev-lang/tk )"
-DEPEND="${RDEPEND}
- doc? ( virtual/latex-base )"
-
-S="${WORKDIR}/${PN}"
-
-FORTRAN="g77 gfortran ifc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-drivers.patch
- epatch "${FILESDIR}"/${PN}-makemake.patch
- epatch "${FILESDIR}"/${PN}-compile-setup.patch
- epatch "${FILESDIR}"/${PN}-pgdisp.patch
-
- # gfortran < 4.3 does not compile gif, pp and wd drivers
- if [[ "${FORTRANC}" == gfortran ]] &&
- [[ $(gcc-major-version)$(gcc-minor-version) -lt 43 ]] ; then
- ewarn
- ewarn "Warning!"
- ewarn "gfortran < 4.3 selected: does not compile all drivers"
- ewarn "disabling gif, wd, and ppd drivers"
- ewarn "if you want more drivers, use gfortran >= 4.3, g77 or ifort"
- ewarn
- epause 4
- sed -i \
- -e 's/GIDRIV/! GIDRIV/g' \
- -e 's/PPDRIV/! GIDRIV/g' \
- -e 's/WDDRIV/! GIDRIV/g' \
- drivers.list || die "sed drivers failed"
- fi
-
- # fix pointers for 64 bits
- if use amd64 || use ia64; then
- sed -i \
- -e 's/INTEGER PIXMAP/INTEGER*8 PIXMAP/g' \
- drivers/{gi,pp,wd}driv.f || die "sed 64bits failed"
- fi
-
- cp sys_linux/g77_gcc.conf local.conf
-
- sed -i \
- -e "s:FCOMPL=.*:FCOMPL=\"${FORTRANC}\":g" \
- -e "s:FFLAGOPT=.*:FFLAGOPT=\"${FFLAGS:- -O2}\":g" \
- -e "s:CCOMPL=.*:CCOMPL=\"$(tc-getCC)\":g" \
- -e "s:CFLAGOPT=.*:CFLAGOPT=\"${CFLAGS}\":g" \
- -e 's:SHARED_LIB=.*:SHARED_LIB="libpgplot.so.5":g' \
- -e "s:SHARED_LD=.*:SHARED_LD=\"$(tc-getCC) -Wl,-soname,libpgplot.so.5 -shared -o \$SHARED_LIB\":g" \
- local.conf || die "sed flags failed"
-
- if [[ "${FORTRANC}" = if* ]]; then
- sed -i \
- -e 's/-Wall//g' \
- -e 's/TK_LIBS="/TK_LIBS="-nofor-main /' \
- local.conf || die "sed drivers failed"
- fi
-
- sed -i \
- -e "s:/usr/local/pgplot:/usr/$(get_libdir)/pgplot:g" \
- -e "s:/usr/local/bin:/usr/bin:g" \
- src/grgfil.f makehtml maketex || die "sed path failed"
-
- use motif && \
- sed -i -e '/XMDRIV/s/!//' drivers.list
-
- use tk && \
- sed -i -e '/TKDRIV/s/!//' drivers.list
-}
-
-src_compile() {
- ./makemake "${S}" linux
-
- emake -j1 || die "emake failed"
-
- # Build C portion
- emake -j1 cpg || die "make cpg failed"
-
- if use doc; then
- emake pgplot.html || die "make pgplot.html failed"
- emake pgplot-routines.tex || die "make pgplot-routines failed"
- pdflatex pgplot-routines.tex
- pdflatex pgplot-routines.tex
- fi
-
- # this just cleans out unneeded files
- emake clean
-}
-
-src_test() {
- einfo "Testing various demo programs"
- # i can go to 16
- for i in 1 2 3; do
- emake pgdemo${i}
- # j can also be LATEX CPS...
- for j in NULL PNG PS CPS LATEX; do
- local testexe=./test_${j}_${i}
- echo "./pgdemo${i} <<EOF" > ${testexe}
- echo "/${j}" >> ${testexe}
- echo "EOF" >> ${testexe}
- sh ${testexe} || die "test ${i} failed"
- done
- done
-}
-
-src_install() {
- insinto /usr/$(get_libdir)/pgplot
- doins grfont.dat grexec.f *.inc rgb.txt
-
- # FORTRAN libs
- dolib.a libpgplot.a || die "dolib.a failed"
- dolib.so libpgplot.so.5 || die "dolib.so failed"
- dosym libpgplot.so.5 /usr/$(get_libdir)/libpgplot.so || die "dosym failed"
- dobin pgxwin_server pgdisp || die "dobin failed"
-
- # C binding
- insinto /usr/include
- doins cpgplot.h || die "doins C binding failed"
- dolib.a libcpgplot.a || die "dolib.a failed"
- # shared lib: todo eventually in a patch
- # dolib.so libcpgplot.so
- # dosym libcpgplot.so.5 /usr/$(get_libdir)/libcpgplot.so
-
- if use motif; then
- doins XmPgplot.h || die "doins motif failed"
- dolib.a libXmPgplot.a || die "dolib.a motif failed"
- fi
-
- if use tk; then
- doins tkpgplot.h || die "doins tk failed"
- dolib.a libtkpgplot.a || die "dolib.a tk failed"
- fi
-
- # minimal doc
- dodoc aaaread.me pgplot.doc || die "dodoc minimal doc failed"
- newdoc pgdispd/aaaread.me pgdispd.txt || die "install pgdispd doc failed"
-
- if use doc; then
- dodoc cpg/cpgplot.doc applications/curvefit/curvefit.doc
- dohtml pgplot.html
- insinto /usr/share/doc/${PF}
- doins pgplot-routines.pdf pgplot-routines.tex
- insinto /usr/share/doc/${PF}/examples
- doins examples/* cpg/cpgdemo.c
- insinto /usr/share/doc/${PF}/applications
- doins -r applications/*
- if use motif; then
- insinto /usr/share/doc/${PF}/pgm
- doins pgmf/* drivers/xmotif/pgmdemo.c
- fi
- if use tk; then
- insinto /usr/share/doc/${PF}/pgtk
- doins drivers/xtk/pgtkdemo.*
- fi
- fi
-}
diff --git a/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild b/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild
index d2d62720f09b..568afc09e1f3 100644
--- a/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild
+++ b/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild,v 1.2 2008/11/07 12:56:54 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pgplot/pgplot-5.2.2-r3.ebuild,v 1.3 2009/02/13 11:24:29 phosphan Exp $
inherit eutils toolchain-funcs fortran
@@ -93,6 +93,7 @@ src_compile() {
|| die "emake shared failed"
if use doc; then
+ export VARTEXFONTS="${T}/fonts"
emake pgplot.html || die "make pgplot.html failed"
emake pgplot-routines.tex || die "make pgplot-routines failed"
pdflatex pgplot-routines.tex