diff --git a/gsl-1.11.tar.bz2 b/gsl-1.11.tar.bz2 new file mode 100644 index 0000000..5ec5894 --- /dev/null +++ b/gsl-1.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d74723e99f365bbdac6773122db303f233ee111b4dc7897d045b71f82b48f41 +size 2063883 diff --git a/gsl-1.9.tar.bz2 b/gsl-1.9.tar.bz2 deleted file mode 100644 index 185a7e4..0000000 --- a/gsl-1.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2cfba205944a4b3dd1d36f9f8dec78d35d2caed192301537ea0537128759bb7 -size 1977654 diff --git a/gsl-wrap.diff b/gsl-wrap.diff index 0b92bf9..a285d37 100644 --- a/gsl-wrap.diff +++ b/gsl-wrap.diff @@ -1,7 +1,7 @@ -Index: gsl-1.9/sort/Makefile.am +Index: gsl-1.11/sort/Makefile.am =================================================================== ---- gsl-1.9.orig/sort/Makefile.am -+++ gsl-1.9/sort/Makefile.am +--- gsl-1.11.orig/sort/Makefile.am ++++ gsl-1.11/sort/Makefile.am @@ -10,7 +10,9 @@ noinst_HEADERS = sortvec_source.c sortve TESTS = $(check_PROGRAMS) @@ -12,39 +12,41 @@ Index: gsl-1.9/sort/Makefile.am test_SOURCES = test.c test_LDADD = libgslsort.la ../permutation/libgslpermutation.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la -Index: gsl-1.9/Makefile.in +Index: gsl-1.11/Makefile.in =================================================================== ---- gsl-1.9.orig/Makefile.in -+++ gsl-1.9/Makefile.in -@@ -106,15 +106,15 @@ SCRIPTS = $(bin_SCRIPTS) - DEFAULT_INCLUDES = -I. -I$(srcdir) -I. +--- gsl-1.11.orig/Makefile.in ++++ gsl-1.11/Makefile.in +@@ -89,16 +89,16 @@ SCRIPTS = $(bin_SCRIPTS) + DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_$@) $(EXTRA_CFLAGS) - LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -- $(AM_CFLAGS) $(CFLAGS) -+ $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_$@) $(EXTRA_CFLAGS) + LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_$@) $(EXTRA_CFLAGS) CCLD = $(CC) - LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ -- $(AM_LDFLAGS) $(LDFLAGS) -o $@ -+ $(AM_LDFLAGS) $(LDFLAGS) $(LDFLAGS_$@) -o $@ + LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ +- $(LDFLAGS) -o $@ ++ $(LDFLAGS) $(LDFLAGS_$@) $(EXTRA_LDFLAGS) -o $@ SOURCES = $(libgsl_la_SOURCES) $(gsl_histogram_SOURCES) \ $(gsl_randist_SOURCES) DIST_SOURCES = $(libgsl_la_SOURCES) $(gsl_histogram_SOURCES) \ $(gsl_randist_SOURCES) -Index: gsl-1.9/sort/test_source.c +Index: gsl-1.11/sort/test_source.c =================================================================== ---- gsl-1.9.orig/sort/test_source.c -+++ gsl-1.9/sort/test_source.c -@@ -158,18 +158,19 @@ TYPE (test_sort_vector) (size_t N, size_ +--- gsl-1.11.orig/sort/test_source.c ++++ gsl-1.11/sort/test_source.c +@@ -158,19 +158,19 @@ TYPE (test_sort_vector) (size_t N, size_ void FUNCTION (my, initialize) (TYPE (gsl_vector) * v) { size_t i; -- ATOMIC k = 0, kk; +- ATOMIC k = 0; +- volatile ATOMIC kk; + ATOMIC maxk = 0; /* Must be sorted initially */ @@ -53,8 +55,8 @@ Index: gsl-1.9/sort/test_source.c { - kk = k; - k++; -- if (k < kk) /* prevent overflow */ -- k = kk; +- /* Prevent overflow */ +- if (k < kk) k = kk; + ATOMIC k = i; + if (k < maxk) /* prevent wrap around */ + k = maxk; diff --git a/gsl.changes b/gsl.changes index 4abbdbc..5bbd184 100644 --- a/gsl.changes +++ b/gsl.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Aug 22 23:08:44 CEST 2008 - garloff@suse.de + +- Update to gsl-1.11: + * Bugfixes (underflow in ODE solver, overflow in + gsl_cdf_hypergeometric_{P,Q}, brent_minimiser) + * Improvements (asymptotic regime in gsl_sf_bessel_jl, + large arguments in cum. distr. functions using incomplete beta + function, missing error terms in gsl_sf_exp_mult_e10_e, + gsl_sf_hyperg_2F1 now handles x==1, gsl_ldexp and gsl_frexp, + gsl_multiroots_test_delta) + * Optimizations in gsl_ran_gaussian_ziggurat. + * New function gsl_multifit_linear_residuals. + * Updated some constants to match CODATA 2006 values. +- Update to gsl-1.10: + * The package license changed from GNU GPL v2 or later to + GNU GPL v3 or later! + * Support for generalized eigensystems. + * gsl_stats_correlation computes Pearson correlation of two data sets + * New functions: gsl_sf_expint(n,x), gsl_{vector,matrix}_isnonneg, + gsl_matrix_sub{row,column} + * Cholesky routines now handle complex matrices + * Many other improvements and additions, see NEWS for a detailed list. + ------------------------------------------------------------------- Wed Nov 7 11:29:55 CET 2007 - garloff@suse.de diff --git a/gsl.spec b/gsl.spec index c645bd7..ec2608e 100644 --- a/gsl.spec +++ b/gsl.spec @@ -1,24 +1,30 @@ # -# spec file for package gsl (Version 1.9) +# spec file for package gsl (Version 1.11) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: gsl BuildRequires: blas latex2html -Version: 1.9 -Release: 77 -License: GPL v2 or later -# NOTE: The package is used (within the distro) by snd, yacas, perl-PDL, -# Labplot and kst. The latter two are KDE4 apps which are GPLv2only due -# to libqt4 being v2only. Thus we can not move to gsl-1.10 for now which -# is GPL v3 or later. +Version: 1.11 +Release: 1 +License: GPL v3 or later +# NOTE: The package has been update to 1.10+ after all issues with +# GNU GPLv3 have been resolved. Group: Development/Libraries/C and C++ #Provides: AutoReqProv: on @@ -65,6 +71,7 @@ Authors: Fabrice Rossi %package devel +License: GPL v2 or later Summary: GNU Scientific Library - development files Group: Development/Libraries/C and C++ Requires: gsl = %{version} glibc-devel @@ -177,19 +184,41 @@ make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/gsl-%{version} + %changelog -* Wed Nov 07 2007 - garloff@suse.de +* Sat Aug 23 2008 garloff@suse.de +- Update to gsl-1.11: + * Bugfixes (underflow in ODE solver, overflow in + gsl_cdf_hypergeometric_{P,Q}, brent_minimiser) + * Improvements (asymptotic regime in gsl_sf_bessel_jl, + large arguments in cum. distr. functions using incomplete beta + function, missing error terms in gsl_sf_exp_mult_e10_e, + gsl_sf_hyperg_2F1 now handles x==1, gsl_ldexp and gsl_frexp, + gsl_multiroots_test_delta) + * Optimizations in gsl_ran_gaussian_ziggurat. + * New function gsl_multifit_linear_residuals. + * Updated some constants to match CODATA 2006 values. +- Update to gsl-1.10: + * The package license changed from GNU GPL v2 or later to + GNU GPL v3 or later! + * Support for generalized eigensystems. + * gsl_stats_correlation computes Pearson correlation of two data sets + * New functions: gsl_sf_expint(n,x), gsl_{vector,matrix}_isnonneg, + gsl_matrix_sub{row,column} + * Cholesky routines now handle complex matrices + * Many other improvements and additions, see NEWS for a detailed list. +* Wed Nov 07 2007 garloff@suse.de - disable -fstack-protector (we don't want it for HPC code) - avoid wrapping assumption sort testcase (gcc-4.3 fix) - move make check to %%check section - require gsl = %%{version} from -devel package - call install-info in -devel %%post/%%postun - add note on license -* Mon Apr 16 2007 - dmueller@suse.de +* Mon Apr 16 2007 dmueller@suse.de - run autoreconf - fix devel package requires - run ldconfig -* Tue Mar 13 2007 - garloff@suse.de +* Tue Mar 13 2007 garloff@suse.de - Update to gsl-1.9: * Fixed the elliptic integrals F,E,P,D so that they have the correct behavior for phi > pi/2 and phi < 0. @@ -246,34 +275,34 @@ rm -rf $RPM_BUILD_DIR/gsl-%{version} unchanged. * Added support for nonsymmetric eigensystems * Added Mathieu functions -* Wed Feb 07 2007 - garloff@suse.de +* Wed Feb 07 2007 garloff@suse.de - -l2h and BuildRequire latex2html for formulas in manual (#242160). -* Fri Nov 24 2006 - garloff@suse.de +* Fri Nov 24 2006 garloff@suse.de - -momit-leaf-frame-pointer was only enabled on x86_64 and i386; however, it should have been enabled on all ix86. Fixed. -* Mon Oct 16 2006 - garloff@suse.de +* Mon Oct 16 2006 garloff@suse.de - Don't use -ffast-math any more (-ffast-math was enabled on x86, x86-64) as otherwise we get inexact (8e-8) results with latest compiler for log1p(1e-10), div by zero, SVD. -* Fri Aug 25 2006 - garloff@suse.de +* Fri Aug 25 2006 garloff@suse.de - Update to gsl-1.8. - Enable make check in build process. -* Mon Feb 20 2006 - stbinner@suse.de +* Mon Feb 20 2006 stbinner@suse.de - make gsl-devel depend on gsl -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Dec 19 2005 - garloff@suse.de +* Mon Dec 19 2005 garloff@suse.de - Split package into gsl and gsl-devel. - Update to gsl-1.7: * Various speedups, accuracy improvements and fixes. -* Mon Apr 25 2005 - coolo@suse.de +* Mon Apr 25 2005 coolo@suse.de - fix library dependencies - at least needed for prelink -* Mon Jan 31 2005 - ro@suse.de +* Mon Jan 31 2005 ro@suse.de - adapted to texi2html changes -* Thu Jan 20 2005 - garloff@suse.de +* Thu Jan 20 2005 garloff@suse.de - Remove -momit-frame-pointer from most archs, the compiler does not support it there. -* Wed Jan 19 2005 - garloff@suse.de +* Wed Jan 19 2005 garloff@suse.de - Avoid uninitialized variables, and fix a size_t vs. unsigned int issue. - Update to gsl-1.6: @@ -283,23 +312,23 @@ rm -rf $RPM_BUILD_DIR/gsl-%{version} swap_vectors, cheb_eval_n_err, sf_gamma_inc, cspline, akima, ode-initval, sf_psi_1, sf_expint_Ei_e, cdf_beta_X, eigen_jacobi, error stream flushes prior to abort). -* Sat Aug 21 2004 - garloff@suse.de +* Sat Aug 21 2004 garloff@suse.de - Fix build on non-x86/x86-64 (no -monit-leaf-frame-pointer). - Allow parallel build. -* Sun Aug 15 2004 - garloff@suse.de +* Sun Aug 15 2004 garloff@suse.de - Update to version 1.5. - More aggressive compiler optimization flags. -* Tue May 18 2004 - ro@suse.de +* Tue May 18 2004 ro@suse.de - use -fno-strict-aliasing -* Wed Feb 25 2004 - stepan@suse.de +* Wed Feb 25 2004 stepan@suse.de - update to version 1.4 -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%defattr -* Tue May 27 2003 - ro@suse.de +* Tue May 27 2003 ro@suse.de - add pkgconfig file to filelist -* Wed Jan 15 2003 - garloff@suse.de +* Thu Jan 16 2003 garloff@suse.de - bzip2 sources -* Wed Jan 15 2003 - garloff@suse.de +* Thu Jan 16 2003 garloff@suse.de - Update to gsl-1.3: * Fixed gsl_sf_coupling * exponential integral exp(-x)*Ei(x) @@ -321,11 +350,11 @@ rm -rf $RPM_BUILD_DIR/gsl-%{version} * More physical constants (r_B, eps_0) * Knuth's random number generators * bugfixes -* Fri Jul 05 2002 - kukuk@suse.de +* Fri Jul 05 2002 kukuk@suse.de - Use %%ix86 macro -* Wed May 08 2002 - garloff@suse.de +* Wed May 08 2002 garloff@suse.de - Fix %%lib64 issues - Remove -freduce-all-givs from compiler flags. -* Mon Dec 10 2001 - garloff@suse.de +* Mon Dec 10 2001 garloff@suse.de - Creation of gsl-1.0 - Produce and install HTML docu