all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: 55262@debbugs.gnu.org
Subject: [bug#55262] [PATCH] gnu: mangohud: Update to 0.6.7.
Date: Wed, 04 May 2022 19:41:47 +0000	[thread overview]
Message-ID: <LmgF8h6Zc7Avsa4cGw7okxg4lfmYSMhF6KWP5gPKSFgZZuLO5uzYXIerqdVhXaBBtN0BHScLhDhrzsxMjN0qYE3nEh5ReCGCUswuycxghgA=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

Hello,

Attached is a patch to update mangohud to the latest release. The package is slightly simplified now as a file we had to patch paths for has been removed, along with the now unneeded input (libdrm). I checked that it built successfully and did a quick test with glxgears (but didn't do a Vulkan test).

John

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

From 58b8f648c946a3ab8588f5db6157958f8e7d9d6e Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Wed, 4 May 2022 15:34:09 -0400
Subject: [PATCH] gnu: mangohud: Update to 0.6.7.

* gnu/packages/graphics.scm (mangohud): Update to 0.6.7.
[phases]{patch-paths}: Remove loader_libdrm.cpp path patch as the file has
been removed.
[inputs]: Remove libdrm input, no longer needed.
---
 gnu/packages/graphics.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 2cc75d57cf..9f93205183 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -872,7 +872,7 @@ (define-public alembic
 (define-public mangohud
   (package
     (name "mangohud")
-    (version "0.6.6-1")
+    (version "0.6.7")
     (source
      (origin
        (method git-fetch)
@@ -881,7 +881,7 @@ (define-public mangohud
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0ka004wxkajmvs5vy60r4ckm7f169c61rrd46w6gywkaqf5yp1ab"))))
+        (base32 "0n2x6agv2j8nd6h1998dqsphb7k57zx8vsayv47dqix28kg5kixz"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -912,11 +912,6 @@ (define-public mangohud
               (substitute* "src/meson.build"
                 (("\\\\\\$LIB")
                  "lib"))
-              (substitute* "src/loaders/loader_libdrm.cpp"
-                (("libdrm.so.2")
-                 (search-input-file inputs "lib/libdrm.so.2"))
-                (("libdrm_amdgpu.so.1")
-                 (search-input-file inputs "lib/libdrm_amdgpu.so.1")))
               (substitute* "src/overlay.cpp"
                 (("glxinfo")
                  (search-input-file inputs "bin/glxinfo")))
@@ -934,7 +929,6 @@ (define-public mangohud
            glslang
            `(,hwdata "pci")
            imgui-1.86
-           libdrm
            libx11
            mesa
            mesa-utils
-- 
2.36.0


             reply	other threads:[~2022-05-04 19:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 19:41 John Kehayias via Guix-patches via [this message]
2022-05-09  8:00 ` bug#55262: [PATCH] gnu: mangohud: Update to 0.6.7 Mathieu Othacehe

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='LmgF8h6Zc7Avsa4cGw7okxg4lfmYSMhF6KWP5gPKSFgZZuLO5uzYXIerqdVhXaBBtN0BHScLhDhrzsxMjN0qYE3nEh5ReCGCUswuycxghgA=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=55262@debbugs.gnu.org \
    --cc=john.kehayias@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 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.