unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCHES] Use mirror://sourceforge URIs
@ 2015-03-18 10:45 Taylan Ulrich Bayırlı/Kammer
  2015-03-19  8:54 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2015-03-18 10:45 UTC (permalink / raw)
  To: guix-devel

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

Here's a bunch of trivial patches switching a few packages to
mirror://sourceforge URIs (and one adding a comment explaining why not).

I tested that they all work and produce the same hash.  Will push
shortly if nobody objects.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-wxwidgets-2-Use-mirror-URI.patch --]
[-- Type: text/x-diff, Size: 1058 bytes --]

From b59483856ac0e4cc60ae390e8dfc1508e5a534a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
Date: Wed, 18 Mar 2015 11:17:13 +0100
Subject: [PATCH 1/5] gnu: wxwidgets-2: Use mirror:// URI.

* gnu/packages/wxwidgets.scm (wxwidgets-2): Use a mirror:// URI for the
  source.
---
 gnu/packages/wxwidgets.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 5406aed..1f80130 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -79,8 +79,8 @@ and many other languages.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "https://sourceforge.net/projects/wxwindows/files/"
-                           version "/wxGTK-" version ".tar.gz"))
+       (uri (string-append
+             "mirror://sourceforge/wxwindows/wxGTK-" version ".tar.gz"))
        (sha256
         (base32 "1gjs9vfga60mk4j4ngiwsk9h6c7j22pw26m3asxr1jwvqbr8kkqk"))))
     (inputs
-- 
2.2.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-lcms-Use-mirror-URI.patch --]
[-- Type: text/x-diff, Size: 1054 bytes --]

From 8a57f4d375a76610877c11403d64dc1c8941ec17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
Date: Wed, 18 Mar 2015 11:21:29 +0100
Subject: [PATCH 2/5] gnu: lcms: Use mirror:// URI.

* gnu/packages/ghostscript.scm (lcms): Use a mirror:// URI for the source.
---
 gnu/packages/ghostscript.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 08d1c69..c63e041 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -40,8 +40,7 @@
    (source (origin
             (method url-fetch)
             (uri (string-append
-                   "http://downloads.sourceforge.net/project/lcms/lcms/"
-                   version "/lcms2-" version ".tar.gz"))
+                  "mirror://sourceforge/lcms/lcms2-" version ".tar.gz"))
             (sha256 (base32
                      "1c8lgq8gfs3nyplvbx9k8wzfj6r2bqi3f611vb1m8z3476454wji"))))
    (build-system gnu-build-system)
-- 
2.2.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0003-gnu-procps-Explain-why-a-mirror-URI-isn-t-used.patch --]
[-- Type: text/x-diff, Size: 1049 bytes --]

From 4038ede63579ed4d7f2aba350b8136875a887630 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
Date: Wed, 18 Mar 2015 11:31:32 +0100
Subject: [PATCH 3/5] gnu: procps: Explain why a mirror:// URI isn't used.

* gnu/packages/linux.scm (procps): Add a comment explaining why we don't use a
  mirror:// URI.
---
 gnu/packages/linux.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c95c616..bd9ae0e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -437,6 +437,8 @@ providing the system administrator with some help in common tasks.")
     (version "3.2.8")
     (source (origin
              (method url-fetch)
+             ;; A mirror://sourceforge URI doesn't work, presumably becuase
+             ;; the SourceForge project is misconfigured.
              (uri (string-append "http://procps.sourceforge.net/procps-"
                                  version ".tar.gz"))
              (sha256
-- 
2.2.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #5: 0004-gnu-claws-mail-Use-mirror-URI.patch --]
[-- Type: text/x-diff, Size: 1098 bytes --]

From a8da5c97da481cfef69e2db0c1781422325b0160 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
Date: Wed, 18 Mar 2015 11:38:20 +0100
Subject: [PATCH 4/5] gnu: claws-mail: Use mirror:// URI.

* gnu/packages/mail.scm (claws-mail): Use a mirror:// URI for the source.
---
 gnu/packages/mail.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index f7bb1ee..44a237a 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -470,8 +470,8 @@ MailCore 2.")
     (source (origin
               (method url-fetch)
               (uri (string-append
-                    "http://downloads.sourceforge.net/project/claws-mail/"
-                    "Claws Mail/" version "/" name "-" version ".tar.xz"))
+                    "mirror://sourceforge/claws-mail/claws-mail-" version
+                    ".tar.xz"))
               (sha256
                (base32 "0cyixz1jgfpi8abh9fbb8ylx9mcvw4jqj81cms666wpqr6v828yp"))))
     (build-system gnu-build-system)
-- 
2.2.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #6: 0005-gnu-msmtp-Use-mirror-URI.patch --]
[-- Type: text/x-diff, Size: 1036 bytes --]

From 4005c805b7a43d2fed9ba1121517bd682696182c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
Date: Wed, 18 Mar 2015 11:40:53 +0100
Subject: [PATCH 5/5] gnu: msmtp: Use mirror:// URI.

* gnu/packages/mail.scm (msmtp): Use a mirror:// URI for the source.
---
 gnu/packages/mail.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 44a237a..9963e5b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -517,8 +517,7 @@ which can add many functionalities to the base client.")
      (origin
        (method url-fetch)
        (uri (string-append
-             "http://downloads.sourceforge.net/project/msmtp/msmtp/" version
-             "/msmtp-" version ".tar.bz2"))
+             "mirror://sourceforge/msmtp/msmtp-" version ".tar.bz2"))
        (sha256 (base32
                 "122z38pv4q03w3mbnhrhg4w85a51258sfdg2ips0b6cgwz3wbw1b"))))
     (build-system gnu-build-system)
-- 
2.2.1


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

* Re: [PATCHES] Use mirror://sourceforge URIs
  2015-03-18 10:45 [PATCHES] Use mirror://sourceforge URIs Taylan Ulrich Bayırlı/Kammer
@ 2015-03-19  8:54 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-03-19  8:54 UTC (permalink / raw)
  To: Taylan Ulrich "Bayırlı/Kammer"; +Cc: guix-devel

taylanbayirli@gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis:

> Here's a bunch of trivial patches switching a few packages to
> mirror://sourceforge URIs (and one adding a comment explaining why not).
>
> I tested that they all work and produce the same hash.  Will push
> shortly if nobody objects.

LGTM!

Ludo'.

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

end of thread, other threads:[~2015-03-19  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 10:45 [PATCHES] Use mirror://sourceforge URIs Taylan Ulrich Bayırlı/Kammer
2015-03-19  8:54 ` 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).