Bug#598343: lintian: please don't warn when desktop files start programs via dbus activation
Package: lintian
Version: 2.4.3
Severity: normal
W: rygel: desktop-command-not-in-package /usr/share/applications/rygel.desktop dbus-send
It might be wise to detect if desktop files uses commands not in the package
in the general case, but I think there's nothing wrong with the command
in the rygel desktop file.
Rygel is started via "dbus activation". The package already depends on
dbus, which contains the dbus-send command. I see nothing wrong
with using it directly..... or rather, no gain in writing
a shell script to use in the desktop file that simply calls dbus-send.
Maybe the warning should have a whitelist of commands to not warn about,
like dbus-send..... alternatively a more complex solution could be
to only warn if the command is not in the package *and* not in
any of the package dependencies either.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (300, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.20.1-15 The GNU assembler, linker and bina
ii diffstat 1.53-1 produces graph of changes introduc
ii dpkg-dev 1.15.8.5 Debian package development tools
ii file 5.04-5 Determines file type using "magic"
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.55-1 module to manipulate and access UR
ii locales 2.11.2-6 Embedded GNU C Library: National L
ii man-db 2.5.7-4 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-14 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.7-4 on-line manual pager
-- no debconf information
Reply to: