[KDE/Mac] relocatable application bundles

Jonas Bähr jonas.baehr at web.de
Tue Feb 5 13:04:50 CET 2008


Am 04.02.2008 um 23:17 schrieb Harald Fernengel:
> Hi,
>
> Jonas Bähr wrote:
>> # How it works:
>> # $0 may be /Applications/Krusader.app/Contents/MacOS/krusader
>> # ${0%/*/*} removes the last two elements from the path
>> # => /Applications/Krusader.app/Contents is added to KDEDIRS
>> #   => the app find its resorces
>> KDEDIRS="${0%/*/*}:$KDEDIRS" $0.bin
>> -----------8<-----------------------8<--------------
>
> I think we should fix KStandardDirs to also look into the App Bundle's
> path (e.g. with CFBundleGetMainBundle() and friends). Anyone  
> volunteers
> to write a patch? :)

Perhaps I'll find some time over the weekend...

bye,
Jonas

>
> As Benjamin said, cmake is still a bit tricky, so getting the
> information INTO the bundle currently has to be done manually during
> installation.
>
> Harald
> _______________________________________________
> kde-mac at kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac Information: http://techbase.kde.org/index.php? 
> title=Projects/KDE_on_Mac_OS_X



More information about the kde-mac mailing list