[Mac/Win] : add application icon
ClosedPublic

Authored by rjvbb on Mar 9 2017, 5:59 PM.

Details

Reviewers
cmollekopf
Group Reviewers
Kube
Summary

This patch adds an application icon to kube-mail, on Mac and MS Windows.

I've used conditionals because it introduces a dependency on the ECM. And because that's a new dependency I require a very recent version which introduced the possibility to create an application icon from SVG.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
rjvbb created this revision.Mar 9 2017, 5:59 PM
rjvbb added inline comments.
applications/mail/CMakeLists.txt
45

this change makes the app bundle executable go where it should on Mac, instead of being put into ${prefix}/bin. Changes nothing on Linux (it's the standard way of installing userland applications).

cmollekopf accepted this revision.Mar 10 2017, 10:39 AM
cmollekopf added a subscriber: cmollekopf.

Ship it once the ${KDevelop_SOURCE_DIR} issue is fixed.

applications/mail/CMakeLists.txt
11

${KDevelop_SOURCE_DIR} can't be right.

This revision is now accepted and ready to land.Mar 10 2017, 10:39 AM
rjvbb added inline comments.Mar 10 2017, 11:04 AM
applications/mail/CMakeLists.txt
11

Damn, that's what you get from using copy/paste and looking no further when the result has the intended effect... The whole reference to the KDevelop directory can probably go, maybe even the entire line. I'll check.

rjvbb marked 3 inline comments as done.Mar 10 2017, 6:12 PM
rjvbb closed this revision.Mar 10 2017, 6:21 PM
applications/mail/CMakeLists.txt
11

We both missed the fact that the ECM were already being included, all I really needed to do was require a more recent on Mac/Win32!