Package Base Details: mangohud-git

Git Clone URL: (read-only, click to copy)
Keywords: hud vulkan
Submitter: dnmodder
Maintainer: dnmodder
Last Packager: dnmodder
Votes: 9
Popularity: 1.83
First Submitted: 2020-02-06 22:40
Last Updated: 2021-01-09 22:32

Latest Comments

1 2 3 Next › Last »

dnmodder commented on 2021-01-09 22:34

@DefaultSpatula Arreglado.

DefaultSpatula commented on 2021-01-09 18:28

git and dbus are missing from makedepends

dnmodder commented on 2021-01-09 17:42

@iwonbigbro @PedroHLC it is fixed.

PedroHLC commented on 2021-01-05 16:03

What about migrating to the author's PKGBUILD?:

EDIT: Sorry, it's broken too.

iwonbigbro commented on 2021-01-03 20:13

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

Apply it by running...

$ cd mangohud-git
$ patch -p1 <<PATCH
diff --git a/PKGBUILD b/PKGBUILD
index a074961..03cd2b4 100644
@@ -3,7 +3,7 @@
 pkgname=('mangohud-git' 'lib32-mangohud-git' 'mangohud-common-git')
@@ -15,6 +15,10 @@ replaces=('vulkan-mesa-layer-mango' 'lib32-vulkan-mesa-layer-mango')

+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'

iwonbigbro commented on 2021-01-03 19:59

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

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

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

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

Which defines a non-downloadable subproject of dearimgui

Broken by blame diff...

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

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

yochananmarqos commented on 2021-01-01 21:27

@BujuArena: I can't reproduce that, make sure you do a clean build.