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

Bug 512334

Summary: [kde overlay] Workspace libraries from Plasma Next conflict with workspace libraries from the 4.11 branch, even when they don't have too.
Product: Gentoo Linux Reporter: Matthew Dawson <matthew>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: josef64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=513622
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Allow KHelpCenter from Plasma 5.0 to handle KDE4 KHelpCenter duties
Allow kdelibs to use an appropriately setup khelpcenter:5
Remove dependency from KGet
Loosen some dependencies to plasma-runtime
Allow KHelpCenter from Plasma 5.0 to handle KDE4 KHelpCenter duties
Allow kdelibs to use an appropriately setup khelpcenter:5
Make the meta packages compatibile with Plasma 5
Unconflict kdebase-kioslaves from kio-extras

Description Matthew Dawson 2014-06-04 03:21:22 UTC
As asked on IRC, I'm filing this bug to track the conflicts between Plasma Next's workspace libraries and KDE SC 4.11's workspace libraries.  For example, the kde-base/kfilemetadata and the kde-base/baloo both conflict with between the two versions.

The current identified issues are:
1.  The headers between the packages conflict.  Current fix: Move the Plasma Next headers to a subdirectory using CMake.
2.  The symlink to the library for development also conflict.  Fix is to have the library symlink decided by a new eselect option.  The symlink doesn't appear necessary for compiling with CMake, so it shouldn't effect portage.
3.  The CMake config files also conflict.  This needs to be coordinated with upstream, so a solution is not yet known.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-06-26 15:15:50 UTC
kfilemetadata is fixed upstream, and we should consult with them how to handle baloo (since I believe they didn't want to rename the binaries).
Comment 2 Matthew Dawson 2014-07-31 02:33:06 UTC
Created attachment 381928 [details, diff]
Allow KHelpCenter from Plasma 5.0 to handle KDE4 KHelpCenter duties

First patch to have kdelibs 4 be co-installed with Plasma 5.0 KHelpCenter.  I created a new use flag to help, I'm not sure if that is the best plan or not.
Comment 3 Matthew Dawson 2014-07-31 02:36:35 UTC
Created attachment 381930 [details, diff]
Allow kdelibs to use an appropriately setup khelpcenter:5

This patches kdelibs to use Plasma 5.0 KHelpCenter.  I'm not sure exactly how the dependency should be listed.  This is against the kde overlay.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2014-07-31 09:56:12 UTC
Does upstream have any comment about this? Perhaps they are interested in installing the compat service too.
Comment 5 Matthew Dawson 2014-07-31 14:29:10 UTC
I haven't asked (yet).  I'll do so soon, since it seems to be a "free" change.
Comment 6 Matthew Dawson 2014-08-03 17:32:36 UTC
Created attachment 382150 [details, diff]
Remove dependency from KGet

This makes use of existing functionality in KGet to avoid the libkworkspace dependency.  It is basically the same as net-p2p/ktorrent's shutdown use flag.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2014-08-04 08:56:30 UTC
libkworkspace is coinstallable now
Comment 8 Matthew Dawson 2014-08-04 17:10:30 UTC
Created attachment 382254 [details, diff]
Loosen some dependencies to plasma-runtime

Some packages depended upon plasma-workspace, when they just needed plasma-runtime.  This fixes those cases.
Comment 9 Matthew Dawson 2014-08-04 21:07:03 UTC
Created attachment 382274 [details, diff]
Allow KHelpCenter from Plasma 5.0 to handle KDE4 KHelpCenter duties

First patch to have kdelibs 4 be co-installed with Plasma 5.0 KHelpCenter.  I created a new use flag to help, I'm not sure if that is the best plan or not.

Re-upload passing repoman, and also including the change in the live ebuilds.
Comment 10 Matthew Dawson 2014-08-04 21:08:09 UTC
Created attachment 382276 [details, diff]
Allow kdelibs to use an appropriately setup khelpcenter:5

This patches kdelibs to use Plasma 5.0 KHelpCenter.  I'm not sure exactly how the dependency should be listed.  This is against the kde overlay.

Re-upload for repoman + other ebuilds.
Comment 11 Matthew Dawson 2014-08-04 21:11:26 UTC
Created attachment 382278 [details, diff]
Make the meta packages compatibile with Plasma 5

This makes some of the parts of the meta packages optionally, if using Plasma 5.
Comment 12 Matthew Dawson 2014-08-04 21:12:53 UTC
Created attachment 382280 [details, diff]
Unconflict kdebase-kioslaves from kio-extras

I'm not sure if this is wanted as is, but as far I tell only runtime components are needed, not development pieces which this patch kills from kdebase-kioslaves.  It's all behind a minimal use flag, which should avoid breakage.