Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513934 - [kde overlay] kde-base/kwin-4.96.0 needs patch for moved LicenseKey enum in Framework 5
Summary: [kde overlay] kde-base/kwin-4.96.0 needs patch for moved LicenseKey enum in F...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-20 07:19 UTC by Sven Eden
Modified: 2014-06-25 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Move license key enum calls to KAboutLicense (kwin-4.96.0_fix_framework5_license_move.patch,3.89 KB, patch)
2014-06-20 07:19 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.