gsl (1.14+dfsg-1) debian-dir only changes

Summary

 debian/IanJackson.patch      |  145 ++++++++++
 debian/Makefile.in.doc       |   22 +
 debian/MatthewVernon.patch   |  232 ++++++++++++++++
 debian/README.Debian         |   35 ++
 debian/changelog             |  605 +++++++++++++++++++++++++++++++++++++++++++
 debian/compat                |    1 
 debian/control               |   92 ++++++
 debian/copyright             |   64 ++++
 debian/gsl-bin.install       |    4 
 debian/gsl-config.1          |   41 ++
 debian/gsl-histogram.1       |   42 ++
 debian/gsl-randist.1         |   38 ++
 debian/gsl.3                 |   58 ++++
 debian/libgsl0-dev.install   |    8 
 debian/libgsl0-dev.links     |    1 
 debian/libgsl0-prof.install  |    1 
 debian/libgsl0ldbl.docs      |    6 
 debian/libgsl0ldbl.install   |    2 
 debian/libgsl0ldbl.overrides |    4 
 debian/libgsl0ldbl.postinst  |   24 +
 debian/libgsl0ldbl.shlibs    |    2 
 debian/old/gsl-bin.links     |    1 
 debian/old/gsl-bin.preinst   |   26 +
 debian/rules                 |  291 ++++++++++++++++++++
 debian/watch                 |    3 
 25 files changed, 1748 insertions(+)

    
download this patch

Patch contents

--- gsl-1.14+dfsg.orig/debian/gsl.3
+++ gsl-1.14+dfsg/debian/gsl.3
@@ -0,0 +1,58 @@
+.TH GSL 3 "GNU Scientific Library" "GSL Team" \" -*- nroff -*-
+.SH NAME
+gsl - GNU Scientific Library
+.SH SYNOPSIS
+#include <gsl/...>
+.SH DESCRIPTION
+The GNU Scientific Library (GSL) is a collection of routines for
+numerical computing.  The routines are written from scratch by the GSL
+team in C, and present a modern Applications Programming Interface
+(API) for C programmers, allowing wrappers to be written for very high
+level languages.
+.PP
+The library covers the following areas,
+.TP
+.nf
+.BR
+Complex Numbers
+Roots of Polynomials
+Special Functions
+Vectors and Matrices
+Permutations
+Combinations
+Sorting
+BLAS Support
+Linear Algebra
+Eigensystems
+Fast Fourier Transforms
+Quadrature
+Random Numbers
+Quasi-Random Sequences
+Random Distributions
+Statistics
+Histograms
+N-Tuples
+Monte Carlo Integration
+Simulated Annealing
+Differential Equations
+Interpolation
+Numerical Differentiation
+Chebyshev Approximations
+Series Acceleration
+Discrete Hankel Transforms
+Root-Finding
+Minimization
+Least-Squares Fitting
+Physical Constants
+IEEE Floating-Point
+.fi
+.PP
+For more information please consult the GSL Reference Manual, which is
+available as an info file.  You can read it online using the shell
+command 
+.B info gsl-ref 
+(if the library is installed).
+.PP
+Please report any bugs to 
+.B bug-gsl@gnu.org.
+
--- gsl-1.14+dfsg.orig/debian/libgsl0-dev.links
+++ gsl-1.14+dfsg/debian/libgsl0-dev.links
@@ -0,0 +1 @@
+usr/share/doc/libgsl0ldbl usr/share/doc/libgsl0-dev
--- gsl-1.14+dfsg.orig/debian/compat
+++ gsl-1.14+dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- gsl-1.14+dfsg.orig/debian/libgsl0ldbl.docs
+++ gsl-1.14+dfsg/debian/libgsl0ldbl.docs
@@ -0,0 +1,6 @@
+AUTHORS
+NEWS
+README
+TODO
+BUGS
+THANKS
--- gsl-1.14+dfsg.orig/debian/README.Debian
+++ gsl-1.14+dfsg/debian/README.Debian
@@ -0,0 +1,35 @@
+			    Documentation
+
+Documentation (in info or pdf format) is no longer provided by the
+standard GNU GSL packages. Debian takes a hard stand on the
+interpretation of the GNU Free Documentation License (GFDL) and its
+so-called 'invariant sections' and considers these to be 'not free'.
+As maintainer, my hand was somewhat forced by bugreport #495935. 
+
+Documentation is provided via packages in the non-free archive which,
+technically speaking, is not considered a true part of Debian. However,
+apt-get and other tools can download from it.
+
+ -- Dirk Eddelbuettel <edd@debian.org>, Tue, 26 Aug 2008 18:21:00 -0500
+
+			    Profiling GSL
+
+Sometimes when writing complex code, you may want to profile it using
+gprof. In this case, having libraries with profiling information
+compiled in is invaluable. It is possible to build your own .deb
+containing profiling libraries, that may be installed on your system
+in parallel to the usual libraries. To do this, follow these simple
+instructions: 
+
+i) download the gsl source (and the build dependencies if necessary):
+apt-get source libgsl0
+apt-get build-dep libgsl0
+ii) build a binary profiling package:
+DEB_BUILD_OPTIONS=buildprof dpkg-buildpackage -b -rfakeroot -us -uc
+iii) install the resulting .deb
+dpkg -i ../libgsl0-prof_[version]_[arch].deb
+
+Finally, you need to specify -lgsl_p and -lgslcblas_p to link your
+program against the profiling libraries.
+
+ -- Matthew Vernon <matthew@debian.org>, Wed, 29 Oct 2008 10:34:19 +0000
--- gsl-1.14+dfsg.orig/debian/libgsl0ldbl.install
+++ gsl-1.14+dfsg/debian/libgsl0ldbl.install
@@ -0,0 +1,2 @@
+usr/lib/libgsl.so.*
+usr/lib/libgslcblas.so.*
--- gsl-1.14+dfsg.orig/debian/gsl-bin.install
+++ gsl-1.14+dfsg/debian/gsl-bin.install
@@ -0,0 +1,4 @@
+usr/bin/gsl-randist
+usr/bin/gsl-histogram
+usr/share/man/man1/gsl-randist.1
+usr/share/man/man1/gsl-histogram.1
--- gsl-1.14+dfsg.orig/debian/libgsl0-dev.install
+++ gsl-1.14+dfsg/debian/libgsl0-dev.install
@@ -0,0 +1,8 @@
+usr/bin/gsl-config
+usr/include/ 
+usr/lib/lib*.so
+usr/lib/lib*.a
+usr/share/aclocal/
+usr/share/man/man1/gsl-config.1
+usr/share/man/man3/gsl.3
+usr/lib/pkgconfig/gsl.pc
--- gsl-1.14+dfsg.orig/debian/IanJackson.patch
+++ gsl-1.14+dfsg/debian/IanJackson.patch
@@ -0,0 +1,145 @@
+diff -u orig/gsl-1.8/multimin/fminimizer.c gsl-1.8/multimin/fminimizer.c
+--- orig/gsl-1.8/multimin/fminimizer.c	2005-06-26 14:25:35.000000000 +0100
++++ gsl-1.8/multimin/fminimizer.c	2008-09-29 02:07:29.000000000 +0100
+@@ -90,7 +90,9 @@
+ 
+   gsl_vector_memcpy (s->x,x);
+ 
+-  return (s->type->set) (s->state, s->f, s->x, &(s->size), step_size);
++  s->simplex_size_valid = 0;
++
++  return (s->type->set) (s->state, s->f, s->x, step_size);
+ }
+ 
+ void
+@@ -105,7 +107,9 @@
+ int
+ gsl_multimin_fminimizer_iterate (gsl_multimin_fminimizer * s)
+ {
+-  return (s->type->iterate) (s->state, s->f, s->x, &(s->size), &(s->fval));
++  s->simplex_size_valid = 0;
++
++  return (s->type->iterate) (s->state, s->f, s->x, &(s->fval));
+ }
+ 
+ const char * 
+@@ -128,7 +132,12 @@
+ }
+ 
+ double
+-gsl_multimin_fminimizer_size (const gsl_multimin_fminimizer * s)
++gsl_multimin_fminimizer_size (gsl_multimin_fminimizer * s)
+ {
+-  return s->size;
++  if (!s->simplex_size_valid)
++    {
++      s->simplex_size = (s->type->get_size) (s->state);
++      s->simplex_size_valid = 1;
++    }
++  return s->simplex_size;
+ }
+Only in gsl-1.8/multimin: fminimizer.c~
+diff -u orig/gsl-1.8/multimin/gsl_multimin.h gsl-1.8/multimin/gsl_multimin.h
+--- orig/gsl-1.8/multimin/gsl_multimin.h	2005-06-26 14:25:35.000000000 +0100
++++ gsl-1.8/multimin/gsl_multimin.h	2008-09-29 02:08:17.000000000 +0100
+@@ -84,13 +84,12 @@
+   int (*alloc) (void *state, size_t n);
+   int (*set) (void *state, gsl_multimin_function * f,
+               const gsl_vector * x, 
+-              double * size,
+               const gsl_vector * step_size);
+   int (*iterate) (void *state, gsl_multimin_function * f, 
+                   gsl_vector * x, 
+-                  double * size,
+                   double * fval);
+   void (*free) (void *state);
++  double (*get_size) (void *state);
+ }
+ gsl_multimin_fminimizer_type;
+ 
+@@ -103,7 +102,8 @@
+   double fval;
+   gsl_vector * x;
+   
+-  double size;
++  int simplex_size_valid;
++  double simplex_size;
+ 
+   void *state;
+ }
+@@ -135,7 +135,7 @@
+ gsl_multimin_fminimizer_minimum (const gsl_multimin_fminimizer * s);
+ 
+ double
+-gsl_multimin_fminimizer_size (const gsl_multimin_fminimizer * s);
++gsl_multimin_fminimizer_size (gsl_multimin_fminimizer * s);
+ 
+ /* Convergence test functions */
+ 
+Only in gsl-1.8/multimin: gsl_multimin.h~
+diff -u orig/gsl-1.8/multimin/simplex.c gsl-1.8/multimin/simplex.c
+--- orig/gsl-1.8/multimin/simplex.c	2005-06-26 14:25:35.000000000 +0100
++++ gsl-1.8/multimin/simplex.c	2008-09-29 02:01:18.000000000 +0100
+@@ -150,8 +150,10 @@
+ }
+ 
+ static double
+-nmsimplex_size (nmsimplex_state_t * state)
++nmsimplex_get_size (void *vstate)
+ {
++  nmsimplex_state_t *state = (nmsimplex_state_t *) vstate;
++
+   /* calculates simplex size as average sum of length of vectors 
+      from simplex center to corner points:     
+ 
+@@ -218,7 +220,7 @@
+ static int
+ nmsimplex_set (void *vstate, gsl_multimin_function * f,
+                const gsl_vector * x,
+-               double *size, const gsl_vector * step_size)
++               const gsl_vector * step_size)
+ {
+   int status;
+   size_t i;
+@@ -252,10 +254,6 @@
+       gsl_vector_set (state->y1, i + 1, val);
+     }
+ 
+-  /* Initialize simplex size */
+-
+-  *size = nmsimplex_size (state);
+-
+   return GSL_SUCCESS;
+ }
+ 
+@@ -272,7 +270,7 @@
+ 
+ static int
+ nmsimplex_iterate (void *vstate, gsl_multimin_function * f,
+-                   gsl_vector * x, double *size, double *fval)
++                   gsl_vector * x, double *fval)
+ {
+ 
+   /* Simplex iteration tries to minimize function f value */
+@@ -395,10 +393,6 @@
+   gsl_matrix_get_row (x, x1, lo);
+   *fval = gsl_vector_get (y1, lo);
+ 
+-  /* Update simplex size */
+-
+-  *size = nmsimplex_size (state);
+-
+   return GSL_SUCCESS;
+ }
+ 
+@@ -408,7 +402,8 @@
+   &nmsimplex_alloc,
+   &nmsimplex_set,
+   &nmsimplex_iterate,
+-  &nmsimplex_free
++  &nmsimplex_free,
++  &nmsimplex_get_size
+ };
+ 
+ const gsl_multimin_fminimizer_type
+Only in gsl-1.8/multimin: simplex.c~
--- gsl-1.14+dfsg.orig/debian/changelog
+++ gsl-1.14+dfsg/debian/changelog
@@ -0,0 +1,605 @@
+gsl (1.14+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+
+  * doc/*: As before, removed the 'non-free' documentation to create a 
+    source package that complies with Debian's interpretation of what is free. 
+  
+  * debian/control: Set Standards-Version: to current version 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 17 Mar 2010 19:39:12 -0500
+
+gsl (1.13+dfsg-1) unstable; urgency=low
+
+  * New upstream release
+
+  * doc/*: As before, removed the 'non-free' documentation to create a 
+    source package that complies with Debian's interpretation of what is free. 
+  
+  * debian/control: Set Standards-Version: to current version 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 09 Sep 2009 18:07:29 -0500
+
+gsl (1.12+dfsg-1) unstable; urgency=low
+
+  * New upstream version released today
+  
+  * doc/*: As before, removed the 'non-free' documentation to create a 
+    source package that complies with Debian's interpretation of what is free. 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 16 Dec 2008 06:17:55 -0600
+
+gsl (1.11+dfsg-2) unstable; urgency=low
+
+  * debian/*: Applied patch by Matthew Vernon for building an optional package
+    libgsl0-prof from source by setting setting DEB_BUILD_OPTIONS=buildprof
+    Many thanks for suggesting the patch, and even providing it!
+  							(Closes: #503290)
+  
+  * multimin/*: Applied patch by Ian Jackson to skip unncessary size 
+    calculations; patch also intgegrated upstream	(Closes: #500521)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 29 Oct 2008 09:49:19 -0500
+
+gsl (1.11+dfsg-1) unstable; urgency=low
+
+  * New source tarball without so-called 'non-free' documentation released
+    under the FSF's standard GFDL. 			(Closes: #495935)
+
+  * The documentation will still be provided by packages in non-free which
+    is not technically part of Debian but accessible via the package
+    management system.
+
+  * debian/README.Debian: Added, explaining this somewhat unfortunate change
+  
+  * debian/control: Removed gsl-doc-pdf entry
+  * debian/rules: Adjusted accordingly
+
+  * debian/watch: Added version mangling before comparison	[lintian]
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 26 Aug 2008 16:19:59 -0500
+
+gsl (1.11-2) unstable; urgency=low
+
+  * debian/control: Add 'Conflicts: libgsl0' for libgsl0ldbl 
+							(Closes: #477732)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 25 Apr 2008 06:39:27 -0500
+
+gsl (1.11-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 01 Apr 2008 08:21:39 -0500
+
+gsl (1.10-4) unstable; urgency=low
+
+  * debian/control: GSL does not need libblas-dev as it packages its
+    own libgslclbas; users can the choose at link time which Blas library 
+    their gsl-using programs link against. Thanks to Mathias Klose for
+    follow-ups on this.					(Closes: #462232)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 28 Jan 2008 06:24:09 -0600
+
+gsl (1.10-3) unstable; urgency=low
+
+  * debian/control: Replace Build-Depends: on'refblas3-dev' with 
+    'libblas-dev' to use the new gfortran-built BLAS libraries. Thanks 
+    to Colin Tuckley for the heads-up.			(Closes: #462232)
+
+  * debian/control: Update Standards-Version: to current value.
+  * debian/control: Added Homepage: field to contain URL [lintian]
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 23 Jan 2008 06:36:59 -0600
+
+gsl (1.10-2) unstable; urgency=low
+
+  * debian/control: Correct Build-Depends-Indep to have tetex and texlive
+    as alternatives 					(Closes: #444388)
+
+  * debian/watch: Changed source location to ftp.gnu.org (Closes: #449687)
+  
+  * debian/copyright: Update reference to GPL-3		(Closes: #450637)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 11 Nov 2007 19:01:22 -0600
+
+gsl (1.10-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 14 Sep 2007 16:29:39 -0500
+
+gsl (1.9.90-2) unstable; urgency=low
+
+  * debian/rules: Set optimisation to '-O2' on Alpha to avoid a compiler
+    error that occurs with '-O3'. Thanks to Falk Hueffner for debugging.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 12 Sep 2007 15:21:22 -0500
+
+gsl (1.9.90-1) unstable; urgency=low
+
+  * Upgraded to first public upstream test release for 1.10
+  * New upstream version improves multimin documentation (Closes: #438404)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 11 Sep 2007 17:05:13 -0500
+
+gsl (1.9-5) unstable; urgency=low
+
+  * Correct a snafu introduced with the 'ldbl' transition packages from
+    Debian revision 1.9-4				(Closes: #432730)	
+  * debian/rules: Correct value for $(devpkg) now that $(libpkg) has 'ldbl'
+  * debian/rules: Switch from dh_movefiles to using dh_install 
+  * debian/libgsl0-dev.install: Added usr/share/man/man3/gsl.3 and
+    usr/share/aclocal/
+  * debian/libgsl0ldbl.install: Newly created
+  * debian/control: Updated 'Replaces: libgsl0' for libgsl0-dev to
+    '(<= 1.9-4)'; added 'Replaces: libgsl0 (<= 1.9-4)' for libgsl0ldbl
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 11 Jul 2007 15:12:17 -0500
+
+gsl (1.9-4) unstable; urgency=low
+
+  * debian/control: Rename library package to libgsl0ldbl for the 'long
+    double' transition on alpha, powerpc, sparc, s390 	(Closes: #430259)
+  * debian/rules: Library package variable set to 'libgsl$(sonum)ldbl'
+  * debian/libgsl0.{shlibs,postinst}: Renamed to libgsl0ldbl.*
+  * debian/libgsl0ldbl.shlibs: Updated to from 'libgsl0' to 'libgsl0ldbl'
+  * debian/libgsl0ldbl.shlibs: Also updatesd to version 1.0 of GSL as well
+  * debian/libsgl0-dev: Change doc softlink to libgsl0ldbl
+
+  * debian/control: s/${Source-Version}/${binary:Version}/ 	(lintian)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 24 Jun 2007 10:12:15 -0500
+
+gsl (1.9-3) unstable; urgency=low
+
+  * debian/rules: Remove config.{sub,guess} links in clean target
+  							(Closes: #424377)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 15 May 2007 20:19:55 -0500
+
+gsl (1.9-2) unstable; urgency=low
+
+  * debian/control: Added Build-Depends-Indep: on texlive-extra-utils
+    in response to the tetex/texlive transition		(Closes: #420336)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 21 Apr 2007 19:42:43 -0500
+
+gsl (1.9-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 22 Feb 2007 22:50:25 -0600
+
+gsl (1.8.90-1) unstable; urgency=low
+
+  * Upgraded to first public upstream test release for 1.9
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 15 Feb 2007 20:53:21 -0600
+
+gsl (1.8-3) unstable; urgency=low
+
+  * configure{,.ac}: Apply patch by Petr Salinger to permit builds on
+    Debian GNU/kFreeBSD, also forwarded upstream  	(Closes: #401036)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 30 Nov 2006 21:05:27 -0600
+
+gsl (1.8-2) unstable; urgency=low
+
+  * debian/rules: Add -fexceptions to CFLAGS as suggested and tested by
+    Jordi Gutierrez Hermoso <jordigh@gmail.com>  	(Closes: #398628)
+  * debian/rules: Also increase optimisation level to -O3, but run 'make
+    check' without debugging and at -O2 as gcc appears to hang otherwise
+  * debian/rules: Added refblas3-dev to Build-Depends:
+  * debian/control: Upgraded Standards-Version: to 3.7.2
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 18 Nov 2006 17:45:42 -0600
+
+gsl (1.8-1) unstable; urgency=low
+
+  * New upstream version released earlier today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 11 Apr 2006 20:45:40 -0500
+
+gsl (1.7.90-1) unstable; urgency=low
+
+  * Upgraded to first public upstream test release for 1.8
+
+  * debian/watch: Updated source URL 
+  * debian/copyright: Updated FSF address
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 25 Mar 2006 17:11:02 -0600
+
+gsl (1.7-5) unstable; urgency=low
+
+  * debian/control: Added Build-Depends: on autotools-dev
+  * debian/rules: Changed configure call as per the README.Debian in
+    autotools-dev to include newer config.{sub,guess}	(Closes: #356603)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 13 Mar 2006 20:28:38 -0600
+
+gsl (1.7-4) unstable; urgency=low
+
+  * debian/rules: Correct quoting for $compilerargs argument string. 
+    Thanks to Falk Hueffner for the patch.              (Closes: #346003)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  4 Jan 2006 16:32:17 -0600
+
+gsl (1.7-3) unstable; urgency=low
+
+  * New debugging symbols sub-package libgsl0-dbg:	(Closes: #310298)
+    - debian/rules: Set DH_COMPAT=5
+    - debian/rules: Add -g to compiler flags 
+    - debian/rules: Change dh_strip argument to --dbg-package=libgsl0-dbg
+    - debian/control: New section for libgsl0-dbg package
+    - debian/control: Adjusted Build-Depends
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 17 Dec 2005 14:03:42 -0600
+
+gsl (1.7-2) unstable; urgency=low
+
+  * debian/rules: Add '-mieee' to compiler flags on Alpha (Closes: #330792)
+  * debian/control: Updated Build-Depends: with 'gcc (>= 4:4.0)'
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 29 Sep 2005 21:53:36 -0500
+
+gsl (1.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 15 Sep 2005 20:26:35 -0500
+
+gsl (1.6.92-1) unstable; urgency=low
+
+  * Upgraded to second public upstream test release for 1.7
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  6 Sep 2005 18:49:59 -0500
+
+gsl (1.6.91-1) unstable; urgency=low
+
+  * Upgraded to first public upstream test release for 1.7
+
+  * debian/control: Increased Standards-Version: to 3.6.2.1
+  * debian/watch: Added watch file
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 24 Aug 2005 20:44:26 -0500
+
+gsl (1.6-2) unstable; urgency=low
+
+  * debian/rules: Added patch by Giuseppe Bonacci to create pdf files for
+    the gnuplot-generated images before pdftex is called (Closes: #303757)
+  * debian/control: Added ps2eps to Build-Depends-Indep
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 10 Apr 2005 08:15:08 -0500
+
+gsl (1.6-1) unstable; urgency=low
+
+  * New upstream version 1.6 released today
+  * debian/rules: Filter the "make check" output through "grep -C5 -v '^PASS:'"
+    as suggested by Brian Gough to reduce the build log size by a factor of 13.
+  * debian/control: Added gsl-ref-html to libgsl0 Suggests (Closes: #288303)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  5 Jan 2005 21:51:35 -0600
+
+gsl (1.5.90-1) unstable; urgency=low
+
+  * Upgraded to initial upstream test release for 1.6 announced today
+  * debian/rules: More explicitly check for host and build arch
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 29 Dec 2004 21:32:26 -0600
+
+gsl (1.5-2) unstable; urgency=low
+
+  * The "this should make someone in Arizona happy" release
+  * debian/control: Build-Depends-Indep switched from tetex-bin to 
+    tetex-extra in order to improve fonts in pdf docs (Closes: #258673)
+  * debian/control: Add cross-references to other gsl doc. (Closes: #258674)
+  * debian/control: More verbose Descriptions (Closes: #259090)
+  * debian/control: Standards-Version upgraded to 3.6.1.1
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 20 Jul 2004 18:20:36 -0500
+
+gsl (1.5-1) unstable; urgency=low
+
+  * New upstream version 1.5 released today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  5 Jul 2004 13:39:59 -0500
+
+gsl (1.4.90-1) unstable; urgency=low
+
+  * Upgraded to initial upstream test release for 1.5
+  * gsl.m4: Upstream applied patch from Debian bugreport (Closes: #250628)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 22 Jun 2004 19:42:55 -0500
+
+gsl (1.4-8) unstable; urgency=low
+
+  * debian/rules: Reverse change from 1.4-8 and built with tetex's epstopdf
+    as this got fixed in the newer tetex package
+  * debian/rules: Ensure gsl-ref.pdf gets into package (Closes: #248239)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  9 May 2004 21:12:25 -0500
+
+gsl (1.4-7) unstable; urgency=low
+
+  * debian/control: Add 'Replaces: libgsl0 (<= 1.4-6)' (Closes: #246052) 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 27 Apr 2004 06:44:59 -0500
+
+gsl (1.4-6) unstable; urgency=low
+
+  * debian/libgsl0-dev.files: Add usr/lib/pkgconfig/gsl.pc (Closes: #245555)
+  * debian/rules: Remove .la files left after build (Closes: #245556)
+  * debian/rules: As tetex currently ships a broken epstopdf, temporarily 
+    install copy from the tetex in testing into debian/ and call that.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 25 Apr 2004 16:16:23 -0500
+
+gsl (1.4-5) unstable; urgency=low
+
+  * debian/copyright: Set upstream address to http://sources.redhat.com/gsl
+  * debian/{rules,control}: Changed in line with patch kindly supplied by
+    Bas Zoetekouw to also create the documentation in pdf format and build
+    a new binary package gsl-doc-pdf  (Closes: #242405)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 14 Apr 2004 21:18:38 -0500
+
+gsl (1.4-4) unstable; urgency=low
+
+  * const/gsl_const.h: Correct two #include statements (Closes: #229126)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 23 Jan 2004 15:19:23 -0600
+
+gsl (1.4-3) unstable; urgency=low
+
+  * debian/rules: Versions 1.5 to 1.7.7 of automake do not agree with the
+    current version of our install-info; /usr/share/info/dir{,.old}.gz 
+    are left behind as a result iff /sbin:/usr/sbin are in the PATH as is
+    the case in Debian's autobuilders -- we now remove them at the end of
+    'make install'. Thanks to Santiago for the report.  (Closes: #215358) 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 15 Oct 2003 06:36:16 -0500
+
+gsl (1.4-2) unstable; urgency=low
+
+  * debian/libgsl0.shlibs: Added (>= 1.4) as CDFs were added (Closes: #211762)
+  * debian/control: Standards-Version increased to 3.6.1.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 19 Sep 2003 21:26:51 -0500
+
+gsl (1.4-1) unstable; urgency=low
+
+  * New upstream version 1.4 released today
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 18 Aug 2003 18:21:18 -0500
+
+gsl (1.3.20030813-1) unstable; urgency=low
+
+  * Upgraded to second release candidate 1.3.20030813 of the 1.4.0 release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 13 Aug 2003 21:51:19 -0500
+
+gsl (1.3.20030805-1) unstable; urgency=low
+
+  * Upgraded to first release candidate 1.3.20030805 of the 1.4.0 release
+  * debian/control: Section changed to libdevel for libgsl0-dev
+  * debian/control: Standards-Version upgraded to 3.6.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  5 Aug 2003 19:50:13 -0500
+
+gsl (1.3-1) unstable; urgency=low
+
+  * New upstream version 1.3 released earlier today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  2 Jan 2003 20:53:30 -0600
+
+gsl (1.2.91-1) unstable; urgency=low
+
+  * Upgraded to new upstream release candidate 1.2.91
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 16 Dec 2002 19:25:41 -0600
+
+gsl (1.2.90-1) unstable; urgency=low
+
+  * Upgraded to new upstream release candidate 1.2.90
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 12 Dec 2002 21:24:16 -0600
+
+gsl (1.2-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.2
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 22 Jul 2002 18:45:40 -0500
+
+gsl (1.1.1-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.1.1
+  * debian/control: No longer Build-Depends on autoconf, automake
+  * debian/rules: Reduce CFLAGS to -O on m68k so that build completes
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 15 Mar 2002 19:59:39 -0600
+
+gsl (1.1-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.1
+  * debian/rules: switched to debhelper mode DH_COMPAT=3
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  7 Mar 2002 22:46:30 -0600
+
+gsl (1.0-1) unstable; urgency=low
+
+  * Upgraded to first general release 1.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  2 Nov 2001 22:26:14 -0600
+
+gsl (0.9.4-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.9.4
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 18 Oct 2001 21:46:55 -0500
+
+gsl (0.9.3-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.9.3
+  * debian/*.links: Link libgsl0-dev, gsl-bin to /usr/share/doc/libgsl0
+  * debian/*.preinst: Delete old doc dir for libgsl0-dev, gsl-bin
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 20 Sep 2001 21:22:36 -0500
+
+gsl (0.9.2-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.9.2
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 30 Aug 2001 21:59:29 -0500
+
+gsl (0.9.1-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.9.1
+  * debian/gsl-histogram.1: Contributed new manual page
+  * debian/gsl-randist.1: Contributed new manual page
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 18 Aug 2001 13:27:24 -0500
+
+gsl (0.9-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.9
+  * debian/control: Removed section about "alpha status" of the library
+    from Description(s) as 0.9 constitutes the first beta release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  4 Jul 2001 22:03:53 -0500
+
+gsl (0.8-2) unstable; urgency=low
+
+  * debian/libgsl0-dev.postinst: Fixed install-info snafu (Closes: #98848)
+  * debian/rules: No longer call dh_undocumented for gsl-config
+  * debian/rules: No longer call autogen.sh
+  * debian/rules: Added 'make check' target
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 27 May 2001 10:39:44 -0500
+
+gsl (0.8-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.8
+  * debian/control: Updated Standards-Version
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 23 May 2001 19:36:34 -0500
+
+gsl (0.7-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.7
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 31 Oct 2000 21:50:51 -0600
+
+gsl (0.6-3) unstable; urgency=low
+
+  * debian/rules: Do not strip the -dev package -- for this particular
+    library, stripping removes the ability to link as some .o files share
+    the same name. Special thanks to Pablo Bianucci <pbian@pccp.com.ar>
+    for persistent debugging.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  5 Jul 2000 19:25:44 -0400
+
+gsl (0.6-2) unstable; urgency=low
+
+  * debian/rules: No longer delete gsl-config 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 12 Jun 2000 18:31:33 -0400
+
+gsl (0.6-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.6
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  6 Jun 2000 22:23:34 -0400
+
+gsl (0.5+-1) unstable; urgency=low
+
+  * Upgraded to CVS snapshot as of April 4, 2000 
+  * With the exception of the blas code, everything is now provided 
+    in a single (shared or static) library
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  5 Apr 2000 20:52:01 -0400
+
+gsl (0.5-2) frozen; urgency=low
+
+  * Carefully applied changes from six files in the CVS to address the
+    m68k IEEE floating point bug (Closes: #52789)
+  * debian/copyright: Added missing "lib" to "rary" (Closes: #61384)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  5 Apr 2000 00:33:12 -0400
+
+gsl (0.5-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 0.5
+  * debian/control: Added Build-Depends: information
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  4 Dec 1999 15:23:25 -0500
+
+gsl (0.4.1+-2) unstable; urgency=low
+
+  * debian/rules: Make debian/libtoolswitch.pl executable (Closes: #51599)
+  * debian/rules: Prepend ./ to autogen.sh call (Closes: #51629)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 30 Nov 1999 19:17:20 -0500
+
+gsl (0.4.1+-1) unstable; urgency=low
+
+  * New maintainer
+  * Rewrote all debian/* files
+  
+  * Upgraded to release 0.4.1+ (Closes: #31306, #31894)
+  * This version uses code directly from the Cygnus CVS archive as the 
+    last tarball release (0.4.1) does not build with shared libraries.  
+
+  * gsl-histogram.c: Wrote simple patch (for 0.4.1) to fix the double
+    count of the last element and submitted it upstream, but it appears
+    that it was already fixed in the CVS sources (Closes: #42116)
+
+  * Patch for glibc-2.1 no longer needed (Closes: #32017)
+
+  * Original sources now used as as .orig.tar.gz (Closes: #44249)
+
+  * Also packaged a separate gsl-ref-pdf package using the pdf file from
+    the Cygnus ftp site. This is required as the pdf file contains .eps
+    graphs and TeX equation that cannot be processed here (Closes: #31307)
+
+  * Upgraded to Policy 3.1.0
+
+  * Packages renamed libgsl0 and libgsl0-dev 
+  * debian/control: Conflicts, Replaces with gsl, gsl-dev
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 18 Nov 1999 23:11:00 -0500
+
+gsl (0.3f-1.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * err/stream.c: don't try to initalize a variable with stderr. [#32070]
+
+ -- James Troup <james@nocrew.org>  Tue,  1 Jun 1999 17:04:12 -0400
+
+gsl (0.3f-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove *.P files (make dependencies) in debian/rules, because make
+    distclean (errorneously) doesn't do this, and the dependencies partially
+    contain arch-specfic paths. Fixes: #32070
+
+ -- Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>  Wed, 10 Mar 1999 15:47:53 +0100
+
+gsl (0.3f-1.1) frozen unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Set Architecture: to any.
+  * Fix some errors in debian/rules that made building impossible.
+  * Removed spurious file debian/tmp.deb.
+
+ -- Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>  Wed, 13 Jan 1999 13:47:57 +0100
+
+gsl (0.3f-1) unstable; urgency=low
+
+  * Initial Release.  
+  * Don't include libgsl.so.0 because it doesn't build correctly
+  * Remove the test-switch program
+
+ -- Michael J. Booth <booth@debian.org>  Sun,  2 Aug 1998 22:56:51 -0400
+
+
--- gsl-1.14+dfsg.orig/debian/gsl-config.1
+++ gsl-1.14+dfsg/debian/gsl-config.1
@@ -0,0 +1,41 @@
+.TH GSL 1 "22 May 2001"
+.SH NAME
+gsl-config - script to get version number and compiler flags of the installed GSL library
+.SH SYNOPSIS
+.B gsl-config
+[\-\-prefix]  [\-\-version] [\-\-libs] [\-\-libs\-without\-cblas] [\-\-cflags]
+.SH DESCRIPTION
+.PP
+\fIgsl-config\fP is a tool that is used to configure to determine
+the compiler and linker flags that should be used to compile
+and link programs that use \fIGSL\fP. It is also used internally
+to the .m4 macros for GNU autoconf that are included with \fIGSL\fP.
+.
+.SH OPTIONS
+\fIgsl-config\fP accepts the following options:
+.TP 8
+.B  \-\-version
+Print the currently installed version of \fIGSL\fP on the standard output.
+.TP 8
+.B  \-\-libs
+Print the linker flags that are necessary to link a \fIGSL\fP program, with cblas
+.TP 8
+.B  \-\-libs\-without\-cblas
+Print the linker flags that are necessary to link a \fIGSL\fP program, without cblas
+.TP 8
+.B  \-\-cflags
+Print the compiler flags that are necessary to compile a \fIGSL\fP program.
+.TP 8
+.B  \-\-prefix
+Show the GSL installation prefix.
+.SH SEE ALSO
+.BR gtk-config (1),
+.BR gnome-config (1)
+.SH COPYRIGHT
+Copyright \(co  2001 Christopher R. Gabriel
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation.
--- gsl-1.14+dfsg.orig/debian/libgsl0ldbl.postinst
+++ gsl-1.14+dfsg/debian/libgsl0ldbl.postinst
@@ -0,0 +1,24 @@
+#!/bin/sh -e
+#
+# postinst script for the Debian GNU/Linux libgsl0 package
+#
+# Written and GPL'ed by Dirk Eddelbuettel <edd@debian.org>   
+
+#DEBHELPER#
+
+case "$1" in
+
+    configure)     
+	;;
+
+    upgrade|abort-upgrade|abort-remove|abort-deconfigure)
+	;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        ;;
+
+esac
+
+exit 0                 
+
--- gsl-1.14+dfsg.orig/debian/MatthewVernon.patch
+++ gsl-1.14+dfsg/debian/MatthewVernon.patch
@@ -0,0 +1,232 @@
+diff -ruN unchanged/gsl-1.11+dfsg/debian/control gsl-1.11+dfsg/debian/control
+--- unchanged/gsl-1.11+dfsg/debian/control	2008-10-29 11:35:22.000000000 +0000
++++ gsl-1.11+dfsg/debian/control	2008-10-29 10:28:07.000000000 +0000
+@@ -73,3 +73,20 @@
+  This package contains debugging symbol tables for the static  GSL libraries
+  libgsl and libgslcblas from the libgsl0-dev package, and the binaries 
+  gsl-randist and gsl-histogram from the gsl-bin package.
++
++
++Package: libgsl0-prof
++Section: libdevel
++Priority: extra
++Architecture: any
++Depends: libgsl0ldbl (= ${binary:Version})
++Description: GNU Scientific Library (GSL) -- Profiling Libraries
++ The GNU Scientific Library (GSL) is a collection of routines for
++ numerical analysis.  The routines are written from scratch by the GSL
++ team in C, and present a modern API for C programmers, while allowing
++ wrappers to be written for very high level languages.
++ .
++ This package contains static libraries compiled with profiling info (-pg)
++ suitable for use with gprof.
++ .
++ URL: http://www.gnu.org/software/gsl/
+diff -ruN unchanged/gsl-1.11+dfsg/debian/libgsl0ldbl.docs gsl-1.11+dfsg/debian/libgsl0ldbl.docs
+--- unchanged/gsl-1.11+dfsg/debian/libgsl0ldbl.docs	1970-01-01 01:00:00.000000000 +0100
++++ gsl-1.11+dfsg/debian/libgsl0ldbl.docs	2008-10-29 10:30:27.000000000 +0000
+@@ -0,0 +1,7 @@
++AUTHORS
++NEWS
++README
++TODO
++BUGS
++THANKS
++SUPPORT
+diff -ruN unchanged/gsl-1.11+dfsg/debian/libgsl0-prof.install gsl-1.11+dfsg/debian/libgsl0-prof.install
+--- unchanged/gsl-1.11+dfsg/debian/libgsl0-prof.install	1970-01-01 01:00:00.000000000 +0100
++++ gsl-1.11+dfsg/debian/libgsl0-prof.install	2008-10-29 10:31:12.000000000 +0000
+@@ -0,0 +1 @@
++usr/lib/libgsl*p.a
+diff -ruN unchanged/gsl-1.11+dfsg/debian/README.Debian gsl-1.11+dfsg/debian/README.Debian
+--- unchanged/gsl-1.11+dfsg/debian/README.Debian	2008-10-29 11:35:22.000000000 +0000
++++ gsl-1.11+dfsg/debian/README.Debian	2008-10-29 10:32:59.000000000 +0000
+@@ -1,3 +1,4 @@
++			    Documentation
+ 
+ Documentation (in info or pdf format) is no longer provided by the
+ standard GNU GSL packages. Debian takes a hard stand on the
+@@ -10,3 +11,25 @@
+ apt-get and other tools can download from it.
+ 
+  -- Dirk Eddelbuettel <edd@debian.org>, Tue, 26 Aug 2008 18:21:00 -0500
++
++			    Profiling GSL
++
++Sometimes when writing complex code, you may want to profile it using
++gprof. In this case, having libraries with profiling information
++compiled in is invaluable. It is possible to build your own .deb
++containing profiling libraries, that may be installed on your system
++in parallel to the usual libraries. To do this, follow these simple
++instructions: 
++
++i) download the gsl source (and the build dependancies if necessary):
++apt-get source libgsl0
++apt-get build-dep libgsl0
++ii) build a binary profiling package:
++DEB_BUILD_OPTIONS=buildprof dpkg-buildpackage -b -rfakeroot -us -uc
++iii) install the resulting .deb
++dpkg -i ../libgsl0-prof_[version]_[arch].deb
++
++Finally, you need to specify -lgsl_p and -lgslcblas_p to link your
++program against the profiling libraries.
++
++ -- Matthew Vernon <matthew@debian.org>, Wed, 29 Oct 2008 10:34:19 +0000
+diff -ruN unchanged/gsl-1.11+dfsg/debian/rules gsl-1.11+dfsg/debian/rules
+--- unchanged/gsl-1.11+dfsg/debian/rules	2008-10-29 11:35:22.000000000 +0000
++++ gsl-1.11+dfsg/debian/rules	2008-10-29 11:32:48.000000000 +0000
+@@ -10,10 +10,12 @@
+ devpack := libgsl$(sonum)-dev
+ dbgpack := libgsl$(sonum)-dbg
+ binpack := $(source)-bin
++profpack := libgsl$(sonum)-prof
+ #docpack := $(source)-doc-pdf
+ #debtmp	:= $(CURDIR)/debian/$(libpack)
+ debtmp	:= $(CURDIR)/debian/tmp
+ #debdoc	:= $(CURDIR)/debian/$(docpack)
++debprof := $(CURDIR)/debian/$(profpack)
+ arch 	:= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ 
+ 
+@@ -56,13 +58,31 @@
+ CFLAGS	+= -mieee
+ endif
+ 
++#setting DEB_BUILD_OPTIONS=buildprof means we build a package
++#consisting of static libraries (renamed to libfoo_p.a) with 
++#profiling information in.
++ifneq (,$(findstring buildprof,$(DEB_BUILD_OPTIONS)))
++CONFIGTARGET = configure-prof-stamp
++INSTALLTARGET = install-prof-stamp
++BINARYTARGET = binary-prof
++CFLAGS += -pg
++export DH_OPTIONS =-N$(libpack) -N$(devpack) -N$(binpack) -N$(dbgpack) -p$(profpack)
++else
++CONFIGTARGET = configure-stamp
++INSTALLTARGET = install-stamp
++BINARYTARGET = binary-arch binary-indep
++export DH_OPTIONS =-N$(profpack)
++endif
++
+ upstream: get-orig-source
+ get-orig-source: 
+         #lynx ftp://sources.redhat.com/pub/gsl
+         #lynx http://mirrors.rcn.net/pub/sourceware/gsl
+ 	lynx http://www.network-theory.co.uk/download/gsl
+ 
+-configure: configure-stamp
++
++configure: $(CONFIGTARGET)
++
+ configure-stamp:
+ 	dh_testdir
+ 	dh_testdir
+@@ -90,6 +110,25 @@
+         # end libtool rpath patch
+ 	touch configure-stamp
+ 
++configure-prof-stamp:
++	dh_testdir
++
++	ln -sf /usr/share/misc/config.sub .
++	ln -sf /usr/share/misc/config.guess .
++	rm -f config.cache
++
++	[ -d doc ] || mkdir doc
++	cp -vax debian/Makefile.in.doc doc/Makefile.in
++
++	./configure 	CFLAGS="$(CFLAGS)" 		\
++			--prefix=/usr 			\
++			--disable-shared 		\
++			--enable-static 		\
++			--with-gnu-ld 			\
++			$(CONFFLAGS) 			
++	touch configure-prof-stamp
++
++
+ build: configure build-stamp
+ build-stamp:
+ 	dh_testdir
+@@ -132,15 +171,17 @@
+ 	dh_testdir
+ 	dh_testroot
+ 	rm -f build-stamp install-stamp test-stamp build-doc-stamp \
+-		configure-stamp install-doc-stamp
++		configure-stamp install-doc-stamp configure-prof-stamp \
++		install-prof-stamp
+ 	rm -rf debian/static/
+ 	-rm -f doc/*.pdf doc/*.dvi doc/*.log doc/*.ps
+ 	dh_clean lib/*so* build/*.so*
+-	[ ! -f Makefile ] || $(MAKE) distclean	
++	[ ! -f Makefile ] || $(MAKE) distclean || true
+ 	rm -vf config.sub config.guess
+ 	rm -rf doc/
++	rm -rf $(debtmp) $(debprof)
+ 
+-install: test install-stamp 
++install: test $(INSTALLTARGET)
+ install-stamp: 
+ 	$(MAKE) -f debian/rules DH_OPTIONS= install-work
+ install-work:
+@@ -174,6 +215,21 @@
+ 
+ 	touch install-stamp
+ 
++install-prof-stamp: test-stamp
++	dh_testdir
++	dh_testroot
++	dh_clean -k
++	$(MAKE) prefix=$(debtmp)/usr	 		\
++		libdir=$(debtmp)/usr/lib		\
++		infodir=$(debtmp)/usr/share/info	\
++		includedir=$(debtmp)/usr/include	\
++		mandir=$(debtmp)/usr/share/man		install
++	#rename the profiling libraries
++	for lib in $(debtmp)/usr/lib/*.a ;\
++		do mv "$$lib" "$${lib%%.a}_p.a"; done
++	dh_install --sourcedir=$(debtmp)
++	touch install-prof-stamp
++
+ 
+ install-doc: install-doc-stamp
+ install-doc-stamp: build-doc
+@@ -195,9 +251,7 @@
+ 	dh_testroot
+         #dh_installdebconf
+ 	dh_link
+-	dh_installdocs		-p$(libpack)	AUTHORS NEWS README TODO \
+-						BUGS THANKS SUPPORT \
+-						debian/README.Debian
++	dh_installdocs
+         #dh_installexamples
+         #dh_installmenu
+         #dh_installemacsen
+@@ -210,7 +264,7 @@
+ 	dh_compress
+ 	dh_fixperms
+ #	dh_strip		-N$(devpack)
+-	dh_strip	--sourcedir=debian/tmp	--dbg-package=libgsl0-dbg
++	dh_strip -X_p.a	--sourcedir=debian/tmp	--dbg-package=libgsl0-dbg
+         #dh_suidregister
+ 	dh_makeshlibs
+ 	dh_installdeb
+@@ -222,15 +276,16 @@
+ 
+ # Build architecture independant packages using the common target.
+ binary-indep: build-doc install-doc
+-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
++	$(MAKE) -f debian/rules DH_OPTIONS="-i -N$(profpack)" binary-common
+ 
+ # Build architecture dependant packages using the common target.
+ binary-arch: build install
+-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
++	$(MAKE) -f debian/rules DH_OPTIONS="-a -N$(profpack)" binary-common
+ 
++binary-prof: binary-common
+ # Any other binary targets build just one binary package at a time.
+ #binary-%: build install
+ #	make -f debian/rules binary-common DH_OPTIONS=-p$*
+ 
+-binary: binary-arch binary-indep 
++binary: $(BINARYTARGET)
+ .PHONY: build build-doc clean binary-indep binary-arch binary install install-doc 
--- gsl-1.14+dfsg.orig/debian/rules
+++ gsl-1.14+dfsg/debian/rules
@@ -0,0 +1,291 @@
+#!/usr/bin/make -f
+#                                                       -*- makefile -*-
+# debian/rules file for the Debian/GNU Linux gsl package
+# Copyright (C) 1999 - 2007 by Dirk Eddelbuettel <edd@debian.org>
+
+source  := $(shell head -1 debian/changelog | awk '{print $$1}')
+sonum   := 0
+libpack := libgsl$(sonum)ldbl
+#devpack := $(libpack)-dev
+devpack := libgsl$(sonum)-dev
+dbgpack := libgsl$(sonum)-dbg
+binpack := $(source)-bin
+profpack := libgsl$(sonum)-prof
+#docpack := $(source)-doc-pdf
+#debtmp	:= $(CURDIR)/debian/$(libpack)
+debtmp	:= $(CURDIR)/debian/tmp
+#debdoc	:= $(CURDIR)/debian/$(docpack)
+debprof := $(CURDIR)/debian/$(profpack)
+arch 	:= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+
+#export DH_VERBOSE=1
+
+## needed for texi2pdf / tetex as document has larger-than-normal indices
+export pool_size=250000
+
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+# FOR AUTOCONF 2.52 AND NEWER ONLY
+CONFFLAGS =
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+  CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
+else
+  CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+DEBUGFLAGS=-g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	DEBUGFLAGS += -O0
+else
+	DEBUGFLAGS += -O3
+ifeq ($(arch),m68k)
+	DEBUGFLAGS += -O0
+endif
+endif
+# edd 12 Sep 2007  alpha fails with -O3
+ifeq ($(arch),alpha)
+	DEBUGFLAGS += -O2
+endif
+
+# edd 18 Nov 2006:  add -fexceptions, but don't use -O3 as 
+#                   'make check' as gcc hangs in cblas/ after test_ger.c
+CFLAGS	   :=-Wall -pipe -fexceptions -D_REENTRANT $(DEBUGFLAGS)
+CFLAGSnog  :=-Wall -pipe -fexceptions -D_REENTRANT -O2 
+# edd 29 Sep 2005   alpha needs -mieee with gcc 4.0
+ifeq ($(arch),alpha)
+CFLAGS	+= -mieee
+endif
+
+#setting DEB_BUILD_OPTIONS=buildprof means we build a package
+#consisting of static libraries (renamed to libfoo_p.a) with 
+#profiling information in.
+ifneq (,$(findstring buildprof,$(DEB_BUILD_OPTIONS)))
+CONFIGTARGET = configure-prof-stamp
+INSTALLTARGET = install-prof-stamp
+BINARYTARGET = binary-prof
+CFLAGS += -pg
+export DH_OPTIONS =-N$(libpack) -N$(devpack) -N$(binpack) -N$(dbgpack) -p$(profpack)
+else
+CONFIGTARGET = configure-stamp
+INSTALLTARGET = install-stamp
+BINARYTARGET = binary-arch binary-indep
+export DH_OPTIONS =-N$(profpack)
+endif
+
+upstream: get-orig-source
+get-orig-source: 
+        #lynx ftp://sources.redhat.com/pub/gsl
+        #lynx http://mirrors.rcn.net/pub/sourceware/gsl
+	lynx http://www.network-theory.co.uk/download/gsl
+
+
+configure: $(CONFIGTARGET)
+
+configure-stamp:
+	dh_testdir
+	dh_testdir
+
+	ln -sf /usr/share/misc/config.sub .
+	ln -sf /usr/share/misc/config.guess .
+	rm -f config.cache
+
+	[ -d doc ] || mkdir doc
+	cp -vax debian/Makefile.in.doc doc/Makefile.in
+
+	./configure 	CFLAGS="$(CFLAGS)" 		\
+			--prefix=/usr 			\
+			--enable-shared 		\
+			--enable-static 		\
+			--with-gnu-ld 			\
+			$(CONFFLAGS) 			
+
+        # patch libtool re rpath (see lintian docu)
+	sed < libtool > libtool-2 \
+			-e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \
+			-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'
+	mv libtool-2 libtool
+	chmod 755 libtool            
+        # end libtool rpath patch
+	touch configure-stamp
+
+configure-prof-stamp:
+	dh_testdir
+
+	ln -sf /usr/share/misc/config.sub .
+	ln -sf /usr/share/misc/config.guess .
+	rm -f config.cache
+
+	[ -d doc ] || mkdir doc
+	cp -vax debian/Makefile.in.doc doc/Makefile.in
+
+	./configure 	CFLAGS="$(CFLAGS)" 		\
+			--prefix=/usr 			\
+			--disable-shared 		\
+			--enable-static 		\
+			--with-gnu-ld 			\
+			$(CONFFLAGS) 			
+	touch configure-prof-stamp
+
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE)	
+	touch build-stamp
+
+build-doc: build-doc-stamp
+build-doc-stamp: configure-stamp
+	dh_testdir
+	touch build-doc-stamp
+
+deprecated-non-free-doc:
+        # make ps files -- skip as we ship the upstream one in gsl-ref-psdoc
+        #cd doc && $(MAKE) ps
+        # make pdf
+        ## edd 10 Apr 2005  added patch by Guiseppe Bonacci for #303757 
+	cd doc && \
+	   cp -p randist.texi randist.texi.orig && \
+	   sed 's/^.*\\input \(rand.*\)\.tex.*$$/@end tex\n@center @image{\1}\n@tex/' \
+	     randist.texi.orig > randist.texi && \
+	   for i in rand-*.tex random-walk.tex ; do \
+	     echo Converting $$i to eps; \
+	     j=`basename $$i .tex`; \
+	     tex "\batchmode\nopagenumbers\input $$j\bye"; \
+	     dvips $$j; \
+	     ps2eps -f $$j.ps; \
+	   done && \
+	   for i in *.eps; do \
+	     echo Converting $$i to pdf... && epstopdf $$i ; \
+	   done && $(MAKE) ps && ps2pdf gsl-ref.ps
+        # edd 23 Mar 2006  'make pdf' is now inactive upstream
+	touch build-doc-stamp
+
+test:	build test-stamp
+test-stamp: 
+	-$(MAKE) check CFLAGS="$(CFLAGSnog)" | grep -C5 -v '^PASS:'
+	touch test-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp test-stamp build-doc-stamp \
+		configure-stamp install-doc-stamp configure-prof-stamp \
+		install-prof-stamp
+	rm -rf debian/static/
+	-rm -f doc/*.pdf doc/*.dvi doc/*.log doc/*.ps
+	dh_clean lib/*so* build/*.so*
+	[ ! -f Makefile ] || $(MAKE) distclean || true
+	rm -vf config.sub config.guess
+	rm -rf doc/
+	rm -rf $(debtmp) $(debprof)
+
+install: test $(INSTALLTARGET)
+install-stamp: 
+	$(MAKE) -f debian/rules DH_OPTIONS= install-work
+install-work:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) prefix=$(debtmp)/usr	 		\
+		libdir=$(debtmp)/usr/lib		\
+		infodir=$(debtmp)/usr/share/info	\
+		includedir=$(debtmp)/usr/include	\
+		mandir=$(debtmp)/usr/share/man		install
+        # deal with automake / install-info issue #215538
+	rm -vf	$(debtmp)/usr/share/info/dir 		\
+		$(debtmp)/usr/share/info/dir.old 	
+        # purify for DFSG compliance and delete (!!) documentation
+	rm -rvf	$(debtmp)/usr/share/info
+        # deal with libtool leftover .la files (#245556)
+	rm -vf $(debtmp)/usr/lib/libgsl*.la
+        #
+	dh_installdirs		-p$(binpack)	usr/share/man/man1
+        #dh_installman		-p$(binpack)	debian/gsl-histogram.1 \
+        #					debian/gsl-randist.1
+        # move static libs into dev-package  and binaries into bin package
+	dh_install --sourcedir=debian/tmp -p$(binpack) -p$(devpack) -p$(libpack)
+
+        # lintian silencer for the 'ldbl' transition package
+	dh_installdirs -p$(libpack) usr/share/lintian/overrides
+	install -m0644 debian/$(libpack).overrides \
+		$(CURDIR)/debian/$(libpack)/usr/share/lintian/overrides/$(libpack)
+
+	touch install-stamp
+
+install-prof-stamp: test-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) prefix=$(debtmp)/usr	 		\
+		libdir=$(debtmp)/usr/lib		\
+		infodir=$(debtmp)/usr/share/info	\
+		includedir=$(debtmp)/usr/include	\
+		mandir=$(debtmp)/usr/share/man		install
+	#rename the profiling libraries
+	for lib in $(debtmp)/usr/lib/*.a ;\
+		do mv "$$lib" "$${lib%%.a}_p.a"; done
+	dh_install --sourcedir=$(debtmp)
+	touch install-prof-stamp
+
+
+install-doc: install-doc-stamp
+install-doc-stamp: build-doc
+	dh_testdir
+	dh_testroot
+	touch install-doc-stamp
+
+deprecated-non-free-doc:
+	mkdir -p -m 0755 $(debdoc)/usr/share/doc/$(docpack)
+	install -m 0644 doc/gsl-ref.pdf  $(debdoc)/usr/share/doc/$(docpack)
+
+# This single target is used to build all the packages, all at once, or
+# one at a time. So keep in mind: any options passed to commands here will
+# affect _all_ packages. Anything you want to only affect one package
+# should be put in another target, such as the install target.
+binary-common: build test install 
+        #dh_testversion 2.0
+	dh_testdir
+	dh_testroot
+        #dh_installdebconf
+	dh_link
+	dh_installdocs
+        #dh_installexamples
+        #dh_installmenu
+        #dh_installemacsen
+        #dh_installpam
+        #dh_installinit
+        #dh_installcron
+        #dh_installinfo		-p$(devpack)
+        #dh_undocumented	-p$(binpack)	gsl-histogram.1 gsl-randist.1
+	dh_installchangelogs			ChangeLog
+	dh_compress
+	dh_fixperms
+#	dh_strip		-N$(devpack)
+	dh_strip -X_p.a	--sourcedir=debian/tmp	--dbg-package=$(dbgpack)
+        #dh_suidregister
+	dh_makeshlibs
+	dh_installdeb
+        #dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build-doc install-doc
+	$(MAKE) -f debian/rules DH_OPTIONS="-i -N$(profpack)" binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+	$(MAKE) -f debian/rules DH_OPTIONS="-a -N$(profpack)" binary-common
+
+binary-prof: binary-common
+# Any other binary targets build just one binary package at a time.
+#binary-%: build install
+#	make -f debian/rules binary-common DH_OPTIONS=-p$*
+
+binary: $(BINARYTARGET)
+.PHONY: build build-doc clean binary-indep binary-arch binary install install-doc 
--- gsl-1.14+dfsg.orig/debian/copyright
+++ gsl-1.14+dfsg/debian/copyright
@@ -0,0 +1,64 @@
+This is the Debian GNU/Linux prepackaged version of the GNU Scientific
+Library (GSL). GNU GSL is being written by Mark Galassi (rosalia@cygnus.com)
+and James Theiler (jt@nis.lanl.gov) with contributions from Jim Davies
+(jimmyd@nis.lanl.gov), Brian Gough (bjg@network-theory.co.uk), Reid
+Priedhorsky (rp@lanl.gov), Gerard Jungman (jungman@lanl.gov) and
+Mike Booth <booth@planck.pha.jhu.edu>.
+
+This package was first initially maintained by Michael Booth, while
+James Troup and Roman Hodek made non-maintainer uploads.  The current
+maintainer is Dirk Eddelbuettel <edd@debian.org>.  The original sources
+can be obtained at  
+	http://sourceware.cygnus.com/gsl  
+and at 
+	ftp://alpha.gnu.org/gnu/ 
+As of Feb 2004, a current location can be accessed via
+	http://sources.redhat.com/gsl
+
+Copyright (C) 1998-2008 Brian Gough 
+Portions Copyright (C) 1998-2008 Mark Galassi, Jim Davies, James Theiler, Reid Priedhorsky, Gerald Jungman, Michael Booth, Fabrice Rossi, Simone Piccardi, Carlo Perassi, Ho-Jin Dan, Szymon Jaroszewicz, Nicolas Darnis, Tuomo Keskitalo, Ivo Alxneit, Jason H. Stover, Patrick Alken
+(see AUTHORS)
+
+License: GPL
+
+The GNU GSL documentation carries the following notice:
+
+   The subroutines and source code in the GNU Scientific Library
+   package are ``free''; this means that everyone is free to use them
+   and free to redistribute them on a free basis.  The GNU Scientific
+   Library-related programs are not in the public domain; they are
+   copyrighted and there are restrictions on their distribution, but
+   these restrictions are designed to permit everything that a good
+   cooperating citizen would want to do.  What is not allowed is to
+   try to prevent others from further sharing any version of these
+   programs that they might get from you.
+
+   Specifically, we want to make sure that you have the right to give
+   away copies of the programs that relate to GNU Scientific Library,
+   that you receive source code or else can get it if you want it,
+   that you can change these programs or use pieces of them in new
+   free programs, and that you know you can do these things.
+
+   To make sure that everyone has such rights, we have to forbid you
+   to deprive anyone else of these rights.  For example, if you
+   distribute copies of the GNU Scientific Library-related code, you
+   t give the recipients all the rights that you have.  You must make
+   sure that they, too, receive or can get the source code.  And you
+   must tell them their rights.
+
+   Also, for our own protection, we must make certain that everyone
+   finds out that there is no warranty for the programs that relate
+   to GNU Scientific Library.  If these programs are modified by eone
+   else and passed on, we want their recipients to know that what
+   they have is not what we distributed, so that any problems
+   introduced by others will not reflect on our reputation.
+
+   The precise conditions of the licenses for the programs currently
+   being distributed that relate to GNU Scientific Library are nd in
+   the General Public Licenses that accompany them.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License (version 3) can be found in `/usr/share/common-licenses/GPL-3'.
+
+GSL versions prior to 1.10 were released under the GPL version 2.
+
--- gsl-1.14+dfsg.orig/debian/libgsl0-prof.install
+++ gsl-1.14+dfsg/debian/libgsl0-prof.install
@@ -0,0 +1 @@
+usr/lib/libgsl*p.a
--- gsl-1.14+dfsg.orig/debian/Makefile.in.doc
+++ gsl-1.14+dfsg/debian/Makefile.in.doc
@@ -0,0 +1,22 @@
+
+# Pseudo-makefile.in for GSL -- required as are there no docs 
+# given Debian's GFDL aversion
+#
+# Dirk Eddelbuettel, August 2008
+
+@SET_MAKE@
+
+# mandir variable supplied via debian/rules
+man1dir = $(mandir)/man1
+man3dir = $(mandir)/man3
+
+all:	
+	@echo No info or ps docs thanks to GFDL aversion
+
+install:
+	mkdir -p $(man1dir) 
+	install -m 0644 ../debian/gsl-config.1 $(man1dir)
+	install -m 0644 ../debian/gsl-randist.1 $(man1dir)
+	install -m 0644 ../debian/gsl-histogram.1 $(man1dir)
+	mkdir -p $(man3dir) 
+	install -m 0644 ../debian/gsl.3 $(man3dir) 
--- gsl-1.14+dfsg.orig/debian/libgsl0ldbl.shlibs
+++ gsl-1.14+dfsg/debian/libgsl0ldbl.shlibs
@@ -0,0 +1,2 @@
+libgsl 0 libgsl0ldbl (>= 1.9)
+libgslcblas 0 libgsl0ldbl (>= 1.9)
--- gsl-1.14+dfsg.orig/debian/watch
+++ gsl-1.14+dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+dfsg$// \
+	ftp://ftp.gnu.org/gnu/gsl/gsl-([-0-9\.]*).tar.gz
--- gsl-1.14+dfsg.orig/debian/libgsl0ldbl.overrides
+++ gsl-1.14+dfsg/debian/libgsl0ldbl.overrides
@@ -0,0 +1,4 @@
+libgsl0ldbl: non-dev-pkg-with-shlib-symlink usr/lib/libgslcblas.so.0.0.0 usr/lib/libgslcblas.so
+libgsl0ldbl: non-dev-pkg-with-shlib-symlink usr/lib/libgsl.so.0.10.0 usr/lib/libgsl.so
+libgsl0ldbl: package-name-doesnt-match-sonames libgslcblas0 libgsl0
+libgsl0ldbl: package-name-doesnt-match-sonames libgsl0 libgslcblas0
--- gsl-1.14+dfsg.orig/debian/control
+++ gsl-1.14+dfsg/debian/control
@@ -0,0 +1,92 @@
+Source: gsl
+Section: math
+Priority: optional
+Maintainer: Dirk Eddelbuettel <edd@debian.org>
+Standards-Version: 3.8.4
+Build-Depends: gawk | awk, debhelper (>= 5.0.0), libtool, gcc (>= 4:4.0), binutils (>= 2.12.90.0.9), autotools-dev
+Homepage: http://www.gnu.org/software/gsl
+
+Package: libgsl0ldbl
+Section: math
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: gsl, libgsl0
+Replaces: gsl, libgsl0 (<= 1.9-4)
+Suggests: gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html
+Description: GNU Scientific Library (GSL) -- library package 
+ The GNU Scientific Library (GSL) is a collection of routines for
+ numerical analysis.  The routines are written from scratch by the GSL
+ team in C, and present a modern API for C programmers, while allowing 
+ wrappers to be written for very high level languages.
+ .
+ GSL includes data types and routines for complex numbers, vectors,
+ matrices, basic linear algebra subroutines (BLAS), eigensystems,
+ simulated annealing, minimization, root finding, pseudo-random
+ numbers, least-squares fitting, fast Fourier transforms (FFT),
+ differential equations, quadrature, Monte Carlo integration, special
+ functions, physical constants, and much more.
+ .
+ This package provides the shared libraries required to run programs
+ compiled with GNU GSL. To compile your own programs you also need to
+ install libgsl0-dev.
+
+Package: libgsl0-dev
+Section: libdevel
+Architecture: any
+Depends: libgsl0ldbl (= ${binary:Version}), ${misc:Depends}
+Conflicts: gsl-dev
+Replaces: gsl-dev, libgsl0 (<= 1.9-4)
+Description: GNU Scientific Library (GSL) -- development package
+ The GNU Scientific Library (GSL) is a collection of routines for
+ numerical analysis.  The routines are written from scratch by the GSL
+ team in C, and present a modern API for C programmers, while allowing
+ wrappers to be written for very high level languages.
+ .
+ This package contains the header files, static libraries and symbolic 
+ links that developers using GNU GSL will need.
+
+Package: gsl-bin
+Section: math
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: gsl
+Replaces: gsl
+Description: GNU Scientific Library (GSL) -- binary package
+ The GNU Scientific Library (GSL) is a collection of routines for
+ numerical analysis.  The routines are written from scratch by the GSL
+ team in C, and present a modern API for C programmers, while allowing 
+ wrappers to be written for very high level languages.
+ .
+ This package provides several example binaries.
+
+Package: libgsl0-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libgsl0ldbl (= ${binary:Version}), ${misc:Depends}
+Description: GNU Scientific Library (GSL) -- debug symbols package
+ The GNU Scientific Library (GSL) is a collection of routines for
+ numerical analysis.  The routines are written from scratch by the GSL
+ team in C, and present a modern API for C programmers, while allowing
+ wrappers to be written for very high level languages.
+ .
+ This package contains debugging symbol tables for the static  GSL libraries
+ libgsl and libgslcblas from the libgsl0-dev package, and the binaries 
+ gsl-randist and gsl-histogram from the gsl-bin package.
+
+
+Package: libgsl0-prof
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libgsl0ldbl (= ${binary:Version}), ${misc:Depends}
+Description: GNU Scientific Library (GSL) -- Profiling Libraries
+ The GNU Scientific Library (GSL) is a collection of routines for
+ numerical analysis.  The routines are written from scratch by the GSL
+ team in C, and present a modern API for C programmers, while allowing
+ wrappers to be written for very high level languages.
+ .
+ This package contains static libraries compiled with profiling info (-pg)
+ suitable for use with gprof.
+ .
+ URL: http://www.gnu.org/software/gsl/
--- gsl-1.14+dfsg.orig/debian/gsl-histogram.1
+++ gsl-1.14+dfsg/debian/gsl-histogram.1
@@ -0,0 +1,42 @@
+.\" Man page contributed by Dirk Eddelbuettel <edd@debian.org>
+.\" and released under the GNU General Public License
+.TH GSL-HISTOGRAM 1 "" GNU
+.SH NAME
+gsl-histogram - compute histogram of data on stdin
+.SH SYNOPSYS
+.B gsl-histogram xmin xmax [n]
+.SH DESCRIPTION
+.B gsl-histogram 
+is a demonstration program for the GNU Scientific Library.
+It takes three arguments, specifying the upper and lower bounds of the
+histogram and the number of bins.  It then reads numbers from `stdin',
+one line at a time, and adds them to the histogram.  When there is no
+more data to read it prints out the accumulated histogram using
+gsl_histogram_fprintf.  If n is unspecified then bins of integer width
+are used.
+.SH EXAMPLE
+Here is an example.  We generate 10000 random samples from a Cauchy
+distribution with a width of 30 and histogram them over the range -100 to
+100, using 200 bins.
+ 
+     gsl-randist 0 10000 cauchy 30 | gsl-histogram -100 100 200 > histogram.dat
+ 
+A plot of the resulting histogram will show the familiar shape of the
+Cauchy distribution with fluctuations caused by the finite sample
+size.
+
+     awk '{print $1, $3 ; print $2, $3}' histogram.dat | graph -T X
+
+.SH SEE ALSO
+.BR gsl(3) ,
+.BR gsl-randist(1) .
+
+.SH AUTHOR
+.B gsl-histogram 
+was written by Brian Gough.
+Copyright 1996-2000; for copying conditions see the GNU General
+Public Licence. 
+
+This manual page was added by the Dirk Eddelbuettel
+<edd@debian.org>, the Debian GNU/Linux maintainer for
+.BR GSL .
--- gsl-1.14+dfsg.orig/debian/gsl-randist.1
+++ gsl-1.14+dfsg/debian/gsl-randist.1
@@ -0,0 +1,38 @@
+.\" Man page contributed by Dirk Eddelbuettel <edd@debian.org>
+.\" and released under the GNU General Public License
+.TH GSL-RANDIST 1 "" GNU
+.SH NAME
+gsl-randist - generate random samples from various distributions
+.SH SYNOPSYS
+.B gsl-randist seed n DIST param1 param2 [..]
+.SH DESCRIPTION
+.B gsl-randist 
+is a demonstration program for the GNU Scientific Library.
+It generates n random samples from the distribution DIST using the distribution
+parameters param1, param2, ...
+.SH EXAMPLE
+Here is an example.  We generate 10000 random samples from a Cauchy
+distribution with a width of 30 and histogram them over the range -100 to
+100, using 200 bins.
+ 
+     gsl-randist 0 10000 cauchy 30 | gsl-histogram -100 100 200 > histogram.dat
+ 
+A plot of the resulting histogram will show the familiar shape of the
+Cauchy distribution with fluctuations caused by the finite sample
+size.
+
+     awk '{print $1, $3 ; print $2, $3}' histogram.dat | graph -T X
+
+.SH SEE ALSO
+.BR gsl(3) ,
+.BR gsl-histogram(1) .
+
+.SH AUTHOR
+.B gsl-randist 
+was written by James Theiler and Brian Gough.
+Copyright 1996-2000; for copying conditions see the GNU General
+Public Licence. 
+
+This manual page was added by the Dirk Eddelbuettel
+<edd@debian.org>, the Debian GNU/Linux maintainer for
+.BR GSL .
--- gsl-1.14+dfsg.orig/debian/old/gsl-bin.links
+++ gsl-1.14+dfsg/debian/old/gsl-bin.links
@@ -0,0 +1 @@
+usr/share/doc/libgsl0 usr/share/doc/gsl-bin
--- gsl-1.14+dfsg.orig/debian/old/gsl-bin.preinst
+++ gsl-1.14+dfsg/debian/old/gsl-bin.preinst
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+#
+# preinst script for the Debian GNU/Linux gsl-bin package
+#
+# Written and GPL'ed by Dirk Eddelbuettel <edd@debian.org>   
+
+case "$1" in
+
+    install|upgrade)     
+        # We want to remove previous versions' documentation directory
+	test -d /usr/share/doc/gsl-bin && rm -rf /usr/share/doc/gsl-bin
+	;;
+
+    abort-upgrade)
+        ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0                 
+