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 2026-02-17 16:54:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rofi-calc (Old)
 and      /work/SRC/openSUSE:Factory/.rofi-calc.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rofi-calc"

Tue Feb 17 16:54:25 2026 rev:23 rq:1333563 version:2.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rofi-calc/rofi-calc.changes      2025-10-29 
21:09:49.686623979 +0100
+++ /work/SRC/openSUSE:Factory/.rofi-calc.new.1977/rofi-calc.changes    
2026-02-17 17:00:11.131621701 +0100
@@ -1,0 +2,7 @@
+Tue Feb 17 13:32:07 UTC 2026 - Michael Vetter <[email protected]>
+
+- Update to 2.5.1:
+  * Fix -calc-command-history and -calc-error-color not working due
+    to getting parsed incorrectly #148
+
+-------------------------------------------------------------------

Old:
----
  v2.5.0.tar.gz

New:
----
  v2.5.1.tar.gz

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

Other differences:
------------------
++++++ rofi-calc.spec ++++++
--- /var/tmp/diff_new_pack.pR894a/_old  2026-02-17 17:00:16.075828035 +0100
+++ /var/tmp/diff_new_pack.pR894a/_new  2026-02-17 17:00:16.095828870 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rofi-calc
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 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.5.0
+Version:        2.5.1
 Release:        0
 Summary:        Calculator for rofi
 License:        MIT

++++++ v2.5.0.tar.gz -> v2.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rofi-calc-2.5.0/CHANGELOG.md 
new/rofi-calc-2.5.1/CHANGELOG.md
--- old/rofi-calc-2.5.0/CHANGELOG.md    2025-10-13 02:58:03.000000000 +0200
+++ new/rofi-calc-2.5.1/CHANGELOG.md    2026-02-17 09:52:39.000000000 +0100
@@ -5,6 +5,9 @@
 The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
+## 2.5.1 - 2026-02-17
+- fix `-calc-command-history` and `-calc-error-color` not working due to 
getting parsed incorrectly 
[#148](https://github.com/svenstaro/rofi-calc/pull/148https://github.com/svenstaro/rofi-calc/pull/148)
 (thanks @Jontos)
+
 ## [2.5.0] - 2025-10-13
 - Add `-reuse-result` to replace the input with the result of the last 
successful calculation [#146](https://github.com/svenstaro/rofi-calc/pull/146) 
(thanks @Froggi22)
 
@@ -52,7 +55,8 @@
 - Add `-no-unicode` option to disable aforementioned unicode support
 
 <!-- next-url -->
-[Unreleased]: https://github.com/svenstaro/rofi-calc/compare/v2.4.1...HEAD
+[Unreleased]: https://github.com/svenstaro/rofi-calc/compare/v2.5.0...HEAD
+[2.5.0]: https://github.com/svenstaro/rofi-calc/compare/v2.4.1...v2.5.0
 [2.4.1]: https://github.com/svenstaro/rofi-calc/compare/v2.4.0...v2.4.1
 [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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rofi-calc-2.5.0/meson.build 
new/rofi-calc-2.5.1/meson.build
--- old/rofi-calc-2.5.0/meson.build     2025-10-13 02:58:03.000000000 +0200
+++ new/rofi-calc-2.5.1/meson.build     2026-02-17 09:52:39.000000000 +0100
@@ -1,7 +1,7 @@
 project(
   'rofi-calc',
   'c',
-  version: '2.4.1',
+  version: '2.5.1',
   license: 'MIT',
   default_options: ['warning_level=3'],
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rofi-calc-2.5.0/src/calc.c 
new/rofi-calc-2.5.1/src/calc.c
--- old/rofi-calc-2.5.0/src/calc.c      2025-10-13 02:58:03.000000000 +0200
+++ new/rofi-calc-2.5.1/src/calc.c      2026-02-17 09:52:39.000000000 +0100
@@ -403,7 +403,7 @@
     }
 
     char *calc_error_color = NULL;
-    if (find_arg_str(CALC_ERROR_COLOR, &calc_error_color)) {
+    if (find_arg_str("-" CALC_ERROR_COLOR, &calc_error_color)) {
         pd->calc_error_color = g_strdup(calc_error_color);
     }
 }
@@ -620,7 +620,7 @@
     } else if (menu_entry & MENU_CUSTOM_INPUT) {
         if (!is_error_string(pd->last_result) && strlen(pd->last_result) > 0) {
             if (!pd->config.no_history &&
-                find_arg(CALC_COMMAND_USES_HISTORY) != -1) {
+                find_arg("-" CALC_COMMAND_USES_HISTORY) != -1) {
                 char *history_entry = g_strdup_printf("%s", pd->last_result);
                 g_ptr_array_add(pd->history, (gpointer)history_entry);
                 if (!pd->config.no_persist_history) {

Reply via email to