Ubuntu Pastebin

Paste from a at Thu, 15 Oct 2015 13:18:45 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: by default use octave-cli rather than octave
 'octave' can randomly decide to load its GUI rather than the CLI depending
 on environmental factors. We cannot stdin control the GUI, so there is no
 point in introducing this instability but instead call octave-cli directly
 since it is the only possibly operation mode we support.

 (NB there also is a --no-gui switch which for me doesn't appear to work for
  some reason, so octave-cli directly seems the most reliable approach to
  this)
Author: Harald Sitter <sitter@kde.org>
Origin: vendor
Forwarded: https://git.reviewboard.kde.org/r/125646/
Reviewed-by: <name and email of a reviewer, optional>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/src/backends/octave/octavebackend.kcfg b/src/backends/octave/octavebackend.kcfg
index 56ba6ce..16c9dc7 100644
--- a/src/backends/octave/octavebackend.kcfg
+++ b/src/backends/octave/octavebackend.kcfg
@@ -8,7 +8,7 @@
   <group name="OctaveBackend">
     <entry name="Path" type="Url">
       <label>Path to the Octave executable</label>
-      <default code="true">QUrl::fromLocalFile(KStandardDirs::findExe( QLatin1String("octave") ))</default>
+      <default code="true">QUrl::fromLocalFile(KStandardDirs::findExe( QLatin1String("octave-cli") ))</default>
     </entry>
     <entry name="integratePlots" type="Bool">
       <label>Integrate Plots into the Worksheet</label>
-- 
2.1.4
Download as text