Description: desktop-file-install needs to emit a characterization (of the form noted in: man 1 logger -- ie., warning, error, etc) along with the message, to permit 'grep' automated identification of warnings and errors Example of the problem: see: https://bugzilla.redhat.com/show_bug.cgi?id=459924#c16 where the warning messages were overlooked, because of the absence of such notation [herrold@centos-5 homestead]$ desktop-file-install --vendor=orc --dir=/var/tmp/homestead-0.86-1orc-root-herrold/usr/share/applications /home/herrold/rpmbuild/SOURCES/homestead.desktop /home/herrold/rpmbuild/SOURCES/homestead.desktop: missing encoding (guessed UTF-8) /home/herrold/rpmbuild/SOURCES/homestead.desktop: key "Categories" string list not semicolon-terminated, fixing [herrold@centos-5 homestead]$ Proposal: The expected output should have been of the form [herrold@centos-5 homestead]$ desktop-file-install --vendor=orc --dir=/var/tmp/homestead-0.86-1orc-root-herrold/usr/share/applications /home/herrold/rpmbuild/SOURCES/homestead.desktop /home/herrold/rpmbuild/SOURCES/homestead.desktop: warning: missing encoding (guessed UTF-8) /home/herrold/rpmbuild/SOURCES/homestead.desktop: warning: key "Categories" string list not semicolon-terminated, fixing [herrold@centos-5 homestead]$ Benefit: Automated, and indeed careful builders can then more readily SEE and FIX warnings and errors. -- Russ herrold
Fixed in CVS. Not that your example was with an old version of desktop-file-utils, since it says something about the Encoding key (which is a deprecated key now).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.