OS X Bundling (was Re: [mythtv] Mac OS X "instructions")

Nigel Pearson nigel at ind.tansu.com.au
Tue Sep 14 01:39:23 EDT 2004


> I have played with this a bit, and succeeded in getting the
> libraries to live in the Frameworks directory for the .app bundle.

	Ditto, except that I have all the config
(.xml, .ttf, mysql.txt) as well. Small change
in main.cpp and settings.pro

> With this, I had one 40 MB executable that didn't require external 
> libraries.

	v0.15 is 36MB, including Qt, which .tar.gz's to 13MB.
Sadly, still a bit too large for my web site. Will keep at it.
The script and source code patches are attached:

% diff -u mythtv-0.15.1/programs/mythfrontend/main.cpp 
working/programs/mythfrontend/main.cpp >patch.macosx.bundle
% diff -u mythtv-0.15.1/programs/mythfrontend/mythfrontend.pro 
working/programs/mythfrontend/mythfrontend.pro >>patch.macosx.bundle
% diff -u mythtv-0.15.1/settings.pro working/settings.pro 
 >>patch.macosx.bundle

-------------- next part --------------
A non-text attachment was scrubbed...
Name: makebundle
Type: application/octet-stream
Size: 2835 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040914/1221a866/makebundle.obj
-------------- next part --------------
  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.macosx.bundle
Type: application/octet-stream
Size: 2265 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040914/1221a866/patch.macosx.obj
-------------- next part --------------


--
Nigel Pearson, nigel at ind.tansu.com.au|  "Let's see how Spike is going"
Telstra BI&D, Sydney, Australia      |              ...
Office: 8255 4222    Fax:  8255 3153 |"I'd like to keep Spike as my 
pet."
Mobile: 0408 664435  Home: 9792 6998 |        Illyria - Angel



More information about the mythtv-dev mailing list