hi...

today i started poking a bit more deeply into the plasma-mobile repository. 
this is the first in a series of emails as a result :)

a lot of stuff is written with QML and using Plasma::Packages. awesome :) 
however, the metada.desktop files in the packages are duplicated with the 
"proper" name (e.g. plasma-applet-somethingorother.desktop).

this is messy, error prone and translators will hate us. so i added a simple 
two line macro to the top level CMakeLists.txt file call 
install_metadata_file. you can now just do:

install_metadata_file(package/metadata.desktop 
                                     plasma-applet-appletstrip.desktop)

and it all magically works without a copy of the .desktop file in the source 
repo.

finally, we really need to get away from names like plasma-applet-
appletstrip.desktop .. they should be universally unique and probably should 
be more like plasma-applet-org.kde.appletstrip.desktop.

finally, a question: why are the items in plasma-mobile/containments/ install 
with a plasma-applet-foo.desktop instead of a plasma-containment-foo.desktop?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to