From c49cdc2976c8bd8beeefb418c87b83177eb01f26 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 12 Feb 2025 09:27:42 -0300 Subject: [PATCH] Revert "docs: Integrate org.freedesktop.host.portal.Registry" This reverts commit abf63a027c1e8bb6eb36ecab433f2d4a825fa242. --- doc/api-reference.rst | 16 ++-------------- doc/fix-rst-dbus.py | 2 -- doc/meson.build | 3 --- 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/doc/api-reference.rst b/doc/api-reference.rst index b789de50d..7a0c85f2e 100644 --- a/doc/api-reference.rst +++ b/doc/api-reference.rst @@ -4,20 +4,8 @@ API Reference Portal interfaces are available to sandboxed applications with the default filtered session bus access of Flatpak. -Desktop portals appear under the bus name ``org.freedesktop.portal.Desktop`` -and the object path ``/org/freedesktop/portal/desktop`` on the session bus, -unless specified otherwise. - -Apps running on the host system have access to a special interface for -registering themselves with XDG Desktop Portal. Registering a host app with -XDG Desktop Portal overwrites the automatic detection based on the -`XDG cgroup pathname standardization for applications -`_. -This might improve the user experience when the host app was launched in a way -that doesn't follow the standard. See -:doc:`org.freedesktop.host.portal.Registry ` - -All apps have access to the portals below: +Unless otherwise specified, they appear under the bus name ``org.freedesktop.portal.Desktop`` +and the object path ``/org/freedesktop/portal/desktop`` on the session bus. .. toctree:: :maxdepth: 1 diff --git a/doc/fix-rst-dbus.py b/doc/fix-rst-dbus.py index cc7153d20..9231ed2a1 100755 --- a/doc/fix-rst-dbus.py +++ b/doc/fix-rst-dbus.py @@ -20,8 +20,6 @@ def adjust_title(lines): adjusted_title = title.replace("org.freedesktop.portal.", "") elif title.startswith("org.freedesktop.impl.portal"): adjusted_title = title.replace("org.freedesktop.impl.portal.", "") - elif title.startswith("org.freedesktop.host.portal"): - adjusted_title = title.replace("org.freedesktop.host.portal.", "") elif title.startswith("org.freedesktop.background.Monitor"): adjusted_title = title.replace( "org.freedesktop.background.Monitor", "Background Apps Monitor" diff --git a/doc/meson.build b/doc/meson.build index 910638a85..56dd0172f 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -40,9 +40,6 @@ if build_documentation foreach i: portal_sources all_interfaces_xml += i endforeach - foreach i: portal_host_sources - all_interfaces_xml += i - endforeach foreach i: portal_impl_sources all_interfaces_xml += i endforeach