[SCM] cantor packaging branch, master, updated. debian/4.11.3-1-7-g048f022

Maximiliano Curia maxy at moszumanska.debian.org
Fri Jan 31 10:55:25 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/cantor.git;a=commitdiff;h=c54f1c1

The following commit has been merged in the master branch:
commit c54f1c1f61ca9faf60631fabdb316fd32e861523
Author: Maximiliano Curia <maxy at debian.org>
Date:   Thu Jan 30 17:41:48 2014 +0100

    New patch: maxima_backend_ps_file
---
 debian/changelog                      |  1 +
 debian/patches/maxima_backend_ps_file | 22 ++++++++++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c01e72a..3156387 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ cantor (4:4.11.3-2) UNRELEASED; urgency=low
   * Drop kalgebra dependency, thanks to Rohan Garg. (Closes: #729496)
   * Enable build failures on missing symbols.
   * Add autopkgtest.
+  * New patch: maxima_backend_ps_file
 
  -- Maximiliano Curia <maxy at debian.org>  Wed, 13 Nov 2013 19:49:08 +0100
 
diff --git a/debian/patches/maxima_backend_ps_file b/debian/patches/maxima_backend_ps_file
new file mode 100644
index 0000000..42e53fa
--- /dev/null
+++ b/debian/patches/maxima_backend_ps_file
@@ -0,0 +1,22 @@
+Index: cantor/src/backends/maxima/maximaexpression.cpp
+===================================================================
+--- cantor.orig/src/backends/maxima/maximaexpression.cpp	2014-01-30 15:27:56.309485431 +0100
++++ cantor/src/backends/maxima/maximaexpression.cpp	2014-01-30 17:40:42.097674621 +0100
+@@ -68,7 +68,7 @@
+     if(command().startsWith('?')||command().startsWith(QLatin1String("describe("))||command().startsWith(QLatin1String("example(")))
+         m_isHelpRequest=true;
+ 
+-    if(command().contains(QRegExp("(?:plot2d|plot3d)\s*\([^\)]")) && MaximaSettings::self()->integratePlots() && !command().contains("psfile"))
++    if(command().contains(QRegExp("(?:plot2d|plot3d)\s*\([^\)]")) && MaximaSettings::self()->integratePlots() && !command().contains("ps_file"))
+     {
+         m_isPlot=true;
+         m_tempFile=new KTemporaryFile();
+@@ -160,7 +160,7 @@
+ 
+ #ifdef WITH_EPS
+         const QString psParam="[gnuplot_ps_term_command, \"set size 1.0,  1.0; set term postscript eps color solid \"]";
+-        const QString plotParameters = "[psfile, \""+ fileName+"\"],"+psParam;
++        const QString plotParameters = "[ps_file, \""+ fileName+"\"],"+psParam;
+ #else
+         const QString plotParameters = "[gnuplot_term, \"png size 500,340\"], [gnuplot_out_file, \""+fileName+"\"]";
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 0fe063c..b694a38 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 no_install_rpath_use_link_path.diff
+maxima_backend_ps_file

-- 
cantor packaging



More information about the pkg-kde-commits mailing list