Package Details: mangohud-git 0.7.2.r13.g41b8761-1

Git Clone URL: https://aur.archlinux.org/mangohud-git.git (read-only, click to copy)
Package Base: mangohud-git
Description: A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
Upstream URL: https://github.com/flightlessmango/MangoHud
Keywords: benchmark hud opengl overlay performance vulkan
Licenses: MIT
Conflicts: mangoapp, mangohud, mangohud-common-git
Provides: mangoapp, mangohud
Replaces: mangoapp
Submitter: dnmodder
Maintainer: dnmodder (jackun)
Last Packager: dnmodder
Votes: 26
Popularity: 1.28
First Submitted: 2020-02-06 22:40 (UTC)
Last Updated: 2024-06-19 23:26 (UTC)

Required by (26)

Sources (1)

Pinned Comments

d-air1 commented on 2024-05-21 03:05 (UTC)

Can whoever keeps flagging this out of date state why? This package is installing its own version of imgui and implot is not required. This package builds just fine without it. If for some reason you need that then can you have a discussion with the maintainer of the package instead of having everyone who uses this package get messages about it being out of date for the same reasons when it works just fine.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

PedroHLC commented on 2021-08-01 15:17 (UTC)

Please add:

  • provides=("mangohud=$pkgver") to package_mangohud-git()

  • provides=("lib32-mangohud=$pkgver") to package_lib32-mangohud-git()

  • provides=("mangohud-common=$pkgver") to package_mangohud-common-git()

dnmodder commented on 2021-01-09 22:34 (UTC)

@DefaultSpatula Arreglado.

DefaultSpatula commented on 2021-01-09 18:28 (UTC)

git and dbus are missing from makedepends

dnmodder commented on 2021-01-09 17:42 (UTC)

@iwonbigbro @PedroHLC it is fixed.

PedroHLC commented on 2021-01-05 16:03 (UTC) (edited on 2021-01-05 16:08 (UTC) by PedroHLC)

What about migrating to the author's PKGBUILD?: https://raw.githubusercontent.com/flightlessmango/PKGBUILDS/master/mangohud/PKGBUILD

EDIT: Sorry, it's broken too.

iwonbigbro commented on 2021-01-03 20:13 (UTC)

Here's a patch to workaround the problem...

https://paste.ubuntu.com/p/5dzgSftqrc/

Apply it by running...

$ cd mangohud-git
$ patch -p1 <<PATCH
diff --git a/PKGBUILD b/PKGBUILD
index a074961..03cd2b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 _pkgbase=mangohud
 pkgbase=$_pkgbase-git
 pkgname=('mangohud-git' 'lib32-mangohud-git' 'mangohud-common-git')
-pkgver=0.5.1.r18.g9391822
+pkgver=0.6.1.r41.g4862d83
 pkgrel=1
 url='https://github.com/flightlessmango/MangoHud'
 license=('MIT')
@@ -15,6 +15,10 @@ replaces=('vulkan-mesa-layer-mango' 'lib32-vulkan-mesa-layer-mango')
 source=("$_pkgbase::git+$url#branch=develop")
 sha512sums=('SKIP')

+arch-meson() {
+    /usr/bin/arch-meson --wrap-mode default "$@"
+}
+
 pkgver() {
     cd "$_pkgbase"
     git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
PATCH

iwonbigbro commented on 2021-01-03 19:59 (UTC)

imgui is purely sourcecode. There are no build artefacts, so no need to create an AUR package.

According to meson docs...

Since 0.49.0 if source_filename or patch_filename is found in the project's subprojects/packagecache directory, it will be used instead of downloading the file, even if --wrap-mode option is set to nodownload. The file's hash will be checked.

So it's likely that anyone who has previously fetched the repo and built into AUR package, has a cached version of the imgui subproject. This will be used regardless of the wrap-mode, so you won't get this error. Pretty sure if you delete your clone and reclone the repo, you'll get this error.

iwonbigbro commented on 2021-01-03 18:24 (UTC)

Okay, so this error is defined by arch-meson hard coding the wrap mode.

$ grep nodownload /usr/bin/arch-meson
  --wrap-mode     nodownload \

The workaround is to install imgui, but there's no AUR PKGBUILD defined for this yet. Let me see if I can create one...

iwonbigbro commented on 2021-01-03 18:12 (UTC)

I get the same error...

Compiler for C supports arguments -Woverride-init: YES 
Compiler for C supports arguments -Winitializer-overrides: NO 
Checking for function "dlopen" : NO 
Library dl found: YES
Checking for function "clock_gettime" : YES 
Checking for size of "void*" : 8

mangohud/meson.build:219:0: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /tmp/tmp.CmpQHDlAUD/aur/mangohud-git/src/build64/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...

Pretty sure it's a missing dependency, but this error is awful and meson provides no stack trace. Anyway, the error originates from this line...

https://github.com/flightlessmango/MangoHud/blob/master/meson.build#L219

Which defines a non-downloadable subproject of dearimgui

Broken by blame diff...

https://github.com/flightlessmango/MangoHud/commit/acf2d88fbcb7a7a47f957a87d20739c67049bd0d

If you want this to work, then you need to remove the nodownload wrap-mode and allow subproject downloading.

BujuArena commented on 2021-01-01 21:54 (UTC)

I said I did that in my previous comment. For now, I've removed mangohud-git and installed mangohud, which is working.