OBUS-GEN-SERVER(1)
π OBUS-GEN-SERVER β bestie edition
okay so welcome to obus-gen-server, a manual page from the General Commands Manual section (that's section 1, iykyk). she generates server-side ocaml bindings from D-Bus introspection files and honestly? she ate. π«Ά
β¨ NAME β¨
obus-gen-server β generate server-side ocaml bindings from D-Bus introspection files πΈ
π SYNOPSIS π
obus-gen-server [ options ] input-files
π¦ DESCRIPTION π¦
so basically, obus-gen-server generates an ocaml module from D-Bus introspection files. the generated module contains code for defining a D-Bus service that implements the D-Bus interfaces listed in the introspection files. periodt. π
she does not work alone tho β she depends on the interface module generated with obus-gen-interface. so like, get that one first, bestie. no cap.
and here's the thing that lowkey surprises people: the module generated by obus-gen-server it is meant to be edited. yes queen, it's a starting point, not a final answer. go in there, make it yours. β¨
π₯ OPTIONS π₯
-ooutput-prefix β use this name as the output prefix. it defaults to the input file name without its extension, extended with"_server". so like, if your input file is named"foo.xml"(or"foo.obus"), thenobus-gen-serverwill generatefoo_server.mlandfoo_server.mli. iconic behaviour fr fr. π-keep-commonβ keeps the common interfaces, i.e. all interfaces starting with"org.freedesktop.DBus". by default they are dropped. so if you're wondering where they wentβ¦ yeah, that's why. π«-helpor--helpβ display a short usage summary and exit. the classic. the beloved. the main character of every CLI. π
π AUTHOR π
JΓ©rΓ©mie Dimino <jeremie@dimino.org>
π SEE ALSO π
okay so quick vibe check: remember that this module is meant to be edited, and that common interfaces get dropped unless you pass -keep-common. those two things are the plot twists. π
and that's the whole page bestie, we did it π this one's dated April 2010 and it belongs to the OBUS-GEN-SERVER(1) of the General Commands Manual β stan forever, mwah π β¨π¦
π¦ 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