[qtoctave] * Thu Oct 6 2011 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.10.1-7 - fix Octave help not working (#7

Kevin Kofler kkofler at fedoraproject.org
Thu Oct 6 23:10:52 UTC 2011


commit 79ffb48eaa76f8046d94f0d070b6b49eeb04a8b2
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date:   Fri Oct 7 01:10:31 2011 +0200

    * Thu Oct  6 2011 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.10.1-7
    - fix Octave help not working (#737297)

 qtoctave-0.10.1-qtinfo.patch |   10 ++++++++++
 qtoctave.spec                |    9 ++++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/qtoctave-0.10.1-qtinfo.patch b/qtoctave-0.10.1-qtinfo.patch
new file mode 100644
index 0000000..9cbe89a
--- /dev/null
+++ b/qtoctave-0.10.1-qtinfo.patch
@@ -0,0 +1,10 @@
+diff -ur qtoctave-0.10.1/qtoctave/src/scripts_octave/qtinfo.m qtoctave-0.10.1-qtinfo/qtoctave/src/scripts_octave/qtinfo.m
+--- qtoctave-0.10.1/qtoctave/src/scripts_octave/qtinfo.m	2011-01-06 22:48:08.000000000 +0100
++++ qtoctave-0.10.1-qtinfo/qtoctave/src/scripts_octave/qtinfo.m	2011-10-07 00:48:33.000000000 +0200
+@@ -1,5 +1,5 @@
+ function qtinfo()
+ 	command=sprintf("qtoctave-info-reader %s > /dev/null", info_file);
+ 	printf("Starting info: %s\n", command);
+-	system(command, 1, "async");
++	system(command, 0, "async");
+ endfunction
diff --git a/qtoctave.spec b/qtoctave.spec
index 805bd5b..0eb096c 100644
--- a/qtoctave.spec
+++ b/qtoctave.spec
@@ -1,6 +1,6 @@
 Name:           qtoctave
 Version:        0.10.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Frontend for Octave
 
 Group:          Applications/Engineering
@@ -25,6 +25,9 @@ Patch1:         qtoctave-0.10.1-filedialog-filters.patch
 # closing the tool and the timer setting the initial positions, prevented by
 # using a QWeakPointer<QWidget> instead of a raw QWidget *)
 Patch2:         qtoctave-0.10.1-initialposition.patch
+# fix Octave help not working (#737297)
+# (system(command, 1, "async"); is nonsense, use system(command, 0, "async");)
+Patch3:         qtoctave-0.10.1-qtinfo.patch
 
 %description
 QtOctave is a frontend for Octave based on Qt4.
@@ -34,6 +37,7 @@ QtOctave is a frontend for Octave based on Qt4.
 %patch0 -p1 -b .doc-path
 %patch1 -p1 -b .filedialog-filters
 %patch2 -p1 -b .initialposition
+%patch3 -p1 -b .qtinfo
 
 sed -i 's|"lrelease"|"lrelease-qt4"|g' qtoctave/src/CMakeLists.txt
 
@@ -94,6 +98,9 @@ fi
 %exclude %{_datadir}/doc/octave-html
 
 %changelog
+* Thu Oct  6 2011 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.10.1-7
+- fix Octave help not working (#737297)
+
 * Thu Oct  6 2011 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.10.1-6
 - fix crash when closing a dock tool within the first 5 seconds (#722986)
 


More information about the scm-commits mailing list