unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 55384@debbugs.gnu.org
Subject: [bug#55384] [PATCH] gnu: glmark2: Update to 2021.12.
Date: Thu, 12 May 2022 10:29:07 +0000	[thread overview]
Message-ID: <GV79WJ6PjTBn3rWXe2OQSZOQOJLGp4HZzmkzpaQLTZBZFhB7MCoqewNvMYe1SohiWvwdpm2L9B99nFIxkIcxKUVtmsT17hNJE7uHnLIW80o=@protonmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 77 bytes --]

Hi,

here's an update of glmark2 with switch to meson build system.

---
Petr

[-- Attachment #1.2: Type: text/html, Size: 176 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-glmark2-Update-to-2021.12.patch --]
[-- Type: text/x-patch; name=0001-gnu-glmark2-Update-to-2021.12.patch, Size: 2204 bytes --]

From e6fe8544720ec8ed257f9c0f94daa84de20cb6a3 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Thu, 12 May 2022 12:26:16 +0200
Subject: [PATCH] gnu: glmark2: Update to 2021.12.

* gnu/packages/gl.scm (glmark2): Update to 2021.12.
  [build-system]: Switch to meson build system.
  [arguments]: Adjust arguments to meson build system.

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 0ff39dc24d..f4313b4151 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
 ;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
 ;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1091,7 +1092,7 @@ (define-public mojoshader-cs
 (define-public glmark2
   (package
     (name "glmark2")
-    (version "2020.04")
+    (version "2021.12")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1100,20 +1101,12 @@ (define-public glmark2
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0ywpzp0imi3f8iyp7d1739576zx2nsr3db5hp2as4yhflfyq1as2"))
-              (modules '((guix build utils)))
-              ;; Fix Python 3 incompatibility.
-              (snippet
-               '(begin
-                  (substitute* "wscript"
-                    (("(sorted\\()FLAVORS\\.keys\\(\\)(.*)" _ beginning end)
-                     (string-append beginning "list(FLAVORS)" end)))
-                  #t))))
-    (build-system waf-build-system)
+                "1aydqbrg9i74s19rrdrsscx94m885yvc43v3sdqlgyh675ms98jb"))))
+    (build-system meson-build-system)
     (arguments
      '(#:tests? #f                      ; no check target
        #:configure-flags
-       (list (string-append "--with-flavors="
+       (list (string-append "-Dflavors="
                             (string-join '("x11-gl" "x11-glesv2"
                                            "drm-gl" "drm-glesv2"
                                            "wayland-gl" "wayland-glesv2")
-- 
2.34.0


             reply	other threads:[~2022-05-12 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12 10:29 phodina via Guix-patches via [this message]
2022-05-20 18:07 ` bug#55384: [PATCH] gnu: glmark2: Update to 2021.12 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

  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='GV79WJ6PjTBn3rWXe2OQSZOQOJLGp4HZzmkzpaQLTZBZFhB7MCoqewNvMYe1SohiWvwdpm2L9B99nFIxkIcxKUVtmsT17hNJE7uHnLIW80o=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=55384@debbugs.gnu.org \
    --cc=phodina@protonmail.com \
    /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).