Package: release.debian.org
Severity: normal
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:artha
User: [email protected]
Usertags: unblock

Please unblock package artha

The one-line patch forces GDK_BACKEND to x11

[ Reason ]
Segfault immediatly on a Wayland desktop.

[ Impact ]
Hard to debug silent failure

[ Tests ]
It's a gui application, I launched it from the menu
& the terminal.

[ Risks ]
No, leaf package

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]
See RC bug #1108467

unblock artha/1.0.5-6


--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+artha (1.0.5-6) unstable; urgency=high
+
+  * Team upload
+  * Fix Team name
+  * Always force X11 as GDK_BACKEND (Closes: #1108467)
+
+ -- Alexandre Detiste <[email protected]>  Sat, 02 Aug 2025 20:51:47 +0200
+
 artha (1.0.5-5) unstable; urgency=medium

   * Team upload
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,5 @@
 Source: artha
-Maintainer: Debian Science Team 
<[email protected]>
+Maintainer: Debian Science Maintainers 
<[email protected]>
 Uploaders: Sundaram Ramaswamy <[email protected]>,
            Andreas Tille <[email protected]>
 Section: utils
--- /dev/null
+++ b/debian/patches/force_x11.patch
@@ -0,0 +1,19 @@
+--- a/src/gui.c
++++ b/src/gui.c
+@@ -22,6 +22,8 @@
+  * GUI Code
+  */
+
++#define _POSIX_C_SOURCE 200112L
++#include <stdlib.h>
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+@@ -3663,6 +3665,7 @@
+ {
+       GtkApplication *app;
+       int status;
++      setenv("GDK_BACKEND", "x11", 1);
+
+ #ifdef G_OS_WIN32
+       /* logic for single instance apps. on Win32 */
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ make_sure_we_really_use_GTK_LIBS.patch
 spelling.patch
 no-dbus-glib.patch
 gtk3.patch
+force_x11.patch

Reply via email to