On 2012-07-28 10:31, Paul Gevers wrote:
> Package: lintian
> Version: 2.5.10
> Severity: normal
> 
> Dear Maintainer,
> 
> In my package I want to provide a binary via update-alternatives to
> provide the multiple variants of the same program (a gtk2 and a qt
> variant). I want to ship one desktop file and one menu file in a package
> that depends on the either of the variants.
> 
> Currently both desktop-command-not-in-package and
> menu-command-not-in-package raise a warning on this setup, but I believe
> they are false positives that could be checked on the use of
> update-alternatives in dependent packages.
> 
> Grtz
> Paul
> 
> [...]

Truly, they are false-positives.  Unforunately, update-alternatives (and
dpkg-diverts for that matter) are created/updated/etc. in maintainer
scripts.  The problem is extracting this information (reliably) and have
it available.

Some ad-hoc parsing would probably do "rather well", but things like
"declarative (dpkg-)diverts" (and "declarative alternatives") would be
optimal on the Lintian side.

~Niels


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to