From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: [PATCHES] Use mirror://sourceforge URIs Date: Wed, 18 Mar 2015 11:45:29 +0100 Message-ID: <877fue60ty.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYBTi-0001kn-Ea for guix-devel@gnu.org; Wed, 18 Mar 2015 06:45:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYBTg-0005fc-QQ for guix-devel@gnu.org; Wed, 18 Mar 2015 06:45:34 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:38304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYBTg-0005fX-FQ for guix-devel@gnu.org; Wed, 18 Mar 2015 06:45:32 -0400 Received: by wifj2 with SMTP id j2so35757903wif.1 for ; Wed, 18 Mar 2015 03:45:31 -0700 (PDT) Received: from taylan.uni.cx (p200300514A4A86230213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a4a:8623:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id y14sm23902115wjr.39.2015.03.18.03.45.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 03:45:30 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-wxwidgets-2-Use-mirror-URI.patch >From b59483856ac0e4cc60ae390e8dfc1508e5a534a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0002-gnu-lcms-Use-mirror-URI.patch >From 8a57f4d375a76610877c11403d64dc1c8941ec17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0003-gnu-procps-Explain-why-a-mirror-URI-isn-t-used.patch >From 4038ede63579ed4d7f2aba350b8136875a887630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0004-gnu-claws-mail-Use-mirror-URI.patch >From a8da5c97da481cfef69e2db0c1781422325b0160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0005-gnu-msmtp-Use-mirror-URI.patch >From 4005c805b7a43d2fed9ba1121517bd682696182c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= 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 --=-=-=--