dev-util/desktop-file-utils: don't install Emacs mode

These files are supposed to be part of app-emacs/desktop-entry-mode instead
where they're bytecompiled and we provide a sitefile. This is leftover.

Noticed during a discussion with eschwartz and ulm about /usr/share/emacs.

Fixes: b5340fc8a3
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-06-23 10:14:55 +01:00
parent 71be8e5d63
commit b56160c1bf
2 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,3 +21,10 @@ BDEPEND="
"
DOCS=( AUTHORS ChangeLog HACKING NEWS README )
src_install() {
meson_src_install
# Part of app-emacs/desktop-entry-mode instead
rm -r "${ED}"/usr/share/emacs || die
}

View File

@@ -1,5 +0,0 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'desktop-entry-mode "desktop-entry-mode" "Desktop Entry mode" t)
(add-to-list 'auto-mode-alist
'("\\.desktop\\(\\.in\\)?$" . desktop-entry-mode))
(add-hook 'desktop-entry-mode-hook 'turn-on-font-lock)