Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kstars for openSUSE:Factory checked 
in at 2023-06-16 16:55:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kstars (Old)
 and      /work/SRC/openSUSE:Factory/.kstars.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kstars"

Fri Jun 16 16:55:38 2023 rev:135 rq:1093468 version:3.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/kstars/kstars.changes    2023-04-20 
15:15:56.486459266 +0200
+++ /work/SRC/openSUSE:Factory/.kstars.new.15902/kstars.changes 2023-06-16 
16:56:41.546361640 +0200
@@ -1,0 +2,15 @@
+Sun Jun  4 12:06:15 UTC 2023 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Update to 3.6.5:
+  * Sky Map Rotation
+  * NEW Optimal Sub-Exposure Calculator
+  * Rotator Dialog Improvments
+  * Linear 1 Pass Focus improvements including FWHM & Fourier Power focusing
+  * Focus Aberration Inspector
+  * Daily Supernovae updates
+  * Multiple fixes
+- Add fix-list.patch
+- Add fix-status.patch 
+- Use GCC11 on Leap, otherwise compilation will fail.
+
+-------------------------------------------------------------------

Old:
----
  kstars-3.6.4.tar.xz
  kstars-3.6.4.tar.xz.sig

New:
----
  fix-list.patch
  fix-status.patch
  kstars-3.6.5.tar.xz
  kstars-3.6.5.tar.xz.sig

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

Other differences:
------------------
++++++ kstars.spec ++++++
--- /var/tmp/diff_new_pack.RQ1lfb/_old  2023-06-16 16:56:43.326372140 +0200
+++ /var/tmp/diff_new_pack.RQ1lfb/_new  2023-06-16 16:56:43.330372164 +0200
@@ -20,7 +20,7 @@
 %global __requires_exclude qmlimport\\((KStarsLiteEnums|TelescopeLiteEnums).*
 %bcond_without released
 Name:           kstars
-Version:        3.6.4
+Version:        3.6.5
 Release:        0
 Summary:        Desktop Planetarium
 # Note for legal: the Apache licensed files in the tarball are for the
@@ -35,6 +35,15 @@
 Source1:        
https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz.sig
 Source2:        %{name}.keyring
 %endif
+# PATCH-FIX-UPSTREAM 
https://invent.kde.org/education/kstars/-/commit/0626a7914042a84cd299e9d584f879605c5918dc
+Patch0:         fix-status.patch
+# PATCH-FIX-UPSTREAM 
https://invent.kde.org/education/kstars/-/commit/06eea8e05690f8ac8efa0b7a64c7bf5687127c0b
+Patch1:         fix-list.patch
+%if 0%{?suse_version} < 1590
+BuildRequires:  gcc11-c++
+%else
+BuildRequires:  gcc-c++
+%endif
 BuildRequires:  Mesa-devel
 BuildRequires:  extra-cmake-modules
 BuildRequires:  fdupes
@@ -99,6 +108,10 @@
 %ifarch ppc ppc64
 export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
 %endif
+%if 0%{?suse_version} < 1590
+export CC=gcc-11
+export CXX=g++-11
+%endif
 %cmake_kf5 -d build
 %cmake_build
 

++++++ fix-list.patch ++++++
>From 06eea8e05690f8ac8efa0b7a64c7bf5687127c0b Mon Sep 17 00:00:00 2001
From: Jasem Mutlaq <mutla...@ikarustech.com>
Date: Thu, 1 Jun 2023 17:38:25 +0300
Subject: [PATCH] Must clear list to prevent crash

---
 kstars/auxiliary/ksuserdb.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kstars/auxiliary/ksuserdb.cpp b/kstars/auxiliary/ksuserdb.cpp
index b033160fb1..7f53ce3a6e 100644
--- a/kstars/auxiliary/ksuserdb.cpp
+++ b/kstars/auxiliary/ksuserdb.cpp
@@ -1545,6 +1545,7 @@ bool KSUserDB::GetAllScopes(QList<Scope *> &scope_list)
     }
 
     qDeleteAll(scope_list);
+    scope_list.clear();
 
     QSqlTableModel equip(nullptr, db);
     equip.setTable("telescope");
@@ -1744,6 +1745,7 @@ bool KSUserDB::GetAllLenses(QList<OAL::Lens *> &lens_list)
     }
 
     qDeleteAll(lens_list);
+    lens_list.clear();
 
     QSqlTableModel equip(nullptr, db);
     equip.setTable("lens");
@@ -2192,6 +2194,7 @@ bool 
KSUserDB::GetAllHorizons(QList<ArtificialHorizonEntity *> &horizonList)
     }
 
     qDeleteAll(horizonList);
+    horizonList.clear();
     QSqlTableModel regions(nullptr, db);
     regions.setTable("horizons");
     regions.select();
-- 
GitLab


++++++ fix-status.patch ++++++
>From 0626a7914042a84cd299e9d584f879605c5918dc Mon Sep 17 00:00:00 2001
From: Jasem Mutlaq <mutla...@ikarustech.com>
Date: Fri, 2 Jun 2023 15:25:07 +0300
Subject: [PATCH] Only emit status change if state actually changed

---
 kstars/ekos/capture/capturemodulestate.cpp | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/kstars/ekos/capture/capturemodulestate.cpp 
b/kstars/ekos/capture/capturemodulestate.cpp
index 468fb2af70..9b8002d6b7 100644
--- a/kstars/ekos/capture/capturemodulestate.cpp
+++ b/kstars/ekos/capture/capturemodulestate.cpp
@@ -37,9 +37,13 @@ void CaptureModuleState::setCaptureState(CaptureState value)
             break;
     }
 
-    m_CaptureState = value;
-    getMeridianFlipState()->setCaptureState(m_CaptureState);
-    emit newStatus(m_CaptureState);
+    // Only emit status if it changed
+    if (m_CaptureState != value)
+    {
+        m_CaptureState = value;
+        getMeridianFlipState()->setCaptureState(m_CaptureState);
+        emit newStatus(m_CaptureState);
+    }
 }
 
 void CaptureModuleState::setGuideState(GuideState state)
-- 
GitLab


++++++ kstars-3.6.4.tar.xz -> kstars-3.6.5.tar.xz ++++++
/work/SRC/openSUSE:Factory/kstars/kstars-3.6.4.tar.xz 
/work/SRC/openSUSE:Factory/.kstars.new.15902/kstars-3.6.5.tar.xz differ: char 
27, line 1

Reply via email to