mir_wayland_generator(1)

✨ mir_wayland_generator(1) ✨

okay so bestie, listen up πŸ’– this is a page from the Mir Display Server Utiltity manual, and honestly? it's a little one but it does things. iykyk.


🌸 NAME 🌸

mir_wayland_generator β€” generate Mir-style C++ wrappers from a Wayland protocol description πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

mir_wayland_generator <prefix> <input> <mode>

like... that's the whole vibe. three little arguments and you're off πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

so the whole point, the main character energy of this tool, is that it generates C++ stubs to make developing the server-side implementation of Wayland protocols way easier. not me being obsessed with a code generator but here we are 😭✨

mir_wayland_generator expects the following command line input, and you literally have to give it all three:

  • prefix β€” the name prefix which will be removed, such as 'wl_'. and if you don't want a prefix at all? use _ or honestly anything that won't match the start of a name. slay, no prefix, we move πŸ’…
  • input β€” the input xml file path. yes bestie, xml. it's giving structured data πŸŽ€
  • mode β€” and it's either 'header' or 'source'. those are the only two options, pick one, no in-between πŸ’–
fr fr, if you skip an argument or give it a mode that isn't 'header' or 'source', that's on you β€” the page only tells you what it expects, not what it does when you don't 🫢

πŸ¦‹ AUTHOR πŸ¦‹

The Mir Display Server has been written by the Mir Server Team at Canonical Ltd. πŸ‘‘

This man page has been written for the Debian project by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> and may be re-used by others. iconic behaviour, sharing is caring 🫢✨


and that's the whole page bestie, that's it, that's the post πŸ’€βœ¨ sending you off with version 1.8.0, dated April 2020 β€” yeah she's a lil vintage but she still ate πŸ’–πŸŽ€πŸ¦‹ periodt.