After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743294 - gdbus-codegen integration for D-Bus API documentation
gdbus-codegen integration for D-Bus API documentation
Status: RESOLVED OBSOLETE
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2015-01-21 13:43 UTC by Philip Withnall
Modified: 2018-05-22 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Withnall 2015-01-21 13:43:44 UTC
Currently, people have to write their own build rules for generating Docbook files from D-Bus interface XML files using gdbus-codegen. They then have to tie that in to gtk-doc in the docs.xml file and gtk-doc.make.

It would be useful if there were a macro which made this easier. It could either come with GDBus, in which case the integration with gtk-doc would have to be very loose, or it could come with gtk-doc. I suggest the latter, but it could be argued either way.

Proposal:

 1. Add a DOC_DBUS_INTERFACE_XML input variable to gtk-doc.make. Add a DOC_DBUS_INTERFACE_PREFIX variable too.
 2. For each of the listed files, it runs
    gdbus-codegen --interface-prefix $(DOC_DBUS_INTERFACE_PREFIX) --xml-files=$(xml_file)
    and puts the output in $(builddir)/xml
 3. Build dependencies are updated so documentation is correctly regenerated if any of the interfaces change. The interface output files should be cleaned as appropriate.
 4. gtkdoc-check is updated to check that all DOC_DBUS_INTERFACE_XML files are <xi:include>d into $(DOC_MAIN_SGML_FILE).
Comment 1 GNOME Infrastructure Team 2018-05-22 13:09:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk-doc/issues/29.