DH_GRANTLEE(1)

πŸ“¦
version 5.3.1 Β· 5 versions
, in ubuntu stonking

✨ NAME ✨

dh_grantlee β€” bestie, it generates proper dependencies for grantlee plugins πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

dh_qmlcdeps [debhelper options]
okay so yes, the line above literally says dh_qmlcdeps and not dh_grantlee. that's genuinely what it says. i'm not fixing it, i'm not touching it, we vibe with it πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

dh_grantlee is a debhelper program, and its whole personality is hunting. πŸ”

What it does: it goes looking for *.so files β€” the grantlee plugins β€” installed in

  • /usr/lib/$DEB_HOST_MULTIARCH/grantlee, or
  • /usr/lib/$DEB_HOST_MULTIARCH/qt5/plugins/grantlee

specifically sitting under a subdirectory named "MAJOR.MINOR" (e.g. 5.2, like, the version, bestie). And if it finds even one of them? Boom. A proper grantlee5-templates-MAJOR-MINOR dependency gets added to the ${grantlee:Depends} substitution variable. slay. ✨

Now, why is this even a whole thing? Because Grantlee only ever loads plugins for templates in subdirectories that are named after its own MAJOR.MINOR version. That's just how it moves. No subdirectory with the right name, no plugin energy. it's giving picky, honestly. πŸ¦‹

And here's the cute part β€” you don't have to call it yourself. You can:

  • pass --with grantlee to dh(1) and it'll automatically call dh_grantlee right after dh_install, or
  • just add the "dh-sequence-grantlee" build dependency.

both are valid, both are iconic, pick your fighter. πŸ‘‘


🌈 SEE ALSO 🌈


πŸ’œ AUTHOR πŸ’œ

Pino Toscano <pino@debian.org> β€” the mastermind, the moment, the main character 🫢


and that's the whole page, bestie!! this manual page came to you courtesy of perl v5.40.1 and it's dated 2026-04-25 🌸 go forth and package responsibly, mwah πŸ’‹

πŸ“¦ where this page comes from