Package Base Details: mangohud-git

Git Clone URL: https://aur.archlinux.org/mangohud-git.git (read-only, click to copy)
Keywords: hud vulkan
Submitter: dnmodder
Maintainer: dnmodder
Last Packager: dnmodder
Votes: 7
Popularity: 0.21
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?: https://raw.githubusercontent.com/flightlessmango/PKGBUILDS/master/mangohud/PKGBUILD

EDIT: Sorry, it's broken too.

iwonbigbro commented on 2021-01-03 20:13

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

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

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.