Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 eom (1.28.0-ok1) huanghe; urgency=medium
 .
   * Build for openKylin.
Author: openKylinBot <openKylinBot@openkylin.top>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2026-09-01

--- eom-1.28.0.orig/src/eom-plugin-engine.c
+++ eom-1.28.0/src/eom-plugin-engine.c
@@ -34,7 +34,7 @@
 #include <glib/gi18n.h>
 #include <glib.h>
 #include <gio/gio.h>
-#include <girepository/girepository.h>
+#include <girepository.h>
 
 #define USER_EOM_PLUGINS_LOCATION "plugins/"
 
@@ -87,7 +87,7 @@ eom_plugin_engine_new (void)
 	private_path = g_build_filename (LIBDIR, "girepository-1.0", NULL);
 
 	/* This should be moved to libpeas */
-	if (gi_repository_require (gi_repository_dup_default (),
+	if (g_irepository_require (g_irepository_get_default (),
 	                           "Peas", "1.0", 0, &error) == NULL)
 	{
 		g_warning ("Error loading Peas typelib: %s\n",
@@ -95,7 +95,7 @@ eom_plugin_engine_new (void)
 		g_clear_error (&error);
 	}
 
-	if (gi_repository_require (gi_repository_dup_default (),
+	if (g_irepository_require (g_irepository_get_default (),
 	                           "PeasGtk", "1.0", 0, &error) == NULL)
 	{
 		g_warning ("Error loading PeasGtk typelib: %s\n",
@@ -103,7 +103,7 @@ eom_plugin_engine_new (void)
 		g_clear_error (&error);
 	}
 
-	if (gi_repository_require_private (gi_repository_dup_default (),
+	if (g_irepository_require_private (g_irepository_get_default (),
 	                                   private_path, "Eom", "1.0", 0,
 	                                   &error) == NULL)
 	{
--- eom-1.28.0.orig/src/main.c
+++ eom-1.28.0/src/main.c
@@ -27,7 +27,7 @@
 #include "config.h"
 #endif
 #ifdef HAVE_INTROSPECTION
-#include <girepository/girepository.h>
+#include <girepository.h>
 #endif
 
 #include "eom-session.h"
@@ -111,7 +111,7 @@ main (int argc, char **argv)
 	 * Using gtk_get_option_group here initializes gtk during parsing */
 	g_option_context_add_group (ctx, gtk_get_option_group (TRUE));
 #ifdef HAVE_INTROSPECTION
-	g_option_context_add_group (ctx, gi_repository_get_option_group ());
+	g_option_context_add_group (ctx, g_irepository_get_option_group ());
 #endif
 
 	if (!g_option_context_parse (ctx, &argc, &argv, &error)) {
