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

Bug 838376

Summary: kde-frameworks/kwayland-5.93.0 moves include paths but still has old paths in pkg-config
Product: Gentoo Linux Reporter: Jon Hood <squinky86>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://mail.kde.org/pipermail/distributions/2022-April/001217.html
See Also: https://invent.kde.org/frameworks/kwayland/-/merge_requests/52
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 837719    

Description Jon Hood 2022-04-14 22:30:08 UTC
kwayland installs include files under /usr/include/KF5/KWayland/KWayland (a change from the previous /usr/include/KF5/KWayland). However, /usr/lib64/pkgconfig/KF5WaylandClient.pc stilld efines the includedir as "${prefix}/include/KF5". Either the .pc file should be updated to "${prefix}/include/KF5/KWayland" or the include files should be installed up a directory.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2022-04-15 00:31:28 UTC
The double KWayland/KWayland seems intended, but the change[1] was done after the pkg-config file was added[2] and doesn't seem to have considered it -- so, looks like an upstream issue.

[1] https://invent.kde.org/frameworks/kwayland/-/commit/de442e4
[2] https://invent.kde.org/frameworks/kwayland/-/commit/6c9de14
Comment 2 Larry the Git Cow gentoo-dev 2022-04-15 14:50:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f25fcb82d41e98f66935526fed68fa3265ec0434

commit f25fcb82d41e98f66935526fed68fa3265ec0434
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-04-15 14:49:19 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-04-15 14:49:43 +0000

    kde-frameworks/kwayland: Fix pkgconfig
    
    Upstream commit 9e70125d2991a2a2ab64e606ccabd223848945b0
    
    Closes: https://bugs.gentoo.org/838376
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../kwayland/files/kwayland-5.93.0-pkgconfig.patch | 27 ++++++++++++++++++++++
 ...and-5.93.0.ebuild => kwayland-5.93.0-r1.ebuild} |  2 ++
 2 files changed, 29 insertions(+)