mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user