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.
commit fa20b720bafc6e20481c01e73134e9e4d288f7b4
Author: Matthew Horan <[email protected]>
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
+}