[bug#34628] Update font-awesome to 5.7.2

Message ID E1gxUNW-0001xP-JA@rmmprod05.runbox
State Accepted
Headers show
Series [bug#34628] Update font-awesome to 5.7.2 | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

pkill9 Feb. 23, 2019, 10:17 a.m. UTC
Note: I had to change the source URL as they changed the filename to "fontawesome-free-<version>-desktop.zip" (no dash in "fontawesome") and I couldn't download that filename, or other variations (e.g. without 'free' or 'desktop') from the original URL (fontawesome.io).

Comments

宋文武 Feb. 24, 2019, 2:03 a.m. UTC | #1
<pkill9@runbox.com> writes:

> Note: I had to change the source URL as they changed the filename to
> "fontawesome-free-<version>-desktop.zip" (no dash in "fontawesome")
> and I couldn't download that filename, or other variations
> (e.g. without 'free' or 'desktop') from the original URL
> (fontawesome.io).

Applied, thank you!

Patch

From 8639909b381684b8c4b808c88be7d9f5cbb9387c Mon Sep 17 00:00:00 2001
From: Pkill -9 <pkill9@runbox.com>
Date: Sat, 23 Feb 2019 10:12:32 +0000
Subject: [PATCH] gnu: font-awesome: Update to 5.7.2.

* gnu/packages/fonts.scm (font-awesome): Update to 5.7.2.
---
 gnu/packages/fonts.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 9d49c02cf..7e8d39078 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -971,14 +971,14 @@  correct spacing.")
 (define-public font-awesome
   (package
    (name "font-awesome")
-   (version "4.7.0")
+   (version "5.7.2")
    (source (origin
             (method url-fetch)
-            (uri (string-append "http://fontawesome.io/assets/"
-                                name "-" version ".zip"))
+            (uri  (string-append "https://use.fontawesome.com/releases/v" version "/"
+                                 "fontawesome-free-" version "-desktop.zip"))
             (sha256
              (base32
-              "1m1rfwm4sjkv10j3xd2dhwk286a5912b2zgvc692cmxi5gxs68jf"))))
+              "0v8nfyjkzgi33i5arpjqzs16mgh2hx02sf906b8a9k1k7yfqpbgs"))))
    (build-system font-build-system)
    (home-page "http://fontawesome.io")
    (synopsis "Font that contains a rich iconset")
-- 
2.20.1