I have installed a few old KDE3 apps from overlay kde-sunset. In the past the category of a few packages has been changed from kde-base to kde-apps and the kde4.eclass includes an automatic blocker: if [[ ${CATEGORY} == kde-apps ]]; then kderdepend+=" !kde-base/${PN}" fi which is blocking the old KDE3 packages. Would it be possible to change the restriction to only KDE4 packages putting a slot operator? if [[ ${CATEGORY} == kde-apps ]]; then kderdepend+=" !kde-base/${PN}:4" fi
It would only block KDE3 packages if you wanted to emerge the same package name in :3 and :4 - like e.g. kate:3 besides kate:4. But I guess no one really wants that, or am I missing something?
In the reverse case of having installed KDE3 and some apps using KDE4 libs then you need to have installed the same package for both KDE3 and KDE4, for instance I have $ which -a kdesu /usr/bin/kdesu /usr/kde/3.5/bin/kdesu The apps are installed in different paths so there is no conflict. Without the suggested change in the kde4.eclass it's not possible to have both installed. I guess the blocker was introducted after having renamed the category name for the KDE4 packages. From the point of view of the official plain portage I guess there are no problems because KDE3 is not anymore in the tree
Thanks, fixed in git. https://gitweb.gentoo.org/proj/kde.git/commit/?id=8f3df5bf67de347b35f85dd7c8a0abb76c83fdae https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb1e3cbe51890f1dbf68a63936d257e42b89830