Hello community,

here is the log from the commit of package cantor for openSUSE:Factory checked 
in at 2016-07-24 19:44:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cantor (Old)
 and      /work/SRC/openSUSE:Factory/.cantor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cantor"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cantor/cantor.changes    2016-06-25 
01:57:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cantor.new/cantor.changes       2016-07-24 
19:44:16.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Jul  7 23:19:36 UTC 2016 - tittiatc...@gmail.com
+
+- Update to KDE Applications 16.04.3
+   * KDE Applications 16.04.3
+   * https://www.kde.org/announcements/announce-applications-16.04.3.php
+
+
+-------------------------------------------------------------------

Old:
----
  cantor-16.04.2.tar.xz

New:
----
  cantor-16.04.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cantor.spec ++++++
--- /var/tmp/diff_new_pack.vR75H6/_old  2016-07-24 19:44:17.000000000 +0200
+++ /var/tmp/diff_new_pack.vR75H6/_new  2016-07-24 19:44:17.000000000 +0200
@@ -19,7 +19,7 @@
 %global libMAJOR 6
 
 Name:           cantor
-Version:        16.04.2
+Version:        16.04.3
 Release:        0
 Summary:        Worksheet GUI for mathematical software
 License:        GPL-2.0+

++++++ cantor-16.04.2.tar.xz -> cantor-16.04.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cantor-16.04.2/CMakeLists.txt 
new/cantor-16.04.3/CMakeLists.txt
--- old/cantor-16.04.2/CMakeLists.txt   2016-06-09 15:03:26.000000000 +0200
+++ new/cantor-16.04.3/CMakeLists.txt   2016-07-03 02:10:43.000000000 +0200
@@ -7,7 +7,7 @@
 # KDE Application Version, managed by release script
 set (KDE_APPLICATIONS_VERSION_MAJOR "16")
 set (KDE_APPLICATIONS_VERSION_MINOR "04")
-set (KDE_APPLICATIONS_VERSION_MICRO "2")
+set (KDE_APPLICATIONS_VERSION_MICRO "3")
 set (KDE_APPLICATIONS_VERSION 
"${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cantor-16.04.2/src/backends/sage/sageexpression.cpp 
new/cantor-16.04.3/src/backends/sage/sageexpression.cpp
--- old/cantor-16.04.2/src/backends/sage/sageexpression.cpp     2016-06-09 
15:03:26.000000000 +0200
+++ new/cantor-16.04.3/src/backends/sage/sageexpression.cpp     2016-07-03 
02:10:43.000000000 +0200
@@ -243,8 +243,27 @@
 
 QString SageExpression::additionalLatexHeaders()
 {
-    //The LaTeX sage provides needs the amsmath package. So include it in the 
header
-    return QLatin1String("\\usepackage{amsmath}\n");
+    //The LaTeX sage needs the amsmath package and some specific macros.
+    //So include them in the header.
+    //More about the macros requirement in bug #312738
+    return QLatin1String("\\usepackage{amsmath}\n"                   \
+                         "\\newcommand{\\ZZ}{\\Bold{Z}}\n"           \
+                         "\\newcommand{\\NN}{\\Bold{N}}\n"           \
+                         "\\newcommand{\\RR}{\\Bold{R}}\n"           \
+                         "\\newcommand{\\CC}{\\Bold{C}}\n"           \
+                         "\\newcommand{\\QQ}{\\Bold{Q}}\n"           \
+                         "\\newcommand{\\QQbar}{\\overline{\\QQ}}\n" \
+                         "\\newcommand{\\GF}[1]{\\Bold{F}_{#1}}\n"   \
+                         "\\newcommand{\\Zp}[1]{\\ZZ_{#1}}\n"        \
+                         "\\newcommand{\\Qp}[1]{\\QQ_{#1}}\n"        \
+                         "\\newcommand{\\Zmod}[1]{\\ZZ/#1\\ZZ}\n"    \
+                         "\\newcommand{\\CDF}{\\Bold{C}}\n"          \
+                         "\\newcommand{\\CIF}{\\Bold{C}}\n"          \
+                         "\\newcommand{\\CLF}{\\Bold{C}}\n"          \
+                         "\\newcommand{\\RDF}{\\Bold{R}}\n"          \
+                         "\\newcommand{\\RIF}{\\Bold{I} \\Bold{R}}\n"\
+                         "\\newcommand{\\RLF}{\\Bold{R}}\n"          \
+                         "\\newcommand{\\CFF}{\\Bold{CFF}}\n");
 }
 
 #include "sageexpression.moc"


Reply via email to