NetBSD Problem Report #38884

From martin@duskware.de  Sat Jun  7 13:59:20 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id D974063B8BC
	for <gnats-bugs@gnats.netbsd.org>; Sat,  7 Jun 2008 13:59:19 +0000 (UTC)
Message-Id: <20080607122527.249A063B8BC@narn.NetBSD.org>
Date: Sat,  7 Jun 2008 12:25:27 +0000 (UTC)
From: asau@inbox.ru
Reply-To: asau@inbox.ru
To: netbsd-bugs-owner@NetBSD.org
Subject: [patch] update math/grace to latest stable release
X-Send-Pr-Version: www-1.0

>Number:         38884
>Category:       pkg
>Synopsis:       [patch] update math/grace to latest stable release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 07 14:00:00 +0000 2008
>Closed-Date:    Fri Jul 18 17:23:35 +0000 2008
>Last-Modified:  Fri Jul 18 17:25:01 +0000 2008
>Originator:     Aleksej Saushev
>Release:        
>Organization:
>Environment:
>Description:
math/grace is outdated, the layout of master site has changed,
the package doesn't support DESTDIR.
>How-To-Repeat:
Code inspection.
>Fix:
Changes since previous packaged release:

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



Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/grace/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	15 Dec 2006 20:32:58 -0000	1.42
+++ Makefile	7 Jun 2008 12:17:18 -0000
@@ -1,21 +1,20 @@
 # $NetBSD: Makefile,v 1.42 2006/12/15 20:32:58 joerg Exp $
 #

-DISTNAME=	grace-5.1.14
-PKGREVISION=	5
+DISTNAME=	grace-5.1.22
+PKGREVISION=	#
 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 +22,11 @@
 CONFIGURE_ARGS+=	--enable-grace-home=${PREFIX}/grace
 CONFIGURE_ARGS+=	--without-bundled-xbae

+INSTALLATION_DIRS=	bin
+
 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"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/math/grace/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST	12 Aug 2003 20:32:55 -0000	1.3
+++ PLIST	7 Jun 2008 12:17:18 -0000
@@ -52,6 +52,7 @@
 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
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/math/grace/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	23 Feb 2005 12:06:55 -0000	1.8
+++ distinfo	7 Jun 2008 12:17:18 -0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 12:06:55 agc Exp $
+$NetBSD$

-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

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 18 Jul 2008 17:23:35 +0000
State-Changed-Why:
Patch applied and updated.  Thanks!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38884 CVS commit: pkgsrc/math/grace
Date: Fri, 18 Jul 2008 17:22:47 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Jul 18 17:22:47 UTC 2008

 Modified Files:
 	pkgsrc/math/grace: Makefile PLIST distinfo

 Log Message:
 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


 To generate a diff of this commit:
 cvs rdiff -r1.42 -r1.43 pkgsrc/math/grace/Makefile
 cvs rdiff -r1.3 -r1.4 pkgsrc/math/grace/PLIST
 cvs rdiff -r1.8 -r1.9 pkgsrc/math/grace/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.