🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4081

Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin

#4081
From: Matt Horan
Date: Tue, 10 Nov 2026 23:10
113 lines
6272 bytes
--NQuEHi6xZcjrdI4D
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

On Tue, Nov 10, 2026 at 08:39:45PM +0100, Paul Gevers wrote:
>Hi Matt,
>>I managed to backport Liferea 2.0 to trixie while working to fix 
>>various upstream issues. It was not too difficult.
>
>
>Interesting, can you share that as a diff?

Patch attached.

I haven't noticed any issues by lowering the dependency on libadwaita to 
1.7; not sure if there was a reason it was set to that other than that 
was the version installed on the maintainer's machine.

The girepository-2.0 change was clearly intentional but nothing from 
girepository-2.0 has been used yet, just the removal of 
gobject-introspection-1.0 compatibility.

I could not get the version of girepository-2.0 in trixie to work with 
Liferea.

Otherwise the tests pass and I've been running this on trixie for a few 
weeks now without issue.

--NQuEHi6xZcjrdI4D
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=backport.patch

commit fa20b720bafc6e20481c01e73134e9e4d288f7b4
Author: Matthew Horan <matt@matthoran.com>
Date:   Sat Oct 17 22:25:42 2026 -0400

    Backport to trixie

diff --git a/meson.build b/meson.build
index 7e6fee41e..f9403fc33 100644
--- a/meson.build
+++ b/meson.build
@@ -42,7 +42,7 @@ liferea_deps = [
   dependency('glib-2.0', version: '>= 2.74.0'),
   dependency('gsettings-desktop-schemas'),
   dependency('gtk4', version: '>= 4.12.0'),
-  dependency('libadwaita-1', version: '>=1.9'),
+  dependency('libadwaita-1', version: '>=1.7'),
   dependency('json-glib-1.0', version: '>= 1.6'),
   dependency('libxml-2.0', version: '>= 2.6.12'),
   dependency('libxslt', version: '>= 1.1.19'),
@@ -52,7 +52,7 @@ liferea_deps = [
   dependency('libpeas-2'),
   dependency('pango', version: '>= 1.56'),
   dependency('fribidi', version: '>= 0.19.7'),
-  dependency('girepository-2.0'),
+  dependency('gobject-introspection-1.0'),
   dependency('dbus-1')
 ]
 
diff --git a/src/liferea_application.c b/src/liferea_application.c
index f8f9a27f3..499f4c625 100644
--- a/src/liferea_application.c
+++ b/src/liferea_application.c
@@ -31,7 +31,7 @@
 #endif
 
 #include <string.h>
-#include <girepository/girepository.h>
+#include <girepository.h>
 
 #include "conf.h"
 #include "common.h"
@@ -291,7 +291,7 @@ liferea_application_init (LifereaApplication *self)
 
 	g_application_add_main_option_entries (G_APPLICATION (self), entries);
 	g_application_add_option_group (G_APPLICATION (self), debug);
-	g_application_add_option_group (G_APPLICATION (self), gi_repository_get_option_group ());
+	g_application_add_option_group (G_APPLICATION (self), g_irepository_get_option_group ());
 
 	g_signal_connect (G_OBJECT (self), "activate", G_CALLBACK (on_app_activate), NULL);
 	g_signal_connect (G_OBJECT (self), "open", G_CALLBACK (on_app_open), NULL);
diff --git a/src/plugins/plugins_engine.c b/src/plugins/plugins_engine.c
index b4ad98880..5020b3b74 100644
--- a/src/plugins/plugins_engine.c
+++ b/src/plugins/plugins_engine.c
@@ -30,7 +30,7 @@
 #include <gio/gio.h>
 #include <libpeas.h>
 
-#include <girepository/girepository.h>
+#include <girepository.h>
 
 #include "auth_activatable.h"
 #include "debug.h"
@@ -100,7 +100,7 @@ liferea_plugins_engine_init (LifereaPluginsEngine *plugins)
 	/* Require Lifereas's typelib. */
 	typelib_dir = g_build_filename (PACKAGE_LIB_DIR, "girepository-1.0", NULL);
 	debug (DEBUG_GUI, "Plugin typelib path %s\n", typelib_dir);
-	if (!gi_repository_require_private (gi_repository_dup_default (),
+	if (!g_irepository_require_private (g_irepository_get_default (),
 		typelib_dir, "Liferea", "3.0", 0, &error)) {
 		g_warning ("Could not load Liferea repository: %s", error->message);
 		g_error_free (error);
@@ -287,4 +287,4 @@ liferea_plugins_engine_unregister_all (void)
 		g_hash_table_destroy (plugins->extension_sets);
 		plugins->extension_sets = NULL;
 	}
-}
\ No newline at end of file
+}

--NQuEHi6xZcjrdI4D--
Technical Details
Message-ID: <NY38u-b6Iz-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NDilP-haDk-1@gated-at.bofh.it> <NXBYB-aRi5-11@gated-at.bofh.it> <NY00V-b4S1-3@gated-at.bofh.it> <NDilP-haDk-1@gated-at.bofh.it> <NY00V-b4S1-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Matt Horan <matt@matthoran.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Date: Wed, 11 Nov 2026 00:10:02 +0100
Message-ID: <NY38u-b6Iz-3@gated-at.bofh.it>
References: <NDilP-haDk-1@gated-at.bofh.it> <NXBYB-aRi5-11@gated-at.bofh.it> <NY00V-b4S1-3@gated-at.bofh.it> <NDilP-haDk-1@gated-at.bofh.it> <NY00V-b4S1-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 10 23:05:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Matt Horan <matt@matthoran.com>, 1147720@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: liferea@packages.debian.org
X-Debian-Pr-Message: followup 1147720
X-Debian-Pr-Package: liferea
X-Debian-Pr-Keywords: fixed-upstream help
X-Debian-Pr-Source: liferea
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="NQuEHi6xZcjrdI4D"
Content-Disposition: inline
X-Greylist: delayed 104646 seconds by postgrey-1.37 at buxtehude; Tue, 10 Nov 2026 23:03:37 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001937
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 113
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1147720@bugs.debian.org
X-Original-Date: Tue, 10 Nov 2026 18:03:33 -0500
X-Original-Message-ID: <avOixePXJu_Hzwxs@friction.matthoran.com>
X-Original-References: <J_2CJ_bYMHhVLGSU41fGUr1K1qLMolDX93y4ZJIOU3V8wBTsf6lOKl8yg1bQgWa8E0ezv-zLGz9Q6gOSaeyLxswQG6qxysmTZobyy_omDsI=@fierroviejo.com> <avIKAMh-zVaCQ0cX@friction.matthoran.com> <8d898240-04bb-41d9-b4d3-bb3223b4bf16@debian.org> <J_2CJ_bYMHhVLGSU41fGUr1K1qLMolDX93y4ZJIOU3V8wBTsf6lOKl8yg1bQgWa8E0ezv-zLGz9Q6gOSaeyLxswQG6qxysmTZobyy_omDsI=@fierroviejo.com> <8d898240-04bb-41d9-b4d3-bb3223b4bf16@debian.org>