Updated version of MangoHUD

Message
Author
1337haXXor
Posts: 10
Joined: Tue Apr 25, 2023 6:46 pm

Updated version of MangoHUD

#1 Post by 1337haXXor »

I read through the rules and wasn't sure about this one. The version here is really old, but it seems that's the way it is on Debian: https://tracker.debian.org/pkg/mangohud

Is there a way I could request updated on MX, despite it being in testing/experimental on Debian? I'd like to remain on Stable, if possible.
ASUS TUF GAMING Z690-PLUS WIFI D4 | i5-12600K | RTX 3090 Founders | 64GB G.SKILL TridentZ 3600C18

User avatar
Stevo
Developer
Posts: 14816
Joined: Fri Dec 15, 2006 7:07 pm

Re: Updated version of MangoHUD

#2 Post by Stevo »

I gave the Debian 12 0.6.8 source a backport attempt for MX 21, but apparently the developers wrote the code in such a way that it requires the newer gcc compiler 12 in Bookworm to build, because it fails with

Code: Select all

../src/app/layer.cpp:167:19: error: ‘setw’ is not a member of ‘std’
  167 |         o << std::setw(4) << j << std::endl;
      |                   ^~~~
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
timkb4cq
Developer
Posts: 3620
Joined: Wed Jul 12, 2006 4:05 pm

Re: Updated version of MangoHUD

#3 Post by timkb4cq »

It builds (on amd64 at least) with this tiny patch

Code: Select all

--- a/src/app/layer.cpp
+++ b/src/app/layer.cpp
@@ -5,6 +5,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <inttypes.h>
+#include <iomanip>
 #include "mesa/util/macros.h"
 #include "vk_enum_to_str.h"
 #include <vulkan/vk_layer.h>
They left out a #include. setw is in iomanip, not std

I'll build the i386 & upload to Test.
I don't have access to my armhf machine - I forgot it in Florida.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
Jerry3904
Administrator
Posts: 23463
Joined: Wed Jul 19, 2006 6:13 am

Re: Updated version of MangoHUD

#4 Post by Jerry3904 »

I can try it in Suse if you like.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 14816
Joined: Fri Dec 15, 2006 7:07 pm

Re: Updated version of MangoHUD

#5 Post by Stevo »

I don't think I enabled armhf by default on that OBS repo, only arm64, but I can fix that really quick...
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

Post Reply

Return to “Package Requests - MX-21”