Changes between Version 71 and Version 72 of MacBuild


Ignore:
Timestamp:
Aug 3, 2012, 3:19:26 PM (12 years ago)
Author:
charlief
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MacBuild

    v71 v72  
    11= Building BOINC Client and Manager on Macintosh OS X =
    2 '''Last updated 7/17/12'''
    3 
    4 This document applies to BOINC version 7.0.32 and later.  It has instructions for building the BOINC Client and Manager for Macintosh OS X. For information on building science project applications to run under BOINC on Macintosh OSX, see BuildMacApp.
     2'''Last updated 8/3/12'''
     3
     4This document applies to BOINC version 7.0.34 and later.  It has instructions for building the BOINC Client and Manager for Macintosh OS X. For information on building science project applications to run under BOINC on Macintosh OSX, see BuildMacApp.
    55
    66'''Note''': the information in this document changes from time to time for different versions of BOINC. For any version of BOINC source files, the corresponding version of this document can be found in the source tree at:
     
    5353== Building BOINC Manager with embedded BOINC Client ==
    5454
    55 BOINC depends on four third-party libraries: wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0 and openssl-1.0.1c. You can obtain the source files from the following URLs:
     55BOINC depends on six third-party libraries: wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0, openssl-1.0.1c,  freetype-2.4.10 and ftgl-2.1.3~rc5. You can obtain the source files from the following URLs:
    5656
    5757wxMac-2.8.10 (needed only if you are building the BOINC Manager):
     
    8080
    8181[http://www.openssl.org/source/openssl-1.0.1c.tar.gz]
     82
     83freetype-2.4.10 (needed  only if you are building the BOINC default screensaver or a project screensaver):
     84
     85[http://www.freetype.org/]
     86
     87[http://sourceforge.net/projects/freetype/files/freetype2/2.4.10/freetype-2.4.10.tar.bz2]
     88
     89ftgl-2.1.3~rc5 (needed  only if you are building the BOINC default screensaver or a project screensaver):
     90
     91[http://sourceforge.net/projects/ftgl]
     92
     93[http://sourceforge.net/projects/ftgl/files/FTGL%20Source/2.1.3%7Erc5/ftgl-2.1.3-rc5.tar.gz]
    8294
    8395(Don't forget to expand the tar files by double-clicking on them.)
     
    88100MAC_OS_X_VERSION_MIN_REQUIRED=1040
    89101}}}
    90 These are not done automatically by either the Xcode projects which come with wxMac-2.8.10, nor  the AutoMake scripts supplied with wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0 and openssl-1.0.1c.  So be sure to use our special scripts to build these packages.
     102These are not done automatically by either the Xcode projects which come with wxMac-2.8.10, nor  the AutoMake scripts supplied with wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0, openssl-1.0.1c, freetype-2.4.10 and ftgl-2.1.3~rc5.  So be sure to use our special scripts to build these packages.
    91103
    92104 1. Create a parent directory within which to work. In this description , we will call it BOINC_dev, but you can name it anything you wish.
     
    98110openssl-1.0.1c
    99111wxMac-2.8.10
    100 }}}
    101  Important: do not change the names of any of these 4 directories.
     112freetype-2.4.10
     113ftgl-2.1.3~rc5
     114}}}
     115 Important: do not change the names of any of these 6 directories.
    102116
    103117 '''Note:''' Building wxMac-2.8.10 requires the MacOSX10.6.sdk, which is not included in Xcode 4.4 and later.  If you are building wxMac-2.8.10 with Xcode 4.4, see the section [#InstallingandsettingupXcode Installing and setting up Xcode] for further information.
     
    112126 The command above retrieves the source code from the HEAD (TRUNK) or development branch of the SVN repository. See more information on [SourceCode getting the BOINC source code].
    113127
    114  4. Run the script to build the c-ares, curl, openssl and wxMac libraries as follows:
     128 4. Run the script to build the c-ares, curl, openssl, wxMac, freetype and ftgl libraries as follows:
    115129{{{
    116130cd {path}/BOINC_dev/boinc/mac_build/
     
    121135 '''Note 1:''' Be sure to run the script using the source command.  Do not double-click on the scripts or use the sh command to run them.
    122136
    123  '''Note 2:''' this script builds c-ares and curl first, followed by openssl and finally wxMac. If you haven't downloaded wxMac because you aren't building the BOINC Manager, the script will build c-ares, curl and openssl before quitting.
     137 '''Note 2:''' this script tries to build all six third-party libraries: wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0, openssl-1.0.1c,  freetype-2.4.10 and ftgl-2.1.3~rc5.  when the script finishes, it will display a warning about any libraries was unable to build (for example, if you have not downloaded them.)
    124138
    125139 5. Build BOINC as follows: