Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942954 - kde-apps/kate contains and builds libkateprivate (kde-apps/kate-lib) code, but never uses it.
Summary: kde-apps/kate contains and builds libkateprivate (kde-apps/kate-lib) code, bu...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-06 14:43 UTC by Navid Zamani
Modified: 2024-11-08 13:35 UTC (History)
1 user (show)

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 Navid Zamani 2024-11-06 14:43:10 UTC
I just had a lot of trouble wondering why my patch to apps/lib/kateconfigdialog.cpp did nothing. Literally wildly changing around the checkboxes had no effect. And it built it too! Because when I introduced a bug, the compiler and emerge bailed.

I was stuck, until I was told on #kate (IRC), that apps/lib is libkateprivate. Which on Gentoo, is and should be part of the kate-lib package. And lo and behold, applying the same exact patch to kate-lib, had the desired effect.

So the kate ebuild includes and compiles code that it should not and that has no effect. Can we leave that out, and avoid uselessly building the same code twice? :)
Comment 1 Navid Zamani 2024-11-06 14:44:03 UTC
Correction: s/libkatepart/libkateprivate/
Comment 2 Andreas Sturmlechner gentoo-dev 2024-11-06 16:01:24 UTC
If you contribute a patch to kate making use of an external libkateprivate and manage to upstream it too, then yes, that is possible.

The odds of upstream being interested in that are low, though, and I will not put any effort into it.