gnu: emacs-all-the-icons: Fix build.

* gnu/packages/patches/emacs-all-the-icons-remove-duplicate-rs.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/emacs-xyz.scm (emacs-all-the-icons)[source]<patches>: Use it here.
This commit is contained in:
Liliana Marie Prikler 2023-08-19 01:55:30 +02:00
parent 51bbc440f4
commit f9b3bcac9a
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87
3 changed files with 24 additions and 0 deletions

View file

@ -1090,6 +1090,7 @@ dist_patch_DATA = \
%D%/packages/patches/elm-offline-package-registry.patch \ %D%/packages/patches/elm-offline-package-registry.patch \
%D%/packages/patches/elm-reactor-static-files.patch \ %D%/packages/patches/elm-reactor-static-files.patch \
%D%/packages/patches/elogind-revert-polkit-detection.patch \ %D%/packages/patches/elogind-revert-polkit-detection.patch \
%D%/packages/patches/emacs-all-the-icons-remove-duplicate-rs.patch \
%D%/packages/patches/emacs-deferred-fix-number-of-arguments.patch \ %D%/packages/patches/emacs-deferred-fix-number-of-arguments.patch \
%D%/packages/patches/emacs-exec-path.patch \ %D%/packages/patches/emacs-exec-path.patch \
%D%/packages/patches/emacs-ess-fix-obsolete-function-alias.patch \ %D%/packages/patches/emacs-ess-fix-obsolete-function-alias.patch \

View file

@ -27776,6 +27776,8 @@ (define-public emacs-all-the-icons
(url "https://github.com/domtronn/all-the-icons.el") (url "https://github.com/domtronn/all-the-icons.el")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(patches
(search-patches "emacs-all-the-icons-remove-duplicate-rs.patch"))
(sha256 (sha256
(base32 "0lwgvgnqf7vihglm0c5bwsxbl4x7f641289cji5s7jwy2dbsqk7g")))) (base32 "0lwgvgnqf7vihglm0c5bwsxbl4x7f641289cji5s7jwy2dbsqk7g"))))
(build-system emacs-build-system) (build-system emacs-build-system)

View file

@ -0,0 +1,21 @@
From 24b8d5b63e347bd4cdcf79bf897fc0097fa20fc7 Mon Sep 17 00:00:00 2001
From: Michael Wernthaler <michael.wernthaler@posteo.de>
Date: Thu, 22 Jul 2021 11:27:31 +0200
Subject: [PATCH] Fixed icon for .rs-files
---
all-the-icons.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/all-the-icons.el b/all-the-icons.el
index e1f4cb7695..3399906cfb 100644
--- a/all-the-icons.el
+++ b/all-the-icons.el
@@ -194,7 +194,6 @@
("r" all-the-icons-fileicon "R" :face all-the-icons-lblue)
("rd" all-the-icons-fileicon "R" :face all-the-icons-lblue)
("rdx" all-the-icons-fileicon "R" :face all-the-icons-lblue)
- ("rs" all-the-icons-fileicon "R" :face all-the-icons-lblue)
("rsx" all-the-icons-fileicon "R" :face all-the-icons-lblue)
;; There seems to be a a bug with this font icon which does not
;; let you propertise it without it reverting to being a lower