Skip to content
  • Marco Martin's avatar
    use proper packagestructures · 405518c4
    Marco Martin authored
    Summary:
    as the plasmapkg2 utility is dead, scripts and tabboxes couldn't
    be installed anymore, as plasmapkg2 was launched with an hardcoded
    package type (and had a bunch of custom code for it)
    and no packagestructure for the relevant package types existed.
    
    the port of scripts and tabboxes to kpackage in kwin is quite
    incomplete and somewhat strange (given the fact that was started by
    looking manually for the file as it couldn't link to libplasma)
    
    this makes things a bit better as now scripts and tabboxes have an actual
    package structure, making it installable by kpackagetool5.
    in the future, the port should be completed and replace all the manual lookup
    of files with package::filePath as it should work now given that valid
    structures exist
    
    BUG:374766
    
    Test Plan:
    tabbox plugins and kwin scripts can be installed from knewstuff
    again and can be successfully loaded
    
    Reviewers: #plasma, graesslin, subdiff
    
    Reviewed By: #plasma, graesslin
    
    Subscribers: graesslin, plasma-devel, kwin, #kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D4202
    405518c4