I also can't download the tar.gz from Gitlab. Tried it via wget, curl and Firefox but it always gets canceled with a "Read error" around the 2GB mark.
Search Criteria
Package Details: nerd-fonts-complete 2.1.0-8
Package Actions
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 |
Provides: | nerd-fonts-cascadia-code, nerd-fonts-fantasque-sans-mono, nerd-fonts-fira-code, nerd-fonts-hack, nerd-fonts-iosevka, nerd-fonts-jetbrains-mono, nerd-fonts-overpass, nerd-fonts-roboto-mono, nerd-fonts-source-code-pro, nerd-fonts-terminus, nerd-fonts-ubuntu-mono, otf-nerd-fonts, ttf-font-nerd, ttf-iosevka-nerd, ttf-nerd-font, ttf-nerd-fonts, ttf-nerd-fonts-symbols, ttf-nerd-fonts-symbols-mono |
Submitter: | SuperBo |
Maintainer: | francoism90 |
Last Packager: | francoism90 |
Votes: | 197 |
Popularity: | 4.73 |
First Submitted: | 2016-08-21 07:32 (UTC) |
Last Updated: | 2021-10-12 07:17 (UTC) |
Dependencies (3)
- xorg-bdftopcf (make)
- xorg-font-util (make)
- xorg-mkfontscale (make)
Required by (38)
- all-repository-fonts (requires ttf-nerd-fonts-symbols)
- bspwmbar (requires ttf-nerd-fonts-symbols) (optional)
- bspwmbar-git (requires ttf-nerd-fonts-symbols) (optional)
- bullettrain
- bullettrain-git
- clweather (optional)
- clweather (requires nerd-fonts-roboto-mono) (optional)
- clweather (requires nerd-fonts-source-code-pro) (optional)
- clweather (requires nerd-fonts-terminus) (optional)
- clweather (requires nerd-fonts-hack) (optional)
- dots-git (requires nerd-fonts-hack)
- dots-stable (requires nerd-fonts-hack)
- gbt-git (optional)
- hunter (optional)
- hunter-git (optional)
- jls (requires nerd-fonts-hack)
- jpwd (requires nerd-fonts-hack)
- lsd-git (optional)
- neovim-web-devicons-git (requires ttf-font-nerd)
- nerd-fonts-fontconfig (requires ttf-nerd-fonts-symbols)
Sources (2)
Latest Comments
Durag commented on 2022-06-23 08:43 (UTC)
friday13 commented on 2022-04-20 12:06 (UTC)
I followed the instructions in the fixed message but I still get the error. Download stops after 1.5 GB and restarts
--2022-04-20 14:53:58-- (try: 3) https://codeload.github.com/ryanoasis/nerd-fonts/tar.gz/refs/tags/v2.1.0
- Connection closed at byte 1409643372. Retrying
Spatacoli commented on 2022-04-19 20:27 (UTC)
Is anyone else having problems downloading the v2.1.0.tar.gz file from GitHub? I get about 1.4GB into it and then I get:
Read error at byte 1575634744 (The request is invalid.) Retrying.
The byte at which the error occurs is always different but consistently above 1GB. Any ideas? I tried just downloading the file through a browser, but I have the same problem.
Thanks!
ranceh commented on 2022-03-01 16:39 (UTC)
For those complaining that the checksum in the package is wrong, it is not.
Follow francoism90's instructions in the pinned comment and it works fine.
Your aur helper is not downloading the large tar file correctly.
(It happened to me twice before coming here and finding these notes.)
mble commented on 2022-02-26 04:24 (UTC)
@Spixmaster same for me :/
Spixmaster commented on 2022-01-26 11:05 (UTC)
Could it be that the check sums are wrong? The validation failed two consecutive times for me.
alerque commented on 2022-01-17 19:14 (UTC)
@r00tr4t Get a better AUR helper, aura
is out to lunch on that warning. The bash script in question is in the upstream project and creates a false sense of security. Any Makefile or unstall script in upstream sources could also run arbitrary code, there is nothing magically more dangerous about bash install.sh
than make install
. I suggest paru
or yay
as upgrades. Or learn to interpret the output yourself.
r00tr4t commented on 2022-01-17 18:37 (UTC)
When I tried to install this font I get:
aura >>= Determining dependencies...
aura >>= WARNING: The PKGBUILD of nerd-fonts-complete contains blacklisted bash expressions.
bash install.sh --clean --otf --complete
aura >>= bash can be used to execute arbitrary code not tracked by this PKGBUILD.
aura >>= Do you wish to quit the build process? [Y/n]
aura >>= Cancelled further processing to avoid potentially malicious bash code.
learnedbyerror commented on 2021-11-14 08:33 (UTC)
I was able to use v2.1.0-8 to successfully build and install a package which met starship's dependency on ttf-iosevka-nerd and starship is now working correctly with the emoji icons.
I did have problems with yay being able to successfully download v2.1.0 of nerd-fonts from GitHub. It appears the problem is with curl. It failed on me at ~1.5 GB. I ran makepkg -s which failed at the same point but left the working files in place. I downloaded the file using wget, which hit much higher rates than curl. Once the download was complete, I overwrote the partial file in the working directory with the full version that I downloaded.
I then ran makepkg -s again and it validated the file and completed the build. I then ran makepkg -i to install and afterwards ran pacman -S starship to install starship. Note, I removed starship and ttf-iosevka-nerd prior to starting the build process.
Thanks for getting PKGBUILD updated to support starship's dependency and for the other comments in the thread so that I could put together the above to get it installed.
This is my first foray back on Arch in a long time. I have spent most of the last 10 years in Debian which is fine for the server stuff that I have been working. But I now need a very current reliable desktop and I think Arch will will be the best for me for that.
Rolv commented on 2021-10-15 12:01 (UTC) (edited on 2021-10-15 12:17 (UTC) by Rolv)
Looks like the problem lies with starship
requiring ttf-iosevka-nerd
:
:: removing ttf-iosevka-nerd breaks dependency 'ttf-font-nerd' required by starship
My bad though, not an issue on your end. Thanks for the help.
francoism90 commented on 2021-10-14 19:30 (UTC)
@Rolv The error seems to be valid? This package already provides ttf-iosevka-nerd
, so you should only install nerd-fonts-complete
, not both.
Rolv commented on 2021-10-14 12:20 (UTC)
@francoism90 Clearing the cache did not seem to fix the issue, I'm still getting the following error:
:: nerd-fonts-complete and ttf-iosevka-nerd are in conflict (nerd-fonts-iosevka). Remove ttf-iosevka-nerd? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nerd-fonts-complete and ttf-iosevka-nerd are in conflict
-> exit status 1
francoism90 commented on 2021-10-12 07:18 (UTC) (edited on 2021-10-12 07:23 (UTC) by francoism90)
@andriperalt @jrabensc Could you please try again? I've added the font to provides
as it does seem to include this font. Also note you shouldn't have to install ttf-iosevka-nerd
as this PKG already provides it.
To clean caches use, you may try:
paru -Scc
yay -Scc
andriperalt commented on 2021-10-12 02:04 (UTC) (edited on 2021-10-12 02:04 (UTC) by andriperalt)
So I could update following this procedure:
yay -R nerd-fonts-complete
yay -Syu
yay -Syu nerd-fonts-complete
The last one will ask to remove ttf-iosevka-nerd
again
jrabensc commented on 2021-10-11 19:36 (UTC) (edited on 2021-10-11 19:37 (UTC) by jrabensc)
Cleaning the cache did not help: ttf-iosevka-nerd and nerd-fonts-complete are in conflict (nerd-fonts-iosevka).
I'm not sure if you need to add ttf-iosevka-nerd
, I'm quite new to the AUR.
francoism90 commented on 2021-10-10 19:53 (UTC) (edited on 2021-10-10 19:54 (UTC) by francoism90)
@jrabensc Make sure to clean the cache. If you build using yay
or paru
, make sure this is empty before building it.
Edit: I didn't add ttf-iosevka-nerd
- should this also be added?
jrabensc commented on 2021-10-10 18:26 (UTC)
I'm still getting this message: ttf-iosevka-nerd and nerd-fonts-complete are in conflict (nerd-fonts-iosevka). I'm not sure how to proceed here.
francoism90 commented on 2021-10-10 10:16 (UTC)
@hugepoggers Thanks for the reminder! Sorry for the delay, I've pushed the requested changes. :)
hugepoggers commented on 2021-10-09 16:08 (UTC)
Hey @francoism90, are you still planning on adding the two mentioned values to provides
and making a new release?
willfindlay commented on 2021-09-30 02:15 (UTC)
Ah never mind, I needed to also update the %PROVIDES%
entry under /var/lib/pacman/local/nerd-fonts-complete-2.1.0-6/desc
. I guess totally removing and reinstalling the package would also update this?
willfindlay commented on 2021-09-30 01:52 (UTC)
Hi @francoism90, adding those values to the provides array does not solve the issue on my end. Unless I'm missing something?
francoism90 commented on 2021-09-28 07:10 (UTC)
@nymous @willfindlay @alerque Thanks for reporting. I'll add ttf-font-nerd
and ttf-nerd-font
to the provides array, hopefully this will solve the issue. :)
willfindlay commented on 2021-09-28 01:03 (UTC) (edited on 2021-09-28 01:06 (UTC) by willfindlay)
@alerque I was wondering if you had any guidance for working around this conflict? I tried manually adding both 'ttf-nerd-font' and 'ttf-font-nerd' to the provides= section of the PKGBUILD, but no success. I also separately tried modifying .SRCINFO in a similar manner, but no luck. Is this something that just has to be fixed upstream?
Here is the relevant diff:
diff --git a/.SRCINFO b/.SRCINFO
index 7628766..ea6f5f1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,8 @@ pkgbase = nerd-fonts-complete
makedepends = xorg-bdftopcf
makedepends = xorg-font-util
provides = otf-nerd-fonts
+ provides = ttf-font-nerd
+ provides = ttf-nerd-font
provides = nerd-fonts-cascadia-code
provides = nerd-fonts-fantasque-sans-mono
provides = nerd-fonts-fira-code
diff --git a/PKGBUILD b/PKGBUILD
index 415dc9d..4d43a5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,8 @@ conflicts=(
)
provides=(
'otf-nerd-fonts'
+ 'ttf-nerd-font'
+ 'ttf-font-nerd'
'nerd-fonts-cascadia-code'
'nerd-fonts-fantasque-sans-mono'
'nerd-fonts-fira-code'
alerque commented on 2021-09-27 18:00 (UTC) (edited on 2021-09-27 18:01 (UTC) by alerque)
In answer to @nymous's question, the right place to fix that "conflict" is here. This package needs to provide=('ttf-nerd-font')
to be a viable alternative to supply a font wind the nerd glyph set. Any font will do as far as starship is concerned, but it requires at least one. This one can be eligible, but it needs to provide that virtual package name. It can and still should conflict with anything it actually has a file clash for, but people with this package will not be required to install the other.
This particular virtual package requirement is brand new. It has been addressed in official packages, but any AUR packages providing nerd capable fonts need to set this value to be eligible.
nymous commented on 2021-09-27 17:17 (UTC)
Hi!
The latest update of Starship added a dependency on ttf-font-nerd
, currently provided by ttf-iosevka-nerd.
This package conflicts with nerd-fonts-complete
, but I don't know which one should fix it. Should nerd-fonts-complete
add a Provides
, or starship
change its dependency?
Thank you!
fsociety3765 commented on 2021-09-09 15:36 (UTC)
Has anyone recently been able to install this?
I have tried using the details in the pinned comment but it fails to pass the validity check.
Using wget
to download the tar.gz would not work. I had to download using Firefox and move the tar.gz into the build dir.
SkyHeis commented on 2021-07-23 09:28 (UTC)
I just download it with $ git clone https://aur.archlinux.org/nerd-fonts-complete.git and when i did $ makepkg -i after the download i got this
==> Validating source files with sha256sums... fix-installer-font-dir.patch ... Passed nerd-fonts-2.1.0.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check!
francoism90 commented on 2021-06-23 10:29 (UTC)
@Rojikku @laurentlbm Done, sorry for the delay. I didn't bump the package, you need to rebuild if you need it. :)
Rojikku commented on 2021-06-22 21:33 (UTC)
Greetings. Could you add https://aur.archlinux.org/packages/nerd-fonts-fantasque-sans-mono/ in the list of Provides to resolve a dependency issue?
francoism90 commented on 2021-06-21 06:41 (UTC)
@MrNessuno You could try another downloader like aria2
or ask for a mirror upstream.
MrNessuno commented on 2021-06-20 20:23 (UTC)
https://github.com/ryanoasis/nerd-fonts/archive/v2.1.0.tar.gz is impossible to download, i tryed 3 times with wget and 2 times with Firefox and it stopped after 1Gb and some MB
djmattyg007 commented on 2021-05-13 13:55 (UTC)
@francoism90 you can add a new item to the "provides" list without bumping the pkgrel. It'll take effect for new builds where users really need it, otherwise it will just take effect with the next actual update.
francoism90 commented on 2021-03-02 11:14 (UTC)
@laurentlbm Thanks, will be added later. One of the issues is people getting a notification for a rebuild, which may be unwanted.
laurentlbm commented on 2021-02-25 16:25 (UTC)
@francoism90 Can you please add nerd-fonts-fantasque-sans-mono
to provided=()
? Thanks!
francoism90 commented on 2021-02-14 08:15 (UTC)
I've add the requested fonts to the provided=()
array, also added a few others variants. If fonts should be added as well or something else, let me know.
G4Zz0L1 commented on 2021-02-14 00:46 (UTC)
I've the same situation of @hero, with the same package. Will the provides array be added?
francoism90 commented on 2021-02-02 09:05 (UTC)
Sorry for the delay. I'll add the suggested packages to provides asap. :)
JohnTheCF commented on 2021-01-31 13:44 (UTC)
I can't download tarball even with wget, it errors on around 1.05GiB.
sylphio commented on 2021-01-26 11:15 (UTC)
I agree with the need for a provides
array. Actually, I have been adding it myself for some time.
One important enough is nerd-fonts-terminus
. It is required by the default settings of Manjaro (or at least some flavours of it) and so this may help all Manjaro users (or at least a large subset of them) who want to install nerd-fonts-complete
.
hero commented on 2021-01-23 17:51 (UTC)
I second @nmaggioni's request to add the provides
-key, if this package truly fully contains ttf-nerd-fonts-symbols
.
It should look like this: provides=('ttf-nerd-fonts-symbols')
Longer explanation and example why this is needed:
I have the package all-repository-fonts
installed, which depends on ttf-nerd-fonts-symbols
. When I wanted to install nerd-fonts-complete
with the conflicts
-key and without the provides
-key, it will not work. This is the case, because nerd-fonts-complete
is in conflict with ttf-nerd-fonts-symbols
, which means that ttf-nerd-fonts-symbols
will be removed when I install nerd-fonts-complete
, but this would break the dependency of all-repository-fonts
on the package ttf-nerd-fonts-symbols
.
With the provides
-key the dependency is not broken, because the dependency is fulfilled by nerd-fonts-complete
and thus I can install nerd-fonts-complete
, which automatically replaces ttf-nerd-fonts-symbols
.
nmaggioni commented on 2021-01-19 09:06 (UTC)
@francoism90 Exactly because the conflicting packages provide a subset of the same fonts they should be in the provides
array in the PKGBUILD as well. This way those packages don't get abruptly removed, potentially breaking others (in mere terms of dependencies), but instead get replaced by this one and dependants are none the wiser.
My version of LSD was packaged differently than the one currently in the AUR though; disregard that, my bad.
francoism90 commented on 2021-01-19 08:12 (UTC)
@nmaggioni Shouldn't this package already provide all the needed fonts? Are you sure ttf-nerd-fonts-symbols
should be installed alongside this one? I also don't see any conflicts with the linked package, even the dep awesome-terminal-fonts
can be installed next to this one.
@merlock Good tip, AUR users can use the same --overwrite flag with any modern helper or when using makepkg
.
merlock commented on 2021-01-18 14:07 (UTC) (edited on 2021-01-18 14:11 (UTC) by merlock)
Like @hero, I had the conflict with ttf-nerd-fonts-symbols. Unlike @nmaggioni, I had no packages depending on it.
Built package,and installed; got the conflict warning, and proceeded.
Got the conflicting files error (/etc/fonts/conf.avail/10-nerd-font-symbols.conf exists in filesystem). Interesting...
Manually removed ttf-nerd-fonts-symbols, and attempted to reinstall.
Guess what? Still got the conflicting files error - it seems that became orphaned...pacfile showed no package owning /etc/fonts/conf.avail/10-nerd-font-symbols.conf.
Since I use a custom repository for my AUR stuff, fixing was pretty easy:
sudo pacman -Syu --overwrite /etc/fonts/conf.avail/10-nerd-font-symbols.conf
Helper users are on their own. :)
nmaggioni commented on 2021-01-18 10:37 (UTC)
Removing ttf-nerd-fonts-symbols
breaks other packages. Since the contents of /etc/fonts/conf.avail/10-nerd-font-symbols.conf
are still the same in this one, adding provides=('ttf-nerd-fonts-symbols')
to the PKGBUILD avoid breakages on my system.
francoism90 commented on 2021-01-18 10:12 (UTC)
@hero Thanks! I'll add ttf-nerd-fonts-symbols
to conflicts
. I don't think both packages should be installed as this package should already provide the symbols.
hero commented on 2021-01-17 12:33 (UTC)
This package in version 2.1.0-4 is conflicting with ttf-nerd-fonts-symbols
from the community repo:
$ sudo pacman -Syu nerd-fonts-complete
[...]
error: failed to commit transaction (conflicting files)
nerd-fonts-complete: /etc/fonts/conf.avail/10-nerd-font-symbols.conf exists in filesystem (owned by ttf-nerd-fonts-symbols)
Errors occurred, no packages were upgraded
CJay commented on 2020-12-29 16:48 (UTC)
If anyone else has a problem with downloading the file, I uploaded it here https://mega.nz/file/4Ml2ySAA#QwjihnwU0waglPXocRrQ8jtYvXz1mFBmbp08Ux12BQU (version 2.1.0)
toketin commented on 2020-12-01 18:46 (UTC)
@dragonek93 same here, the download stops at about 1.03GB. I've tried twice with wget or aria2.
swrdghcnqstdr commented on 2020-10-14 22:13 (UTC)
does this package actually even include the patcher? i couldn't find it anywhere, and the pkgbuild only seems to be copying over the fonts... if it does install the patcher, can someone tell me where it's installed to? if not, consider removing from package description?
sylphio commented on 2020-09-23 13:56 (UTC)
For those who face curl
errors: I have been able to work around this by making a (shallow) clone of the git repository instead. Below is my patch.
diff --git a/PKGBUILD b/PKGBUILD
index b9d67a8..5b3a983 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,13 +15,13 @@ makedepends=('xorg-mkfontscale' 'xorg-bdftopcf' 'xorg-font-util')
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} --single-branch --depth 1 https://github.com/ryanoasis/nerd-fonts.git "$_gitname-$pkgver"
+ cd "$_gitname-$pkgver"
patch -Np1 -i "$srcdir"/fix-installer-font-dir.patch
}
spritee commented on 2020-09-10 14:38 (UTC) (edited on 2020-09-10 14:38 (UTC) by spritee)
i get this error when trying to download this package:
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 Aborting...
dragonek93 commented on 2020-09-06 12:50 (UTC)
i have problem with download this pkg. Its always crash and cancel download in 1,04gb and cancel all time. I tried with yay -S nerd-fonts-complete and the same problem i have at pamac aur. Help please
hriad commented on 2020-07-04 18:30 (UTC)
Looks good to me @francoism90 thank you for your time maintaining this package ;)
merlock commented on 2020-07-01 13:27 (UTC)
@francoism90...new package built and installed with no apparent problems...other than a few notices about invalid cache files in $HOME/.cache/fontconfig/
francoism90 commented on 2020-07-01 11:44 (UTC) (edited on 2020-07-01 11:44 (UTC) by francoism90)
Could you guys please test the dep changes? :)
I've moved them to makedep, let me know if this change should be revert.
alerque commented on 2020-06-30 11:29 (UTC)
It addition to xorg-font-utils, the fontconfig dependency also needs to be removed.
merlock commented on 2020-06-29 22:36 (UTC)
xorg-font-utils no longer in repos. PKGBUILD needs re-work.
https://www.archlinux.org/todo/removal-of-xorg-font-utils-transitional-package/
francoism90 commented on 2020-04-05 08:24 (UTC) (edited on 2020-05-29 07:24 (UTC) by francoism90)
@electricprism See pinned comments or use the patch provided by pepper_chico
electricprism commented on 2020-04-03 23:20 (UTC)
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 (UTC)
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 (UTC)
@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 (UTC)
@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 (UTC) (edited on 2020-03-22 15:48 (UTC) by francoism90)
@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 (UTC)
@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 (UTC) (edited on 2020-03-21 22:42 (UTC) by podiki)
Paths have changed (purposefully?):
-
install changed to
/usr/share/fonts/nerd-fonts
from/usr/share/tons/nerd-fonts-complete
-
typo of
TTF
becomingTFF
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 (UTC)
@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 (UTC) (edited on 2020-03-21 20:14 (UTC) by francoism90)
@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.
ruro commented on 2020-03-21 15:50 (UTC) (edited on 2020-03-21 15:51 (UTC) by ruro)
@francoism90 The scripts in bin/scripts/lib/
(i_all.sh
, i_dev.sh
, i_fa.sh
, etc) used to be installed under /usr/lib/nerd-fonts-complete/*
now they are apparently not installed at all?
pepper_chico commented on 2020-03-21 13:22 (UTC) (edited on 2020-03-21 13:24 (UTC) by pepper_chico)
@mckean, I did already have tried aria2c for resuming, it didn't work either (with aria2c, once it fails, it starts from beginning, and keeps looping). I'm on 30MB connection, download speed is on limit of my connection.
mckean commented on 2020-03-21 13:15 (UTC)
@pepper_chico this seems to happen due to timeouts on githubs end. But I guess it's not optimal to download a 2.4 GB file when you might actually just need a fraction. To work around your issue find a server where you can download the file quickly from github, then change the url in the pkg build file. Or try using a download manager (the download accepts ranges, so resuming should be possible) (https://codeload.github.com/ryanoasis/nerd-fonts/tar.gz/v2.1.0) Good luck!
commented on 2020-03-21 00:19 (UTC)
PKG v2.1.0 update (with yay) messed up my icons and they are no longer working. The spacing has messed up. Please revert to 2.0.0-5 version.
pepper_chico commented on 2020-03-20 16:26 (UTC) (edited on 2020-03-20 16:30 (UTC) by pepper_chico)
After last update I can't upgrade this package anymore, always getting:
curl: (18) transfer closed with 1304011402 bytes remaining to read
==> ERROR: Failure while downloading https://github.com/ryanoasis/nerd-fonts/archive/v2.1.0.tar.gz
Aborting...
Error downloading sources: nerd-fonts-complete
It always fails after having downloaded around 1GB, then afterwards it's unable to resume:
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
Aborting...
Error downloading sources: nerd-fonts-complete
francoism90 commented on 2020-03-20 11:29 (UTC) (edited on 2021-06-21 06:43 (UTC) by francoism90)
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 (2298M), 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. -
See https://github.com/ryanoasis/nerd-fonts/issues/274#issuecomment-605657287 as a possible workaround when dealing with download problems.
This is how one may build this package:
$ cd ~/Downloads (you need ~4GB of space to build)
$ yay --getpkgbuild nerd-fonts-complete (or git clone https://aur.archlinux.org/nerd-fonts-complete.git)
$ 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.
friday13 commented on 2020-02-23 06:09 (UTC)
can u update this package ?
0x647262 commented on 2020-02-16 21:51 (UTC)
Just as a head up, I'm looking into how to repackage this so that it's not dependent upon my GitLab project.
francoism90 commented on 2019-08-08 12:56 (UTC)
@LysanderAkili i_fa.sh is included
jamespharvey20 commented on 2019-05-25 23:49 (UTC)
As @wknapik said, I ran into a sha256sum failure on LICENSE. This is because I'm using SRCDEST
which stores all source data in a common directory. See https://wiki.archlinux.org/index.php/Makepkg#Package_output
It's required that each downloaded source filename be unique among all packages, because SRCDEST is a supported option. See https://wiki.archlinux.org/index.php/PKGBUILD#source
I must have installed another package that doesn't make its LICENSE
unique, so I'll need to track that down.
The patch below fixes this issue:
diff --git a/PKGBUILD b/PKGBUILD
index [`1a71ace`](https://aur.archlinux.org/cgit/aur.git/commit/?h=nerd-fonts-complete&id=1a71ace)..920b4a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname='nerd-fonts-complete'
pkgver=2.0.0
-pkgrel=5
+pkgrel=6
pkgdesc='
Iconic font aggregator, collection, and patcher. 40+ patched fonts, over 3,600
glyph/icons, includes popular collections such as Font Awesome & fonts such as
@@ -17,7 +17,7 @@ conflicts=('nerd-fonts-git' 'nerd-fonts-complete-mono-glyphs')
install="${pkgname}.install"
source=(
"${pkgname/-complete}-${pkgver}.tar.xz::<https://gitlab.com/devopsdeluxe/nerd-fonts-aur/raw/v>${pkgver}/release/NerdFonts.tar.xz"
- "<https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v>${pkgver}/LICENSE"
+ "${pkgname}-LICENSE::<https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v>${pkgver}/LICENSE"
"<https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v>${pkgver}/bin/scripts/lib/i_all.sh"
"<https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v>${pkgver}/bin/scripts/lib/i_dev.sh"
"<https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v>${pkgver}/bin/scripts/lib/i_fa.sh"
@@ -73,7 +73,7 @@ package() {
done < <(find "${srcdir}" -maxdepth 1 -name "i_*.sh")
install -d -m 755 "${licensedir}"
- install -m 644 LICENSE "${licensedir}"
+ install -m 644 "${pkgname}-LICENSE" "${licensedir}/LICENSE"
}
# vim: ts=2 sw=2 et:2
jamespharvey20 commented on 2019-05-25 23:24 (UTC)
nerd-fonts-complete.install
should be removed from repo and PKGBUILD
. libalpm hook fontconfig.hook
runs fc-cache -s
, and hook xorg-mkfontscale.hook
runs scripts/xorg-mkfontscale
which runs mkfontscale
and mkfontdir
for everything in /usr/share/fonts/
.
LysanderAkili commented on 2019-02-19 00:54 (UTC)
Missing Font Awesome...
PedroHLC commented on 2018-10-19 23:08 (UTC)
OMG! There is 1.3G of TTF and 380M of OTF fonts in this package Oo
wknapik commented on 2018-08-02 10:43 (UTC) (edited on 2018-08-02 10:48 (UTC) by wknapik)
==> Validating source files with sha256sums... LICENSE ... FAILED [...] :: failed to verify integrity or prepare nerd-fonts-complete package
A manual sha256sum check of the LICENSE file succeeds, but pacaur 4.7.90 fails on it.
aksh1618 commented on 2018-07-02 09:27 (UTC)
@domo Yeah, that worked. I wasn't expecting it to be that big: net upgrade size wa 1.7 GB !! Any idea what might have led to that ?
domo commented on 2018-06-16 10:46 (UTC)
@aksh1618
increase the size of the tmp folder
sudo mount -o remount,size=10G,noatime /tmp
aksh1618 commented on 2018-06-13 19:01 (UTC)
This fills my \tmp
:
==> Creating package "nerd-fonts-complete"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
xz: (stdout): Write error: No space left on device
bsdtar: Write error
==> ERROR: Failed to create package file.
:: Unable to build nerd-fonts-complete - makepkg exited with code: 5
Output of df -h
:
Filesystem Size Used Avail Use% Mounted on
...
tmpfs 3.9G 22M 3.9G 1% /dev/shm
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 3.9G 0 100% /tmp
...
FredBezies commented on 2018-06-04 07:36 (UTC)
@thyeun: which problems can be faced with fonts? What's the interest to sign them?
Just asking.
thyeun commented on 2018-06-04 06:37 (UTC)
There are three way to finish this installation.
1st - using gpg --recv-keys 9894426FA740B074 than modify the PKGBUILD with validpgpkeys= , take your own risk
2nd - manually finish the installation with makepkg -s --skippgpcheck than follow with sudo pacman -U nerd-fonts-complete-*.pkg.tar.xz , take your own risk.
3rd - Sit and wait for the Maintainer to make change on the PKGBUILD.
so all depend which one you prefer.
FredBezies commented on 2018-06-04 05:14 (UTC)
Hello.
Either provide a validpgpkeys= line in PKGBUILD or remove .asc file. This is breaking package building. Thanks.
JohnnyDeacon commented on 2018-06-04 03:00 (UTC) (edited on 2018-06-04 03:11 (UTC) by JohnnyDeacon)
==> Verifying source file signatures with gpg... nerd-fonts-2.0.0.tar.xz ... FAILED (unknown public key 9894426FA740B074) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build nerd-fonts-complete.
plague-doctor commented on 2018-06-04 02:05 (UTC)
Why have you changed the PGP key? This one is not trusted...
0x647262 commented on 2018-06-04 00:21 (UTC)
I believe I've squashed the remaining bugs in the PKGBUILD as of release 4. If anything else is breaking, try cleanbuilding the package.
Still broken? Report it here!
0x647262 commented on 2018-06-03 20:24 (UTC) (edited on 2018-06-03 22:24 (UTC) by 0x647262)
@SuperBo @postblue
I opted to "install" the release locally with a few helper scripts and compress it. I've managed to reduce the download to a mere 350M while retaining all of the upstream v2.0.0 fonts:
15:17:00-0600 grendel@aether:/home/grendel/Git/pkgbuilds/nerd-fonts-complete
+ find pkg/nerd-fonts-complete/usr/share/fonts/nerd-fonts-complete/ -name *.otf -o -name *.ttf | wc -l
1194
I have plans to change the way they package releases upstream so that we're not relying on an external repository. In the interim though, I think this is a reasonable way to handle (re)packaging the release for ArchLinux users.
Here's the GitLab repository: https://gitlab.com/devopsdeluxe/nerd-fonts-aur
@Terence
In the latest release I've added those scripts. Let me know if you need anything changed!
0x647262 commented on 2018-06-03 17:16 (UTC)
@devopsdeluxe could you make the package download each font files separately by using wget. Downloading the whole github package is wasteful and not necessary.
@SuperBo I'll look into a programmatic way of scraping all those files. I don't see any particularly obvious solution, so it may take me some time to get things squared away.
Downloading the zip file for each font is also wasteful, I think we don't need Windows version of those fonts in 'zip' package.
It is significantly less data intensive (~3x smaller footprint). I could switch to that in the interim. However from the limited amount of testing I was able to do, I lost some glyphs when only downloading the assets from the release page.
@postblue it now includes material design icons. @devopsdeluxe would it be possible to include scripts needed for https://github.com/ryanoasis/nerd-fonts#icon-names-in-shell?
I don't see a problem with it.
SuperBo commented on 2018-06-02 15:55 (UTC) (edited on 2018-06-02 16:31 (UTC) by SuperBo)
@devopsdeluxe could you make the package download each font files separately by using wget. Downloading the whole github package is wasteful and not necessary. Downloading the zip file for each font is also wasteful, I think we don't need Windows version of those fonts in 'zip' package.
p/s: my current internet connection is shit, can not test my method right now :'(
Terence commented on 2018-06-02 10:52 (UTC)
@postblue it now includes material design icons. @devopsdeluxe would it be possible to include scripts needed for https://github.com/ryanoasis/nerd-fonts#icon-names-in-shell ?
postblue commented on 2018-06-02 09:12 (UTC)
The 2.0.0 package weights ~1722 MiB, is that normal? What happened?
mani.zaeim commented on 2018-06-02 08:31 (UTC) (edited on 2018-06-02 08:35 (UTC) by mani.zaeim)
curl: (18) transfer closed with 1029402169 bytes remaining to read
==> ERROR: Failure while downloading https://github.com/ryanoasis/nerd-fonts/archive/v2.0.0.tar.gz
Aborting...
==> ERROR: Makepkg was unable to build nerd-fonts-complete.
0x647262 commented on 2018-06-02 03:53 (UTC)
I've updated the package.
Consider this a placeholder upgrade for now because there are some changes I want to see upstream... It seems like there are fonts missing from the assets when you query them (missing glyphs (the symbols and whatnot)):
22:51:03-0600 grendel@aether:/home/grendel/Git/pkgbuilds
+ curl -L https://api.github.com/repos/ryanoasis/nerd-fonts/releases/10143719/assets | jq '.[] | { Name: .name, URL: .browser_download_url }'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 48416 100 48416 0 0 147k 0 --:--:-- --:--:-- --:--:-- 147k
{
"Name": "3270.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/3270.zip"
}
{
"Name": "AnonymousPro.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/AnonymousPro.zip"
}
{
"Name": "Arimo.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Arimo.zip"
}
{
"Name": "AurulentSansMono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/AurulentSansMono.zip"
}
{
"Name": "BigBlueTerminal.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/BigBlueTerminal.zip"
}
{
"Name": "BitstreamVeraSansMono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/BitstreamVeraSansMono.zip"
}
{
"Name": "Bold.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Bold.zip"
}
{
"Name": "BoldItalic.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/BoldItalic.zip"
}
{
"Name": "Cousine.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Cousine.zip"
}
{
"Name": "DejaVuSansMono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/DejaVuSansMono.zip"
}
{
"Name": "DroidSansMono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/DroidSansMono.zip"
}
{
"Name": "FantasqueSansMono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/FantasqueSansMono.zip"
}
{
"Name": "FiraCode.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/FiraCode.zip"
}
{
"Name": "FiraMono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/FiraMono.zip"
}
{
"Name": "Go-Mono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Go-Mono.zip"
}
{
"Name": "Hack.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Hack.zip"
}
{
"Name": "Hasklig.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Hasklig.zip"
}
{
"Name": "HeavyData.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/HeavyData.zip"
}
{
"Name": "Hermit.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Hermit.zip"
}
{
"Name": "Inconsolata.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Inconsolata.zip"
}
{
"Name": "InconsolataGo.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/InconsolataGo.zip"
}
{
"Name": "InconsolataLGC.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/InconsolataLGC.zip"
}
{
"Name": "Iosevka.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Iosevka.zip"
}
{
"Name": "Italic.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Italic.zip"
}
{
"Name": "Lekton.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Lekton.zip"
}
{
"Name": "LiberationMono.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/LiberationMono.zip"
}
{
"Name": "Meslo.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Meslo.zip"
}
{
"Name": "Monofur.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Monofur.zip"
}
{
"Name": "Monoid.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Monoid.zip"
}
{
"Name": "Mononoki.zip",
"URL": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Mononoki.zip"
}
I've opted to download the full 2GB package in the meantime. If I can't get anything pushed upstream (better installer / all fonts in listed in the release assets) I'll make a trimmed down package: nerd-fonts-release
that contains only the font assets linked in a release.
0x647262 commented on 2018-05-28 02:31 (UTC)
@SuperBo
Proposed patch for v2.0.0: https://gitlab.com/snippets/1718407
SuperBo commented on 2018-04-22 20:05 (UTC)
@mchwalisz. Maybe I will switch back to old method which is including sepearate link to each font file to prevent oversize download
bbaserdem commented on 2018-04-22 19:39 (UTC)
The versioning is causing problems; missing glyphs etc. I would fix if I was not intimidated. In the meantime, I suggest using one of the single font packages that are updated to 2.0, and use them as fallback font for the glyphs.
02m commented on 2018-04-08 06:35 (UTC)
Version 2.0 has been released on April 2nd: https://github.com/ryanoasis/nerd-fonts/releases/tag/v2.0.0
mchwalisz commented on 2018-03-21 07:29 (UTC)
First, I don't think this package is out of date just yet. On github v2.0.0 is marked as pre-release not latest stable.
I also agree 2GB download is kinda big, even if I have good download. Looking at the source code, it has everything. The other approach (much more manual) would be to download only relevant files (we probably don't need Windows versions).
Hacking into install script https://github.com/ryanoasis/nerd-fonts/blob/master/install.sh might be a good idea.
glider commented on 2018-03-21 01:49 (UTC) (edited on 2018-03-21 01:49 (UTC) by glider)
Hi @all,
I had a problem with the new version 2.0.0 source code because of its size. The size is 2GB. With my slow Internet connection, it cost me more than 20 mins to download the source code. I think my current method to install this package is not appropriate anymore. Right now, I am a little bit busy with my work and study, so I don't have time to think and change to a new installing method. Therefore, I decided to not upgrade this package to the latest version 2.0.0. If you guys have any idea or suggest, please let me know.
Best
glider
Terence commented on 2018-01-24 16:03 (UTC)
@raith yep sorry my bad, then it would be suitable to have it in /usr/share/fonts/NerdFonts then.
raith commented on 2018-01-24 12:15 (UTC)
Please do not put files into /home in a package [1]. It is a no-go zone for a package manager.
[1] https://wiki.archlinux.org/index.php/Arch_packaging_standards#Directories
Terence commented on 2018-01-23 16:15 (UTC)
@Superbo @glider could you please make use of https://github.com/ryanoasis/nerd-fonts/blob/master/10-nerd-font-symbols.conf (put it in /etc/fonts/conf.avail) and put the content of https://github.com/ryanoasis/nerd-fonts/tree/master/bin/scripts/lib/ to ~/.local/share/fonts ?
Pinned Comments
francoism90 commented on 2020-03-20 11:29 (UTC) (edited on 2021-06-21 06:43 (UTC) by francoism90)
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 (2298M), 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.See https://github.com/ryanoasis/nerd-fonts/issues/274#issuecomment-605657287 as a possible workaround when dealing with download problems.
This is how one may build this package:
If something is missing and/or broken, please let me know.