Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rofi-calc for openSUSE:Factory 
checked in at 2025-10-10 17:10:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rofi-calc (Old)
 and      /work/SRC/openSUSE:Factory/.rofi-calc.new.5300 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rofi-calc"

Fri Oct 10 17:10:07 2025 rev:21 rq:1310427 version:2.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rofi-calc/rofi-calc.changes      2025-06-30 
13:06:15.153324389 +0200
+++ /work/SRC/openSUSE:Factory/.rofi-calc.new.5300/rofi-calc.changes    
2025-10-10 17:11:32.162758960 +0200
@@ -1,0 +2,6 @@
+Fri Oct 10 05:07:35 UTC 2025 - Michael Vetter <[email protected]>
+
+- Update to 2.4.1:
+  * Fix segfault on exit #143
+
+-------------------------------------------------------------------

Old:
----
  v2.4.0.tar.gz

New:
----
  v2.4.1.tar.gz

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

Other differences:
------------------
++++++ rofi-calc.spec ++++++
--- /var/tmp/diff_new_pack.auBXYG/_old  2025-10-10 17:11:33.230803978 +0200
+++ /var/tmp/diff_new_pack.auBXYG/_new  2025-10-10 17:11:33.234804147 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rofi-calc
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           rofi-calc
-Version:        2.4.0
+Version:        2.4.1
 Release:        0
 Summary:        Calculator for rofi
 License:        MIT

++++++ v2.4.0.tar.gz -> v2.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rofi-calc-2.4.0/CHANGELOG.md 
new/rofi-calc-2.4.1/CHANGELOG.md
--- old/rofi-calc-2.4.0/CHANGELOG.md    2025-06-27 17:56:38.000000000 +0200
+++ new/rofi-calc-2.4.1/CHANGELOG.md    2025-10-03 17:18:38.000000000 +0200
@@ -5,8 +5,12 @@
 The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
+## [2.4.1] - 2025-10-03
+- Fix segfault on exit [#143](https://github.com/svenstaro/rofi-calc/pull/143)
+
 ## [2.4.0] - 2025-06-27
 - Add ability to configure via `config.rasi` 
[#138](https://github.com/svenstaro/rofi-calc/pull/138) (thanks @zspher)
+- Now requires at least rofi 1.7.6
 
 ## [2.3.3] - 2025-06-26
 - Fix quick switch not working 
[#139](https://github.com/svenstaro/rofi-calc/pull/139) (thanks @zspher)
@@ -45,7 +49,11 @@
 - Add `-no-unicode` option to disable aforementioned unicode support
 
 <!-- next-url -->
-[Unreleased]: https://github.com/svenstaro/rofi-calc/compare/v2.3.0...HEAD
+[Unreleased]: https://github.com/svenstaro/rofi-calc/compare/v2.4.0...HEAD
+[2.4.0]: https://github.com/svenstaro/rofi-calc/compare/v2.3.3...v2.4.0
+[2.3.3]: https://github.com/svenstaro/rofi-calc/compare/v2.3.2...v2.3.3
+[2.3.2]: https://github.com/svenstaro/rofi-calc/compare/v2.3.1...v2.3.2
+[2.3.1]: https://github.com/svenstaro/rofi-calc/compare/v2.3.0...v2.3.1
 [2.3.0]: https://github.com/svenstaro/rofi-calc/compare/v2.2.1...v2.3.0
 [2.2.1]: https://github.com/svenstaro/rofi-calc/compare/v2.2.0...v2.2.1
 [2.2.0]: https://github.com/svenstaro/rofi-calc/compare/v2.1.0...v2.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rofi-calc-2.4.0/README.md 
new/rofi-calc-2.4.1/README.md
--- old/rofi-calc-2.4.0/README.md       2025-06-27 17:56:38.000000000 +0200
+++ new/rofi-calc-2.4.1/README.md       2025-10-03 17:18:38.000000000 +0200
@@ -35,7 +35,7 @@
 
 ### From source
 
-You need a C compilation toolchain (a `cc`, `meson`, `pkg-config`, ...), 
`rofi` (version >= 1.5) as well as `qalculate` (version > 2.0).
+You need a C compilation toolchain (a `cc`, `meson`, `pkg-config`, ...), 
`rofi` (version >= 1.7.6) as well as `qalculate` (version > 2.0).
 
 You will also need development headers for `rofi`. Depending on your 
distribution these may be included in different packages:
 
@@ -49,7 +49,8 @@
 * VoidLinux: `xbps-install -S rofi-devel libqalculate meson libtool`
 * Others: look it up :)
 
-Some distributions ship an [extremely 
outdated](https://github.com/svenstaro/rofi-calc/issues/7) version of 
`qalculate` so you might have to compile your own. If that is the case, see 
[here](https://github.com/svenstaro/rofi-calc/wiki/Installing-libqalculate-from-source).
+Some distributions ship an [extremely 
outdated](https://github.com/svenstaro/rofi-calc/issues/7) version of 
`qalculate` so you might have to compile your own.
+If that is the case, see 
[here](https://github.com/svenstaro/rofi-calc/wiki/Installing-libqalculate-from-source).
 
 **rofi-calc** uses meson as a build system. If installing from git, the 
following steps should install it:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rofi-calc-2.4.0/meson.build 
new/rofi-calc-2.4.1/meson.build
--- old/rofi-calc-2.4.0/meson.build     2025-06-27 17:56:38.000000000 +0200
+++ new/rofi-calc-2.4.1/meson.build     2025-10-03 17:18:38.000000000 +0200
@@ -1,7 +1,7 @@
 project(
   'rofi-calc',
   'c',
-  version: '2.3.1',
+  version: '2.4.1',
   license: 'MIT',
   default_options: ['warning_level=3'],
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rofi-calc-2.4.0/src/calc.c 
new/rofi-calc-2.4.1/src/calc.c
--- old/rofi-calc-2.4.0/src/calc.c      2025-06-27 17:56:38.000000000 +0200
+++ new/rofi-calc-2.4.1/src/calc.c      2025-10-03 17:18:38.000000000 +0200
@@ -638,11 +638,11 @@
 
 static void calc_mode_destroy(Mode *sw) {
     CALCModePrivateData *pd = (CALCModePrivateData *)mode_get_private_data(sw);
-    if (pd->config.automatic_save_to_history) {
-        append_last_result_to_history(pd);
-    }
 
     if (pd != NULL) {
+        if (pd->config.automatic_save_to_history) {
+            append_last_result_to_history(pd);
+        }
         g_free(pd);
         mode_set_private_data(sw, NULL);
     }

Reply via email to