unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29828] Various Linter corrections
@ 2017-12-23 20:52 ng0
  2017-12-23 21:14 ` bug#29828: " Danny Milosavljevic
  2017-12-23 21:25 ` ng0
  0 siblings, 2 replies; 5+ messages in thread
From: ng0 @ 2017-12-23 20:52 UTC (permalink / raw)
  To: 29828


[-- Attachment #1.1: Type: text/plain, Size: 377 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.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

[-- Attachment #1.2: 0001-gnu-xz-Adjust-the-home-page.patch --]
[-- Type: text/plain, Size: 1549 bytes --]

From 9a3f25a2e3df5d7fbfa06ed598216385e85212a5 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 16:57:17 +0000
Subject: [PATCH 1/4] gnu: xz: Adjust the home page.

Its http URL permanently redirects to the https one,
throwing off some basic external linters.

* gnu/packages/compression.scm (xz)[home-page]: Adjust home page.
---
 gnu/packages/compression.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index be9c6344b..c87eff3b1 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
 ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2017 ng0 <ng0@n0.is>
 ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
 ;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
 ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
@@ -371,7 +371,7 @@ compression algorithm is currently LZMA2, which is used inside the .xz
 container format.  With typical files, XZ Utils create 30 % smaller output
 than gzip and 15 % smaller output than bzip2.")
    (license (list license:gpl2+ license:lgpl2.1+)) ; bits of both
-   (home-page "http://tukaani.org/xz/")))
+   (home-page "https://tukaani.org/xz/")))
 
 (define-public lzo
   (package
-- 
2.15.1


[-- Attachment #1.3: 0002-gnu-xdelta-Change-to-new-home-page.patch --]
[-- Type: text/plain, Size: 1199 bytes --]

From 339135e4b3ffbc011ed30d0876542f1da9f4248b Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 17:01:00 +0000
Subject: [PATCH 2/4] gnu: xdelta: Change to new home page.

The previous used http://xdelta.com is linking to a parked/squatted domain.

* gnu/packages/compression.scm (xdelta)[home-page]: Use http://xdelta.org as
new home page.
---
 gnu/packages/compression.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c87eff3b1..c242a5a4e 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -985,7 +985,7 @@ respectively, based on the reference implementation from Google.")
            (lambda _ (chdir "xdelta3")))
          (add-after 'enter-build-directory 'autoconf
            (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
-    (home-page "http://xdelta.com")
+    (home-page "http://xdelta.org")
     (synopsis "Delta encoder for binary files")
     (description "xdelta encodes only the differences between two binary files
 using the VCDIFF algorithm and patch file format described in RFC 3284.  It can
-- 
2.15.1


[-- Attachment #1.4: 0003-gnu-java-xz-Adjust-home-page.patch --]
[-- Type: text/plain, Size: 1017 bytes --]

From 954527da93c03ebb93da7c439c22c0974a60e956 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 22:03:40 +0000
Subject: [PATCH 3/4] gnu: java-xz: Adjust home page.

* gnu/packages/java.scm (java-xz)[home-page]: Adjust home-page. The http part of it
is a permanent redirect to https.
---
 gnu/packages/java.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0be488dec..8dd635605 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2157,7 +2157,7 @@ is implemented.")
           (lambda _ (chdir "..") #t)))))
    (native-inputs
     `(("unzip" ,unzip)))
-   (home-page "http://tukaani.org/xz/java.html")
+   (home-page "https://tukaani.org/xz/java.html")
    (synopsis "Implementation of XZ data compression in pure Java")
    (description "This library aims to be a complete implementation of XZ data
 compression in pure Java.  Single-threaded streamed compression and
-- 
2.15.1


[-- Attachment #1.5: 0004-gnu-ruby-Use-new-home-page.patch --]
[-- Type: text/plain, Size: 1445 bytes --]

From 6a9320f991ca122823972e9fb84f4ddf952fedec Mon Sep 17 00:00:00 2001
From: ng0 <ng0@n0.is>
Date: Wed, 13 Dec 2017 22:05:37 +0000
Subject: [PATCH 4/4] gnu: ruby: Use new home page.

The certificate for ruby-lang.org is only valid for lists.ruby-lang.org,
the home page has moved to www.ruby-lang.org with its own certificate.

* gnu/packages/ruby.scm (ruby)[home-page]: Use 'www.ruby-lang.org'.
---
 gnu/packages/ruby.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c66c0a414..968a05999 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014, 2015 David Thompson <davet@gnu.org>
 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015, 2016, 2017 Ben Woodcroft <donttrustben@gmail.com>
-;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2017 ng0 <ng0@n0.is>
 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
@@ -101,7 +101,7 @@
     (synopsis "Programming language interpreter")
     (description "Ruby is a dynamic object-oriented programming language with
 a focus on simplicity and productivity.")
-    (home-page "https://ruby-lang.org")
+    (home-page "https://www.ruby-lang.org")
     (license license:ruby)))
 
 (define-public ruby-2.4.3
-- 
2.15.1


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

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

* bug#29828: Various Linter corrections
  2017-12-23 20:52 [bug#29828] Various Linter corrections ng0
@ 2017-12-23 21:14 ` Danny Milosavljevic
  2017-12-23 21:27   ` [bug#29828] " ng0
  2017-12-23 21:25 ` ng0
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2017-12-23 21:14 UTC (permalink / raw)
  To: ng0; +Cc: 29828-done

Hi ng0,

thanks! Pushed to master.

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

* [bug#29828] Various Linter corrections
  2017-12-23 20:52 [bug#29828] Various Linter corrections ng0
  2017-12-23 21:14 ` bug#29828: " Danny Milosavljevic
@ 2017-12-23 21:25 ` ng0
  2017-12-23 21:28   ` ng0
  1 sibling, 1 reply; 5+ messages in thread
From: ng0 @ 2017-12-23 21:25 UTC (permalink / raw)
  To: 29828


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

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

[-- 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] 5+ messages in thread

* [bug#29828] Various Linter corrections
  2017-12-23 21:14 ` bug#29828: " Danny Milosavljevic
@ 2017-12-23 21:27   ` ng0
  0 siblings, 0 replies; 5+ messages in thread
From: ng0 @ 2017-12-23 21:27 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 29828-done

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

Danny Milosavljevic transcribed 0.1K bytes:
> Hi ng0,
> 
> thanks! Pushed to master.

Thanks. I just wasn't done with this. I'll just open new bug for each patch then.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

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

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

* [bug#29828] Various Linter corrections
  2017-12-23 21:25 ` ng0
@ 2017-12-23 21:28   ` ng0
  0 siblings, 0 replies; 5+ messages in thread
From: ng0 @ 2017-12-23 21:28 UTC (permalink / raw)
  To: 29828-done

[-- Attachment #1: Type: text/plain, Size: 3041 bytes --]

Disregard this, will open a new bug.
ng0 transcribed 4.0K bytes:
> 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 <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
> 




-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

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

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

end of thread, other threads:[~2017-12-23 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-23 20:52 [bug#29828] Various Linter corrections ng0
2017-12-23 21:14 ` bug#29828: " Danny Milosavljevic
2017-12-23 21:27   ` [bug#29828] " ng0
2017-12-23 21:25 ` ng0
2017-12-23 21:28   ` ng0

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).