Bug 291017 - ports-mgmt/portlint: false fatal error for .desktop files which don't have a MimeType entry
Summary: ports-mgmt/portlint: false fatal error for .desktop files which don't have a ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-14 16:14 UTC by Benjamin Takacs
Modified: 2025-11-15 08:56 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Takacs 2025-11-14 16:14:11 UTC
for example when using portlint on x11/autorandr it says:

FATAL: PLIST_FILES: this port installs .desktop files. please add `desktop-file-utils` to USES.

while desktop-file-utils should only be added if the .desktop file contains a MimeType entry. As portlint doesn't check the .desktop file, that should be at most a warning.