Package Details: nerd-fonts-complete 2.1.0-2

Git Clone URL: https://aur.archlinux.org/nerd-fonts-complete.git (read-only, click to copy)
Package Base: nerd-fonts-complete
Description: Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts.
Upstream URL: https://github.com/ryanoasis/nerd-fonts
Keywords: font fonts nerd nerd-fonts nerdfonts otf ttf
Licenses: MIT
Conflicts: nerd-fonts-complete-mono-glyphs, nerd-fonts-git
Submitter: SuperBo
Maintainer: francoism90
Last Packager: francoism90
Votes: 135
Popularity: 3.37
First Submitted: 2016-08-21 07:32
Last Updated: 2020-03-22 15:31

Pinned Comments

francoism90 commented on 2020-03-20 11:29

I have updated this PKG to v2.1.0: you need to uninstall any previous version(s) as I've done some breaking changes to the PKG. I had to rewrite the PKGBUILD because it was using a different repo/tarball instead of the official one.

  • Please note the tarball is around ~2GB, you may have to download this first using wget https://github.com/ryanoasis/nerd-fonts/archive/v2.1.0.tar.gz as GitHub doesn't offer resume download support.

This is how one may build this package:

$ cd ~/Downloads (you need ~4GB of space to build)
$ yay --getpkgbuild nerd-fonts-complete
$ cd nerd-fonts-complete
$ wget -O nerd-fonts-2.1.0.tar.gz https://github.com/ryanoasis/nerd-fonts/archive/v2.1.0.tar.gz
$ makepkg -sci BUILDDIR=.

If something is missing and/or broken, please let me know.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

francoism90 commented on 2020-04-05 08:24

@electricprism See pinned comments or use the patch provided by pepper_chico

electricprism commented on 2020-04-03 23:20

curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume. ==> ERROR: Failure while downloading https://github.com/ryanoasis/nerd-fonts/archive/v2.1.0.tar.gz

pepper_chico commented on 2020-03-29 15:58

Suggested patch for anyone suffering from GitHub download aborts:

diff --git a/PKGBUILD b/PKGBUILD
index 8f26a66..240497a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,13 +15,13 @@ depends=('fontconfig' 'xorg-font-utils')
 conflicts=('nerd-fonts-git' 'nerd-fonts-complete-mono-glyphs')
 source=(
   'fix-installer-font-dir.patch'
-  "${_gitname}-${pkgver}.tar.gz::https://github.com/ryanoasis/nerd-fonts/archive/v${pkgver}.tar.gz"
 )
-sha256sums=('ccf93b108044a87bfb29c3f836d2ce4d5bdb1829702e532a69ccb4ab4aecaceb'
-            'a084ca91a174b547bab4523507824c76aa91ebcf38f9256a4ffd181813f87bd8')
+sha256sums=('ccf93b108044a87bfb29c3f836d2ce4d5bdb1829702e532a69ccb4ab4aecaceb')

 prepare () {
-  cd "$srcdir/$_gitname-$pkgver"
+  cd "$srcdir"
+  git clone --branch v${pkgver} --depth 1 https://github.com/ryanoasis/nerd-fonts.git "$_gitname-$pkgver"
+  cd "$_gitname-$pkgver"

   patch -Np1 -i "$srcdir"/fix-installer-font-dir.patch
 }

ruro commented on 2020-03-23 08:19

@francoism90

I have put back the scripts, please report back if it works OK now. :)

All is well now. Thanks for the quick fix.

pepper_chico commented on 2020-03-22 16:05

@francoism90

Please try adjusting your aria2 settings and download again

Tried many already, all fail. aria2 supports resumed downloads by default.

francoism90 commented on 2020-03-22 15:40

@pepper_chico I don't have any problems downloading, maybe because I don't use any helper. Please try adjusting your aria2 settings and download again. The previous tarball URL wasn't using the official one, I don't recommend using any different repo than the official one.

@podiki @all I have changed back the path to /usr/share/fonts/nerd-fonts-complete/ and fixed the typo's, sorry for that! The font cache should automatically update nowadays, that's why I didn't include the .install anymore. Please try and report back if the problems are gone.

@ruro Thanks for reporting it. I have put back the scripts, please report back if it works OK now. :)

pepper_chico commented on 2020-03-22 03:02

@francoism90

yay uses curl with resume support and fails. I've attempted download from github url many times with aria2c, which imo is one of the best download manager for resuming, it simply doesn't work. I'm not trying another. Notice that this problem is also referred on upstream issue tracker:

From what I can see github isn't behaving well for this kind of download, so your update to the package is breaking installations due to relying on broken service, that works on your machine, but not on others.

podiki commented on 2020-03-21 22:33

Paths have changed (purposefully?):

  1. install changed to /usr/share/fonts/nerd-fonts from /usr/share/tons/nerd-fonts-complete

  2. typo of TTF becoming TFF

Not sure if this caused issues with fonts not being found, though would think it shouldn't matter. Could be on my end with some cache not being updated (for stumpwm, Lisp). Update: yes, had to update ttf cache for clx-truetype/xft

ruro commented on 2020-03-21 21:49

@francoism90 They are needed to avoid hardcoding specific codepoints for the glyphs https://github.com/ryanoasis/nerd-fonts/wiki/Icon-Names-in-Shell

Also, https://www.hyrumslaw.com/ and you just broke my shell & vim lol

francoism90 commented on 2020-03-21 20:10

@ruro I did remove the scripts from the installer.. are they needed and why? If so, I can put them back. :)

@pepper_chico Weird, it downloads fine for me over here, on 30 mbits it should take over 15 min. I really recommend to grab the official repo tarball or try an other download manager if it keeps failing.