kde-plasma/plasma-mimeapps-list-2 installs `/etc/xdg/mimeapps.list`. According to the spec[1], it's a system-wide config and kde shouldn't try to hijack it. It should rather be put into some DE-specific location, probably `/usr/share/applications/KDE-mimeapps.list` or at most `/etc/xdg/KDE-mimeapps.list`. [1]: https://specifications.freedesktop.org/mime-apps-spec/1.0.1/file.html Reproducible: Always
kde-plasma/plasma-desktop currently installs /usr/share/applications/kde-mimeapps.list. Im thinking installing to the distribution wide location and then worrying later if gnome needs similar treatment.
(In reply to Alfred Wingate from comment #1) > kde-plasma/plasma-desktop currently installs > /usr/share/applications/kde-mimeapps.list. > > Im thinking installing to the distribution wide location and then worrying > later if gnome needs similar treatment. But those defaults will affect other DEs, which is not desirable. Moreover, kde-plasma/plasma-desktop depends upon kde-plasma/plasma-mimeapps-list, so why would you need to install them both? Or why do you need to maintain it as a separate package rather just patch the kde-plasma/plasma-desktop's one?
(In reply to Fat-Zer from comment #2) > (In reply to Alfred Wingate from comment #1) > > kde-plasma/plasma-desktop currently installs > > /usr/share/applications/kde-mimeapps.list. > > > > Im thinking installing to the distribution wide location and then worrying > > later if gnome needs similar treatment. > > But those defaults will affect other DEs, which is not desirable. > > Moreover, kde-plasma/plasma-desktop depends upon > kde-plasma/plasma-mimeapps-list, so why would you need to install them both? > Or why do you need to maintain it as a separate package rather just patch > the kde-plasma/plasma-desktop's one? We want to be able to edit it easily without forcing rebuilds of plasma-desktop.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=39abaaab4d28d0f326286b8d67978a8738461a4e commit 39abaaab4d28d0f326286b8d67978a8738461a4e Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2025-01-25 04:33:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-25 10:52:26 +0000 kde-plasma/plasma-mimeapps-list: replace plasma-desktop kde-mimeapps.list [sam: Note that pkgcheck complaints about insinto/newins here but it's bogus as we're *not* installing a menu item. Will file a bug about that later, though it may be awkward to handle.] Bug: https://bugs.gentoo.org/948681 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../plasma-mimeapps-list-2.ebuild | 26 -------------------- .../plasma-mimeapps-list-3.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 26 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef042cf60b50500d364675af5961808eb8941298 commit ef042cf60b50500d364675af5961808eb8941298 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2025-01-25 04:33:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-25 10:51:39 +0000 kde-plasma/plasma-mimeapps-list: replace plasma-desktop kde-mimeapps.list [sam: Note that pkgcheck complaints about insinto/newins here but it's bogus as we're *not* installing a menu item. Will file a bug about that later, though it may be awkward to handle.] Bug: https://bugs.gentoo.org/948681 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> ...mimeapps-list-2.ebuild => plasma-mimeapps-list-3.ebuild} | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)