# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/totem/hotfix-girepository2.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- libpeas 1.38 headers use girepository-2.0, do not mix in the 1.0 API. --- totem-43.2.orig/meson.build +++ totem-43.2/meson.build @@ -164,7 +164,7 @@ libgd = subproject( ) libgd_dep = libgd.get_variable('libgd_dep') -gir_dep = dependency('gobject-introspection-1.0', version: '>= 0.6.7') +gir_dep = dependency('girepository-2.0') # missing plugins support easy_codec_option = get_option('enable-easy-codec-installation') --- totem-43.2.orig/src/plugins/totem-plugins-engine.c +++ totem-43.2/src/plugins/totem-plugins-engine.c @@ -35,7 +35,7 @@ #include #include -#include +#include #include #include @@ -101,9 +101,9 @@ totem_plugins_engine_get_default (TotemO g_return_val_if_fail (totem != NULL, NULL); - g_irepository_require (g_irepository_get_default (), "Peas", "1.0", 0, NULL); - g_irepository_require (g_irepository_get_default (), "PeasGtk", "1.0", 0, NULL); - g_irepository_require (g_irepository_get_default (), "Totem", TOTEM_API_VERSION, 0, NULL); + gi_repository_require (gi_repository_dup_default (), "Peas", "1.0", 0, NULL); + gi_repository_require (gi_repository_dup_default (), "PeasGtk", "1.0", 0, NULL); + gi_repository_require (gi_repository_dup_default (), "Totem", TOTEM_API_VERSION, 0, NULL); paths = totem_get_plugin_paths ();