DH_VINYLABI(1p)
π dh_vinylabi β the Vinyl Cache ABI drama, handled
okay so you're writing Perl, you're building Vinyl Cache modules, and now you need your Debian packages to actually depend on the right stuff. bestie, that's literally this program. this page lives in the Perl manual pages (section 1p, user contributed perl docs) and it's your new best friend. periodt. π
β¨ SYNOPSIS β¨
dh_vinylabi [debhelper options] [--strict] [--force]
that's it. that's the whole vibe. π¦
πΈ DESCRIPTION πΈ
dh_vinylabi is a debhelper program that slaps the appropriate vinylabi-* dependencies onto packages that build Vinyl Cache modules. no cap. π
So by default, it adds a vinylabi-* entry to misc:Depends β that's the whole point, so that any package containing modules that get loaded by Vinyl Cache ends up depending on an appropriate version of the vinyl-cache package. iconic dependency hygiene. π
If you pass --strict, then a dependency on vinylabi-strict-* gets added too. extra. cautious. we respect it. β¨
BUT WAIT β when you're building the actual vinyl-cache binary package itself, the program flips the script: instead of depends, it generates misc:Provides entries for vinylabi-* and vinylabi-strict-*. it's giving provider era. both roles, one binary. π
Now, the substvars entries only get added if a Vinyl Cache module is actually detected in the build products β unless you went and used --force, obviously. π
and how does it detect them, you ask? it searches a package's build products for libraries installed in the Vinyl Cache vmods directory that contain a symbol named vmod_version. that's the whole detective work. that's the case it cracks. π΅οΈββοΈ
also bestie, heads up: there's adh addonnamedvinylabiwhich can automatically invokedh_vinylabifor you. so you don't even have to do it manually. slay. π«Ά
π₯ OPTIONS π₯
--forceβ do NOT try to detect Vinyl Cache modules in the package, just straight up assume one is present. this will causemisc:Dependsto always be populated. no search, all faith. π
π NOTES π
big warning energy: this command is not idempotent. dh_prep(1) should be called between invocations of this command (with the same arguments). otherwise it may cause multiple instances of the same text to be added to the substition variables. like, it'll just keep piling on. we do not want that. π
also,dh_vinylabishould be run beforedh_gencontrol. thevinylabisequence addon fordhdoes the right thing automatically, so this note is only relevant when you are callingdh_vinylabimanually. iykyk. β
π¦ SEE ALSO π¦
π AUTHOR π
Originally written by Chris Boot <bootc@debian.org> as dh_ppp(7), then Marco d'Itri <md@linux.it> modified it for Vinyl Cache. two legends, one manpage, we love a remix. ππ
that's the whole page bestie!! πΈ mwah π written for perl v5.40.1, dated 2026-07-07, and it's a user-contributed perl doc so go forth and build responsibly. you're gonna eat. πβ¨
π¦ where this page comes from
- ubuntu stonking: libvinylapi-dev 9.0.1-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms