Bug 129726 - [PATCH] math/gsl : update to 1.12
Summary: [PATCH] math/gsl : update to 1.12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 02:20 UTC by bf
Modified: 2009-01-12 20:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.65 KB, patch)
2008-12-18 02:20 UTC, bf
no flags Details | Diff
ports-129726-bogofilter.patch (372 bytes, patch)
2008-12-18 12:07 UTC, Matthias Andree
no flags Details | Diff
orpie-gsl.patch (502 bytes, patch)
2008-12-24 21:44 UTC, Dylan Simon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bf 2008-12-18 02:20:01 UTC
Note that this update includes a version bump of a shared library, and will require at least minor changes to the following ports:

audio/snd
benchmarks/sipp
cad/gmsh
graphics/qgis
mail/bogofilter
math/PDL
math/asymptote
math/freefem++
math/labplot
math/orpie
math/p5-Math-GSL
math/py-gsl
math/qtiplot
math/ruby-gsl
math/yacas
math/octave-forge-gsl
misc/kdeedu4
science/getdp
science/gnudatalanguage
science/kst

A summary of the changes in the new version:

"* What is new in gsl-1.12:

** Upgraded to latest libtool, autoconf and automake (libtool-2.2.6,
   autoconf-2.63, automake-1.10.2)

** Improved the convergence of gsl_sf_gamma_inc_P for x/a ~=~ 1 and
   large x,a.  Fixes problems with large arguments in cdf functions
   such as gsl_cdf_chisq_Pinv(x,nu) [bug 24704].

** Fixed gsl_ran_gamma_knuth to handle the case of a >= UINT_MAX [bug
   #24897]

** Added gsl_bspline_eval_deriv to compute bspline derivatives
   (Rhys Ulerich)

** Added a faster simplex mininimser gsl_multimin_fminimizer_nmsimplex2
   which is O(N) instead of O(N^2) [bug #24418]

** Improved the original chi-squared formula in gsl_monte_vegas to
   avoid catastrophic cancellation [bug #24510].  The previous formula
   could return incorrect or negative values for relative errors <
   1e-8, which could occur when integrating very smooth functions.

** Added new auxiliary functions gsl_cheb_order, gsl_cheb_size,
   gsl_cheb_coeffs for Chebyshev series [bug #21830]

** Updated license of the reference manual to GNU FDL version 1.3.

** Fixed a bug where the gsl_isinf function would return +1 for -Inf
   on systems where isinf(-Inf) returns the non-standard value +1.
   [bug #24489]

** Added missing functions gsl_vector_complex_{isnonneg,add,sub,mul,
   div,scale,add_constant} and gsl_matrix_complex_float_isnonneg [bug
   #22478]

** Cross compilation should now work for x86 hosts.

** Fixed a bug in gsl_interp_accel_find() where values lying on the
   upper boundary between interpolation points could return the index
   from the lower side. [bug #24211]

** Fixed gsl_linalg_solve_cyc_tridiag so that its output respects the
   solution vector's stride. Previously the x_stride value was ignored
   causing the output to be incorrect for non-unit stride. [bug #24162]

** Corrected a bug in the series calculation of gsl_sf_ellint_Kcomp
   for k close to 1. [bug #24146]

** Extended gsl_linalg_QRPT_update to handle rectangular matrices.
   Corrected definition of the update formula in the manual for
   both gsl_linalg_QR_update and gsl_linalg_QRPT_update.

** Added routine gsl_linalg_cholesky_invert

** Fixed a bug the simplex algorithm which caused the second highest
   point to be incorrectly equal to the first when the first value was
   the highest, which could cause suboptimal convergence. [bug #23192]

** Fixed a problem with convergence for inverse gamma and chisq
   distribitions, gsl_cdf_gamma_{P,Q}inv and gsl_cdf_chisq_{P,Q}inv.
   [bug #23101]

** Improved the handling of constant regions in Vegas by eliminating
   spurious excess precision when computing box variances.

** Fixed a potential division by zero in gsl_monte_miser when the
   left/right weight factors decrease below 1.

** Fixed incorrect dimensions check in gsl_matrix_sub{row,column}"

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-12-18 02:20:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 bf 2008-12-18 04:27:27 UTC
FreeBSD Port Maintainers:

An update to math/gsl has been proposed, which will require at least minor
changes in a port that you maintain, due to a shared library version number
change.  Please see:

http://www.freebsd.org/cgi/query-pr.cgi?pr=129726


Regards (and Happy Holidays!),
                                 b.
Comment 3 Matthias Andree 2008-12-18 12:07:48 UTC
On Wed, 17 Dec 2008, bf wrote:

> FreeBSD Port Maintainers:
> 
> An update to math/gsl has been proposed, which will require at least minor
> changes in a port that you maintain, due to a shared library version number
> change.  Please see:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=129726

For bogofilter, use this patch (also attached for GNATS):

--- /usr/ports/mail/bogofilter/Makefile	2008-08-21 08:17:32.000000000 +0200
+++ /usr/home/emma/ports/mail/bogofilter/Makefile	2008-12-18 13:05:25.000000000 +0100
@@ -39,7 +39,7 @@
 BF_LIBS+=		-liconv
 .endif
 .if !defined(WITHOUT_GSL)
-LIB_DEPENDS+=		gsl.12:${PORTSDIR}/math/gsl
+LIB_DEPENDS+=		gsl:${PORTSDIR}/math/gsl
 .else
 CONFIGURE_ARGS+=	--with-included-gsl
 .endif

-- 
Matthias Andree
Comment 4 Dennis Herrmann 2008-12-18 21:52:29 UTC
This patch is for audio/snd :)

--- snd_dep-gsl-fix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/snd/Makefile,v
retrieving revision 1.68
diff -u -u -r1.68 Makefile
--- Makefile	4 Dec 2008 20:00:50 -0000	1.68
+++ Makefile	18 Dec 2008 21:45:52 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	snd
 PORTVERSION=	10.2
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	SF \
 		http://mirror.mcx2.org/
@@ -56,7 +57,7 @@
 .endif
 
 .if !defined(WITHOUT_GSL)
-LIB_DEPENDS+=	gsl.12:${PORTSDIR}/math/gsl
+LIB_DEPENDS+=	gsl:${PORTSDIR}/math/gsl
 .else
 CONFIGURE_ARGS+=	--without-gsl
 .endif
--- snd_dep-gsl-fix.diff ends here ---
Comment 5 Dylan Simon 2008-12-24 21:44:26 UTC
For math/orpie
Comment 6 dfilter service freebsd_committer freebsd_triage 2009-01-12 20:35:36 UTC
miwi        2009-01-12 20:35:22 UTC

  FreeBSD ports repository

  Modified files:
    math/gsl             Makefile distinfo pkg-plist 
  Log:
  - Update to 1.12
  
  PR:             129726
  Submitted by:   bf <bf2006a@yahoo.com> (maintainer)
  
  Revision  Changes    Path
  1.43      +1 -1      ports/math/gsl/Makefile
  1.26      +3 -3      ports/math/gsl/distinfo
  1.26      +3 -1      ports/math/gsl/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Martin Wilke freebsd_committer freebsd_triage 2009-01-12 20:37:35 UTC
State Changed
From-To: open->closed

Committed. Thanks!