This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
proj:macdev [2015/03/16 03:59] admin [What Must Go Where] |
proj:macdev [2016/04/21 04:35] (current) admin [Testing Results] |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ====== Mac Development Environment ====== | ====== Mac Development Environment ====== | ||
| + | |||
| + | For packaging of latest version, see [[proj:macinstallers]] | ||
| + | |||
| + | This page is relevant to building new template (containing binaries etc). | ||
| + | |||
| + | NOTE - need a new version to handle 10.7 (Lion) upwards. Explanation: | ||
| + | |||
| + | Hi Grant, | ||
| + | | ||
| + | I remembered the reason that for OS X support sometimes being limited to 10.7. | ||
| + | It's because of C++11. The standard library that goes with this, libc++, is only | ||
| + | supported as far back as 10.7. If you want to support earlier versions then all | ||
| + | of the C++ bits need to be built for and linked against the old stdc++ library. | ||
| + | | ||
| + | Cheers | ||
| + | Glenn | ||
| ===== Virtualising Mac OSX ===== | ===== Virtualising Mac OSX ===== | ||
| Line 126: | Line 142: | ||
| Success! | Success! | ||
| + | |||
| + | If delegates.xml can't be found, the error message might be something like: | ||
| + | |||
| + | convert: UnableToOpenConfigureFile `delegates`.xml' @warning/configure.c/GetConfigureOptions/706. | ||
| + | |||
| + | If the command used to handle something doesn't work the error message from imagemagick is not very useful. It will be something like: | ||
| + | |||
| + | convert: NoImagesDefined `/Users/g/Desktop/test.png' @error/convert.c/ConvertImageCommand/3212. | ||
| ====== Linking Dependencies to @executable_path ====== | ====== Linking Dependencies to @executable_path ====== | ||
| Line 427: | Line 451: | ||
| ===== Practical Packaging ===== | ===== Practical Packaging ===== | ||
| - | To simplify things, maybe do the dependable.py strategy on pdftk so ALL files are in one folder. one less thing to have to handle. | + | To simplify things, maybe do the dependable.py strategy on pdftk so ALL files are in one folder. One less thing to have to handle. |
| - | That would mean we have stable Frameworks and Resources folders and the only thing that changes is the MacOS folder. | + | That would mean we have stable Frameworks (convert, gs, delegates.xml, colors.xml, wkhtmltopdf etc etc) and Resources folders (has sofastatistics.icns and all the pyinstaller bits and pieces) and the only thing that changes is the MacOS folder. |
| So modify spec file to copy across those two folders into app once made, and copy contents from sofa.main into MacOS and we have a package ready to go. | So modify spec file to copy across those two folders into app once made, and copy contents from sofa.main into MacOS and we have a package ready to go. | ||
| + | |||
| + | ===== Testing Results ===== | ||
| + | |||
| + | ^ OS X Version ^ PDF ^ Images ^ Contact ^ Help more ^ Other ^ | ||
| + | | Yosemite 10.10 | Yes | No | R. B. Lenin - rblenin@gmail.com | Yes | US | | ||
| + | | Yosemite 10.10.2 | Yes | No | Richard O'Donovan - odonovan.richard@gmail.com | Yes | Percentage Label clipped on left in multiple bar charts. Can help TEST COMPILED files. | | ||
| + | | Lion 10.7.5 | Yes | No | Teresa Colucci - teresacolu12@att.net | Yes | US High School Maths Teacher | | ||
| + | | Snow Leopard 10.6 | Yes | Yes | Me | Yes | | | ||
| + | | El Capitan 10.11 and Mavericks 10.9.5 | ? | ? | Rod Jacka - rod@panalysis.com | Yes | Managing Director Panalysis Pty Ltd Sydney Can COMPILE for me. | | ||
| + | | Maverick 10.10.5 | ? | ? | Brian Francis - bfrancis9898@gmail.com | Yes | on both Macbook Pro and Macbook Air | | ||