Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907838 - media-libs/imgui::guru - the generated pkgconfig sets up an incorrect include path
Summary: media-libs/imgui::guru - the generated pkgconfig sets up an incorrect include...
Status: UNCONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-04 12:05 UTC by Bill Binder
Modified: 2023-06-04 18:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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