[mythtv-commits] packaging/master commit: 2d39b4901 by Jean-Yves Avenard (jyavenard)

MythTV noreply at mythtv.org
Thu Mar 8 11:27:45 UTC 2012


      Author:  Jean-Yves Avenard <jyavenard at mythtv.org>
 Change Date:  2012-03-08T03:07:19-08:00
   Push Date:  2012/03/08 03:27:36 -0800
  Repository:  packaging
      Branch:  master
New Revision:  2d39b4901bb0e56a013cdddb160ca6ec8d25fb5f
   Changeset:  https://github.com/MythTV/packaging/commit/2d39b4901

Log:

Update builder so it can be used to build Qt from sources

In order to build using pre-compiled Qt frameworks, several changes were required on mythtv source code itself. As such, should you want to build an older version of myth, we must use our own compiled version of Qt.

With this version you can now compile any versions of myth, including past ones, with the following caveats:
- When compiling anything older than master as of March 5th 2012, you must use the -nosysroot option. Having to use the -nosysroot means the application compiled will only run the OS it was built on and later. E.g. if compiled on 10.6, it only runs with 10.6 and 10.7. If compiled with 10.7, it only runs on 10.7. This is the same limitation as with the original osx-bundler
- You must use SDK 10.6 or later
- 64 bits compilation will only work if you disable FireWire. Before 0.25 the code wasn't 64 bits compatible, so use -m32. This implies that you can't use -universal either

New features to the scripts:
- Add -qtsrc <version>. Like -qtsrc 4.8.0. Will download Qt for the provided version and compile it. Only tested with 4.8.0 (Lion, XCode 4.3), 4.7.4 and 4.6.4 (Snow Leopard, XCode 3.2.6)
- Automatically set the application's version as per git describe
- Compile the 64 bits version by default even if the kernel in use is 32 bits so long that the CPU supports 64 bits (Intel only)
- Fix a bug when creating universal binaries, it could miss some libs

Removed:

   OSX/build/osx-packager-10.7.pl

Modified:

   OSX/build/osx-bundler.pl
   OSX/build/osx-packager-qtsdk.pl



More information about the mythtv-commits mailing list