From f0227f6f86264b0a2fc676c3859d39c259ae6e20 Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 18 Jul 2008 17:22:47 +0000 Subject: Update grace to 5.1.22. Patch provided by Aleksej Saushev in PR 38884. 5.1.22 Interface * [DC] mention object type when asking for user's confirmation on delete Parser * [ES] added "LINCONV(set1, set2)" command - an equivalent of Transformations->Linear convolution * [ES] added "VOIGT(gamma, sigma, x)" function (rep. #2144) Bug fixes * [ES] in the grace_np library GraceClose() could kill all user processes if by that time the Grace subprocess has exited (rep. #2035) * [ES] certain hand-modified settings in project files might cause the GUI crash (incl. rep. #2139) * [ES] ungraceful closing of anonymous pipes could result in high CPU load 5.1.21 Functionality * [ES] added IsoLatin5 (ISO 8859-9) encoding file * [ES] now honor locale in number stringifications (rep. #2109) * [ES] extended range of prefixes in the Engineering format up to 10^{+/-24} * [HR] added "Computing" tick label format Interface * [ES] added "-maxpath" command line option for setting maximal drawing path length * [ES] allow for longer legend lines Parser * [ES] added "KILL BLOCK" command (deallocates the memory of the current block data) Bug fixes * [ES] there was a misleading error message when attempting to redefine an existing variable/keyword in the parser * [ES] fixed rounding-off problem with zero labels (rep. #2098) Portability/Compilation * [IG] eliminated some of gcc-4.1 warnings (rep. #2111) * [IG] man page cleaned (rep. #2110) 5.1.20 Parser * [ES] added SGN() function Defaults * [ES] changed default major tick spacings to 0.2 Bug fixes * [ES] command argument "-graphtype pie" wasn't recognized (rep. #2058) * [ES] fixed openning of help documents when using an external browser * [ES] "Geometric transforms" with order: "Rotate, scale, translate" in fact was doing "Translate, scale, rotate" * [ES] Grace might crash when using "Engineering" tick label format (rep. #2094) * [ES] file selection dialog wasn't closed when fit parameters file was read in successfully 5.1.19 Functionality * [ES] BARDY and BARDYDY sets are now allowed in XY graphs Bug fixes * [RL] loading a DL module could fail with an irrelevant error message (rep. #2071) * [ES] a bug in the PS driver caused CUPS to output empty page if printing accounting was enabled in foomatic (rep. #2047) * [ES] automatic data point purging (enabled when set length exceeds "Max drawing path length" in Edit/Preferences) could fail silently (rep. #2069) * [ES] the point purging could result in wrong set filling when fill to the baseline was selected * [ES] configure's option --with-helpviewer was broken (rep. #1414) 5.1.18 Parser * [ES] implemented concatenation of quoted strings and numerical expressions Bug fixes * [ES] some X font configurations could make Grace crash (rep. #1436) * [ES] DEFAULT ... commands had no effect on new drawing objects (including rep. #1437) * [ES] DEFAULT CHAR SIZE had no effect on tick labels of new axes 5.1.17 Drivers * [ES] changed default resolution of the PDF driver to 300 dpi Documentation/Info * [ES] minor documentation updates, including rep. #1421 Bug fixes * [ES] with page fill disabled, the page frame line might be drawn with wrong properties * [ES] due to a bug in the Xbae widget, when a TrueType font was used, several dialogs could become unusable (including rep. #1366) * [ES] enabling patterned fills and PDF-1.4 compatibility mode could result in crash when printing to PDF 5.1.16 Interface * [ES] set scrolling of the custom ticks/labels table to 1 row per click (rep. #1419) Documentation/Info * [ES] updates relevant to the status of mailing lists/forums Portability/Compilation * [ES] PDF driver updated to work with PDFlib-6 (rep. #1426). Minimal supported version is now 5.0 Drivers * [ES] added option to generate PDF-1.4 format (Acrobat5). Support for PDF-1.2 (Acrobat3) removed Bug fixes * [ES] replaced meaningless error message issued when trying to load data with a few string columns as a single set * [ES] in the spreadsheet editor, the last entered cell's data wasn't committed (rep. #1420) 5.1.15 Functionality * [ES] increased max number of custom tick marks/labels to 256 per a popular demand Project files * [ES] now using one-line format for saving graph's world and viewport settings Defaults * [ES] changed default external help viewer to mozilla Documentation/Info * [ES] misc documentation updates (including rep. #1411) Bug fixes * [ES] fixed crash when number of custom tick marks/labels exceeded 100 * [ES] fixed evaluation of FWHM in "Feature extraction" (old version might produce wrong results for multi-peak data) * [ES] support for loadable functions of 4 and 5 parameters, introduced in 5.1.14, was incomplete * [ES] in correlation/covariance, only the absolute value at 0 is normalized to 1, so for anti-correlation the sign is preserved --- math/grace/Makefile | 27 +++++++++++++++------------ math/grace/PLIST | 3 ++- math/grace/distinfo | 8 ++++---- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/math/grace/Makefile b/math/grace/Makefile index a37aaf49dfe..e770838f05e 100644 --- a/math/grace/Makefile +++ b/math/grace/Makefile @@ -1,21 +1,19 @@ -# $NetBSD: Makefile,v 1.42 2006/12/15 20:32:58 joerg Exp $ +# $NetBSD: Makefile,v 1.43 2008/07/18 17:22:47 obache Exp $ # -DISTNAME= grace-5.1.14 -PKGREVISION= 5 +DISTNAME= grace-5.1.22 CATEGORIES= math graphics x11 -MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/ \ - ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/grace/src/ \ - ftp://ftp.fu-berlin.de/unix/graphics/grace/src/ \ - ftp://ftp.ntua.gr/pub/graphics/grace/src/ \ - ftp://ftp.ru.xemacs.org/pub/math/grace/src/ \ - ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/grace/src/ \ - ftp://ftp2.netmor.com/pub/mirrors/grace/src/ +MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ \ + ftp://ftp.fu-berlin.de/unix/graphics/grace/src/stable/ \ + ftp://ftp.ru.xemacs.org/pub/math/grace/src/stable/ \ + ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/grace/src/stable/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/ COMMENT= GRaphing, Advanced Computation and Exploration of data +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= YES USE_TOOLS+= gmake USE_LANGUAGES= c fortran @@ -23,9 +21,14 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+= --enable-grace-home=${PREFIX}/grace CONFIGURE_ARGS+= --without-bundled-xbae +INSTALLATION_DIRS= bin + +# test require X +#TEST_TARGET= check + post-install: - ${RM} -f ${PREFIX}/bin/xmgrace - ${LN} -s ${PREFIX}/grace/bin/xmgrace ${PREFIX}/bin + ${RM} -f ${DESTDIR}${PREFIX}/bin/xmgrace + ${LN} -s ${DESTDIR}${PREFIX}/grace/bin/xmgrace ${DESTDIR}${PREFIX}/bin .include "../../devel/netcdf/buildlink3.mk" .include "../../fonts/t1lib/buildlink3.mk" diff --git a/math/grace/PLIST b/math/grace/PLIST index 698f322cbe9..66dd0e73b00 100644 --- a/math/grace/PLIST +++ b/math/grace/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2003/08/12 20:32:55 seb Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/07/18 17:22:47 obache Exp $ bin/xmgrace grace/auxiliary/README grace/auxiliary/convcal.c @@ -52,6 +52,7 @@ grace/examples/graphs.par grace/examples/hilo.agr grace/examples/log.dat grace/examples/log2.agr +grace/examples/log2log.agr grace/examples/logistic.agr grace/examples/logistic.fit grace/examples/logit.agr diff --git a/math/grace/distinfo b/math/grace/distinfo index ddda60b9e18..14ea5beb963 100644 --- a/math/grace/distinfo +++ b/math/grace/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2005/02/23 12:06:55 agc Exp $ +$NetBSD: distinfo,v 1.9 2008/07/18 17:22:47 obache Exp $ -SHA1 (grace-5.1.14.tar.gz) = 69b2c82dce6cdac64902c5106a996f6df00e6367 -RMD160 (grace-5.1.14.tar.gz) = e26e3460c37a6e9af76f12fabd45af485c4df863 -Size (grace-5.1.14.tar.gz) = 2434564 bytes +SHA1 (grace-5.1.22.tar.gz) = 3ce88c7c264d2de73b8935f835a1c1f8e368c78f +RMD160 (grace-5.1.22.tar.gz) = ca7b1abe240de7cd3dbdc52d5182020c410b9772 +Size (grace-5.1.22.tar.gz) = 2516576 bytes SHA1 (patch-aa) = 5ccd1cc8bbf449c92b2216a52f1e6b9d6bd4cfce SHA1 (patch-ab) = 60a7657a4d191b76dae97ba0a7d8ba378da2a748 -- cgit v1.2.3