Code

NMU for octave- and qt-related bugs. pfstools-1.8.5-0.1
authorSébastien Villemot <sebastien.villemot@ens.fr>
Sun, 10 Jun 2012 10:28:07 +0000 (12:28 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 10 Jun 2012 10:38:54 +0000 (12:38 +0200)
NMU for pfstools which fixes #604368 (Qt3->Qt4 transition), #666959 (Octave
3.2->3.6 transition) and the Lintian error about obsolete dpatch. The NMU
relies on the new upstream release 1.8.5 (which fixes the Qt issue).

Thanks to Sébastien Villemot, Rafael Laboissiere, and Ana Guerrero for taking
care of that!

debian/changelog
debian/control
debian/octave-pfstools.install
debian/patches/00list [deleted file]
debian/patches/gcc-4.4.dpatch [deleted file]
debian/patches/octave-nargin.dpatch [changed mode: 0755->0644]
debian/patches/octave-signal.dpatch [changed mode: 0755->0644]
debian/patches/series [new file with mode: 0644]
debian/rules
debian/source/format [new file with mode: 0644]

index cec21dea9ab042c0e6c2eef8c1b4235a568259b9..9b8b1c62db86ca4ab34d866f91009b36ea5669ad 100644 (file)
@@ -1,3 +1,28 @@
+pfstools (1.8.5-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+
+  [ Sébastien Villemot ]
+  * New upstream release, build-depend on Qt4 instead of Qt3 (Closes: #604368)
+  * gcc-4.4.dpatch: remove patch, applied upstream
+  * Convert to format 3.0 (quilt) and drop dpatch, because otherwise Lintian
+    produces an error (dpatch is obsolete)
+
+  [ Rafael Laboissiere ]
+  * debian/control:
+    - Build-depend on liboctave-dev, such that the package builds with
+      Octave 3.6 (Closes: #666959)
+    - Depend simply on octave, do not use the obsolete ${octave:Depends}
+      substitution variable anymore
+  * debian/rules:
+    - Use directly the octave-config script in order to get the
+      installation path for the *.oct and *.m files
+    - Do not invoke the obsolete script octave-depends
+  * debian/octave-pfstools.install: Adjust for the multiarch path, which
+    contains the architecture triplet now
+
+ -- Sébastien Villemot <sebastien.villemot@ens.fr>  Sun, 03 Jun 2012 11:00:46 +0200
+
 pfstools (1.8.1-2) unstable; urgency=low
 
   [ Thomas Weber ]
index b641cca3e548311fa73bcaed42f47e0874b07aac..4398056f4ac8e5eb809ffbf31b50089042aa9a2a 100644 (file)
@@ -3,7 +3,7 @@ Section: graphics
 Priority: optional
 Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.debian.org>
 Uploaders: Sebastian Harl <tokkee@debian.org>
-Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), dpatch, gfortran, autotools-dev, libqt3-mt-dev, libmagick++-dev | libmagick++9-dev, libtiff4-dev, libopenexr-dev, libnetpbm10-dev, octave3.2-headers, texlive-latex-base, freeglut3-dev
+Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), gfortran, autotools-dev, libqt4-dev, libmagick++-dev | libmagick++9-dev, libtiff4-dev, libopenexr-dev, libnetpbm10-dev, liboctave-dev, texlive-latex-base, freeglut3-dev
 Standards-Version: 3.8.4
 Homepage: http://pfstools.sourceforge.net/
 Vcs-Git: git://git.debian.org/git/pkg-phototools/pfstools.git
@@ -12,7 +12,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-phototools/pfstools.git
 Package: pfstools
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: pfsglview | pfsview, pfstmo, octave3.2, octave-signal, octave-pfstools
+Recommends: pfsglview | pfsview, pfstmo, octave, octave-signal, octave-pfstools
 Suggests: dcraw, exrtools, imagemagick
 Description: command line HDR manipulation programs
  pfstools is a set of command line (and two GUI) programs for reading,
@@ -90,7 +90,7 @@ Description: C++ library to read and write pfs files
 Package: octave-pfstools
 Section: math
 Architecture: any
-Depends: ${octave:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: octave, ${shlibs:Depends}, ${misc:Depends}
 Description: octave bindings for pfstools
  PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate
  existing file formats by providing a simple data format that can be used to
index ff9de68f9a3de11d2b3e6b95d24a2898f1311151..153a7c88538a42371ccf623c4242786a00daeee2 100644 (file)
@@ -1,3 +1,3 @@
-usr/lib/octave/*
+usr/lib/*/octave/*
 usr/share/octave/*
 
diff --git a/debian/patches/00list b/debian/patches/00list
deleted file mode 100644 (file)
index a1ac012..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-octave-nargin.dpatch
-octave-signal.dpatch
-gcc-4.4.dpatch
diff --git a/debian/patches/gcc-4.4.dpatch b/debian/patches/gcc-4.4.dpatch
deleted file mode 100644 (file)
index e84dce1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## gcc-4.4.dpatch by Fabrice Coutadeur <fabricesp@ubuntu.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix compilation error with GCC 4.4. Fix get from http://sourceforge.net/tracker/index.php?func=detail&aid=2848391&group_id=129921&atid=716245
-## DP: Rationale (by zack@debian.org): the "name" argument is in fact *not* used as "const"
-## DP: Closes: #554494
-
-@DPATCH@
-diff -urNad pfstools-1.8.1~/src/filter/pfspanoramic.cpp pfstools-1.8.1/src/filter/pfspanoramic.cpp
---- pfstools-1.8.1~/src/filter/pfspanoramic.cpp        2008-07-29 16:14:30.000000000 +0000
-+++ pfstools-1.8.1/src/filter/pfspanoramic.cpp 2009-09-10 20:11:29.000000000 +0000
-@@ -191,7 +191,7 @@
-       singleton.projections[ string( name ) ] = ptr;
-     }
--    static Projection *getProjection(const char *name)
-+    static Projection *getProjection(char *name)
-     {
-       char *opts;
-       
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..d5b9a75
--- /dev/null
@@ -0,0 +1,2 @@
+octave-nargin.dpatch
+octave-signal.dpatch
index 8ad66f20ec7a9719bc23e26c40aa275110e72bde..f6fde13f7a278b7fe6dd89bb6daf5da6e93e63a9 100755 (executable)
@@ -19,14 +19,13 @@ else
        CXXFLAGS += -O2
 endif
 
-include /usr/share/octave/debian/defs.make
-include /usr/share/dpatch/dpatch.make
+MDIR = $(shell octave-config  --print LOCALFCNFILEDIR)
+OCTDIR = $(shell octave-config  --print LOCALOCTFILEDIR)
 
 confflags = --host=$(DEB_HOST_GNU_TYPE) \
                        --build=$(DEB_BUILD_GNU_TYPE) \
                        --prefix=/usr \
                        --mandir=\$${prefix}/share/man \
-                       --with-moc=moc-qt3 \
                        --with-octave-m-dir=$(MDIR)/pfstools \
                        --with-octave-oct-dir=$(OCTDIR)/pfstools
 
@@ -36,7 +35,7 @@ confflags += --disable-matlab
 # These libraries are not available / unusable in Debian.
 confflags += --disable-jpeghdr --disable-gdal
 
-config.status: configure $(DPATCH_STAMPFN)
+config.status: configure
        dh_testdir
        
        for file in config.guess config.sub; do \
@@ -57,7 +56,7 @@ build-stamp: config.status
        
        touch build-stamp
 
-clean: unpatch
+clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp
@@ -114,7 +113,6 @@ binary-arch: build install
        dh_makeshlibs
        dh_installdeb
        dh_shlibdeps -Llibpfs-1.2-0 -ldebian/libpfs-1.2-0/usr/lib/
-       octave3.2-depends -poctave-pfstools
        dh_gencontrol
        dh_md5sums
        dh_builddeb
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)