Update to CLN 1.3.0. Changes since previous package: 2009-06-30, version 1.3.0 * Use the GNU autotools as build system. * Implemented a more portable module dependency mechanism. 2008-04-05, version 1.2.2 * Re-establish CLN-1.2.0 ABI and fix ARM build, both inadvertently broken in the previous release. 2008-03-24, version 1.2.1 * Fixed some bugs in the output of numbers larger than 2^32 decimal digits. * Modifying C/C++ operators like +=, ++, etc. are now enabled by default. 2008-01-19, version 1.2.0 * Save big amounts of memory in computation of some functions and constants by: - Avoiding pre-computation of series terms and instead computing them in a streamed way. - Avoiding computation with excess precision in binary splitting algorithm by coercion of intermediate integer values to floating-point as early as possible. * Added support for huge numbers: - intC used for all counter loops. - intE is now a 64-bit type on all 64-bit platforms and even on selected 32-bit platforms. * CLN now uses C++ exceptions for error handling. The cl_abort() hook is not supported any more. Please refer to the documentation to learn about existing exception types. * Fixed a bug on i386 where comparing Z/2Z ring zeros returnd random results. * Removed cl_boolean. Use built-in C++ bool instead. * Dropped the cln-config script. Please use pkg-config instead. * Updated infrastructure to that of libtool-1.5.24. * Changed encoding of all files to UTF-8. * Fix compilation issues with GCC-4.3. * Fix linking issues on platforms that don't feature weak symbols (like win32).diff -r1.17 -r1.18 pkgsrc/math/cln/Makefile
(asau)
@@ -1,22 +1,23 @@ | @@ -1,22 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2008/06/12 02:14:36 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2009/09/03 10:48:18 asau Exp $ | |
2 | 2 | |||
3 | DISTNAME= cln-1.1.13 | 3 | DISTNAME= cln-1.3.0 | |
4 | CATEGORIES= math | 4 | CATEGORIES= math | |
5 | MASTER_SITES= http://www.ginac.de/CLN/ \ | 5 | MASTER_SITES= http://www.ginac.de/CLN/ \ | |
6 | ftp://ftpthep.physik.uni-mainz.de/pub/gnu/ | 6 | ftp://ftpthep.physik.uni-mainz.de/pub/gnu/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= adam@NetBSD.org | 9 | MAINTAINER= adam@NetBSD.org | |
10 | HOMEPAGE= http://www.ginac.de/CLN/ | 10 | HOMEPAGE= http://www.ginac.de/CLN/ | |
11 | COMMENT= CLN Class Library for Numbers | 11 | COMMENT= CLN Class Library for Numbers | |
12 | LICENSE= gnu-gpl-v2 | |||
12 | 13 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 15 | |||
15 | USE_TOOLS+= gmake pkg-config | 16 | USE_TOOLS+= gmake pkg-config | |
16 | USE_LANGUAGES= c c++ | 17 | USE_LANGUAGES= c c++ | |
17 | USE_LIBTOOL= yes | 18 | USE_LIBTOOL= yes | |
18 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes | |
19 | PKGCONFIG_OVERRIDE= cln.pc.in | 20 | PKGCONFIG_OVERRIDE= cln.pc.in | |
20 | INFO_FILES= yes | 21 | INFO_FILES= yes | |
21 | 22 | |||
22 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,49 +1,49 @@ | @@ -1,49 +1,49 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2009/06/14 18:05:42 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2009/09/03 10:48:18 asau Exp $ | |
2 | bin/cln-config | 2 | bin/pi | |
3 | include/cln/GV.h | 3 | include/cln/GV.h | |
4 | include/cln/GV_complex.h | 4 | include/cln/GV_complex.h | |
5 | include/cln/GV_integer.h | 5 | include/cln/GV_integer.h | |
6 | include/cln/GV_modinteger.h | 6 | include/cln/GV_modinteger.h | |
7 | include/cln/GV_number.h | 7 | include/cln/GV_number.h | |
8 | include/cln/GV_rational.h | 8 | include/cln/GV_rational.h | |
9 | include/cln/GV_real.h | 9 | include/cln/GV_real.h | |
10 | include/cln/SV.h | 10 | include/cln/SV.h | |
11 | include/cln/SV_complex.h | 11 | include/cln/SV_complex.h | |
12 | include/cln/SV_integer.h | 12 | include/cln/SV_integer.h | |
13 | include/cln/SV_number.h | 13 | include/cln/SV_number.h | |
14 | include/cln/SV_rational.h | 14 | include/cln/SV_rational.h | |
15 | include/cln/SV_real.h | 15 | include/cln/SV_real.h | |
16 | include/cln/SV_ringelt.h | 16 | include/cln/SV_ringelt.h | |
17 | include/cln/V.h | 17 | include/cln/V.h | |
18 | include/cln/abort.h | |||
19 | include/cln/cln.h | 18 | include/cln/cln.h | |
20 | include/cln/complex.h | 19 | include/cln/complex.h | |
21 | include/cln/complex_class.h | 20 | include/cln/complex_class.h | |
22 | include/cln/complex_io.h | 21 | include/cln/complex_io.h | |
23 | include/cln/complex_ring.h | 22 | include/cln/complex_ring.h | |
24 | include/cln/condition.h | 23 | include/cln/condition.h | |
25 | include/cln/config.h | 24 | include/cln/config.h | |
26 | include/cln/dfloat.h | 25 | include/cln/dfloat.h | |
27 | include/cln/dfloat_class.h | 26 | include/cln/dfloat_class.h | |
28 | include/cln/dfloat_io.h | 27 | include/cln/dfloat_io.h | |
28 | include/cln/exception.h | |||
29 | include/cln/ffloat.h | 29 | include/cln/ffloat.h | |
30 | include/cln/ffloat_class.h | 30 | include/cln/ffloat_class.h | |
31 | include/cln/ffloat_io.h | 31 | include/cln/ffloat_io.h | |
32 | include/cln/float.h | 32 | include/cln/float.h | |
33 | include/cln/float_class.h | 33 | include/cln/float_class.h | |
34 | include/cln/float_io.h | 34 | include/cln/float_io.h | |
35 | include/cln/floatformat.h | 35 | include/cln/floatformat.h | |
36 | include/cln/floatparam.h | 36 | include/cln/host_cpu.h | |
37 | include/cln/input.h | 37 | include/cln/input.h | |
38 | include/cln/integer.h | 38 | include/cln/integer.h | |
39 | include/cln/integer_class.h | 39 | include/cln/integer_class.h | |
40 | include/cln/integer_io.h | 40 | include/cln/integer_io.h | |
41 | include/cln/integer_ring.h | 41 | include/cln/integer_ring.h | |
42 | include/cln/intparam.h | 42 | include/cln/intparam.h | |
43 | include/cln/io.h | 43 | include/cln/io.h | |
44 | include/cln/lfloat.h | 44 | include/cln/lfloat.h | |
45 | include/cln/lfloat_class.h | 45 | include/cln/lfloat_class.h | |
46 | include/cln/lfloat_io.h | 46 | include/cln/lfloat_io.h | |
47 | include/cln/malloc.h | 47 | include/cln/malloc.h | |
48 | include/cln/modinteger.h | 48 | include/cln/modinteger.h | |
49 | include/cln/modules.h | 49 | include/cln/modules.h | |
@@ -71,34 +71,14 @@ include/cln/string.h | @@ -71,34 +71,14 @@ include/cln/string.h | |||
71 | include/cln/symbol.h | 71 | include/cln/symbol.h | |
72 | include/cln/timing.h | 72 | include/cln/timing.h | |
73 | include/cln/types.h | 73 | include/cln/types.h | |
74 | include/cln/univpoly.h | 74 | include/cln/univpoly.h | |
75 | include/cln/univpoly_complex.h | 75 | include/cln/univpoly_complex.h | |
76 | include/cln/univpoly_integer.h | 76 | include/cln/univpoly_integer.h | |
77 | include/cln/univpoly_modint.h | 77 | include/cln/univpoly_modint.h | |
78 | include/cln/univpoly_rational.h | 78 | include/cln/univpoly_rational.h | |
79 | include/cln/univpoly_real.h | 79 | include/cln/univpoly_real.h | |
80 | include/cln/version.h | 80 | include/cln/version.h | |
81 | info/cln.info | 81 | info/cln.info | |
82 | lib/libcln.la | 82 | lib/libcln.la | |
83 | lib/pkgconfig/cln.pc | 83 | lib/pkgconfig/cln.pc | |
84 | man/man1/cln-config.1 | 84 | man/man1/pi.1 | |
85 | share/aclocal/cln.m4 | |||
86 | share/doc/cln/html/cln_1.html | |||
87 | share/doc/cln/html/cln_10.html | |||
88 | share/doc/cln/html/cln_11.html | |||
89 | share/doc/cln/html/cln_12.html | |||
90 | share/doc/cln/html/cln_13.html | |||
91 | share/doc/cln/html/cln_14.html | |||
92 | share/doc/cln/html/cln_15.html | |||
93 | share/doc/cln/html/cln_16.html | |||
94 | share/doc/cln/html/cln_2.html | |||
95 | share/doc/cln/html/cln_3.html | |||
96 | share/doc/cln/html/cln_4.html | |||
97 | share/doc/cln/html/cln_5.html | |||
98 | share/doc/cln/html/cln_6.html | |||
99 | share/doc/cln/html/cln_7.html | |||
100 | share/doc/cln/html/cln_8.html | |||
101 | share/doc/cln/html/cln_9.html | |||
102 | share/doc/cln/html/cln_abt.html | |||
103 | share/doc/cln/html/cln_ovr.html | |||
104 | share/doc/cln/html/cln_toc.html |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2007/01/04 21:20:57 adam Exp $ | 1 | $NetBSD: distinfo,v 1.7 2009/09/03 10:48:18 asau Exp $ | |
2 | 2 | |||
3 | SHA1 (cln-1.1.13.tar.bz2) = 61c130cbb00ed95a19ee9dffc136b2823e452647 | 3 | SHA1 (cln-1.3.0.tar.bz2) = 0b9df49c7c8d73aadc516b3574211718fe6a8dfc | |
4 | RMD160 (cln-1.1.13.tar.bz2) = 798e8e2a8d4aa81b770b6606ae1fe617bcb0cbc3 | 4 | RMD160 (cln-1.3.0.tar.bz2) = b57c133276b856e0fffb64eb954662817bf2b370 | |
5 | Size (cln-1.1.13.tar.bz2) = 1708927 bytes | 5 | Size (cln-1.3.0.tar.bz2) = 1249521 bytes | |
6 | SHA1 (patch-ab) = d1fc5f290b8838af030f968fbba26e51be177100 | 6 | SHA1 (patch-ab) = 5dba2a7f4b6ff2d1459880d72de63fd5500a8d22 | |
7 | SHA1 (patch-ac) = d93e47d81cb010f0eb21b3a98d5ce9b9a6150623 | 7 | SHA1 (patch-ac) = da39a3ee5e6b4b0d3255bfef95601890afd80709 |
@@ -1,36 +1,13 @@ | @@ -1,36 +1,13 @@ | |||
1 | $NetBSD: patch-ab,v 1.4 2007/01/04 21:20:57 adam Exp $ | 1 | $NetBSD: patch-ab,v 1.5 2009/09/03 10:48:19 asau Exp $ | |
2 | 2 | |||
3 | --- doc/Makefile.in.orig 2006-08-06 14:14:20.000000000 +0200 | 3 | --- doc/Makefile.in.orig 2009-06-14 02:14:09.000000000 +0400 | |
4 | +++ doc/Makefile.in | 4 | +++ doc/Makefile.in 2009-09-03 14:03:04.000000000 +0400 | |
5 | @@ -13,7 +13,7 @@ datarootdir = @datarootdir@ | 5 | @@ -180,7 +180,7 @@ | |
6 | datadir = @datadir@ | 6 | host_cpu = @host_cpu@ | |
7 | host_os = @host_os@ | |||
8 | host_vendor = @host_vendor@ | |||
9 | -htmldir = @htmldir@ | |||
10 | +htmldir = @htmldir@/doc/cln/html | |||
11 | includedir = @includedir@ | |||
7 | infodir = @infodir@ | 12 | infodir = @infodir@ | |
8 | mandir = @mandir@ | 13 | install_sh = @install_sh@ | |
9 | -htmldir = $(datadir)/html | |||
10 | +htmldir = $(datadir)/doc/cln/html | |||
11 | dvidir = $(datadir)/dvi | |||
12 | DESTDIR = | |||
13 | ||||
14 | @@ -43,7 +43,7 @@ SHELL = /bin/sh | |||
15 | ||||
16 | VPATH = $(srcdir) | |||
17 | ||||
18 | -all : info dvi ps html | |||
19 | +all : info html | |||
20 | ||||
21 | ||||
22 | info : $(srcdir)/$(PACKAGE).info | |||
23 | @@ -88,13 +88,11 @@ install : all installdirs force | |||
24 | install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$(PACKAGE).info || :;\ | |||
25 | else : ; fi | |||
26 | $(INSTALL_DATA) $(srcdir)/$(PACKAGE)_*.html $(DESTDIR)$(htmldir) | |||
27 | - $(INSTALL_DATA) $(srcdir)/$(PACKAGE).dvi $(DESTDIR)$(dvidir)/$(PACKAGE).dvi | |||
28 | ||||
29 | installdirs : force | |||
30 | $(MKDIR) $(DESTDIR)$(datadir) | |||
31 | $(MKDIR) $(DESTDIR)$(infodir) | |||
32 | $(MKDIR) $(DESTDIR)$(htmldir) | |||
33 | - $(MKDIR) $(DESTDIR)$(dvidir) | |||
34 | ||||
35 | uninstall : force | |||
36 | @if (install-info --version && \ |