From 5a8c16258e1647a2364519f820fa0458d0eab11e Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 12 Feb 2025 08:28:45 -0300 Subject: [PATCH] Temporarily neutralize the host app registry Unfortunately, late in the process, concerns about the host app registry were shared, and there won't be enough time to resolve it. So temporarily neutralize the host app registry for the 1.20 release. --- src/meson.build | 2 +- src/xdg-desktop-portal.c | 6 ++++++ tests/meson.build | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/meson.build b/src/meson.build index f5f53e557..2106bb73e 100644 --- a/src/meson.build +++ b/src/meson.build @@ -96,7 +96,7 @@ xdg_desktop_portal_sources = files( 'print.c', 'proxy-resolver.c', 'realtime.c', - 'registry.c', + #'registry.c', 'remote-desktop.c', 'screen-cast.c', 'screenshot.c', diff --git a/src/xdg-desktop-portal.c b/src/xdg-desktop-portal.c index 98b00d191..41d34f0eb 100644 --- a/src/xdg-desktop-portal.c +++ b/src/xdg-desktop-portal.c @@ -60,7 +60,9 @@ #include "print.h" #include "proxy-resolver.h" #include "realtime.h" +#if 0 #include "registry.h" +#endif #include "remote-desktop.h" #include "xdp-request.h" #include "screen-cast.h" @@ -188,6 +190,7 @@ export_portal_implementation (GDBusConnection *connection, g_debug ("providing portal %s", g_dbus_interface_skeleton_get_info (skeleton)->name); } +#if 0 static void export_host_portal_implementation (GDBusConnection *connection, GDBusInterfaceSkeleton *skeleton) @@ -214,6 +217,7 @@ export_host_portal_implementation (GDBusConnection *connection, g_debug ("providing portal %s", g_dbus_interface_skeleton_get_info (skeleton)->name); } +#endif static void peer_died_cb (const char *name) @@ -401,7 +405,9 @@ on_bus_acquired (GDBusConnection *connection, xdp_usb_create (connection, implementation->dbus_name)); #endif +#if 0 export_host_portal_implementation (connection, registry_create (connection)); +#endif } static void diff --git a/tests/meson.build b/tests/meson.build index 7449f5b67..08d271507 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -100,7 +100,7 @@ pytest_files = [ 'test_openuri.py', 'test_permission_store.py', 'test_print.py', - 'test_registry.py', + #'test_registry.py', 'test_remotedesktop.py', 'test_settings.py', 'test_screenshot.py',