Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depend on wayland-protocols and use wayland-scanner at build time #15

Closed
aperezdc opened this issue May 18, 2018 · 1 comment · Fixed by #95
Closed

Depend on wayland-protocols and use wayland-scanner at build time #15

aperezdc opened this issue May 18, 2018 · 1 comment · Fixed by #95
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@aperezdc
Copy link
Member

Instead of including C headers and source code in the repository for Wayland protocols, depend on the wayland-protocols package and use wayland-scanner to generate the needed headers and source files at build time.

@aperezdc aperezdc added enhancement New feature or request good first issue Good for newcomers labels May 18, 2018
@aperezdc
Copy link
Member Author

The microwl repository has a simple approach that works, and it could just be imported to use in Cog.

bykov34 pushed a commit to bykov34/cog that referenced this issue Mar 14, 2024
This adds a built-time toggle DY_DBUS_SYSTEM_BUS, which will enable
exporting the org.gtk.Actions interface on the system bus. Note that
despite the name, this D-Bus interface does not require using GTK+
at all: the implementation which exports a GActionGroup over D-Bus
is readily available in GIO.

Note that the object path is always /com/igalia/Dinghy, regardless of
whether GTK+ support is built in or not, but the well-known D-Bus name
will be either the one manually configured at build time, or one of
com.igalia.Dinghy, or com.igalia.DinghyGtk depending on whether GTK+
support is enabled.

This is the first part of the work needed for completing Igalia#15
bykov34 pushed a commit to bykov34/cog that referenced this issue Mar 14, 2024
The org.gtk.Actions interface is the one exposed by function
g_dbus_connection_export_action_group(), which is what is being
used to export the remote control interface on the system bus.

See Igalia#15
bykov34 pushed a commit to bykov34/cog that referenced this issue Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant