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

Bug 513934

Summary: [kde overlay] kde-base/kwin-4.96.0 needs patch for moved LicenseKey enum in Framework 5
Product: Gentoo Linux Reporter: Sven Eden <sven.eden>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Move license key enum calls to KAboutLicense

Description Sven Eden 2014-06-20 07:19:40 UTC
Created attachment 379296 [details, diff]
Move license key enum calls to KAboutLicense

Wenn trying to build the new KDE Workspaces 5, kwin-4.96.0 fails because the LicenseKey enum has been moved from KAboutData to KAboutLicense.

A typical error looks like this:

----
/home/portage/kde-base/kwin-4.96.0/work/kwin-4.96.0/main.cpp: In function ‘int kdemain(int, char**)’:
/home/portage/kde-base/kwin-4.96.0/work/kwin-4.96.0/main.cpp:499:26: error: ‘License_GPL’ is not a member of ‘KAboutData’
                          KAboutData::License_GPL,            // The license this code is released under
                          ^
----

The attached patch fixes this.
Comment 1 Sven Eden 2014-06-20 10:28:59 UTC
Okay, forget it. Going through @kde-workspaces-5.0 I noticed that none of the 4.96.0 packages (not the ebuilds) are prepared for the KAboutData -> KAboutLicense changes in version 5 framework.
kde-base/baloo-4.96.0 doesn't even use the correct ctors.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2014-06-20 15:04:55 UTC
Yeah, 4.96.0 is pretty old and we didn't get around to adding 4.97.0 yet. git version is pretty good though.