Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-04-02 Thread mk-lists
Hi Ian, On 02 Apr 2014, at 02:16 , Ian Wadham wrote: >> The same holds for Konqueror, which answers your question, Ian! :-) > > Yeah, but where/how (in the code or the build instructions) does it get that > icon? I don’t know where in the code it happens, I only saw that it accessed the fils u

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-04-01 Thread Ian Wadham
FWIW, I have managed to build a debug version of kdelibs master, on Apple OS X 10.7.5 (Lion). I guess the Nepomuk dependency versions have not changed since KDE 4.12 and the build was able to pick up already-installed Nepomuk dependencies. I need to do more building, I think, to get my games to

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-31 Thread mk-lists
On 31 Mar 2014, at 22:41 , mk-li...@email.de wrote: > So, obviously the test program fiddles with the ICNS file at startup and > restores it when shutting down… > What’s going on there and what can go wrong? So, I figure now that the problem is actually due to the fact that the icon at runtime g

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-31 Thread mk-lists
Icon-wise there is progress on my end. I peeked into kmines’ sources (since it does show its icon properly on MacOSX and has very short source code) ...… and it turned out that it is important in which order the CMake directives kde4_add_app_icon() and kde4_add_executable() are appearing in CMakeLi

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-24 Thread mk-lists
I would really fancy a minimal demo app which shows the mechanics of the app icon… I have played a little more with my own test case https://bitbucket.org/mkae/kde-tests/commits/bab1c1e8c5c3ba7ddbd1a9d1cf0c948358e40038?at=default but it is leading nowhere. :-( >> Visit http://mail.kde.org/mailm

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-24 Thread Luigi Toscano
Ian Wadham ha scritto: > On 25/03/2014, at 6:06 AM, Bradley Giesbrecht wrote: >> On Mar 24, 2014, at 10:57 AM, Thomas Lübking >> wrote: >>> On Montag, 24. März 2014 00:41:12 CEST, Ian Wadham wrote: And, Marko, can you point me to something that will crack one of Apple's ICNS files? e.g

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-24 Thread Ian Wadham
On 24/03/2014, at 12:36 PM, Ian Wadham wrote:I do not have KDevelop installed (on Apple OS X), so I tried the Konqueror browser instead.  Similarly towhat you found, Marko, Konqueror has only a generic icon when it is not running, butthis changes to a nice Konqueror icon as it starts to run, and ch

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-24 Thread Ian Wadham
On 25/03/2014, at 6:06 AM, Bradley Giesbrecht wrote: > On Mar 24, 2014, at 10:57 AM, Thomas Lübking > wrote: >> On Montag, 24. März 2014 00:41:12 CEST, Ian Wadham wrote: >>> And, Marko, can you point me to something that will crack one of Apple's >>> ICNS files? e.g. >> >> Linux (at least) tool

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-24 Thread Bradley Giesbrecht
On Mar 24, 2014, at 10:57 AM, Thomas Lübking wrote: > On Montag, 24. März 2014 00:41:12 CEST, Ian Wadham wrote: > >> I notice there are TWO kde4_add_app_icon() macro refs in that >> CMakeLists.txt. The other >> one has no "_bin" in it … seems odd ... > > No, kdevelop_bin_SRCS or kdevelop_SRC

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-24 Thread Thomas Lübking
On Montag, 24. März 2014 00:41:12 CEST, Ian Wadham wrote: I notice there are TWO kde4_add_app_icon() macro refs in that CMakeLists.txt. The other one has no "_bin" in it … seems odd ... No, kdevelop_bin_SRCS or kdevelop_SRCS or foo_bar_SRCS are just matter of the project name And, Marko,

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread Ian Wadham
Hi Marko and Thomas,I have been pursuing a different line of enquiry on this problem.Firstly, I am finding exactly the same, on Apple OS X, as Marko.  Some KDE appsare installed with icons that appear on the Apple desktop and in the Apple filetree for applications: others get just a generic (Apple-

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread Ian Wadham
Hi Thomas and Marko, I guess I am like the old cow's tail: always running along behind … :-) Sunday was my final birthday party, actually a triple celebration: my second son, my daughter and I all have birthdays in the same week. I had a look at the missing icons issue, but was too tired to post

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
I have put the code including some PNGs for testing on https://bitbucket.org/mkae/kde-tests/src/7ca075e847a2c0ba1d5e7a97f1a5a60a298fe0f9/AboutBoxCrash/?at=default This app does neither create the ICNS nor sets up the required Resources folder in Contents: — ./tutorial2.app ./tutorial2.a

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 12:09 , Thomas Lübking wrote: > kdevelop/app/CMakeLists.txt *does* have > kde4_add_app_icon(kdevelop_bin_SRCS > "${CMAKE_CURRENT_SOURCE_DIR}/../pics/hi*-app-kdevelop.png”) Yep, thanks for pointing that out. I forgot option ‘-i’ in my find command call. :-( > As you probably fi

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 12:09 , Thomas Lübking wrote: > kdevelop/app/CMakeLists.txt *does* have > kde4_add_app_icon(kdevelop_bin_SRCS > "${CMAKE_CURRENT_SOURCE_DIR}/../pics/hi*-app-kdevelop.png”) Yep, thanks for pointing that out. I forgot option ‘-i’ in my find command call. :-( > As you probably fi

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread Thomas Lübking
On Sonntag, 23. März 2014 09:26:11 CEST, mk-li...@email.de wrote: This patch file does NOT yet achieve the expected up to now: — --- pics/CMakeLists.txt 2014-03-23 09:03:11.0 +0100 +++ pics/CMakeLists.txt.new 2014-03-23 09:12:01.0 +0100 @@ -7,3 +7,6 @@ ### install fi

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 09:42 , mk-li...@email.de wrote: > KDevelop is the only one missing the 128x128 icon, which seems to be the > reason for displaying the generic icon in dock if the app is not started. Simply giving KDevelop the missing icon is not yet enough to make it work in the dock and find

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 08:56 , mk-li...@email.de wrote: > I haven’t crosschecked with other apps from my long list, but I guess that > explains it. I have found that the ports with an app icon on OSX actually do have an ICNS file installed: — $ find /Applications/MacPorts/KDE4 -name "*.icns" /Applic

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
This patch file does NOT yet achieve the expected up to now: — --- pics/CMakeLists.txt 2014-03-23 09:03:11.0 +0100 +++ pics/CMakeLists.txt.new 2014-03-23 09:12:01.0 +0100 @@ -7,3 +7,6 @@ ### install files ### kde4_install_icons(${ICON_INSTALL_DIR}) + +#QT

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
And now I see that there is also this line in KMM’s cmake file: QT4_ADD_DBUS_ADAPTOR(kmymoney_SRCS org.kde.kmymoney.xml kmymoney.h KMyMoneyApp) which is most certainly also important for something… ;-) How would that have to be adapted to e.g. KDevelop? >> Visit http://mail.kde.org/mai

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
Hi Thomas, I indeed can’t find the needed statement in any CMakeLists.txt file in KDevelop’s sources: — $ find . -name CMakeLists.txt -exec grep -l KDE4_ADD_APP_ICON {} \; $ — I haven’t crosschecked with other apps from my long list, but I guess that explains it. Thanks again, Marko >> Visit

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-22 Thread mk-lists
On 22 Mar 2014, at 20:40 , Thomas Baumgart wrote: > I found the following in KMyMoneys kmymoney/CMakeLists.txt > KDE4_ADD_APP_ICON( kmymoney_SRCS hi*-app-kmymoney.png ) OK, Thomas, I’ll check whether I can find something like that for the other ports in question or not (and if not will file cor

Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-22 Thread Thomas Baumgart
Hi, On Saturday 22 March 2014 19:39:02 mk-li...@email.de wrote: > [ I am cross-posting this also to KMyMoney’s and KDevelop’s mailing lists, > because I hope for some synergy (see the example at the bottom of this > post). ] > > > > Hi devs, > > I know, the following might not be a very press

Missing application icons of many KDE apps on MacPorts/OSX

2014-03-22 Thread mk-lists
[ I am cross-posting this also to KMyMoney’s and KDevelop’s mailing lists, because I hope for some synergy (see the example at the bottom of this post). ] Hi devs, I know, the following might not be a very pressing one, but it is a long-standing issue on MacPorts [1] Many KDE applications ar