guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#33434] [PATCH] gnu: font-ubuntu: Update url.


From: Jan Nieuwenhuizen
Subject: [bug#33434] [PATCH] gnu: font-ubuntu: Update url.
Date: Tue, 20 Nov 2018 20:57:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Efraim Flashner writes:

> On Mon, Nov 19, 2018 at 07:04:26PM +0100, Jan Nieuwenhuizen wrote:

> If Ubuntu's archives are like Debian's then when there's a new version
> the 0.83.orig tarball will disapear from thier mirrors. For this reason
> I've been prefering Debian's gitlab instance and git-download to make
> sure the source tarballs don't disapear.
>
> https://salsa.debian.org/fonts-team/fonts-ubuntu
> tag: upstream/0.83
>
> According to the debian/watch file, the source code is at
> https://assets.ubuntu.com/v1/4cd05122-ubuntu-font-family-sources_0.83.orig.tar.gz

Thanks!  I have updated the patch to use the git source url.

I'll commit this to core-updates tomorrow.

Greetings,
janneke

>From 253bcc8bb85b1c7706d7a1e1d97da067b94bc997 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <address@hidden>
Date: Mon, 19 Nov 2018 18:57:27 +0100
Subject: [PATCH] gnu: font-ubuntu: Update url.

* gnu/packages/fonts.scm (font-ubuntu): Use new url, update hash.
---
 gnu/packages/fonts.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 1195695d7..f9f842820 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -99,13 +99,14 @@ in print.  With attention to detail for high resolution 
rendering.")
     (name "font-ubuntu")
     (version "0.83")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "http://font.ubuntu.com/download/ubuntu-font-family-";
-                    version ".zip"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://salsa.debian.org/fonts-team/fonts-ubuntu";)
+                    (commit (string-append "upstream/" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0hjvq2x758dx0sfwqhzflns0ns035qm7h6ygskbx1svzg517sva5"))))
+                "1d2xrjpxy70f3nsgqiggwv6pj06qglf5vj2847pqx60w3ygi903g"))))
     (build-system font-build-system)
     (home-page "http://font.ubuntu.com/";)
     (synopsis "The Ubuntu Font Family")
-- 
2.18.0

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]