diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 20:52:51 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 20:52:51 +0000 |
commit | a46cc68af3953a845e4a4d51771c091b627df242 (patch) | |
tree | 32157ba9713550bcd8f2aeedd5e1bcb574fd42bd /sci-mathematics/dataplot | |
parent | old (diff) | |
download | gentoo-2-a46cc68af3953a845e4a4d51771c091b627df242.tar.gz gentoo-2-a46cc68af3953a845e4a4d51771c091b627df242.tar.bz2 gentoo-2-a46cc68af3953a845e4a4d51771c091b627df242.zip |
Removed old
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/dataplot')
-rw-r--r-- | sci-mathematics/dataplot/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/dataplot/dataplot-20080225.ebuild | 89 | ||||
-rw-r--r-- | sci-mathematics/dataplot/files/Makefile.am.20080225 | 45 | ||||
-rw-r--r-- | sci-mathematics/dataplot/files/configure.ac.20080225 | 97 | ||||
-rw-r--r-- | sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch | 88 | ||||
-rw-r--r-- | sci-mathematics/dataplot/files/dpsrc-patchset-20080225.patch | 111 |
6 files changed, 7 insertions, 431 deletions
diff --git a/sci-mathematics/dataplot/ChangeLog b/sci-mathematics/dataplot/ChangeLog index 6975ad1685b4..90f851012af4 100644 --- a/sci-mathematics/dataplot/ChangeLog +++ b/sci-mathematics/dataplot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/dataplot # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/ChangeLog,v 1.13 2011/09/13 18:31:00 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/ChangeLog,v 1.14 2011/11/25 20:52:51 bicatali Exp $ + + 25 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org> + -dataplot-20080225.ebuild, -files/dpsrc-dp1patches-20080225.patch, + -files/dpsrc-patchset-20080225.patch, -files/Makefile.am.20080225, + -files/configure.ac.20080225: + Removed old 13 Sep 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml: Drop maintainer due retirement, bug #225633 diff --git a/sci-mathematics/dataplot/dataplot-20080225.ebuild b/sci-mathematics/dataplot/dataplot-20080225.ebuild deleted file mode 100644 index f4671437c7b6..000000000000 --- a/sci-mathematics/dataplot/dataplot-20080225.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/dataplot-20080225.ebuild,v 1.10 2011/06/21 14:44:22 jlec Exp $ - -EAPI=2 - -inherit eutils fortran-2 toolchain-funcs autotools - -# DAY MONTH YEAR -MY_PV=${PV:4:2}_${PV:6:2}_${PV:0:4} -MY_P=dpsrc.${MY_PV} -MY_P_AUX=dplib.${MY_PV} - -DESCRIPTION="A program for scientific visualization and statistical analyis" -HOMEPAGE="http://www.itl.nist.gov/div898/software/dataplot/" -SRC_URI=" - ftp://ftp.nist.gov/pub/dataplot/unix/dpsrc.${MY_PV}.tar.gz - ftp://ftp.nist.gov/pub/dataplot/unix/dplib.${MY_PV}.tar.gz" - -SLOT="0" -LICENSE="public-domain" -KEYWORDS="~amd64 ~x86" -IUSE="examples gd gs opengl X" - -COMMON_DEPEND=" - opengl? ( virtual/opengl ) - gd? ( media-libs/gd[png,jpeg] ) - gs? ( app-text/ghostscript-gpl media-libs/gd[png,jpeg] )" -DEPEND="${COMMON_DEPEND} - dev-util/pkgconfig" -RDEPEND=" - virtual/fortran - ${COMMON_DEPEND} - X? ( x11-misc/xdg-utils )" - -S="${WORKDIR}/${MY_P}" -S_AUX="${WORKDIR}/${MY_P_AUX}" - -src_unpack() { - # unpacking and renaming because - # upstream does not use directories - mkdir "${S_AUX}" - pushd "${S_AUX}" > /dev/null - unpack ${MY_P_AUX}.tar.gz - popd > /dev/null - mkdir ${MY_P} - cd "${S}" - unpack ${MY_P}.tar.gz -} - -src_prepare() { - # autotoolization: need to fix a few files with - # hardcoded directories (will be fixed with autoconf) - mv DPCOPA.INC DPCOPA.INC.in - mv dp1_linux.f dp1_linux.f.in - mv dp1_linux_64.f dp1_linux_64.f.in - # various fixes (mainly syntax) - epatch "${FILESDIR}"/dpsrc-patchset-${PV}.patch - # some fortran patches - epatch "${FILESDIR}"/dpsrc-dp1patches-${PV}.patch - cp "${FILESDIR}"/Makefile.am.${PV} Makefile.am - cp "${FILESDIR}"/configure.ac.${PV} configure.ac - eautoreconf -} - -src_configure() { - econf \ - $(use_enable gd) \ - $(use_enable gs) \ - $(use_enable opengl) \ - $(use_enable X) -} - -src_install() { - emake DESTDIR="${D}" install || die "Install failed" - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r "${S_AUX}"/data/* || die "Installing examples failed" - fi - insinto /usr/share/dataplot - doins "${S_AUX}"/dp{mes,sys,log}f.tex || die "Doins failed." - doenvd "${FILESDIR}"/90${PN} || die "doenvd failed" -} - -pkg_postinst() { - elog "Before using dataplot, please run (as root):" - elog "env-update && source /etc/profile" -} diff --git a/sci-mathematics/dataplot/files/Makefile.am.20080225 b/sci-mathematics/dataplot/files/Makefile.am.20080225 deleted file mode 100644 index 29dd418b2012..000000000000 --- a/sci-mathematics/dataplot/files/Makefile.am.20080225 +++ /dev/null @@ -1,45 +0,0 @@ -bin_PROGRAMS = dataplot -dataplot_SOURCES = dp1_fdriv.f \ - dp2.f dp3.f dp4.f dp5.f dp6.f dp7.f dp8.f dp9.f dp10.f dp11.f \ - dp12.f dp13.f dp14.f dp15.f dp16.f dp17.f dp18.f dp19.f dp20.f dp21.f \ - dp22.f dp23.f dp24.f dp25.f dp26.f dp27.f dp28.f dp29.f dp30.f dp31.f \ - dp32.f dp33.f dp34.f dp35.f dp36.f dp37.f dp38.f dp39.f dp40.f dp41.f \ - dp42.f dp43.f dp44.f dp45.f dp46.f \ - dpcalc.f dpdds2.f dpdds3.f dpdds.f edinit.f edmai2.f edsear.f edsub.f \ - edwrst.f fit3b.f starpac.f tcdriv_nopc.f aqua_src.f main.f - -if ENABLE_GD -dataplot_SOURCES += gd_src.c -else -dataplot_SOURCES += gd_src.f -endif - -if ENABLE_GL -dataplot_SOURCES += gl_src.c -else -dataplot_SOURCES += gl_src.f -endif - -if ENABLE_X11 -dataplot_SOURCES += x11_src.c -else -dataplot_SOURCES += x11src.f -endif - -if ENABLE_GS -dataplot_SOURCES += gs_src.c -endif - -dataplot_CFLAGS = @GL_CFLAGS@ -dataplot_LDADD = @GD_LIBS@ @GL_LIBS@ @X11_LIBS@ $(FLIBS) - -# this is to remove ambiguity between the similar filenames -# of the c and f77 version (shortcoming of automake) -# the f77 versions are forced -# the c versions objects are called dataplot-gd_src.o etc -gd_src.o: gd_src.f - $(F77COMPILE) -c -o $@ $< -gl_src.o: gl_src.f - $(F77COMPILE) -c -o $@ $< -aqua_src.o: aqua_src.f - $(F77COMPILE) -c -o $@ $< diff --git a/sci-mathematics/dataplot/files/configure.ac.20080225 b/sci-mathematics/dataplot/files/configure.ac.20080225 deleted file mode 100644 index 1051b9dbd8b8..000000000000 --- a/sci-mathematics/dataplot/files/configure.ac.20080225 +++ /dev/null @@ -1,97 +0,0 @@ -AC_PREREQ(2.59) -AC_INIT([dataplot], [20080225], [n.heckert@nist.gov]) -AC_CONFIG_HEADER([config.h]) -AC_CONFIG_AUX_DIR(config) -AM_MAINTAINER_MODE -AM_INIT_AUTOMAKE([foreign]) - -AC_PROG_CC -AC_PROG_F77 -AC_F77_LIBRARY_LDFLAGS -case $F77 in - *gfortran*) FFLAGS+=" -w -fno-range-check" ;; - *) ;; -esac - -AC_CANONICAL_HOST -case $host in - i?86*linux*) fdriv=dp1_linux - MAXOBV=100000 ;; - *64*linux*) fdriv=dp1_linux_64 - MAXOBV=1000000 ;; - *-*-*) fdriv=dp1 ;; - *linux*) HOST=LINUX;; -esac -AC_CONFIG_LINKS([dp1_fdriv.f:$fdriv.f]) -AC_SUBST(MAXOBV) -AC_SUBST(HOST) - -AC_ARG_ENABLE(gd, - [AS_HELP_STRING([--enable-gd], [Enable the gd device driver])], - [enable_gd=$enableval], - [enable_gd=no]) - -AC_ARG_ENABLE(gl, - [AS_HELP_STRING([--enable-gl], [Enable the OpenGL device driver])], - [enable_gl=$enableval], - [enable_gl=no]) - -AC_ARG_ENABLE(X, - [AS_HELP_STRING([--enable-X], [Enable the X11 device driver])], - [enable_x11=$enableval], - [enable_x11=no]) - -AC_ARG_ENABLE(gs, - [AS_HELP_STRING([--enable-gs], [Enable the Ghostscript device driver])], - [enable_gs=$enableval], - [enable_gs=no]) - -if test x"$enable_gd" = x"yes"; then - AC_CHECK_PROG(enable_gd, [gdlib-config],, - [AC_MSG_ERROR([GD driver requested but gdlib-config not found])]) - GD_LIBS="`gdlib-config --libs` -lgd" - GD_CFLAGS="`gdlib-config --cflags`" - AC_SUBST(GD_LIBS) - AC_SUBST(GD_CFLAGS) -fi -AM_CONDITIONAL(ENABLE_GD, [test x"$enable_gd" = x"yes"] ) - -if test x"$enable_gl" = x"yes"; then -dnl hardcoded opengl libs (should be host/implementation dependent) - AC_CHECK_HEADER(GL/gl.h,, - [AC_MSG_ERROR([OpenGL driver requested but header gl.h not found])]) - AC_CHECK_HEADER(GL/glu.h,, - [AC_MSG_ERROR([OpenGL driver requested but header glu.h not found])]) - GL_CFLAGS="-DUNIX_OS -DAPPEND_UNDERSCORE -DSUBROUTINE_CASE" - AC_SUBST(GL_CFLAGS) - - AC_CHECK_LIB(GL, glXCreateContext, GL_LIBS="-lGL", - [AC_MSG_ERROR([OpenGL driver requested but libraries not found])]) - AC_CHECK_LIB(GLU, gluPerspective, GL_LIBS="-lGL -lGLU", - [AC_MSG_ERROR([OpenGL driver requested but libraries not found])]) - GL_LIBS="-lGL -lGLU" - AC_SUBST(GL_LIBS) -fi -AM_CONDITIONAL(ENABLE_GL, [ test x"$enable_gl" = x"yes" ]) - -if test x"$enable_x11" = x"yes"; then - PKG_CHECK_MODULES(X11, x11,, - [AC_MSG_ERROR([X11 driver requested but pkgconfig module not found])]) -fi -AM_CONDITIONAL(ENABLE_X11, [ test x"$enable_x11" = x"yes" ]) - -if test x"$enable_gs" = x"yes"; then - AC_CHECK_PROG(enable_gs, [gs],, - [AC_MSG_ERROR([Ghostscript driver requested but gs not found])]) - AC_CHECK_PROG(enable_gd, [gdlib-config],, - [AC_MSG_ERROR([Ghostscript driver requested, which requires gd, - but gdlib-config not found])]) - GS_LIBS="-lgs `gdlib-config --libs` -lgd" - GS_CFLAGS="-lgs `gdlib-config --cflags`" - AC_SUBST(GS_LIBS) - AC_SUBST(GS_CFLAGS) -fi -AM_CONDITIONAL(ENABLE_GS, [ test x"$enable_gs" = x"yes" ]) - -AC_CONFIG_FILES([Makefile DPCOPA.INC $fdriv.f]) -AC_OUTPUT diff --git a/sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch b/sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch deleted file mode 100644 index 3c7cdeb4ced3..000000000000 --- a/sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch +++ /dev/null @@ -1,88 +0,0 @@ ---- dpsrc-orig/dp1_linux_64.f.in 2007-08-23 18:19:57.000000000 -0400 -+++ dpsrc/dp1_linux_64.f.in 2008-04-30 08:02:18.000000000 -0400 -@@ -1550,7 +1550,7 @@ - DATA D2MACH(4) / 1.9259299443872358530559779425849273D-034 / - DATA D2MACH(5) / 0.30102999566398119521373889472449302 / - C -- IHOST1='SUN ' -+ IHOST1='@HOST@' - IHOST2=' ' - IHMOD1='3 ' - IHMOD2=' ' -@@ -2688,7 +2688,7 @@ - 1 (IHOST1.EQ.'SGI ') .OR. - 1 (IHOST1.EQ.'HP-9') .OR. - 1 (IHOST1.EQ.'AIX ') .OR. -- 1 (IHOST1.EQ.'LINU') .OR. -+ 1 (IHOST1.EQ.'LINUX') .OR. - 1 (IOPSY1.EQ.'UNIX') - 1 )THEN - CCCCC FOLLOWING SECTION ADDED FEBRUARY 1998. -@@ -2704,7 +2704,7 @@ - UNIXPV='DATAPLOT_FILES' - CALL getenv(UNIXPV,UNIXPN) - IF(UNIXPN.EQ.' ')THEN -- IPATH1='/usr/local/lib/dataplot/' -+ IPATH1='@datadir@/dataplot/' - NCP1=24 - UNIXPN=' ' - UNIXPN(1:NCP1)=IPATH1(1:NCP1) -@@ -2724,8 +2724,6 @@ - ENDIF - CCCCC AUGUST 1996. TO MAKE SEARCH OF SUB-DIRECTORIES WORK, SET PATH - CCCCC TO BE EMPTY. -- IPATH1=' ' -- NCP1=0 - CCCCC JUNE 1996. FOR UNIX SYSTEMS, CHECK FOR EXISTENCE OF - CCCCC "HOME" ENVIRONMENT VARIABLE. READ DPLOGF FROM USER'S HOME - CCCCC DIRECTORY IF FOUND. OTHERWISE, CURRENT DIRECTORY. ---- dpsrc-orig/dp1_linux.f.in 2007-08-23 18:19:27.000000000 -0400 -+++ dpsrc/dp1_linux.f.in 2008-04-30 08:02:46.000000000 -0400 -@@ -1481,7 +1481,7 @@ - DATA D2MACH(4) / 2.2204460492503D-16 / - DATA D2MACH(5) / 0.3010299956639812D0 / - CC -- IHOST1='SUN ' -+ IHOST1='@HOST@' - IHOST2=' ' - IHMOD1='3 ' - IHMOD2=' ' -@@ -2619,7 +2619,7 @@ - 1 (IHOST1.EQ.'SGI ') .OR. - 1 (IHOST1.EQ.'HP-9') .OR. - 1 (IHOST1.EQ.'AIX ') .OR. -- 1 (IHOST1.EQ.'LINU') .OR. -+ 1 (IHOST1.EQ.'LINUX') .OR. - 1 (IOPSY1.EQ.'UNIX') - 1 )THEN - CCCCC FOLLOWING SECTION ADDED FEBRUARY 1998. -@@ -2635,7 +2635,7 @@ - UNIXPV='DATAPLOT_FILES' - CALL getenv(UNIXPV,UNIXPN) - IF(UNIXPN.EQ.' ')THEN -- IPATH1='/usr/local/lib/dataplot/' -+ IPATH1='@datadir@/dataplot' - NCP1=24 - UNIXPN=' ' - UNIXPN(1:NCP1)=IPATH1(1:NCP1) -@@ -2655,8 +2655,6 @@ - ENDIF - CCCCC AUGUST 1996. TO MAKE SEARCH OF SUB-DIRECTORIES WORK, SET PATH - CCCCC TO BE EMPTY. -- IPATH1=' ' -- NCP1=0 - CCCCC JUNE 1996. FOR UNIX SYSTEMS, CHECK FOR EXISTENCE OF - CCCCC "HOME" ENVIRONMENT VARIABLE. READ DPLOGF FROM USER'S HOME - CCCCC DIRECTORY IF FOUND. OTHERWISE, CURRENT DIRECTORY. ---- dpsrc-orig/DPCOPA.INC.in 2008-02-24 12:52:09.000000000 -0500 -+++ dpsrc/DPCOPA.INC.in 2008-04-28 14:16:02.000000000 -0400 -@@ -64,7 +64,7 @@ - CCCCC PARAMETER (MAXOBW=82000) - CCCCC PARAMETER (MAXPOP=16400) - C -- PARAMETER (MAXOBV=100000) -+ PARAMETER (MAXOBV=@MAXOBV@) - PARAMETER (MAXOBW=10*MAXOBV) - PARAMETER (MAXPOP=2*MAXOBV) - C - diff --git a/sci-mathematics/dataplot/files/dpsrc-patchset-20080225.patch b/sci-mathematics/dataplot/files/dpsrc-patchset-20080225.patch deleted file mode 100644 index d633dff3d068..000000000000 --- a/sci-mathematics/dataplot/files/dpsrc-patchset-20080225.patch +++ /dev/null @@ -1,111 +0,0 @@ -diff -Naur dpsrc-orig/gl_src.c dpsrc/gl_src.c ---- dpsrc-orig/gl_src.c 2001-02-28 16:45:56.000000000 -0500 -+++ dpsrc/gl_src.c 2008-04-10 17:03:03.000000000 -0400 -@@ -154,7 +154,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <math.h> --#include <strings.h> -+#include <string.h> - - #if UNIX == 0 - #include <X11/Xlib.h> -@@ -257,7 +257,7 @@ - /* flags for current attribute settings */ - static int OPEN_FLAG = 0; /* 0 - X11 closed, 1 - X11 open */ - static int OPEN_FLAG_2 = 0; /* 0 - repeat graph window closed, 1 - open */ --int GRAPH_FLAG = 0; /* 0 - gleras has not been called, 1 - gleras has been called */ -+static int GRAPH_FLAG = 0; /* 0 - gleras has not been called, 1 - gleras has been called */ - int WIDTH_CURRENT; /* current line width */ - int LINE_STYLE_CURRENT; /* current line style */ - char FONT_NAME_CURRENT[80]; /* name of current font */ -@@ -922,7 +922,7 @@ - glNewList(list_id, GL_COMPILE_AND_EXECUTE); - - glClearColor(red_temp,green_temp,blue_temp,1.0); -- glclear(GL_COLOR_BUFFER_BIT); -+ glClear(GL_COLOR_BUFFER_BIT); - - GRAPH_FLAG = 1; - } -@@ -1486,7 +1486,7 @@ - * Color only set if being changed. - */ - #if APPEND_UNDERSCORE == 1 && SUBROUTINE_CASE == 1 --void glseco(jcol, red, green, blue) -+void glseco_(jcol, red, green, blue) - #elif APPEND_UNDERSCORE == 1 && SUBROUTINE_CASE == 0 - void GLSECO_(jcol, red, green, blue) - #elif APPEND_UNDERSCORE == 0 && SUBROUTINE_CASE == 1 -@@ -1691,7 +1691,7 @@ - width = isize[0]; - #endif - if (width < 1.0) width = 1.0; -- glPointsize(width); -+ glPointSize(width); - glBegin(GL_POINTS); - #if PRECISION == 0 - glVertex2f(*ix, *iy); -diff -Naur dpsrc-orig/x11_src.c dpsrc/x11_src.c ---- dpsrc-orig/x11_src.c 2007-08-23 13:57:06.000000000 -0400 -+++ dpsrc/x11_src.c 2008-04-10 17:02:18.000000000 -0400 -@@ -214,7 +214,7 @@ - /* add following 2 lines MAY 1995 */ - #include <stdlib.h> - #include <math.h> --#include <strings.h> -+#include <string.h> - - /* global definitions */ - -@@ -507,7 +507,7 @@ - /* flags for current attribute settings */ - static int OPEN_FLAG = 0; /* 0 - X11 closed, 1 - X11 open */ - static int OPEN_FLAG_2 = 0; /* 0 - repeat graph window closed, 1 - open */ --int GRAPH_FLAG = 0; /* 0 - xerase has not been called, 1 - xerase has been called */ -+static int GRAPH_FLAG = 0; /* 0 - xerase has not been called, 1 - xerase has been called */ - int WIDTH_CURRENT; /* current line width */ - int LINE_STYLE_CURRENT; /* current line style */ - int CAP_STYLE_CURRENT; /* current cap style */ ---- dpsrc-orig/gs_src.c 2002-02-20 13:28:36.000000000 -0500 -+++ dpsrc/gs_src.c 2008-04-28 08:54:28.000000000 -0400 -@@ -111,9 +111,9 @@ - int max_colors; /* maximum colors actually allocated */ - int CURRENT_COLOR; /* Define current color */ - int CURRENT_LINE_STYLE[12]; /* Define current line style */ --int NPTS_STYLE = 0; /* Number of points in style */ -+static int NPTS_STYLE = 0; /* Number of points in style */ - int color_table[MAX_COLORS + 100]; /* color table */ --int red[MAX_COLORS] = { -+static int red[MAX_COLORS] = { - /* 0 - 7 */ 255, 0, 255, 0, 0, 255, 255, 0, - /* 8 - 15 */ 255, 154, 0, 173, 138, 208, 47, 211, - /* 16 - 23 */ 127, 165, 95, 255, 100, 85, 153, 72, -@@ -127,7 +127,7 @@ - /* 80 - 87 */ 238, 205, 139, 238, 205, 139, 238, 205, - /* 88 - 88 */ 139 - }; --int green[MAX_COLORS] = { -+static int green[MAX_COLORS] = { - /* 0 - 7 */ 255, 0, 0, 0, 255, 0, 165, 255, - /* 8 - 15 */ 255, 205, 100, 216, 43, 32, 79, 211, - /* 16 - 23 */ 255, 42, 158, 127, 149, 107, 50, 61, -@@ -141,7 +141,7 @@ - /* 80 - 87 */ 154, 133, 90, 0, 0, 0, 0, 0, - /* 88 - 88 */ 0 - }; --int blue[MAX_COLORS] = { -+static int blue[MAX_COLORS] = { - /* 0 - 7 */ 255, 0, 0, 255, 0, 255, 0, 255, - /* 8 - 15 */ 0, 50, 0, 230, 226, 144, 79, 211, - /* 16 - 23 */ 212, 42, 160, 80, 237, 47, 204, 139, -@@ -158,7 +158,7 @@ - - /* flags for current attribute settings */ - static int OPEN_FLAG = 0; /* 0 - GS closed, 1 - GS open */ --int DEVICE_TYPE = 0; /* define device */ -+static int DEVICE_TYPE = 0; /* define device */ - /* 1 - jpeg */ - /* 2 - png */ - /* 3 - windows bmp */ - |