You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Incorrect DeprecatedInsinto for non-menu items in /usr/share/applications #726
kde-plasma/plasma-mimeapps-list
DeprecatedInsinto: version 3: deprecated insinto usage (use domenu or newmenu from desktop.eclass instead), line 26: insinto /usr/share/applications/
Hmm, changing the code of DeprecatedInsinto is non trivial, since it uses regex to detect just calls to insint ${DIR}. It means I would detect next lines if they attempt to install "*.desktop".
On the other hand, while somewhat ugly, would using newmenu "${FILESDIR}"/mimeapps.list kde-mimeapps.list work "by mistake"?
Activity
arthurzam commentedon Jan 25, 2025
Hmm, changing the code of
DeprecatedInsintois non trivial, since it uses regex to detect just calls toinsint ${DIR}. It means I would detect next lines if they attempt to install "*.desktop".On the other hand, while somewhat ugly, would using
newmenu "${FILESDIR}"/mimeapps.list kde-mimeapps.listwork "by mistake"?thesamesam commentedon Jan 25, 2025
I think that would work by mistake, yeah. @parona-source points out maybe this is a good case for a suppression instead and to keep the check as-is?