[KDE/Mac] CMake to deploy package for Mac (Re: Developing KDE on Mac)

Bernhard Reiter bernhard at intevation.de
Thu Sep 30 20:51:04 CEST 2010

On Wednesday 18 August 2010 17:30:51 Mike McQuaid wrote:
> Or just using the dependencies already calculated by CMake and the CMake
> scripts for getting compile-time prerequisites (GetPrerequisites).

> As an example of my method, here's how to make a Qt application that finds
> and installs all it's own dependencies in CMake:
> http://gitorious.org/charm/charm/blobs/master/Charm/CMakeLists.txt#line228
> This lets "make package" build a droppable .app installer of this Qt
> application on OSX. I could change one line and make it create .pkg
> installers instead. 

In light of not having used CPack at all, I like to know to understand more 
about the solution proposed by you.

How does this solve the issues of:
* Running an stopping various processes (like dbus) that should be unique?
* Packaging up the exact and complete source code for your binaries
  (of course excluding system libraries, but including external ones)?
* The rebuilding of the complete source code, once I have it?
* Updates of a part of the dependencies do require a complete and full
  rebuild? (Because we cannot be sure that rebuilding works until it has
  been done successfully first and no intermediate step can reconstructed

> The .dmg is 6.4MB and the installed .app is 20MB. This
> somewhat destroys your claim that "bundling a Qt framework inside the .app
> makes the .app grow by a few hundred MB".

Potentially there are hundreds of interesting Free Software applications
for Mac, at some point being able to use shared resource will have an
significant effect.


Managing Director - Owner: www.intevation.net       (Free Software Company)
Deputy Germany Coordinator: fsfeurope.org. Coordinator: Kolab-Konsortium.com.
Intevation GmbH, Neuer Graben 17, Osnabrück, DE; AG Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-mac/attachments/20100930/74cbd049/attachment.sig 

More information about the kde-mac mailing list