Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907838

Summary: media-libs/imgui::guru - the generated pkgconfig sets up an incorrect include path
Product: GURU Reporter: Bill Binder <bill>
Component: Package issuesAssignee: GURU project <guru-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bill Binder 2023-06-04 12:05:16 UTC
The "imgui.pc.in" file results in the include path being: 
  /usr/include/imgui/imgui
but the headers are actually installed under:
  /usr/include/imgui

The imgui path is being added on by the "includedir=..." line and then additionally in the "CFlags: ..." line.

The imgui subdirectory reference should be removed from the 3rd line of the file, i.e. change
  includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/imgui
to
  includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@


Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2023-06-04 17:48:30 UTC
There is no package called "media-libs/imgui" in the gentoo repository.

Is this a package you have installed from an overlay?
Comment 2 Mike Gilbert gentoo-dev 2023-06-04 17:50:45 UTC
I assume you installed this from guru.
Comment 3 Bill Binder 2023-06-04 18:13:43 UTC
media-libs/imgui-1.87-r6 from the guru overlay