OBUS-GEN-CLIENT(1)
π OBUS-GEN-CLIENT(1) π
okay bestie, welcome to the General Commands Manual section 1, and yes this whole page is about obus-gen-client β no cap π«Ά
β¨ NAME β¨
obus-gen-client β generate client-side ocaml bindings from D-Bus introspection files π
πΈ SYNOPSIS πΈ
obus-gen-client [ options ] input-file
π¦ DESCRIPTION π¦
so here's the vibe: obus-gen-client takes D-Bus introspection files and generates an ocaml module out of them. slay. β¨
that generated module is literally packed with functions so you can send method calls, receive signals, and read/write properties. it's giving everything you need fr fr.
one tiny thing though β it depends on the interface module generated with obus-gen-interface. so like, do that first, bestie. they're a duo. π«Ά
and hmm, important: the module generated by obus-gen-client is meant to be edited. like, that's the point. it's a starting point, not a museum piece. go in there and make it yours. π
π OPTIONS π
-ooutput-prefix β use this name as the output prefix. by default it's the input file name with the extension stripped off, plus"_client"tacked on the end. so say your input file is"foo.xml"(or"foo.obus"), thenobus-gen-clientwill generate"foo_client.ml"and"foo_client.mli". cute, right? π-keep-commonβ keeps common interfaces, meaning all interfaces starting with"org.freedesktop.DBus". by default they get dropped. so if you want them, you gotta ask nicely with this flag. π-helpor--helpβ display a short usage summary and exit. the classic. the icon. π§
β AUTHOR β
JΓ©rΓ©mie Dimino <jeremie@dimino.org>
π SEE ALSO π
obus-introspect(1), obus-gen-interface(1), obus-gen-server(1)
okay that's the whole page bestie, go forth and generate πΈβ¨
mwah π β April 2010, and this lil manual is living under the OBUS-GEN-CLIENT(1) glow-up, periodt.
π¦ where this page comes from
- debian bookworm: libobus-ocaml-bin 1.2.4-1+b3 Β· BSD-C3
- debian trixie: libobus-ocaml-bin 1.2.5-1+b9 Β· BSD-C3
- ubuntu jammy: libobus-ocaml-bin 1.2.3-1build8 Β· BSD-C3
- ubuntu noble: libobus-ocaml-bin 1.2.4-3build5 Β· BSD-C3
- ubuntu questing: libobus-ocaml-bin 1.2.5-1build8
- ubuntu resolute: libobus-ocaml-bin 1.2.5-1build12 Β· BSD-C3
- ubuntu stonking: libobus-ocaml-bin 1.2.5-2build2 Β· BSD-C3
- (c) 2010, Jeremie Dimino <jeremie@dimino.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms