Bug#1110302: unblock: artha/1.0.5-6

Alexandre Detiste alexandre.detiste at gmail.com
Sat Aug 2 22:21:50 BST 2025


Package: release.debian.org
Severity: normal
X-Debbugs-Cc: artha at packages.debian.org
Control: affects -1 + src:artha
User: release.debian.org at packages.debian.org
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 <tchet at debian.org>  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 <debian-science-maintainers at lists.alioth.debian.org>
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Sundaram Ramaswamy <legends2k at yahoo.com>,
            Andreas Tille <tille at debian.org>
 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



More information about the debian-science-maintainers mailing list