[Bug 291017] ports-mgmt/portlint: false fatal error for .desktop files which don't have a MimeType entry

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Nov 2025 16:14:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291017

            Bug ID: 291017
           Summary: ports-mgmt/portlint: false fatal error for .desktop
                    files which don't have a MimeType entry
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: nimaje+fbz@bureaucracy.de
          Assignee: marcus@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.