Wrap compatibility block in KNEWSTUFFCORE_BUILD_DEPRECATED_SINCE
The KPackage occurrences have already been ported and the wallpaper compatibility block only affects one file which will be ported too(plasma/plasma-workspace!489 (merged)).
Edited by Alexander Lohnau