Trigger installation of missing components when installing a package

Review Request #102291 - Created Aug. 10, 2011 and discarded

Information
Kevin Kofler
kdelibs
master
Reviewers
plasma
This is another part of my GSoC 2011 work.

For script engines, the existing metadata (X-Plasma-API) is sufficient.

For data engines, we introduce a new metadata entry:
X-Plasma-RequiredDataEngines. Third-party packages will have to add this entry
to benefit from this feature at this time. Automatic support for scanning
package source code on installation (at least for some languages) is planned,
but the metadata entry is definitely the most efficient method.
Verified that it compiles without errors and that it successfully prompts for a missing Python script engine right after installing a Python widget (I used Veromix for my test) through KHNS (not only when actually using it) on Fedora 15. Also verified that there is no such prompt if plasma-scriptengine-python is already installed.

(The patch is against master (4.8), but applies without changes to the kdelibs 4.6.5 in Fedora 15, which is how I tested it.)
Kevin Kofler
Aaron J. Seigo
David Edmundson
Kevin Kofler
Review request changed

Status: Discarded

Loading...