--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: buster-pu: package fuse-emulator/1.5.7+dfsg1-2~deb10u1
- From: Alberto Garcia <berto@igalia.com>
- Date: Wed, 21 Aug 2019 11:28:49 +0300
- Message-id: <156637612911.8092.8909704220549055729.reportbug@perseus.local>
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
the GTK build of the Fuse ZX Spectrum Emulator has had problems
with Wayland for a long time (bug #872994; in short: the display is
corrupted). This is a known upstream bug in Fuse, and while some
progress has been made it hasn't been fixed yet.
After the buster release we are getting more reports from people who
are running Wayland and can't use the emulator properly because of
this. We fixed this in testing but we would like to do it in buster as
well.
This upload includes a patch that changes the default order of the
GDK backends, so if both X11 and Wayland are available then Fuse will
use the former. The Wayland backend will still be used if it's the
only one available (or if the user sets the GDK_BACKEND environment
variable).
The other patch included in this build simply sets the window icon so
it appears on the "About..." dialog and the window switcher.
Debdiff attached.
Best regards,
Berto
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru fuse-emulator-1.5.7+dfsg1/debian/changelog fuse-emulator-1.5.7+dfsg1/debian/changelog
--- fuse-emulator-1.5.7+dfsg1/debian/changelog 2018-12-11 12:33:12.000000000 +0200
+++ fuse-emulator-1.5.7+dfsg1/debian/changelog 2019-08-21 10:46:12.000000000 +0300
@@ -1,3 +1,19 @@
+fuse-emulator (1.5.7+dfsg1-2~deb10u1) unstable; urgency=medium
+
+ * Rebuild for buster.
+
+ -- Alberto Garcia <berto@igalia.com> Wed, 21 Aug 2019 10:46:12 +0300
+
+fuse-emulator (1.5.7+dfsg1-2) unstable; urgency=medium
+
+ * debian/patches/prefer-x11-over-wayland.patch:
+ - Prefer the X11 GDK backend over the Wayland one, as the latter is
+ known to have problems (see upstream bug #367) (Closes: #872994).
+ * debian/patches/show-fuse-icon.patch:
+ - Show the Fuse icon on the GTK window and About dialog.
+
+ -- Alberto Garcia <berto@igalia.com> Fri, 16 Aug 2019 11:49:27 +0300
+
fuse-emulator (1.5.7+dfsg1-1) unstable; urgency=medium
* New upstream release.
diff -Nru fuse-emulator-1.5.7+dfsg1/debian/copyright fuse-emulator-1.5.7+dfsg1/debian/copyright
--- fuse-emulator-1.5.7+dfsg1/debian/copyright 2018-12-11 12:33:12.000000000 +0200
+++ fuse-emulator-1.5.7+dfsg1/debian/copyright 2019-08-21 10:46:12.000000000 +0300
@@ -28,7 +28,7 @@
License: LGPL-2.1+
Files: debian/*
-Copyright: 2010-2013,2015-2018 Alberto Garcia <berto@igalia.com>
+Copyright: 2010-2013,2015-2019 Alberto Garcia <berto@igalia.com>
License: GPL-2+
License: GPL-2+
diff -Nru fuse-emulator-1.5.7+dfsg1/debian/patches/prefer-x11-over-wayland.patch fuse-emulator-1.5.7+dfsg1/debian/patches/prefer-x11-over-wayland.patch
--- fuse-emulator-1.5.7+dfsg1/debian/patches/prefer-x11-over-wayland.patch 1970-01-01 02:00:00.000000000 +0200
+++ fuse-emulator-1.5.7+dfsg1/debian/patches/prefer-x11-over-wayland.patch 2019-08-21 10:46:12.000000000 +0300
@@ -0,0 +1,20 @@
+From: Alberto Garcia <berto@igalia.com>
+Subject: Prefer the X11 GDK backend over the Wayland one
+Bug: https://sourceforge.net/p/fuse-emulator/bugs/367/
+Bug-Debian: https://bugs.debian.org/872994
+Index: fuse-emulator/ui/gtk/gtkui.c
+===================================================================
+--- fuse-emulator.orig/ui/gtk/gtkui.c
++++ fuse-emulator/ui/gtk/gtkui.c
+@@ -153,6 +153,11 @@ ui_init( int *argc, char ***argv )
+ GtkAccelGroup *accel_group;
+ GtkSettings *settings;
+
++#if GTK_CHECK_VERSION( 3, 10, 0 )
++ /* The Wayland output is buggy, see #367 */
++ gdk_set_allowed_backends( "quartz,win32,mir,x11,*" );
++#endif
++
+ gtk_init(argc,argv);
+
+ #if !GTK_CHECK_VERSION( 3, 0, 0 )
diff -Nru fuse-emulator-1.5.7+dfsg1/debian/patches/series fuse-emulator-1.5.7+dfsg1/debian/patches/series
--- fuse-emulator-1.5.7+dfsg1/debian/patches/series 2018-12-11 12:33:12.000000000 +0200
+++ fuse-emulator-1.5.7+dfsg1/debian/patches/series 2019-08-21 10:46:12.000000000 +0300
@@ -5,3 +5,5 @@
desktop-file.patch
manpage-errors.patch
bash-completion.patch
+prefer-x11-over-wayland.patch
+show-fuse-icon.patch
diff -Nru fuse-emulator-1.5.7+dfsg1/debian/patches/show-fuse-icon.patch fuse-emulator-1.5.7+dfsg1/debian/patches/show-fuse-icon.patch
--- fuse-emulator-1.5.7+dfsg1/debian/patches/show-fuse-icon.patch 1970-01-01 02:00:00.000000000 +0200
+++ fuse-emulator-1.5.7+dfsg1/debian/patches/show-fuse-icon.patch 2019-08-21 10:46:12.000000000 +0300
@@ -0,0 +1,25 @@
+From: Alberto Garcia <berto@igalia.com>
+Subject: Show the Fuse icon on the GTK window and About dialog
+Bug: https://sourceforge.net/p/fuse-emulator/patches/413/
+Index: fuse-emulator/ui/gtk/gtkui.c
+===================================================================
+--- fuse-emulator.orig/ui/gtk/gtkui.c
++++ fuse-emulator/ui/gtk/gtkui.c
+@@ -169,6 +169,8 @@ ui_init( int *argc, char ***argv )
+
+ gtkui_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+
++ gtk_window_set_icon_name( GTK_WINDOW( gtkui_window ), "fuse" );
++
+ settings = gtk_widget_get_settings( GTK_WIDGET( gtkui_window ) );
+ g_object_set( settings, "gtk-menu-bar-accel", "F1", NULL );
+ gtk_window_set_title( GTK_WINDOW(gtkui_window), "Fuse" );
+@@ -672,7 +674,7 @@ menu_help_about( GtkAction *gtk_action G
+ "program-name", "Fuse",
+ "comments", "The Free Unix Spectrum Emulator",
+ "copyright", FUSE_COPYRIGHT,
+- "logo-icon-name", NULL,
++ "logo-icon-name", "fuse",
+ "version", VERSION,
+ "website", PACKAGE_URL,
+ NULL );
--- End Message ---