unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sarah Morgensen <iskarian@mgsn.dev>
To: 50418@debbugs.gnu.org
Subject: [bug#50418] [PATCH core-updates-frozen 1/2] gnu: ocl-icd: Update project location.
Date: Sun,  5 Sep 2021 19:49:08 -0700	[thread overview]
Message-ID: <5a9e260b1b55e98ea95b75ce6def549d73196452.1630896250.git.iskarian@mgsn.dev> (raw)
In-Reply-To: <cover.1630896250.git.iskarian@mgsn.dev>

The project seems to have permanently moved to Github, with no
distribution tarballs available, so update it.

* gnu/packages/opencl.scm (ocl-icd)[origin]: Retrieve source from Github
checkout instead of distribution tarballs.
[native-inputs]: Add 'autoconf', 'automake', and 'libtool'.
---
 gnu/packages/opencl.scm | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index e95d19db47..4c9c440b3d 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
 ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -131,19 +132,22 @@
     (name "ocl-icd")
     (version "2.2.12")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://forge.imag.fr/frs/download.php/836/ocl-icd-"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/OCL-dev/ocl-icd")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1x2dr8p4dkfds56r38av360i3nv1y3326jmshxvjngaf6mlg6rbn"))
+                "075pj99nanl75hyv93wys9ba3x7lhcdj0awdcd8bss6mdxqxj5mc"))
               (modules '((guix build utils)))
               (snippet
                '(delete-file-recursively "khronos-headers"))))
     (native-inputs
-     `(("opencl-headers" ,opencl-headers)
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("opencl-headers" ,opencl-headers)
        ("ruby" ,ruby)))
     (inputs
      `(("libgcrypt" ,libgcrypt)))
@@ -155,7 +159,7 @@
             (variable "OPENCL_VENDOR_PATH")
             (files '("etc/OpenCL/vendors")))))
     (search-paths native-search-paths)
-    (home-page "https://forge.imag.fr/projects/ocl-icd/")
+    (home-page "https://github.com/OCL-dev/ocl-icd/")
     (synopsis "OpenCL loader for Installable Client Drivers (ICDs)")
     (description
      "OpenCL implementations are provided as ICDs (Installable Client
-- 
2.32.0





  reply	other threads:[~2021-09-06  2:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06  2:46 [bug#50418] [PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix build Sarah Morgensen
2021-09-06  2:49 ` Sarah Morgensen [this message]
2021-09-06  2:49 ` [bug#50418] [PATCH core-updates-frozen 2/2] gnu: ocl-icd: Update to 2.2.13 Sarah Morgensen
2021-09-06  5:57 ` [bug#50418] [PATCH core-updates-frozen 0/2] gnu: ocl-icd: Fix build Lars-Dominik Braun
2021-09-06 17:20   ` Sarah Morgensen
2021-09-08 15:01     ` Lars-Dominik Braun
2021-10-12 18:37       ` bug#50418: " Maxim Cournoyer

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a9e260b1b55e98ea95b75ce6def549d73196452.1630896250.git.iskarian@mgsn.dev \
    --to=iskarian@mgsn.dev \
    --cc=50418@debbugs.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 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).