[DRE-commits] r4468 - in trunk/libsvm-ruby/debian: . patches source

Michael Schutte michi-guest at alioth.debian.org
Tue Dec 15 18:54:10 UTC 2009


Author: michi-guest
Date: 2009-12-15 18:54:10 +0000 (Tue, 15 Dec 2009)
New Revision: 4468

Added:
   trunk/libsvm-ruby/debian/patches/
   trunk/libsvm-ruby/debian/patches/no_pkgconfig.patch
   trunk/libsvm-ruby/debian/patches/series
   trunk/libsvm-ruby/debian/source/
   trunk/libsvm-ruby/debian/source/format
Modified:
   trunk/libsvm-ruby/debian/changelog
   trunk/libsvm-ruby/debian/control
Log:
[libsvm-ruby] fix FTBFS #560541; use 3.0 (quilt); housekeeping



Modified: trunk/libsvm-ruby/debian/changelog
===================================================================
--- trunk/libsvm-ruby/debian/changelog	2009-12-15 17:24:03 UTC (rev 4467)
+++ trunk/libsvm-ruby/debian/changelog	2009-12-15 18:54:10 UTC (rev 4468)
@@ -1,8 +1,16 @@
 libsvm-ruby (2.8.5-2) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  * Convert to 3.0 (quilt) source format.
+  * New no_pkgconfig.patch: libsvm.pc has gone away from the libsvm-dev
+    package.  Change extconfig.rb to set CFLAGS and LDFLAGS manually.  This
+    fixes the QA FTBFS caused by the 2.90-1 upload of libsvm, closes: #560541.
+  * Build-depend on debhelper >= 5 because of debian/compat.
+  * Bump Standards-Version to 3.8.3, no changes needed.
+  * Make the pkg-ruby-extras team the Maintainer; move Rudi Cilibrasi to
+    Uploaders (he doesn’t want to work on libsvm-related packages any more);
+    add myself to Uploaders.
 
- -- Rudi Cilibrasi <cilibrar at debian.org>  Thu, 07 May 2009 14:52:10 -0700
+ -- Michael Schutte <michi at uiae.at>  Tue, 15 Dec 2009 19:32:42 +0100
 
 libsvm-ruby (2.8.5-1) unstable; urgency=low
 

Modified: trunk/libsvm-ruby/debian/control
===================================================================
--- trunk/libsvm-ruby/debian/control	2009-12-15 17:24:03 UTC (rev 4467)
+++ trunk/libsvm-ruby/debian/control	2009-12-15 18:54:10 UTC (rev 4468)
@@ -1,10 +1,10 @@
 Source: libsvm-ruby
 Section: ruby
 Priority: optional
-Maintainer: Rudi Cilibrasi <cilibrar at debian.org>
-Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 4.1.0), libsvm-dev, libruby1.8, ruby1.8-dev, ruby1.8, pkg-config, autotools-dev, cdbs, ruby-pkg-tools
-Standards-Version: 3.8.1
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Rudi Cilibrasi <cilibrar at debian.org>, Michael Schutte <michi at uiae.at>
+Build-Depends: debhelper (>= 5), libsvm-dev, libruby1.8, ruby1.8-dev, ruby1.8, pkg-config, autotools-dev, cdbs, ruby-pkg-tools
+Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/libsvm-ruby/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/libsvm-ruby/
 

Added: trunk/libsvm-ruby/debian/patches/no_pkgconfig.patch
===================================================================
--- trunk/libsvm-ruby/debian/patches/no_pkgconfig.patch	                        (rev 0)
+++ trunk/libsvm-ruby/debian/patches/no_pkgconfig.patch	2009-12-15 18:54:10 UTC (rev 4468)
@@ -0,0 +1,18 @@
+libsvm.pc has been dropped in the 2.90-1 upload of libsvm.  Set the
+necessary CFLAGS and LDFLAGS manually in extconf.rb.  Closes #560541.
+
+Index: libsvm-ruby-2.8.5/extconf.rb
+===================================================================
+--- libsvm-ruby-2.8.5.orig/extconf.rb	2009-12-15 19:13:06.000000000 +0100
++++ libsvm-ruby-2.8.5/extconf.rb	2009-12-15 19:13:50.000000000 +0100
+@@ -1,8 +1,8 @@
+ require 'mkmf'
+ #have_library('stdc++', "main")
+ #have_library('svm', "main")
+-$CFLAGS = "#{ENV['CFLAGS']} -Wall -O3 "
+-pkg_config 'libsvm'
++$CFLAGS = "#{ENV['CFLAGS']} -Wall -O3 -I/usr/include/libsvm-2.0/libsvm "
++$LDFLAGS = "#{ENV['LDFLAGS']} -lsvm "
+ if CONFIG["MAJOR"].to_i >= 1 && CONFIG["MINOR"].to_i >= 8
+   $CFLAGS << " -DHAVE_DEFINE_ALLOC_FUNCTION"
+ end

Added: trunk/libsvm-ruby/debian/patches/series
===================================================================
--- trunk/libsvm-ruby/debian/patches/series	                        (rev 0)
+++ trunk/libsvm-ruby/debian/patches/series	2009-12-15 18:54:10 UTC (rev 4468)
@@ -0,0 +1 @@
+no_pkgconfig.patch

Added: trunk/libsvm-ruby/debian/source/format
===================================================================
--- trunk/libsvm-ruby/debian/source/format	                        (rev 0)
+++ trunk/libsvm-ruby/debian/source/format	2009-12-15 18:54:10 UTC (rev 4468)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the Pkg-ruby-extras-commits mailing list