Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925203 - games-util/mangohud-0.7.1 version bump
Summary: games-util/mangohud-0.7.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Adel KARA SLIMANE
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2024-02-21 21:05 UTC by thomasg
Modified: 2024-02-23 01:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mangohud-0.7.1.ebuild (mangohud-0.7.1.ebuild,4.53 KB, application/vnd.gentoo.ebuild)
2024-02-21 21:07 UTC, thomasg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomasg 2024-02-21 21:05:11 UTC
Mangohud 0.7.1 was release which fixes a number of issues, but just adapting the 0.7.0 ebuild isn't that straight forward.

Mainly there's now a dependency to implot, which has no package and has to be included as subproject.

However, the subproject implot depends on imgui as subproject, which is packaged in GURU and used by the mangohud ebuild.

So the attached ebuild adds the implot subproject and uses a sed one-liner to make it use system imgui.

Additionally there seems to be a new problem with using spdlog as a subproject instead of the system package. I've not fixed that but just enabled system spdlog for now.

I'm pretty sure the ebuild itself is not quite what the maintainer is looking for, but maybe this helps someone.

Reproducible: Always
Comment 1 thomasg 2024-02-21 21:07:12 UTC
Created attachment 885659 [details]
mangohud-0.7.1.ebuild
Comment 2 Gonçalo Negrier Duarte 2024-02-22 13:20:53 UTC
Thanks for the ebuild. Didn't notice that mangohud was updated.
I gonna give it a look
Comment 3 Gonçalo Negrier Duarte 2024-02-22 13:37:06 UTC
Well everything was ok @thomasg, the only thing missing was the bump to spdlog 1.13.0.

Thanks for the ebuild. Why you don't file a Bug to became a mantainer in guru, so you can help us maintain it. https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors
Comment 4 Gonçalo Negrier Duarte 2024-02-22 13:41:01 UTC
About spdlog is not possible to use the gentoo one for now, we still didn't found a way to fix it.
Comment 5 Gonçalo Negrier Duarte 2024-02-22 14:14:10 UTC
fix: https://github.com/gentoo/guru/commit/55e51f5ec40d8e0822c108ec8475fb791936fd7f

Guru gitweb is not updating for some reason
Comment 6 Larry the Git Cow gentoo-dev 2024-02-23 01:36:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55e51f5ec40d8e0822c108ec8475fb791936fd7f

commit 55e51f5ec40d8e0822c108ec8475fb791936fd7f
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-02-22 13:38:25 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2024-02-22 14:12:12 +0000

    games-util/mangohud: drop 0.7.0-r1, add 0.7.1
    * thanks for thomasg to provided a updated ebuild
    
    Closes: https://bugs.gentoo.org/925203
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>

 games-util/mangohud/Manifest                       |  6 ++---
 ...h => mangohud-v0.7.1-meson-fix-imgui-dep.patch} |  0
 ...gohud-0.7.0-r1.ebuild => mangohud-0.7.1.ebuild} | 14 ++++++++++--
 games-util/mangohud/mangohud-9999.ebuild           | 26 +++++++++-------------
 4 files changed, 25 insertions(+), 21 deletions(-)