Hello community, here is the log from the commit of package wxMaxima for openSUSE:Factory checked in at 2017-10-11 23:04:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wxMaxima (Old) and /work/SRC/openSUSE:Factory/.wxMaxima.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wxMaxima" Wed Oct 11 23:04:00 2017 rev:23 rq:533362 version:17.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/wxMaxima/wxMaxima.changes 2017-10-09 19:40:45.007285629 +0200 +++ /work/SRC/openSUSE:Factory/.wxMaxima.new/wxMaxima.changes 2017-10-11 23:04:01.473880398 +0200 @@ -1,0 +2,9 @@ +Wed Oct 11 08:42:43 UTC 2017 - [email protected] + +- Update wxMaxima-fix-tooltip-comparison.patch to fix a potential + crash introduced by its previous iteration; taken from upstream. +- Use rsvg-convert instead of inkscape to convert svg icons into + multi-sized png icons -- this significantly reduces the number + of build dependencies. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wxMaxima.spec ++++++ --- /var/tmp/diff_new_pack.EK2BWq/_old 2017-10-11 23:04:02.381840617 +0200 +++ /var/tmp/diff_new_pack.EK2BWq/_new 2017-10-11 23:04:02.389840267 +0200 @@ -34,8 +34,8 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme -BuildRequires: inkscape BuildRequires: maxima >= 5.30.0 +BuildRequires: rsvg-view BuildRequires: update-desktop-files BuildRequires: wxWidgets-devel >= 3 # gnuplot is needed for plotting @@ -71,7 +71,7 @@ # INSTALL HI-RES ICONS GENERATED OUT OF UPSTREAM SVG ICON for i in 24 32 48 64 128 256 512 do - inkscape -w ${i} data/wxmaxima.svg -e wxmaxima-${i}.png + rsvg-convert -w ${i} data/wxmaxima.svg -o wxmaxima-${i}.png install -D -m 0644 wxmaxima-${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/wxmaxima.png done install -D -m 0644 data/wxmaxima.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/wxmaxima.svg ++++++ wxMaxima-fix-tooltip-comparison.patch ++++++ --- /var/tmp/diff_new_pack.EK2BWq/_old 2017-10-11 23:04:02.417839040 +0200 +++ /var/tmp/diff_new_pack.EK2BWq/_new 2017-10-11 23:04:02.417839040 +0200 @@ -9,16 +9,31 @@ src/MathCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/MathCtrl.cpp b/src/MathCtrl.cpp -index 920cd633..dd9829ad 100644 ---- a/src/MathCtrl.cpp -+++ b/src/MathCtrl.cpp -@@ -202,7 +202,7 @@ void MathCtrl::RedrawIfRequested() +Index: wxmaxima-Version-17.10.0/src/MathCtrl.cpp +=================================================================== +--- wxmaxima-Version-17.10.0.orig/src/MathCtrl.cpp ++++ wxmaxima-Version-17.10.0/src/MathCtrl.cpp +@@ -202,13 +202,18 @@ void MathCtrl::RedrawIfRequested() if(toolTip != wxEmptyString) { - if(toolTip != GetToolTip()) -+ if(toolTip != GetToolTip()->GetTip()) ++ if(GetToolTip() != NULL) { - // Disabling and re-enabling tooltips resets the tooltip poput delay timer. - wxToolTip::Enable(false); +- // Disabling and re-enabling tooltips resets the tooltip poput delay timer. +- wxToolTip::Enable(false); +- wxToolTip::Enable(true); +- SetToolTip(toolTip); ++ if(toolTip != GetToolTip()->GetTip()) ++ { ++ // Disabling and re-enabling tooltips resets the tooltip poput delay timer. ++ wxToolTip::Enable(false); ++ wxToolTip::Enable(true); ++ SetToolTip(toolTip); ++ } + } ++ else ++ SetToolTip(toolTip); + } + else + UnsetToolTip();
