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

From: Efraim Flashner <[email-masked]>
Date: Tue, 20 Nov 2018 12:08:32 +0200

On Mon, Nov 19, 2018 at 07:04:26PM +0100, Jan Nieuwenhuizen wrote:
> I found the previous URL to no longer work.  I would like to find a
> cleaner url.  WDYT?
> 
> Greetings,
> janneke
> 

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

> From 6d9037aa1ea239812f74b5af3a716341d3b25fa9 Mon Sep 17 00:00:00 2001
> From: Jan Nieuwenhuizen <[email-masked]>
> 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, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> index 1195695d7..5f1a7585d 100644
> --- a/gnu/packages/fonts.scm
> +++ b/gnu/packages/fonts.scm
> @@ -100,12 +100,15 @@ in print.  With attention to detail for high resolution rendering.")
>      (version "0.83")
>      (source (origin
>                (method url-fetch)
> -              (uri (string-append
> -                    "http://font.ubuntu.com/download/ubuntu-font-family-"
> -                    version ".zip"))
> +              (uri (string-append "https://launchpad.net/"
> +                                  "ubuntu/+archive/primary/+sourcefiles/"
> +                                  "ubuntu-font-family-sources/"
> +                                  "0.83-0ubuntu1/"
> +                                  "ubuntu-font-family-sources_0.83"
> +                                  ".orig.tar.gz"))
>                (sha256
>                 (base32
> -                "0hjvq2x758dx0sfwqhzflns0ns035qm7h6ygskbx1svzg517sva5"))))
> +                "02l31f5lip12csps7xvz77s32gac3siw694xrrw85y1blc7dz5hs"))))
>      (build-system font-build-system)
>      (home-page "http://font.ubuntu.com/")
>      (synopsis "The Ubuntu Font Family")
> -- 
> 2.18.0
> 

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted