GNU bug report logs -
#48713
emacs-all-the-icons missing all the icons
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48713 in the body.
You can then email your comments to 48713 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#48713
; Package
guix
.
(Fri, 28 May 2021 09:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Prikler <leo.prikler <at> student.tugraz.at>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 28 May 2021 09:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Pardon the pun in the title.
The problem:
emacs-all-the-icons has a subdirectory fonts, that it wants installed
to share/fonts (currently, they are installed to its own fonts
directory). Some of them are vendored, but at least one seems to be
genuinely their own.
Proposed solution:
Make it, so that emacs-all-the-icons installs its own fonts to
share/data and copies vendored fonts from inputs where packages can
be found.
Note, that this won't work for a setup with all-the-icons in a non-
default profile or ad-hoc environment (compare #31403). Would everyone
be fine with the proposed solution or is there a better one?
Regards,
Leo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#48713
; Package
guix
.
(Sun, 14 Nov 2021 15:18:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 48713 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-all-the-icons)[#:include]: Drop fonts.
[#:phases]<install-fonts>: Install them directly to ‘/share’.
[propagated-inputs]: Add font-awesome.
---
gnu/packages/emacs-xyz.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b305bb5386..b3f7b6daa6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -150,6 +150,7 @@ (define-module (gnu packages emacs-xyz)
#:use-module (gnu packages djvu)
#:use-module (gnu packages ebook)
#:use-module (gnu packages emacs)
+ #:use-module (gnu packages fonts)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages golang)
#:use-module (gnu packages guile)
@@ -22420,13 +22421,27 @@ (define-public emacs-all-the-icons
(base32 "0lwgvgnqf7vihglm0c5bwsxbl4x7f641289cji5s7jwy2dbsqk7g"))))
(build-system emacs-build-system)
(arguments
- `(#:include '("\\.el$" "^data/" "^fonts/")
+ `(#:include '("\\.el$" "^data/")
;; Compiling "test/" fails with "Symbol’s value as variable is void:
;; all-the-icons--root-code". Ignoring tests.
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-fonts
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((fonts (string-append (assoc-ref outputs "out")
+ "/share/fonts")))
+ (mkdir-p fonts)
+ (with-directory-excursion "fonts"
+ (install-file "all-the-icons.ttf" fonts)
+ (install-file "file-icons.ttf" fonts)
+ (install-file "material-design-icons.ttf" fonts)
+ (install-file "octicons.ttf" fonts)
+ (install-file "weathericons.ttf" fonts))))))
#:exclude '("^test/")
#:tests? #f))
(propagated-inputs
- `(("f" ,emacs-f)
+ `(("font-awesome" ,font-awesome)
+ ("f" ,emacs-f)
("memoize" ,emacs-memoize)))
(home-page "https://github.com/domtronn/all-the-icons.el")
(synopsis "Collect icon fonts and propertize them within Emacs")
--
2.33.1
Reply sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
You have taken responsibility.
(Sat, 19 Feb 2022 19:56:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Prikler <leo.prikler <at> student.tugraz.at>
:
bug acknowledged by developer.
(Sat, 19 Feb 2022 19:56:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 48713-done <at> debbugs.gnu.org (full text, mbox):
Am Sonntag, dem 14.11.2021 um 16:13 +0100 schrieb Liliana Marie
Prikler:
> * gnu/packages/emacs-xyz.scm (emacs-all-the-icons)[#:include]: Drop
> fonts.
> [#:phases]<install-fonts>: Install them directly to ‘/share’.
> [propagated-inputs]: Add font-awesome.
Also propagated material icons and pushed.
Cheers!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 20 Mar 2022 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.