GNU bug report logs - #60642
[PATCH staging] gnu: glew: Update to 2.2.0.

Previous Next

Package: guix-patches;

Reported by: Parnikkapore <poomklao <at> yahoo.com>

Date: Sun, 8 Jan 2023 04:07:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Parnikkapore <poomklao <at> yahoo.com>
To: 60642 <at> debbugs.gnu.org
Subject: [bug#60642] [PATCH staging] gnu: glew: Update to 2.2.0.
Date: Sun,  8 Jan 2023 12:06:39 +0800
* gnu/packages/gl.scm (glew): Update to 2.2.0.
  [source] Migrato to GitHub, which is now the canonical source
  [home-page] Use HTTPS
---
 gnu/packages/gl.scm | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 01ab6135a4..136b0bdf2f 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -616,36 +616,41 @@ (define-public mesa-utils
 (define-public glew
   (package
     (name "glew")
-    (version "2.1.0")
+    (version "2.2.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://sourceforge/glew/glew/" version
-                                  "/glew-" version ".tgz"))
+              (uri (string-append
+                    "https://github.com/nigels-com/glew/releases"
+                    "/download/glew-"
+                    version
+                    "/glew-"
+                    version
+                    ".tgz"))
               (sha256
                (base32
-                "159wk5dc0ykjbxvag5i1m2mhp23zkk6ra04l26y3jc3nwvkr3ph4"))
+                "1qak8f7g1iswgswrgkzc7idk7jmqgwrs58fhg2ai007v7j4q5z6l"))
               (modules '((guix build utils)))
-              (snippet
-               '(begin
-                  (substitute* "config/Makefile.linux"
-                    (("= cc") "= gcc")
-                    (("/lib64") "/lib"))
-                  #t))))
+              (snippet '(begin
+                          (substitute* "config/Makefile.linux"
+                            (("= cc")
+                             "= gcc")
+                            (("/lib64")
+                             "/lib")) #t))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases (delete 'configure))
+     '(#:phases (modify-phases %standard-phases
+                  (delete 'configure))
        #:make-flags (list (string-append "GLEW_PREFIX="
                                          (assoc-ref %outputs "out"))
                           (string-append "GLEW_DEST="
                                          (assoc-ref %outputs "out")))
-       #:tests? #f))                              ;no 'check' target
-    (inputs
-     (list libxi libxmu libx11 mesa))
+       #:tests? #f)) ;no 'check' target
+    (inputs (list libxi libxmu libx11 mesa))
 
     ;; <GL/glew.h> includes <GL/glu.h>.
     (propagated-inputs (list glu))
 
-    (home-page "http://glew.sourceforge.net/")
+    (home-page "https://glew.sourceforge.net/")
     (synopsis "OpenGL extension loading library for C and C++")
     (description
      "The OpenGL Extension Wrangler Library (GLEW) is a C/C++ extension

base-commit: db3fdbbdfee9d412053cc9538ad76abee7c2cb89
-- 
2.34.1





This bug report was last modified 2 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.