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

The plan, and current status of D-Bus support #69

Open
gunnarx opened this issue Aug 11, 2023 · 3 comments
Open

The plan, and current status of D-Bus support #69

gunnarx opened this issue Aug 11, 2023 · 3 comments
Labels

Comments

@gunnarx
Copy link
Collaborator

gunnarx commented Aug 11, 2023

Plan for D-Bus

Required:

  • Write a document to describe the features of D-Bus and how to map types/features.
  • Implement IFEX Core IDL to D-Bus XML Introspection format translator/generator.

Nice to have:

  • D-Bus XML to IFEX translator (opposite direction). (As most things, it will be prioritized if it is needed by someone).
  • Make it easy to run a C++ code generator on the result:
    • Leveraging sdbus-cpp seems a likely candidate - it includes the XML-to-C++ generator.
  • Do the same for maybe one other option (Rust generator zbus_xmlgen as generator, binding against zbus library).

Not planned:

  • Additional bindings/languages

(Creating a few scripts/configurations to run the XML-to-code generation tools within IFEX repository is mostly to prove that the XML output actually works (and it might be part of unit/regression tests). We are however unlikely to implement additional bindings beyond sdbus/C++ and one other within the IFEX project itself - it is trivial to do it on your own, for those that need that. Most environments ought to be able to use the XML description format as input so that's the extent of the required work for IFEX)

To be determined:

  • Advanced support would suggest additional Layer Types to configure how each thing is translated - e.g. for properties there is the possibility to enable a change-signal or not, and so on.
@gunnarx
Copy link
Collaborator Author

gunnarx commented Aug 15, 2023

#88 for the implementation

@gunnarx
Copy link
Collaborator Author

gunnarx commented Aug 24, 2023

@gunnarx
Copy link
Collaborator Author

gunnarx commented Jan 30, 2024

The design/mapping document was also published and linked in the developers manual here

@gunnarx gunnarx changed the title Plan for D-Bus The plan, and current status of D-Bus support Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants