Package: libsvm Severity: wishlist Tags: patch Hi,
The dpatch patch management system has been deprecated for some time. The Lintian currently flags use of dpatch packages as an error. The new 3.0 packaging format is an improved version which, among other things, contains patch management built-in. For more information, see: http://wiki.debian.org/Projects/DebSrc3.0 I had some free time; see attached patch to migrate to new package format. Note that all files in debian/patches/* are canocalized to *.patch. Let me know if there is anything that needs adjusting or if it is ok to upload this version in a NMU in case you are working on other issues needing attention. Thanks, Jari
>From abdc32e79adbc023060ecf52a927c5625ef20f16 Mon Sep 17 00:00:00 2001 From: Jari Aalto <jari.aa...@cante.net> Date: Fri, 6 Apr 2012 18:43:17 +0300 Subject: [PATCH] format-3.0 Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto <jari.aa...@cante.net> --- debian/changelog | 13 +++++++++++++ debian/compat | 2 +- debian/control | 17 ++++++++--------- debian/rules | 5 ++++- debian/source/format | 1 + 5 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog index ab5dbcb..f3706f3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +libsvm (3.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove patchsys-quilt.mk and upgrade to packaging format "3.0 quilt" + * Update to Standards-Version to 3.9.3.1 and debhelper to 9, + change obsolete depends on default-jdk-builddep to default-jdk. + * Add build-arch and build-indep targets; use dh_prep in rules file. + * Fix description-synopsis-starts-with-article (Lintian). + * Fix capitalization-error-in-description Python (Lintian). + * Fix needless-dependency-on-jre (Lintian). + + -- Jari Aalto <jari.aa...@cante.net> Fri, 06 Apr 2012 18:35:30 +0300 + libsvm (3.1-1) unstable; urgency=low * New upstream release. diff --git a/debian/compat b/debian/compat index 7ed6ff8..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +9 diff --git a/debian/control b/debian/control index 4527674..cfccaa3 100644 --- a/debian/control +++ b/debian/control @@ -4,8 +4,8 @@ Priority: optional Maintainer: Chen-Tse Tsai <ctse.t...@gmail.com> XS-Python-Version: all DM-Upload-Allowed: yes -Build-Depends: debhelper (>= 5.0.0), autotools-dev, libtool, cdbs, python-all-dev (>= 2.3.5-7), python-support (>= 0.90), default-jdk-builddep -Standards-Version: 3.9.2.0 +Build-Depends: debhelper (>= 9), autotools-dev, libtool, cdbs, python-all-dev (>= 2.3.5-7), python-support (>= 0.90), default-jdk +Standards-Version: 3.9.3.1 Homepage: http://www.csie.ntu.edu.tw/~cjlin/libsvm/ Package: libsvm3 @@ -22,7 +22,7 @@ Description: library implementing support vector machines Package: libsvm-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, gnuplot -Description: The LIBSVM binary tools +Description: LIBSVM binary tools LIBSVM is an easy-to-use package for support vector classification, regression and one-class SVM. It supports multi-class classification, probability outputs, and parameter selection. @@ -32,7 +32,7 @@ Package: libsvm-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends}, libsvm3 (=${binary:Version}) -Description: The LIBSVM header files +Description: LIBSVM header files These are the header files for LIBSVM, a machine-learning library. Package: python-libsvm @@ -41,14 +41,14 @@ Section: python Depends: libsvm3(=${binary:Version}), ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} Provides: ${python:Provides} Description: Python interface for support vector machine library - Python interface for the LIBSVM library using ctypes. This new python interface - is provided since 2.91, and it is incompatible with the old one. - + Python interface for the LIBSVM library using ctypes. This new Python + interface is provided since 2.91, and it is incompatible with the old + one. Package: libsvm3-java Architecture: all Section: java -Depends: gij | java-gcj-compat | java1-runtime | java2-runtime, ${misc:Depends} +Depends: ${misc:Depends} Conflicts: libsvm2-java (<= 2.91-2) Suggests: java-virtual-machine Description: Java API to support vector machine library @@ -66,4 +66,3 @@ Description: Java API to support vector machine library functionality. . This package solely provides a symbolic link from svm.jar svm3.jar. - diff --git a/debian/rules b/debian/rules index 950bb4e..581dffd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,6 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk -#include /usr/share/cdbs/1/rules/patchsys-quilt.mk #include /usr/share/cdbs/1/class/makefile.mk #include /usr/share/python/python.mk @@ -28,6 +27,10 @@ CXX ?= g++ CFLAGS = -Wall -Wconversion -O3 LIBFLAGS = -fPIC + +build-arch: build +build-indep: build + build: svm-train svm-predict svm-scale $(LIBFILE) .javastuff chname .javastuff: diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- 1.7.9.1