Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package callaudiod for openSUSE:Factory 
checked in at 2026-08-15 22:40:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/callaudiod (Old)
 and      /work/SRC/openSUSE:Factory/.callaudiod.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "callaudiod"

Sat Aug 15 22:40:41 2026 rev:7 rq:1371245 version:0.1.99

Changes:
--------
--- /work/SRC/openSUSE:Factory/callaudiod/callaudiod.changes    2025-09-09 
20:30:44.562484567 +0200
+++ /work/SRC/openSUSE:Factory/.callaudiod.new.1258/callaudiod.changes  
2026-08-15 22:41:09.592713643 +0200
@@ -1,0 +2,7 @@
+Wed Apr 29 17:34:42 UTC 2026 - Bjørn Lie <[email protected]>
+
+- Add fe87a9267f1e074d19055d7a236e6b6f759af11d.patch: Check if sink
+  has an active port before accessing it. This fixes a crash on
+  logout.
+
+-------------------------------------------------------------------

New:
----
  fe87a9267f1e074d19055d7a236e6b6f759af11d.patch

----------(New B)----------
  New:
- Add fe87a9267f1e074d19055d7a236e6b6f759af11d.patch: Check if sink
  has an active port before accessing it. This fixes a crash on
----------(New E)----------

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

Other differences:
------------------
++++++ callaudiod.spec ++++++
--- /var/tmp/diff_new_pack.XIUy2l/_old  2026-08-15 22:41:10.508745887 +0200
+++ /var/tmp/diff_new_pack.XIUy2l/_new  2026-08-15 22:41:10.510745958 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package callaudiod
 #
-# 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
@@ -26,6 +26,7 @@
 License:        GPL-3.0-or-later AND MIT
 URL:            https://gitlab.com/mobian1/callaudiod
 Source0:        %{name}-%{version}.tar.zst
+Patch0:         %{url}/-/commit/fe87a9267f1e074d19055d7a236e6b6f759af11d.patch
 
 BuildRequires:  c++_compiler
 BuildRequires:  c_compiler
@@ -74,7 +75,7 @@
 This package contains API documentation for %{name}.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %meson \

++++++ fe87a9267f1e074d19055d7a236e6b6f759af11d.patch ++++++
>From fe87a9267f1e074d19055d7a236e6b6f759af11d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
Date: Thu, 13 Nov 2025 07:58:18 +0100
Subject: [PATCH] Check if sink has an active port before accessing it

This fixes a crash on logout.

Closes: https://gitlab.com/mobian1/callaudiod/-/issues/36
---
 src/cad-pulse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cad-pulse.c b/src/cad-pulse.c
index ba6f624..6ea4ea6 100644
--- a/src/cad-pulse.c
+++ b/src/cad-pulse.c
@@ -383,7 +383,7 @@ static void init_sink_info(pa_context *ctx, const 
pa_sink_info *info, int eol, v
 
         switch (self->audio_mode) {
         case CALL_AUDIO_MODE_CALL:
-            if (g_strcmp0(info->active_port->name, self->speaker_port) == 0) {
+            if (info->active_port && g_strcmp0(info->active_port->name, 
self->speaker_port) == 0) {
                 self->speaker_state = CALL_AUDIO_SPEAKER_ON;
                 g_object_set(self->manager, "speaker-state", 
self->speaker_state, NULL);
                 /*
@@ -406,7 +406,7 @@ static void init_sink_info(pa_context *ctx, const 
pa_sink_info *info, int eol, v
              * Note: this code path is only used when the card doesn't have a
              * voice profile, otherwise things are easier to deal with.
              */
-            if (g_strcmp0(info->active_port->name, self->earpiece_port) == 0) {
+            if (info->active_port && g_strcmp0(info->active_port->name, 
self->earpiece_port) == 0) {
                 self->audio_mode = CALL_AUDIO_MODE_CALL;
                 g_object_set(self->manager, "audio-mode", self->audio_mode, 
NULL);
                 /*
-- 
GitLab

Reply via email to