Subject: [bug#29828] Various Linter corrections

From: ng0 <[email-masked]>
Date: Sat, 23 Dec 2017 21:25:36 +0000

ng0 transcribed 7.3K bytes:
> This bug starts a series of patches to:
>  - fix complains external linters found
>  - fix complains our linter found
> These fixes include: addressing permanent redirects,
> 404s -> new files, domains, URLs, etc.
> 
> 4 Patches for the start, more to follow.

Follow-up Number 1:

Workaround for the mozjs@38 source changing.
This comes with a 'TODO' task: Work on building
mozjs@38 from the new source.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is
From 460eacedc4f1f01a9e5e84b84657af5be928615a Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Sat, 23 Dec 2017 21:17:24 +0000
Subject: [PATCH] gnu: mozjs@38: Workaround for people.mozilla.org shutdown.

Read https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00189.html
for more details about this workaround.

* gnu/packages/gnuzilla.scm (mozjs@38)[source]: Provide additional URL.
---
 gnu/packages/gnuzilla.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index c53c31613..9aa13ebf2 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016, 2017 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2016 Alex Griffin <[email-masked]>
 ;;; Copyright © 2017 Clément Lassieur <[email-masked]>
-;;; Copyright © 2017 ng0 <[email-masked]>
+;;; Copyright © 2017 ng0 <[email-masked]>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -168,9 +168,17 @@ in C/C++.")
     (version "38.2.1.rc0")
     (source (origin
               (method url-fetch)
-              (uri (string-append
-                    "https://people.mozilla.org/~sstangl/"
-                    name "-" version ".tar.bz2"))
+              (uri (list (string-append
+                          "https://people.mozilla.org/~sstangl/"
+                          name "-" version ".tar.bz2")
+                         ;; FIXME: people.mozilla.org has shut down:
+                         ;; https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00189.html
+                         ;; This is an unofficial temporary location until we
+                         ;; can build  mozjs-38 from the new location:
+                         (string-append
+                          "https://d.n0.is/d/v/mozjs/"
+                          name "-" version ".tar.bz2")))
+
               (sha256
                (base32
                 "0p4bmbpgkfsj54xschcny0a118jdrdgg0q29rwxigg3lh5slr681"))
-- 
2.15.1