[sagemath] 01/02: Fix octave path for Debian
Ximin Luo
infinity0 at debian.org
Wed Aug 10 18:21:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository sagemath.
commit 41045db6cad3b6d41672d51ee1df6b73d9aee28b
Author: Ximin Luo <infinity0 at debian.org>
Date: Wed Aug 10 20:18:03 2016 +0200
Fix octave path for Debian
---
debian/patches/debian-octave.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/debian-octave.patch b/debian/patches/debian-octave.patch
new file mode 100644
index 0000000..4544b3c
--- /dev/null
+++ b/debian/patches/debian-octave.patch
@@ -0,0 +1,17 @@
+Description: Fix octave path for Debian
+ In Debian we want octave-cli; octave is the gui
+Author: Ximin Luo <infinity0 at debian.org>
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sage/src/sage/interfaces/octave.py
++++ b/sage/src/sage/interfaces/octave.py
+@@ -184,7 +184,7 @@
+ Expect.__init__(self,
+ name = 'octave',
+ prompt = '>',
+- command = "sage-native-execute octave --no-line-editing --silent",
++ command = "sage-native-execute octave-cli --no-line-editing --silent",
+ server = server,
+ server_tmpdir = server_tmpdir,
+ script_subdirectory = script_subdirectory,
diff --git a/debian/patches/series b/debian/patches/series
index 107c255..ea834c9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -30,6 +30,7 @@ debian-cysignals.patch
debian-arb.patch
debian-cython-sys-path.patch
debian-sage-env.patch
+debian-octave.patch
# temporary patches for whatever reason
# they will eventually be gotten rid of
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git
More information about the debian-science-commits
mailing list