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

Support MS Windows #463

Merged
merged 14 commits into from
Jun 21, 2024
Merged

Support MS Windows #463

merged 14 commits into from
Jun 21, 2024

Conversation

Rafostar
Copy link
Owner

Support building and running both Clapper libraries and application itself on MS Windows. Thankfully, newly rewritten code seems to be fine as-is and the only needed changes are supporting DLL visibility and some meson buildsystem tweaks.

Fixes #103

Check at meson level if "gdbus-codegen" is available and otherwise
exit cleanly, possibly building without MPRIS feature instead of failing.
We do not install headers from gst-plugin, but still need to export
symbols to compile modules that use plugin provided shared libraries.
We cannot run app without schemas, thus we need to compile and install them on any OS
We need to ensure types that are not part of public API, otherwise GtkBuilder will fail to use them
(https://gitlab.gnome.org/GNOME/gtk/-/blob/e81aad25a19aa8e1ec9b5192ec0a71985a1a434b/gtk/glade/README.glade#L15).
When compiling without MPRIS feature "instance_count" is left unused,
so skip it with preprocessor in order to avoid warning.
@Rafostar Rafostar force-pushed the ms-win branch 15 times, most recently from ce2b999 to eafbbae Compare June 19, 2024 20:09
@Rafostar Rafostar force-pushed the ms-win branch 3 times, most recently from eaa274a to 19b8920 Compare June 20, 2024 18:21
@Rafostar Rafostar force-pushed the ms-win branch 5 times, most recently from 0dfee1b to b07fa59 Compare June 21, 2024 16:28
Windows does not support mime-types file filters, so use file extensions instead
They are unsupported. We use file extensions instead.
@Rafostar Rafostar marked this pull request as ready for review June 21, 2024 18:30
@Rafostar Rafostar merged commit 9f54c10 into master Jun 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it available on Windows
1 participant