On Friday 08 July 2011, Aaron J. Seigo wrote: > 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)
ah, great, that's very handy (i started to leave a single desktop file and do a copy instead in cmake, but never got around to finish all applets, a macro is cleaner) > > 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? appletstrip robably should. mobilelaucher as some others again is a containment just because needs to be top level... could be another candidate for that non-plasmoid package -- Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel