1
0
mirror of https://gitlab.gnome.org/GNOME/nautilus synced 2024-07-04 17:30:47 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
António Fernandes
b2ff00856e general: Add xdp-gnome imported code to the build
Make it a private static library to be used in commming commits.

Contrary to upstream, we use the imported *.impl.* definitions.

For convenience (not to move a lot of meson code around), define
the HAVE_GTK_WAYLAND and HAVE_GTK_X11 in config.h instead of
compiler flags.
2024-06-23 00:04:05 +01:00
António Fernandes
90b63ac2a2 xdp-gnome/data: Import portal impl interface defs
These are copied from [xdp-desktop-portal], to avoid adding it and all
its dependencies as buildtime dependencies of our own (and to the
flatpak manifest).

[xdp-desktop-portal]: https://github.com/flatpak/xdg-desktop-portal/
2024-06-23 00:04:05 +01:00
António Fernandes
944a0a8b4f externalwindow-wayland: Use our own service channel client id
This private mutter protocol requires each client to have a unique
hard-coded enum id.

Requires mutter patch to add this enum value on that side.
2024-06-23 00:04:05 +01:00
António Fernandes
c34f16cf49 externalwindow-wayland: Ignore shadowed variable
`x11_interop` is the symbol of a global variable, but gets reused for
a local one.

We should try to keep this code in sync with xdp-desktop-porta-gnome
so, instead of chaning the symbol, ignore the compiler error.
2024-06-23 00:04:05 +01:00
António Fernandes
be9297ca9f general: Copy code from xdg-desktop-portal-gnome
This is code copied from xdg-desktop-portal-gnome repository today[0].

We need it to implement the FileChooser portal ourselves.

It's not included in the build yet, as it needs modifications first.

[0] b92a8cc5f6
2024-06-23 00:04:05 +01:00