NetBSD Problem Report #43741

From www@NetBSD.org  Tue Aug 10 23:55:57 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id AB41063BBD6
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Aug 2010 23:55:57 +0000 (UTC)
Message-Id: <20100810235557.5691A63BBBD@www.NetBSD.org>
Date: Tue, 10 Aug 2010 23:55:57 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Update math/newmat to 11
X-Send-Pr-Version: www-1.0

>Number:         43741
>Category:       pkg
>Synopsis:       Update math/newmat to 11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    asau
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 11 00:00:00 +0000 2010
>Closed-Date:    Wed Aug 11 20:08:15 +0000 2010
>Last-Modified:  Wed Aug 11 20:10:03 +0000 2010
>Originator:     Derouiche
>Release:        NetBSD 5.0.2
>Organization:
Algerie Motors company
>Environment:
NetBSD Khaarasan 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 2010  builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
n/a
>How-To-Repeat:
n/a
>Fix:
$ diff -ruN Makefile.orig Makefile
--- Makefile.orig       2010-08-10 23:04:07.000000000 +0000
+++ Makefile    2010-08-11 00:53:28.000000000 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2009/01/23 21:14:17 jschauma Exp $
+# $NetBSD$
 #

-DISTNAME=      newmat10 # actually newmat10B, but no such distfile
+DISTNAME=      newmat11
 PKGNAME=       ${DISTNAME:C/([0-9]+)$/-\1/}
-PKGREVISION=   1
 CATEGORIES=    math devel
 MASTER_SITES=  http://www.robertnz.net/ftp/

@@ -14,25 +13,23 @@
 PKG_DESTDIR_SUPPORT=   user-destdir

 WRKSRC=                ${WRKDIR}
-DIST_SUBDIR=   newmat10B
+
 MAKE_FILE=     nm_cc.mak
 BUILD_TARGET=  garch
 USE_LANGUAGES= c++

-HEADERS=       boolean.h controlw.h include.h myexcept.h newmat.h      \
-               newmatap.h newmatio.h newmatnl.h newmatrc.h precisio.h
+HEADERS=       controlw.h include.h myexcept.h newmat.h        \
+               newmatap.h newmatio.h newmatnl.h newmatrc.h precisio.h \
+               solution.h tmt.h newmatrm.h

-DOCDIR=                ${PREFIX}/share/doc/html/newmat

-INSTALLATION_DIRS=     lib
+INSTALLATION_DIRS=     lib include/newmat share/doc/newmat

 do-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/newmat
 .for header in ${HEADERS}
        ${INSTALL_DATA} ${WRKSRC}/${header} ${DESTDIR}${PREFIX}/include/newmat
 .endfor
        ${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${DESTDIR}${PREFIX}/lib
-       ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
-       ${INSTALL_DATA} ${WRKSRC}/nm10.htm ${DESTDIR}${DOCDIR}/index.html
+       ${INSTALL_DATA} ${WRKSRC}/nm11.htm ${DESTDIR}${PREFIX}/share/doc/newmat/index.html

 .include "../../mk/bsd.pkg.mk"

$ diff -ruN PLIST.orig PLIST
--- PLIST.orig  2010-08-10 23:04:11.000000000 +0000
+++ PLIST       2010-08-11 00:52:04.000000000 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:05:46 joerg Exp $
-include/newmat/boolean.h
+@comment $NetBSD$
 include/newmat/controlw.h
 include/newmat/include.h
 include/newmat/myexcept.h
@@ -8,6 +7,9 @@
 include/newmat/newmatio.h
 include/newmat/newmatnl.h
 include/newmat/newmatrc.h
+include/newmat/newmatrm.h
 include/newmat/precisio.h
+include/newmat/solution.h
+include/newmat/tmt.h
 lib/libnewmat.a
-share/doc/html/newmat/index.html
+share/doc/newmat/index.html


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->asau
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Wed, 11 Aug 2010 20:08:15 +0000
Responsible-Changed-Why:
I did the update.


State-Changed-From-To: open->closed
State-Changed-By: asau@NetBSD.org
State-Changed-When: Wed, 11 Aug 2010 20:08:15 +0000
State-Changed-Why:
Updated. Thanks for PR.


From: Aleksej Saushev <asau@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43741 CVS commit: pkgsrc/math/newmat
Date: Wed, 11 Aug 2010 20:06:25 +0000

 Module Name:	pkgsrc
 Committed By:	asau
 Date:		Wed Aug 11 20:06:25 UTC 2010

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

 Log Message:
 Update to Newmat11
 Contributed by Kamel Derouiche via PR pkg/43741

 Changes in this version:

 It works with Borland Builder version 6, 8;
 Microsoft Visual C++ 6,7,8; Open Watcom 1.7a;
 Gnu version 3, 4 and Intel for Windows & Linux compilers 9, 10.

 Options and work-arounds for older compilers are being removed.

 You can enter values from an integer array with statements like

   Matrix A(3,2); int a[] = { 11,12,21,22,31,33 };  A << a;

 There is a new matrix type SquareMatrix. You can use this where
 you know a matrix is square. The only place where the information
 that a matrix is used is in the Kronecker product KP(A,B).
 If A is band and B is any square matrix type (i.e. type SquareMatrix
 or band, triangular, symmetric or diagonal) the result is band.
 If B is type Matrix then the result is of type Matrix.
 Apart from this it may be worth using the SquareMatrix type to
 improve readability of a program and to make sure that a matrix
 that is intended to be square really is square.

 There is a new routine for carrying out cross products of
 ColumnVectors or RowVectors of length 3 and new routines for
 updating a triangular matrix derived from a Cholesky decomposition.

 Interfacing with old C functions involving one and two
 dimensional arrays is simplified.

 Additional QR functions, extend_orthogonal function.

 Lower-case versions of functions.

 You can use the manipulators scientific and fixed in the matrix
 output expressions.


 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/math/newmat/Makefile
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/newmat/PLIST
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/newmat/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.