Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kstars for openSUSE:Factory checked 
in at 2022-02-09 22:04:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kstars (Old)
 and      /work/SRC/openSUSE:Factory/.kstars.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kstars"

Wed Feb  9 22:04:10 2022 rev:125 rq:953000 version:3.5.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/kstars/kstars.changes    2022-01-19 
00:35:46.590315374 +0100
+++ /work/SRC/openSUSE:Factory/.kstars.new.1898/kstars.changes  2022-02-09 
22:04:11.317610604 +0100
@@ -1,0 +2,7 @@
+Wed Feb  9 14:47:31 UTC 2022 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Add fix_flat.patch: when duration is set in the filename, Kstars
+  will not increase the counter and always replace the same image over and 
over.
+  This patch fixes this issue (invent.kde.org/education/kstars/-/issues/156)
+
+-------------------------------------------------------------------

New:
----
  fix_flat.patch

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

Other differences:
------------------
++++++ kstars.spec ++++++
--- /var/tmp/diff_new_pack.Vh1a2K/_old  2022-02-09 22:04:12.369612895 +0100
+++ /var/tmp/diff_new_pack.Vh1a2K/_new  2022-02-09 22:04:12.377612912 +0100
@@ -31,6 +31,8 @@
 Group:          Productivity/Scientific/Astronomy
 URL:            https://edu.kde.org/kstars/
 Source0:        
https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         fix_flat.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  extra-cmake-modules
 BuildRequires:  fdupes

++++++ fix_flat.patch ++++++
>From 0f5c633c5bab755eb76aa0f65244de5681233a56 Mon Sep 17 00:00:00 2001
From: Jasem Mutlaq <mutla...@ikarustech.com>
Date: Thu, 20 Jan 2022 11:11:41 +0000
Subject: [PATCH] Update sequence prefix for ADU-calculated flat frames since
 full prefix can...

Update sequence prefix for ADU-calculated flat frames since full prefix can 
change due to dynamic exposure calculated in the process
---
 kstars/ekos/capture/capture.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/kstars/ekos/capture/capture.cpp b/kstars/ekos/capture/capture.cpp
index 6405e7fec..bb4ddffb5 100644
--- a/kstars/ekos/capture/capture.cpp
+++ b/kstars/ekos/capture/capture.cpp
@@ -6694,6 +6694,14 @@ bool Capture::processPostCaptureCalibrationStage()
                     placeholderPath.processJobInfo(activeJob, 
activeJob->getCoreProperty(SequenceJob::SJ_TargetName).toString());
                     // Mark calibration as complete
                     calibrationStage = CAL_CALIBRATION_COMPLETE;
+
+                    // Must update sequence prefix as this step is only done 
in prepareJob
+                    // but since the duration has now been updated, we must 
take care to update signature
+                    // since it may include a placeholder for duration which 
would affect it.
+                    if (currentCCD->getUploadMode() != ISD::CCD::UPLOAD_LOCAL)
+                        
updateSequencePrefix(activeJob->getCoreProperty(SequenceJob::SJ_FullPrefix).toString(),
+                                             
QFileInfo(activeJob->getSignature()).path());
+
                     startNextExposure();
                     return false;
                 }
-- 
GitLab

Reply via email to