unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55262] [PATCH] gnu: mangohud: Update to 0.6.7.
@ 2022-05-04 19:41 John Kehayias via Guix-patches via
  2022-05-09  8:00 ` bug#55262: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: John Kehayias via Guix-patches via @ 2022-05-04 19:41 UTC (permalink / raw)
  To: 55262

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#55262: [PATCH] gnu: mangohud: Update to 0.6.7.
  2022-05-04 19:41 [bug#55262] [PATCH] gnu: mangohud: Update to 0.6.7 John Kehayias via Guix-patches via
@ 2022-05-09  8:00 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2022-05-09  8:00 UTC (permalink / raw)
  To: John Kehayias; +Cc: 55262-done


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).

Pushed as 7bacea65acc10c16e51c2f78d0bd443206a861e4.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-09  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 19:41 [bug#55262] [PATCH] gnu: mangohud: Update to 0.6.7 John Kehayias via Guix-patches via
2022-05-09  8:00 ` bug#55262: " Mathieu Othacehe

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).