[Pkg-octave-commit] [octave-parallel] 01/01: d/p/info-path.patch : New patch
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Sat May 7 15:18:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository octave-parallel.
commit d3af484cd3f5b59dd8a91ab0af77be38a070a811
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Sat May 7 08:24:45 2016 -0300
d/p/info-path.patch : New patch
---
debian/patches/info-path.patch | 34 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 35 insertions(+)
diff --git a/debian/patches/info-path.patch b/debian/patches/info-path.patch
new file mode 100644
index 0000000..f4034b6
--- /dev/null
+++ b/debian/patches/info-path.patch
@@ -0,0 +1,34 @@
+Description: Use the correct path for the info file
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Forwarded: not-needed
+Last-Update: 2016-05-07
+
+--- octave-parallel-3.1.0.orig/inst/parallel_doc.m
++++ octave-parallel-3.1.0/inst/parallel_doc.m
+@@ -34,25 +34,7 @@ function parallel_doc (keyword)
+ ## locate installed documentation
+ persistent infopath = "";
+ if (isempty (infopath))
+- [local_list, global_list] = pkg ("list");
+- if (! isempty (idx = ...
+- find (strcmp ("parallel",
+- {structcat(1, local_list{:}).name}),
+- 1)))
+- idir = local_list{idx}.dir;
+- elseif (! isempty (idx = ...
+- find (strcmp ("parallel",
+- {structcat(1, global_list{:}).name}),
+- 1)))
+- idir = global_list{idx}.dir;
+- else
+- error ("no installed parallel package found");
+- endif
+- infopath = fullfile (idir, "doc/", "parallel.info");
+- ## allow for .gz
+- if (! exist (infopath, "file"))
+- infopath = strcat (infopath, ".gz");
+- endif
++ infopath = "/usr/share/info/parallel.info.gz";
+ endif
+
+ ## display info
diff --git a/debian/patches/series b/debian/patches/series
index 0ca2f17..2ee73a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
documentation-typos.patch
info-dircategory-and-direntry.patch
+info-path.patch
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-parallel.git
More information about the Pkg-octave-commit
mailing list