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

Message ID 875zwro72b.fsf@gnu.org
State New
Headers show
Series
  • [bug#33434] gnu: font-ubuntu: Update url.
Related show

Checks

Context Check Description
cbaines/applying patch success Successfully applied

Commit Message

Jan Nieuwenhuizen Nov. 20, 2018, 7:57 p.m. UTC
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

Comments

Jan Nieuwenhuizen Nov. 21, 2018, 1:07 p.m. UTC | #1
Jan Nieuwenhuizen writes:

> I'll commit this to core-updates tomorrow.

After a short discussion on IRC, pushed to master as

96cae1b48c12b7b5b4a68d86ac9d714cab2d9881

Thanks!
janneke

Patch

From 253bcc8bb85b1c7706d7a1e1d97da067b94bc997 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
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