summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-08-30 21:50:59 +0000
committerjtb <jtb@pkgsrc.org>2003-08-30 21:50:59 +0000
commitf6620f1152f0814c22fff26f174dea5f177abdae (patch)
treec25b53422cf4dc09795cc08b3aaf48d79788212c /math
parent81059b4102fa160111e337407fae96f31695e4b8 (diff)
downloadpkgsrc-f6620f1152f0814c22fff26f174dea5f177abdae.tar.gz
Update to version 1.4.
* What is new in gsl-1.4: ** Added cumulative distribution functions and their inverses for the continuous random distributions including: gaussian, lognormal, gamma, beta, cauchy, laplace, chisq, exponential, gumbel, weibull, F-distribution, t-distribution, logistic, pareto and rayleigh. ** Added faster binomial random variates using the TPE rejection algorithm, in the function gsl_randist_binomial_tpe. ** Added new functions gsl_rng_fwrite and gsl_rnd_fread for storing the state of random number generators in a file. ** Added a new function gsl_combination_memcpy() ** Corrected values of electrical constants in CGS units. To take account of different electrical systems of units the values are now prefixed by GSL_CONST_MKSA (for the SI Metre, Kilogram, Second, Ampere system) or GSL_CONST_CGSM (for the Centimetre, Gram, Second, Magnetic system with the Gauss as the fundamental unit of magnetic field strength). The previous GSL_CONST_MKS and GSL_CONST_CGS prefixes have been removed, as have the permeability and permittivity constants in the CGS system since this uses different defining equations. ** Fixed bugs in the random number generators gsl_rng_fishman18, gsl_rng_fishman2x, and gsl_rng_knuthran2 which caused them to return incorrect results. Minor corrections were made to the parameters in the other Knuth generators borosh13, coveyou, fishman20, lecuyer21, and waterman14. ** Fixed a missing transpose bug in the gsl_linalg_QR_QRsolve and gsl_linalg_QRPT_QRsolve routines which were computing the solution to Q^T R x = b instead of Q R x = b. ** Fixed gsl_sf_gammainv to return zero instead of a domain error for arguments corresponding to singularities in gamma. ** Fixed a bug in the simplex minimization algorithm which caused it to fail to find the second highest point correctly when searching the set of simplex points. ** Fixed a bug in the conjugate gradient minimizers conjugate_pr, conjugate_fr and vector_bgfs which caused the search directions to be updated incorrectly. ** Fixed a bug in gsl_sf_psi_1_int(1) which caused it to return the incorrect sign for psi(1,1). ** Fixed the simulated annealing routine gsl_siman_solve to use the parameter iters_fixed_T for the number of iterations at fixed temperature instead of n_tries. ** Fixed a bug in gsl_combination_valid which caused it to return the incorrect status. ** Fixed a bug in gsl_permutation_canonical_to_linear which caused the output to always be zero, and the input permutation to be incorrectly replaced by the output. ** Fixed a bug is gsl_ran_discrete which could cause uninitialised data to be returned for some distributions. ** Fixed the dependencies for gsl_chebyshev.h to include gsl_math.h. ** Fixed a bug in gsl_complex_arccsc_real which caused it to return the incorrect sign for the imaginary part when -1<x<0. ** Fixed a bug in the QAWC Cauchy integration routine which could allow the singularity to fall on an interval boundary, leading to division by zero. ** Improved gsl_sf_gamma_inc_P(a,x) to avoid a domain error for x<<a when a>10. ** Improved the accuracy of gsl_sf_coupling_3j for large arguments. ** Improved the performance of gsl_sf_choose(m,n) by separating the calculations for small and large arguments. ** On platforms without IEEE comparisons gsl_{isnan,isinf,finite} will fall back to the system versions of isnan, isinf and finite if available. ** gsl_linalg_householder_hv now uses BLAS routines internally ** The script configure.in is now compatible with autoconf-2.50 and later. ** Reduced the memory usage of the multifit algorithms from MxM to MxN for large M by performing the QR decomposition of the Jacobian in-place. ** IEEE modes now use the C99 fenv.h functions when platform spectific functions are not available.
Diffstat (limited to 'math')
-rw-r--r--math/gsl/Makefile4
-rw-r--r--math/gsl/PLIST31
-rw-r--r--math/gsl/buildlink2.mk4
-rw-r--r--math/gsl/distinfo8
-rw-r--r--math/gsl/patches/patch-aa29
5 files changed, 19 insertions, 57 deletions
diff --git a/math/gsl/Makefile b/math/gsl/Makefile
index b84b084b82e..90351a3a56b 100644
--- a/math/gsl/Makefile
+++ b/math/gsl/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2003/08/09 11:11:31 seb Exp $
+# $NetBSD: Makefile,v 1.14 2003/08/30 21:50:59 jtb Exp $
-DISTNAME= gsl-1.3
+DISTNAME= gsl-1.4
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_GNU:=gsl/}
diff --git a/math/gsl/PLIST b/math/gsl/PLIST
index 793318c62dc..9235aab8ed5 100644
--- a/math/gsl/PLIST
+++ b/math/gsl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2003/08/02 13:20:16 seb Exp $
+@comment $NetBSD: PLIST,v 1.7 2003/08/30 21:51:00 jtb Exp $
bin/gsl-config
bin/gsl-histogram
bin/gsl-randist
@@ -21,13 +21,15 @@ include/gsl/gsl_block_uint.h
include/gsl/gsl_block_ulong.h
include/gsl/gsl_block_ushort.h
include/gsl/gsl_cblas.h
+include/gsl/gsl_cdf.h
include/gsl/gsl_chebyshev.h
+include/gsl/gsl_check_range.h
include/gsl/gsl_combination.h
include/gsl/gsl_complex.h
include/gsl/gsl_complex_math.h
include/gsl/gsl_const.h
-include/gsl/gsl_const_cgs.h
-include/gsl/gsl_const_mks.h
+include/gsl/gsl_const_cgsm.h
+include/gsl/gsl_const_mksa.h
include/gsl/gsl_const_num.h
include/gsl/gsl_dft_complex.h
include/gsl/gsl_dft_complex_float.h
@@ -211,33 +213,14 @@ include/gsl/gsl_vector_ushort.h
include/gsl/gsl_version.h
info/gsl-ref.info
info/gsl-ref.info-1
-info/gsl-ref.info-10
-info/gsl-ref.info-11
-info/gsl-ref.info-12
-info/gsl-ref.info-13
-info/gsl-ref.info-14
-info/gsl-ref.info-15
-info/gsl-ref.info-16
-info/gsl-ref.info-17
-info/gsl-ref.info-18
-info/gsl-ref.info-19
info/gsl-ref.info-2
-info/gsl-ref.info-20
-info/gsl-ref.info-21
-info/gsl-ref.info-22
-info/gsl-ref.info-23
info/gsl-ref.info-3
info/gsl-ref.info-4
-info/gsl-ref.info-5
-info/gsl-ref.info-6
-info/gsl-ref.info-7
-info/gsl-ref.info-8
-info/gsl-ref.info-9
lib/libgsl.a
lib/libgsl.la
lib/libgsl.so
-lib/libgsl.so.4
-lib/libgsl.so.4.0
+lib/libgsl.so.5
+lib/libgsl.so.5.0
lib/libgslcblas.a
lib/libgslcblas.la
lib/libgslcblas.so
diff --git a/math/gsl/buildlink2.mk b/math/gsl/buildlink2.mk
index 405f3b53b0b..ee14dc7e604 100644
--- a/math/gsl/buildlink2.mk
+++ b/math/gsl/buildlink2.mk
@@ -1,10 +1,10 @@
-# $NetBSD: buildlink2.mk,v 1.4 2003/02/17 01:01:38 jtb Exp $
+# $NetBSD: buildlink2.mk,v 1.5 2003/08/30 21:51:00 jtb Exp $
.if !defined(GSL_BUILDLINK2_MK)
GSL_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= gsl
-BUILDLINK_DEPENDS.gsl?= gsl>=1.3
+BUILDLINK_DEPENDS.gsl?= gsl>=1.4
BUILDLINK_PKGSRCDIR.gsl?= ../../math/gsl
BUILDLINK_DEPMETHOD.gsl?= build
diff --git a/math/gsl/distinfo b/math/gsl/distinfo
index 12438f3bd2d..b225306b6e9 100644
--- a/math/gsl/distinfo
+++ b/math/gsl/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2003/08/02 13:20:16 seb Exp $
+$NetBSD: distinfo,v 1.10 2003/08/30 21:51:00 jtb Exp $
-SHA1 (gsl-1.3.tar.gz) = ecde676adb997adbd507a7a7974bb7f6f69f9d87
-Size (gsl-1.3.tar.gz) = 2052026 bytes
-SHA1 (patch-aa) = a8965df1a505aa43254025e4b03779b5896594c1
+SHA1 (gsl-1.4.tar.gz) = 72de214bc3e2466f196aa98d698002faceb7132c
+Size (gsl-1.4.tar.gz) = 2211031 bytes
+SHA1 (patch-aa) = 56b2b86411ff0f026525d7ec50d582db5a9b37bf
diff --git a/math/gsl/patches/patch-aa b/math/gsl/patches/patch-aa
index 86bee3fb8dd..611b68019ec 100644
--- a/math/gsl/patches/patch-aa
+++ b/math/gsl/patches/patch-aa
@@ -1,31 +1,10 @@
-$NetBSD: patch-aa,v 1.5 2003/08/02 13:20:17 seb Exp $
+$NetBSD: patch-aa,v 1.6 2003/08/30 21:51:00 jtb Exp $
---- configure.orig 2002-12-18 22:32:51.000000000 +0000
-+++ configure
-@@ -939,13 +939,13 @@ echo "configure:939: checking for workin
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
--if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
-- MAKEINFO=makeinfo
-- echo "$ac_t""found" 1>&6
--else
-- MAKEINFO="$missing_dir/missing makeinfo"
-- echo "$ac_t""missing" 1>&6
--fi
-+#if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
-+# MAKEINFO=makeinfo
-+# echo "$ac_t""found" 1>&6
-+#else
-+# MAKEINFO="$missing_dir/missing makeinfo"
-+# echo "$ac_t""missing" 1>&6
-+#fi
+--- configure.orig 2003-08-30 22:12:57.000000000 +0100
++++ configure 2003-08-30 22:14:01.000000000 +0100
+@@ -8102,7 +8102,7 @@
-
-@@ -7652,7 +7652,7 @@ esac
- # Now restore our (possibly augmented) CFLAGS.
- CFLAGS="$save_cflags"
GSL_CFLAGS="-I$includedir"
-GSL_LIBS="-L$libdir -lgsl"
+GSL_LIBS="-Wl,-R$libdir -L$libdir -lgsl"