Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sidplayfp for openSUSE:Factory 
checked in at 2026-10-02 23:09:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sidplayfp (Old)
 and      /work/SRC/openSUSE:Factory/.sidplayfp.new.1631729 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sidplayfp"

Fri Oct  2 23:09:43 2026 rev:26 rq:1382168 version:3.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/sidplayfp/sidplayfp.changes      2026-09-04 
12:39:02.031684278 +0200
+++ /work/SRC/openSUSE:Factory/.sidplayfp.new.1631729/sidplayfp.changes 
2026-10-02 23:09:46.489459956 +0200
@@ -1,0 +2,6 @@
+Fri Oct  2 18:43:20 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 3.2.1
+  * Fix parsing colors from config.
+
+-------------------------------------------------------------------

Old:
----
  sidplayfp-3.2.0.tar.gz

New:
----
  sidplayfp-3.2.1.tar.gz

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

Other differences:
------------------
++++++ sidplayfp.spec ++++++
--- /var/tmp/diff_new_pack.txfaKJ/_old  2026-10-02 23:09:47.454500298 +0200
+++ /var/tmp/diff_new_pack.txfaKJ/_new  2026-10-02 23:09:47.456500382 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           sidplayfp
-Version:        3.2.0
+Version:        3.2.1
 Release:        0
 Summary:        SID chip music module player
 License:        GPL-2.0-or-later

++++++ sidplayfp-3.2.0.tar.gz -> sidplayfp-3.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/NEWS.md new/sidplayfp-3.2.1/NEWS.md
--- old/sidplayfp-3.2.0/NEWS.md 2026-08-10 16:33:36.000000000 +0200
+++ new/sidplayfp-3.2.1/NEWS.md 2026-10-02 20:33:41.000000000 +0200
@@ -1,3 +1,9 @@
+3.2.1 2026-10-02
+* Fix reading Songlength Database on Windows (#140)
+* Fix parsing colors from config (#141)
+
+
+
 3.2.0 2026-08-10
 * Allow building with system fmt
 * Support new residfp tunables
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/TODO new/sidplayfp-3.2.1/TODO
--- old/sidplayfp-3.2.0/TODO    2026-08-10 16:33:36.000000000 +0200
+++ new/sidplayfp-3.2.1/TODO    2026-10-02 20:33:41.000000000 +0200
@@ -1,3 +1,4 @@
 TODO:
 
+* log to file
 * add playlist support (pls)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/configure 
new/sidplayfp-3.2.1/configure
--- old/sidplayfp-3.2.0/configure       2026-08-10 16:33:38.000000000 +0200
+++ new/sidplayfp-3.2.1/configure       2026-10-02 20:33:43.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for sidplayfp 3.2.0.
+# Generated by GNU Autoconf 2.71 for sidplayfp 3.2.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -608,8 +608,8 @@
 # Identity of this package.
 PACKAGE_NAME='sidplayfp'
 PACKAGE_TARNAME='sidplayfp'
-PACKAGE_VERSION='3.2.0'
-PACKAGE_STRING='sidplayfp 3.2.0'
+PACKAGE_VERSION='3.2.1'
+PACKAGE_STRING='sidplayfp 3.2.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL='https://github.com/libsidplayfp/sidplayfp/'
 
@@ -1357,7 +1357,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures sidplayfp 3.2.0 to adapt to many kinds of systems.
+\`configure' configures sidplayfp 3.2.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1428,7 +1428,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of sidplayfp 3.2.0:";;
+     short | recursive ) echo "Configuration of sidplayfp 3.2.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1546,7 +1546,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-sidplayfp configure 3.2.0
+sidplayfp configure 3.2.1
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1822,7 +1822,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by sidplayfp $as_me 3.2.0, which was
+It was created by sidplayfp $as_me 3.2.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3312,7 +3312,7 @@
 
 # Define the identity of the package.
  PACKAGE='sidplayfp'
- VERSION='3.2.0'
+ VERSION='3.2.1'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -10551,7 +10551,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by sidplayfp $as_me 3.2.0, which was
+This file was extended by sidplayfp $as_me 3.2.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -10620,7 +10620,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-sidplayfp config.status 3.2.0
+sidplayfp config.status 3.2.1
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/configure.ac 
new/sidplayfp-3.2.1/configure.ac
--- old/sidplayfp-3.2.0/configure.ac    2026-08-10 16:33:36.000000000 +0200
+++ new/sidplayfp-3.2.1/configure.ac    2026-10-02 20:33:41.000000000 +0200
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT([sidplayfp], [3.2.0], [], [], 
[https://github.com/libsidplayfp/sidplayfp/])
+AC_INIT([sidplayfp], [3.2.1], [], [], 
[https://github.com/libsidplayfp/sidplayfp/])
 AC_CONFIG_SRCDIR([src/main.cpp])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/doc/en/sidplayfp.1 
new/sidplayfp-3.2.1/doc/en/sidplayfp.1
--- old/sidplayfp-3.2.0/doc/en/sidplayfp.1      2026-08-10 16:33:43.000000000 
+0200
+++ new/sidplayfp-3.2.1/doc/en/sidplayfp.1      2026-10-02 20:33:48.000000000 
+0200
@@ -55,7 +55,7 @@
 .\" ========================================================================
 .\"
 .IX Title "SIDPLAYFP 1"
-.TH SIDPLAYFP 1 2026-08-10 "perl v5.38.2" "User Programs"
+.TH SIDPLAYFP 1 2026-10-02 "perl v5.38.2" "User Programs"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/doc/en/sidplayfp.ini.5 
new/sidplayfp-3.2.1/doc/en/sidplayfp.ini.5
--- old/sidplayfp-3.2.0/doc/en/sidplayfp.ini.5  2026-08-10 16:33:43.000000000 
+0200
+++ new/sidplayfp-3.2.1/doc/en/sidplayfp.ini.5  2026-10-02 20:33:48.000000000 
+0200
@@ -55,7 +55,7 @@
 .\" ========================================================================
 .\"
 .IX Title "SIDPLAYFP.INI 5"
-.TH SIDPLAYFP.INI 5 2026-08-10 "perl v5.38.2" "File formats"
+.TH SIDPLAYFP.INI 5 2026-10-02 "perl v5.38.2" "File formats"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/doc/en/stilview.1 
new/sidplayfp-3.2.1/doc/en/stilview.1
--- old/sidplayfp-3.2.0/doc/en/stilview.1       2026-08-10 16:33:43.000000000 
+0200
+++ new/sidplayfp-3.2.1/doc/en/stilview.1       2026-10-02 20:33:48.000000000 
+0200
@@ -55,7 +55,7 @@
 .\" ========================================================================
 .\"
 .IX Title "STILVIEW 1"
-.TH STILVIEW 1 2026-08-10 "perl v5.38.2" "User Programs"
+.TH STILVIEW 1 2026-10-02 "perl v5.38.2" "User Programs"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/src/IniConfig.cpp 
new/sidplayfp-3.2.1/src/IniConfig.cpp
--- old/sidplayfp-3.2.0/src/IniConfig.cpp       2026-08-10 16:33:36.000000000 
+0200
+++ new/sidplayfp-3.2.1/src/IniConfig.cpp       2026-10-02 20:33:41.000000000 
+0200
@@ -70,6 +70,30 @@
     "bright white"
 };
 
+color_t getColor(int i)
+{
+    switch (i)
+    {
+    default: /* unreachable */
+    case 0: return color_t::black;
+    case 1: return color_t::red;
+    case 2: return color_t::green;
+    case 3: return color_t::yellow;
+    case 4: return color_t::blue;
+    case 5: return color_t::magenta;
+    case 6: return color_t::cyan;
+    case 7: return color_t::white;
+    case 8: return color_t::bright_black;
+    case 9: return color_t::bright_red;
+    case 10: return color_t::bright_green;
+    case 11: return color_t::bright_yellow;
+    case 12: return color_t::bright_blue;
+    case 13: return color_t::bright_magenta;
+    case 14: return color_t::bright_cyan;
+    case 15: return color_t::bright_white;
+    }
+}
+
 inline void debug(MAYBE_UNUSED const char *msg, MAYBE_UNUSED const char *val)
 {
 #ifndef NDEBUG
@@ -359,7 +383,7 @@
     {
         if (str.compare(colorStrings[i]) == 0)
         {
-            ch = static_cast<color_t>(i);
+            ch = getColor(i);
             return true;
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sidplayfp-3.2.0/src/args.cpp 
new/sidplayfp-3.2.1/src/args.cpp
--- old/sidplayfp-3.2.0/src/args.cpp    2026-08-10 16:33:36.000000000 +0200
+++ new/sidplayfp-3.2.1/src/args.cpp    2026-10-02 20:33:41.000000000 +0200
@@ -26,8 +26,6 @@
 
 #include <fmt/format.h>
 
-#include <iostream>
-
 #include <climits>
 #include <cstdlib>
 #include <cstring>
@@ -36,10 +34,6 @@
 
 #include "sidcxx11.h"
 
-#include <climits>
-#include <cstdlib>
-#include <cstring>
-
 #ifdef HAVE_SIDPLAYFP_BUILDERS_HARDSID_H
 #  include <sidplayfp/builders/hardsid.h>
 #endif
@@ -672,10 +666,11 @@
                     // Try loading the database specificed by the user
 #if defined(_WIN32) && defined(UNICODE)
 #  ifdef FEAT_DB_WCHAR_OPEN
-                    const wchar_t *database = 
utils::utf8_decode((m_iniCfg.sidplay2()).database.c_str()).c_str();
+                    std::wstring 
db{utils::utf8_decode((m_iniCfg.sidplay2()).database.c_str())};
+                    const wchar_t *database = db.c_str();
 #  else
                     char database[MAX_PATH];
-                    const int ret = wcstombs(database, 
(m_iniCfg.sidplay2()).database.c_str(), sizeof(database));
+                    size_t ret = std::wcstombs(database, 
(m_iniCfg.sidplay2()).database.c_str(), sizeof(database));
                     if (ret >= MAX_PATH)
                         database[0] = '\0';
 #  endif

Reply via email to