Package Details: imgui 1.87-2

Git Clone URL: https://aur.archlinux.org/imgui.git (read-only, click to copy)
Package Base: imgui
Description: Bloat-free Graphical User interface for C++
Upstream URL: https://github.com/ocornut/imgui
Licenses: MIT
Submitter: xantares
Maintainer: bwrsandman
Last Packager: bwrsandman
Votes: 2
Popularity: 0.000905
First Submitted: 2021-03-01 12:38 (UTC)
Last Updated: 2022-03-31 15:40 (UTC)

Latest Comments

zjuyk commented on 2021-10-30 13:12 (UTC)

Actually I do not know much about cmake, so I just follow the microsoft's configuration files. By the way, do you want to maintain this package? I may have no chance to use imgui in my work any more.

bwrsandman commented on 2021-10-30 12:35 (UTC) (edited on 2021-10-30 12:36 (UTC) by bwrsandman)

It would be more transparent if you put https://raw.githubusercontent.com/microsoft/vcpkg/master/ports/imgui/CMakeLists.txt and https://raw.githubusercontent.com/microsoft/vcpkg/master/ports/imgui/imgui-config.cmake.in in your source file list instead of downloading them in prepare. That would remove the need for wget as a dependency too.

bwrsandman commented on 2021-10-30 12:29 (UTC) (edited on 2021-10-30 12:37 (UTC) by bwrsandman)

Would it be possible to include the source files in /usr/src the same way that gtest does it?

The reason for this is that, according to ocornut, the library should not be dynamically linked. He prefers the source be bundled with projects.

Static linking works in some cases but projects use different defines in their projects (see imconfig.h).

So having the source available in /usr/src would allow users to use this package and still use their imconfig.h files using IMGUI_USER_CONFIG.

You should also include a statically linked library (libimgui.a).

zjuyk commented on 2021-05-18 00:57 (UTC)

Fixed and thanks for the reminder.

dankrenenz commented on 2021-05-17 20:28 (UTC)

wget needs to be added as a dependency