Hi,

In upstream libgsl, version 1.13, the GSL_CONST_CGSM_GAUSS symbol was
removed. The attached patch fixes the problem. The correct solution is
to remove the reference to the symbol entirely, as upstream says the
value of the constant wasn't reliable.

I'm a member of pkg-ruby-extras; if you don't object then a week from
now I will commit the patch to the repo and make an upload through one
of the DD's in the team.

I also intend to fix the outstanding lintian warnings against the
package in this upload, if you don't make it first. The patch that fixes
them is attached (yes, the Section: fix was already made by Gunnar in svn).

Regards,
Daniel
Index: libgsl-ruby-1.10.3/ext/const.c
===================================================================
--- libgsl-ruby-1.10.3.orig/ext/const.c	2009-10-21 00:21:36.378974556 -0700
+++ libgsl-ruby-1.10.3/ext/const.c	2009-10-21 00:21:46.348448822 -0700
@@ -599,7 +599,6 @@
 		  rb_float_new(GSL_CONST_CGSM_ELECTRON_CHARGE));
   rb_define_const(module, "ELECTRON_CHARGE_ESU",
 		  rb_float_new(GSL_CONST_CGSM_ELECTRON_CHARGE*GSL_CONST_CGSM_SPEED_OF_LIGHT));
-  rb_define_const(module, "GAUSS", rb_float_new(GSL_CONST_CGSM_GAUSS));
   rb_define_const(module, "STILB", rb_float_new(GSL_CONST_CGSM_STILB));
   rb_define_const(module, "LUMEN", rb_float_new(GSL_CONST_CGSM_LUMEN));
   rb_define_const(module, "LUX", rb_float_new(GSL_CONST_CGSM_LUX));
diff -u libgsl-ruby-1.10.3/debian/control libgsl-ruby-1.10.3/debian/control
--- libgsl-ruby-1.10.3/debian/control
+++ libgsl-ruby-1.10.3/debian/control
@@ -1,10 +1,10 @@
 Source: libgsl-ruby
-Section: libs
+Section: ruby
 Priority: optional
 Maintainer: Daigo Moriwaki <da...@debian.org>
 Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintain...@lists.alioth.debian.org>
 Build-Depends: debhelper (>> 5), ruby1.8, ruby1.8-dev, rdoc, graphviz, cdbs, ruby-pkg-tools (>= 0.9), libgsl0-dev (>= 1.10), plotutils, libnarray-ruby1.8
-Standards-Version: 3.7.2
+Standards-Version: 3.8.3
 Homepage: http://rb-gsl.rubyforge.org/
 
 Package: libgsl-ruby1.8
@@ -18,7 +18,7 @@
 
 Package: libgsl-ruby
 Architecture: all
-Depends: libgsl-ruby1.8 (>= ${source:Version})
+Depends: libgsl-ruby1.8 (>= ${source:Version}), ${misc:Depends}
 Suggests: libgsl-ruby-doc
 Description: Ruby bindings for the GNU Scientific Library (GSL) (dummy package)
  The GNU Scientific Library (GSL) is a collection of data types and
@@ -30,7 +30,7 @@
 
 Package: libgsl-ruby-doc
 Section: doc
-Depends: libgsl-ruby (>= ${source:Version})
+Depends: libgsl-ruby (>= ${source:Version}), ${misc:Depends}
 Architecture: all
 Description: Documentation for Ruby/GSL (libgsl-ruby)
  This package provides documentation, example scripts and unit tests for
diff -u libgsl-ruby-1.10.3/debian/copyright libgsl-ruby-1.10.3/debian/copyright
--- libgsl-ruby-1.10.3/debian/copyright
+++ libgsl-ruby-1.10.3/debian/copyright
@@ -3,7 +3,7 @@
 
 It was downloaded from http://rubyforge.org/frs/?group_id=285
 
-Copyright Holder: Yoshiki Tsunesada <ytsunes...@yahoo.co.jp>
+Copyright 2001-2006 Yoshiki Tsunesada <ytsunes...@yahoo.co.jp>
 
 License:
 
@@ -15,5 +15,5 @@
-License can be found in the file `/usr/share/common-licenses/GPL'.
+License can be found in the file `/usr/share/common-licenses/GPL-2'.
 
 The setup.rb file included in the package's source is released under the GNU
 LGPL. On Debian systems, the complete text of the GNU Lesser General Public
-can be found in `/usr/share/common-licenses/LGPL'.
+can be found in `/usr/share/common-licenses/LGPL-2.1'.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to