Source: libgdf
Version: 0.1.2-2
Severity: normal
Tags: patch
The octave-pkg-dev has been superseded by dh-octave and will be soon
deprecated. Please, find attached to this bug report a patch for
updating the libgdf source package, accordingly.
Rafael Laboissière
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (550, 'experimental'), (550, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libgdf-0.1.2/debian/changelog libgdf-0.1.2/debian/changelog
--- libgdf-0.1.2/debian/changelog 2012-05-10 10:36:14.000000000 -0300
+++ libgdf-0.1.2/debian/changelog 2018-02-10 20:04:09.000000000 -0200
@@ -1,3 +1,9 @@
+libgdf (0.1.2-2.1) unstable; urgency=medium
+
+ * Build-depend on dh-octave instead of octave-pkg-dev
+
+ -- Rafael Laboissiere <raf...@debian.org> Sat, 10 Feb 2018 20:04:09 -0200
+
libgdf (0.1.2-2) unstable; urgency=medium
[ Yaroslav Halchenko ]
diff -Nru libgdf-0.1.2/debian/control libgdf-0.1.2/debian/control
--- libgdf-0.1.2/debian/control 2012-05-10 10:36:14.000000000 -0300
+++ libgdf-0.1.2/debian/control 2018-02-10 19:57:21.000000000 -0200
@@ -4,7 +4,7 @@
Uploaders: Yaroslav Halchenko <deb...@onerussian.com>, Michael Hanke
<michael.ha...@gmail.com>
Build-Depends: debhelper (>= 7.0.50~), cmake (>= 2.8), help2man,
libboost-dev (>> 1.34.2~), libboost-filesystem-dev,
libboost-program-options-dev, libboost-date-time-dev,
- octave-pkg-dev (>= 0.5.7)
+ dh-octave
Standards-Version: 3.9.2
Section: libs
Homepage: http://sourceforge.net/projects/libgdf
diff -Nru libgdf-0.1.2/debian/rules libgdf-0.1.2/debian/rules
--- libgdf-0.1.2/debian/rules 2012-05-10 10:36:14.000000000 -0300
+++ libgdf-0.1.2/debian/rules 2018-02-10 19:59:09.000000000 -0200
@@ -19,7 +19,7 @@
-DBUILD_TESTING:BOOL=ON
# get octave paths (have to build-depend on liboctave-dev)
-# which is dependent upon by octave-pkg-dev
+# which is dependent upon by dh-octave
OCTDIR=$(shell octave-config --print LOCALOCTFILEDIR)
%:
@@ -48,15 +48,11 @@
mkoctfile --mex $$f -I../libgdf/include -L$$(/bin/ls -d
$$PWD/../obj-*)/libgdf -lGDF; \
done
-
override_dh_auto_install:
dh_auto_install
: # Install Octave bindings
dh_install -poctave-gdf matlab/*.mex $(OCTDIR)/gdf
- [ -e /usr/bin/octave-depends ] \
- && octave-depends -poctave-gdf \
- || echo 'octave:Depends=octave (>= 3.4.3-1~)' >>
debian/octave-gdf.substvars
-
+ dh_octave_substvar -poctave-gdf \
override_dh_strip:
dh_strip --dbg-package=libgdf0-dbg
@@ -65,5 +61,3 @@
dh_clean
rm -f gdf_merger.1
-cd matlab; rm *.mex *.o
-
-