Summary: | ports-mgmt/portlint: False positive on desktop-file-utils | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Lewis Cook <lcook> |
Component: | Individual Port(s) | Assignee: | Joe Marcus Clarke <marcus> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(marcus) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Lewis Cook
2023-05-25 03:47:40 UTC
Thanks for the report. This is a tricky one since portlint operates on the build infra rather than the package data itself. That said, I've softened the error to: &perror("WARN", $file, $., "this port installs .desktop files. ". "If the .desktop file(s) installed contain ``MimeType='', ". "you must add `desktop-file-utils` to USES."); What do you think? A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=045f9995fb3624885bdae850d12eca43f7625732 commit 045f9995fb3624885bdae850d12eca43f7625732 Author: Joe Marcus Clarke <marcus@FreeBSD.org> AuthorDate: 2023-11-13 19:02:19 +0000 Commit: Joe Marcus Clarke <marcus@FreeBSD.org> CommitDate: 2023-11-13 19:02:19 +0000 ports-mgmt/portlint: Update to 2.21.0 * Soften the desktop-file-utils message [1] * Avoid a bogus error on ports that append to DISTFILES. [2] * Colorize output for warnings and errors. [3] PR: 271623 [1] 268681 [2] 274981 [3] Inspired by: yuri [3] ports-mgmt/portlint/Makefile | 2 +- ports-mgmt/portlint/src/portlint.pl | 37 +++++++++++++++++++++++++------------ 2 files changed, 26 insertions(+), 13 deletions(-) Fixed in 2.21.0. |