unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29829] mozjs@38: provide intermediate workaround for source disappearance
@ 2017-12-23 21:31 ng0
  2018-01-11 21:42 ` bug#29829: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2017-12-23 21:31 UTC (permalink / raw)
  To: 29829


[-- Attachment #1.1: Type: text/plain, Size: 315 bytes --]

See commit message for detail.

I am not happy with this solution, but it is okay, as the
hash is the same and I know we will get rid of it as soon
as we are building from the new source.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

[-- Attachment #1.2: 0001-gnu-mozjs-38-Workaround-for-people.mozilla.org-shutd.patch --]
[-- Type: text/plain, Size: 2135 bytes --]

From 460eacedc4f1f01a9e5e84b84657af5be928615a Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
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 <efraim@flashner.co.il>
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
-;;; Copyright © 2017 ng0 <ng0@infotropique.org>
+;;; Copyright © 2017 ng0 <ng0@n0.is>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; 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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#29829: mozjs@38: provide intermediate workaround for source disappearance
  2017-12-23 21:31 [bug#29829] mozjs@38: provide intermediate workaround for source disappearance ng0
@ 2018-01-11 21:42 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-01-11 21:42 UTC (permalink / raw)
  To: ng0; +Cc: 29829-done

Hi ng0,

ng0 <ng0@n0.is> skribis:

> +              (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")))

The file is automatically taken from
<http://mirror.hydra.gnu.org/file/mozjs-38.2.1.rc0.tar.bz2/sha256/0p4bmbpgkfsj54xschcny0a118jdrdgg0q29rwxigg3lh5slr681>
when substitutes are disabled, so I don’t think there’s anything to do.

I’m closing this bug.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-11 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-23 21:31 [bug#29829] mozjs@38: provide intermediate workaround for source disappearance ng0
2018-01-11 21:42 ` bug#29829: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).