Bug#890087: psychtoolbox-3: Build-depend on dh-octave instead of octave-pkg-dev

2018-03-25 Thread Rafael Laboissière

Control: severity -1 important

* Rafael Laboissière  [2018-02-11 00:55]:


Source: psychtoolbox-3
Version: 3.0.14.20170103+git6-g605ff5c.dfsg1-1
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 psychtoolbox-3 source package, accordingly.


I am hereby changing the severity of this bug report to "important", 
since I plan to request the removal of the octave-pkg-dev from testing 
and unstable very soon.


If nobody objects, I will upload to unstable version 
3.0.14.20170103+git6-g605ff5c.dfsg1-1.1 with the fix that I proposed in 
the patch.


Rafael Laboissière



Bug#890087: psychtoolbox-3: Build-depend on dh-octave instead of octave-pkg-dev

2018-02-10 Thread Rafael Laboissière

Source: psychtoolbox-3
Version: 3.0.14.20170103+git6-g605ff5c.dfsg1-1
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 psychtoolbox-3 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 psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/changelog 
psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/changelog
--- psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/changelog 
2017-01-04 19:35:51.0 -0200
+++ psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/changelog 
2018-02-10 21:09:09.0 -0200
@@ -1,3 +1,9 @@
+psychtoolbox-3 (3.0.14.20170103+git6-g605ff5c.dfsg1-1.1) unstable; 
urgency=medium
+
+  * Build-depend on dh-octave instead of octave-pkg-dev
+
+ -- Rafael Laboissiere   Sat, 10 Feb 2018 21:09:09 -0200
+
 psychtoolbox-3 (3.0.14.20170103+git6-g605ff5c.dfsg1-1) unstable; urgency=medium
 
   * Fresh upstream release + few post release fixes snapshot
diff -Nru psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/control 
psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/control
--- psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/control   
2017-01-04 19:35:51.0 -0200
+++ psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/control   
2018-02-10 21:09:09.0 -0200
@@ -6,7 +6,7 @@
 Build-Depends: debhelper (>= 7.0.50~), rsync, quilt,
lsb-base (>= 4.1+Debian8~),
matlab-support-dev,
-   octave-pkg-dev (>= 0.5.7),
+   dh-octave,
gfortran,
libpciaccess-dev,
libxml2-dev,
diff -Nru psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/rules 
psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/rules
--- psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/rules 
2017-01-04 19:35:51.0 -0200
+++ psychtoolbox-3-3.0.14.20170103+git6-g605ff5c.dfsg1/debian/rules 
2018-02-10 21:09:09.0 -0200
@@ -180,9 +180,7 @@
 override_dh_makeshlibs:
dh_makeshlibs
: # Provide Octave:Depends
-   [ -e /usr/bin/octave-depends ] \
-   && octave-depends \
-   || echo 'octave:Depends=octave (>= 3.4.3-1~)' >> 
debian/octave-psychtoolbox-3.substvars
+   dh_octave_substvar -poctave-psychtoolbox-3
 
 #override_dh_fixperms:
 #  dh_fixperms