Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2022-02-01 14:02:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and      /work/SRC/openSUSE:Factory/.alsa-utils.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa-utils"

Tue Feb  1 14:02:33 2022 rev:137 rq:949745 version:1.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes    2022-01-23 
12:16:26.436166138 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new.1898/alsa-utils.changes  
2022-02-01 14:03:02.476038095 +0100
@@ -1,0 +2,6 @@
+Fri Jan 28 17:53:00 CET 2022 - [email protected]
+
+- Fix the broken mouse support on alsamixer:
+  0002-alsamixer-Revert-has_mouse-check.patch
+
+-------------------------------------------------------------------

New:
----
  0002-alsamixer-Revert-has_mouse-check.patch

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

Other differences:
------------------
++++++ alsa-utils.spec ++++++
--- /var/tmp/diff_new_pack.0Z5b7z/_old  2022-02-01 14:03:03.176033296 +0100
+++ /var/tmp/diff_new_pack.0Z5b7z/_new  2022-02-01 14:03:03.184033241 +0100
@@ -31,6 +31,7 @@
 Source3:        sound-extra.service
 Source5:        load-sound-modules.sh
 Patch1:         0001-alsamixer-Fix-regression-in-color-setup.patch
+Patch2:         0002-alsamixer-Revert-has_mouse-check.patch
 Patch100:       alsa-info-no-update-for-distro-script.patch
 Patch101:       alsa-utils-configure-version-revert.patch
 BuildRequires:  alsa-devel
@@ -75,6 +76,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 %patch100 -p1
 %if 0%{?do_autoreconf}
 %patch101 -p1

++++++ 0002-alsamixer-Revert-has_mouse-check.patch ++++++
>From c511b49bf697e05df4b0987d0fd81e3329f64ce6 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Fri, 28 Jan 2022 17:46:45 +0100
Subject: [PATCH] alsamixer: Revert has_mouse() check

has_mouse() function of ncurses doesn't seem working reliably.
Revert the previous change for addressing the regressions.

Fixes: 31820c5f239f ("alsamixer: Check the availability of mouse")
BugLink: https://github.com/alsa-project/alsa-utils/issues/139
Signed-off-by: Takashi Iwai <[email protected]>
---
 alsamixer/mainloop.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/alsamixer/mainloop.c b/alsamixer/mainloop.c
index cdbe28e390fd..bf3f70defbaa 100644
--- a/alsamixer/mainloop.c
+++ b/alsamixer/mainloop.c
@@ -50,8 +50,9 @@ void initialize_curses(bool use_color, bool use_mouse)
 #endif
        window_size_changed(); /* update screen_lines/cols */
        init_colors(use_color);
-       if (use_mouse && has_mouse())
+       if (use_mouse)
                mousemask(ALL_MOUSE_EVENTS, NULL);
+
        snd_lib_error_set_handler(black_hole_error_handler);
 }
 
-- 
2.31.1

Reply via email to