The functionality of ktexteditorpreview plugin can be extended with: kde-misc/kmarkdownwebview media-gfx/kgraphviewer I'm tired of having to see and delete this postinst message every time I update KDE. Wouldn't it be possible to convert this into USE-flags which pull in the required packages as runtime dependencies?
Portage does not support optional runtime dependencies. Having to rebuild kate simply to gain this optional runtime dependency is unacceptable. Once a future EAPI supports this functionality we will happily migrate to it. What exactly do you have to 'delete' there?
(In reply to Andreas Sturmlechner from comment #1) > What exactly do you have to 'delete' there? Well, elog creates the respective log file in /var/log/portage/elog/ and I can read these (hopefully important) messages and delete them from inside the elogv application. For example: # cat /var/log/portage/elog/kde-apps\:kate-18.08.2\:20181018-090315.log LOG: postinst The functionality of ktexteditorpreview plugin can be extended with: kde-misc/kmarkdownwebview media-gfx/kgraphviewer Anyway, after having read https://devmanual.gentoo.org/general-concepts/dependencies/index.html#runtime-dependencies and if I understand it correctly, these dependencies RDEPEND correctly, then it seems that these dependencies could belong to RDEPEND conditionally based on the respective USE-flags.
(In reply to Jaak Ristioja from comment #2) > Anyway, after having read > https://devmanual.gentoo.org/general-concepts/dependencies/index. > html#runtime-dependencies and if I understand it correctly, these > dependencies RDEPEND correctly, then it seems that these dependencies could > belong to RDEPEND conditionally based on the respective USE-flags. That leads to exactly what I described above. Yes, you can do that - but it means completely unnecessary rebuilds of kate solely for the purpose of getting an optional RDEPEND. We do optional RDEPENDs (without any build switches) on meta packages and python packages, where rebuild basically does not matter. Not where it wastes compile time. Until portage supports optional runtime dependencies properly (without having to rebuild kate, in this case), we have the choice between the pkg_postinst messages or depending on it unconditionally. More people would complain about the latter case.
See also: https://www.gentoo.org/glep/glep-0062.html
Another option might be using einfo instead of elog.
*** Bug 668922 has been marked as a duplicate of this bug. ***
*** Bug 668934 has been marked as a duplicate of this bug. ***
*** Bug 668918 has been marked as a duplicate of this bug. ***
*** Bug 668942 has been marked as a duplicate of this bug. ***
*** Bug 668936 has been marked as a duplicate of this bug. ***
*** Bug 668938 has been marked as a duplicate of this bug. ***
We're doing nothing else than optfeature, basically, without inheriting eutils.
Or we could add some of these optional runtime deps to the respective parent *-meta packages.
Several adjustments in 18.12.x ebuilds and meta packages have been made to both reduce elog chatter and make the options more visible through USE flags.