What should be in the "misc-depends:" in a control file?
Lintian gives error without "misc-depends:" in the control file.
W: brightness-controller source: debhelper-but-no-misc-depends brightness-controllerWhat should be supposed to be in it? Every else works fine without it.
61 Answer
"misc-depends" is not a field in the debian/control file, but infact a variable that dh_gencontrol will substitute during the build of the binary package. As the New Maintainer's Guide says:
Some debhelper commands may cause the generated package to depend on some additional packages. All such commands generate a list of required packages for each binary package. This list is used for substituting ${misc:Depends}.
In practice, it looks like:
Depends: libfoobar, ${shlibs:Depends}, ${misc:Depends}