1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-27 20:04:06 +02:00
Files
guix/gnu/packages/patches/orca-fix-gst-init-check-call.patch
Vivien Kraus 9a759d93e6 gnu: orca: Prevent crash on startup.
* gnu/packages/patches/orca-fix-gst-init-check-call.patch: New file.
* gnu/local.mk (dist_patch_DATA): Reference it here.
* gnu/packages/gnome.scm (orca): Use it here.
[#:phases]<qualify-program>: Adapt to upstream quote style change.
[inputs]: Add python-dbus.

Change-Id: I585d610901c7c3d488840c00f0a1d03942eebe01
Signed-off-by: Noé Lopez <noelopez@free.fr>
2026-04-29 18:36:37 +02:00

29 lines
843 B
Diff

From 98300ecbb26fcacb0f7a722629fc50b4ec6bd1ab Mon Sep 17 00:00:00 2001
Message-ID: <98300ecbb26fcacb0f7a722629fc50b4ec6bd1ab.1777294348.git.vivien@planete-kraus.eu>
From: Vivien Kraus <vivien@planete-kraus.eu>
Date: Mon, 27 Apr 2026 14:51:07 +0200
Subject: [PATCH] Fix invalid Gst.init_check call
init_check accepts a list of program arguments. An empty list works.
---
src/orca/sound.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/orca/sound.py b/src/orca/sound.py
index d507a371d..b1129609f 100644
--- a/src/orca/sound.py
+++ b/src/orca/sound.py
@@ -34,7 +34,7 @@ try:
except Exception:
_gstreamerAvailable = False
else:
- _gstreamerAvailable, args = Gst.init_check(None)
+ _gstreamerAvailable, args = Gst.init_check([])
from . import debug
from .sound_generator import Icon, Tone
--
2.52.0