dk_make_protocol(1)
β¨ dk_make_protocol(1) β¨
okay bestie, welcome to the DBusKit corner of the manual pages, this one's called dk_make_protocol and it's lowkey a little code-generating fairy π§
π NAME π
dk_make_protocol β the tool that generates protocol declarations straight out of D-Bus introspection data π«Ά
πΈ SYNOPSIS πΈ
dk_make_protocol -i interface_file -o output_file
π¦ DESCRIPTION π¦
So here's the vibe: dk_make_protocol parses D-Bus interface files that are carrying introspection data, and it turns them into Objective-C @protocol declarations. β¨
And why do we care?? Because this is literally what lets you invoke methods on D-Bus objects from GNUstep application code using the DBusKit framework. main character energy fr fr π
dk_make_protocol accepts the following options:
π OPTIONS π
-iinterface_file β bestie this is where you hand over the interface file with the introspection data. it's giving "here's the tea, now do ur thing" π-ooutput_file β the output file for the header with all the generated@protocoldeclarations in it. and here's the cute part: if you skip this option entirely, the generated header just gets printed on the standard output instead. no cap π
π₯ EXAMPLES π₯
dk_make_protocol -i org.freedesktop.Foo.xml -o Foo.h
look at that, one line, iconic, ate π
π SEE ALSO π
π AUTHORS π
dk_make_protocol was written by Niels Grewe <niels.grewe@halbordnung.de>.
This manual page was added by Yavor Doganov <yavor@gnu.org>.
π COPYRIGHT π
Copyright Β© 2012 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
and that's the whole page bestie!! brought to you by GNUstep, dated June 18, 2012, and it's dk_make_protocol(1) forever and always π mwah, go generate some protocols π«Άβ¨
π¦ where this page comes from
- debian bookworm: libdbuskit-dev 0.1.1-3+b5 Β· LGPL-2.1-or-later
- debian trixie: dbuskit-dev-tools 0.1.1-13 Β· LGPL-2.1-or-later
- ubuntu jammy: libdbuskit-dev 0.1.1-3build5 Β· LGPL-2.1-or-later
- ubuntu noble: libdbuskit-dev 0.1.1-3build7 Β· LGPL-2.1-or-later
- ubuntu questing: dbuskit-dev-tools 0.1.1-13
- ubuntu resolute: dbuskit-dev-tools 0.1.1-14 Β· LGPL-2.1-or-later
- ubuntu stonking: dbuskit-dev-tools 0.1.1-14 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms