Review Request 129103: Generate metadata.json file at build time

Aleix Pol Gonzalez aleixpol at kde.org
Tue Oct 4 23:31:47 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129103/
-----------------------------------------------------------

(Updated Oct. 5, 2016, 1:31 a.m.)


Review request for KDE Frameworks and Plasma.


Repository: kpackage


Description
-------

In plasma-framework internally we use a QJsonObject for reading the metadata. Providing the metadata in desktop only makes the system have to parse metadata.desktop and then convert it internally into a QJsonObject. Furthermore, to do so we use a desktop file parser that is not very performant (at least in comparison to KConfig's).

As part of #129102, we made sure that plasma supports `metadata.json`. This patch leverages it moving the weight of converting desktop to json at compile time.

It could even make sense to convert to binary json as well, I wonder whether that would improve at all.


Diffs
-----

  KF5PackageMacros.cmake 335fc81 

Diff: https://git.reviewboard.kde.org/r/129103/diff/


Testing (updated)
-------

Ran RR 129102 without any metdata.desktop files on my system.

Nope, hold the ship its, still needs work.


Thanks,

Aleix Pol Gonzalez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161004/57b8af75/attachment.html>


More information about the Plasma-devel mailing list