[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] Mac OS X application icon support
From:       Ralf Habacker <ralf.habacker () freenet ! de>
Date:       2007-12-28 11:32:28
Message-ID: 4774DECC.8050102 () freenet ! de
[Download RAW message or body]

Harald Fernengel schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> similarly to KDE4_ADD_WIN32_APP_ICON, this patch adds a
> KDE4_ADD_MACOSX_APP_ICON to KDE4Macros.cmake, so KDE applications
> won't have the boring default icon when opened in Finder.
>
> Unfortunately, I can't reuse the WIN32_APP_ICON macro, since on
> Windows, the app icon is 32x32 and it's compiled into the binary,
> whereas on Mac, it's usually 128x128 and copied into the application
> bundle at install time.
>
>   
The initial version of the win32 related macro used a directory/pattern 
based search for icons and selected the really used icons inside the 
macro to be platform independent. See 
http://websvn.kde.org/?view=rev&revision=720773 for this version

I don't know why this was removed :-( 

Would the following form would be usable by mac os too ?  If so there 
could only be one macros for win32 and mac platform and the magics are 
done inside the macr.

KDE4_ADD_APP_ICON(<target> <icon-path-pattern> <source-variable>)

Ralf

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic