From: taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: guix-devel@gnu.org
Subject: [PATCHES] Use mirror://sourceforge URIs
Date: Wed, 18 Mar 2015 11:45:29 +0100 [thread overview]
Message-ID: <877fue60ty.fsf@taylan.uni.cx> (raw)
[-- 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
next reply other threads:[~2015-03-18 10:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 10:45 Taylan Ulrich Bayırlı/Kammer [this message]
2015-03-19 8:54 ` [PATCHES] Use mirror://sourceforge URIs Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fue60ty.fsf@taylan.uni.cx \
--to=taylanbayirli@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.