Changes between Version 72 and Version 73 of MacBuild


Ignore:
Timestamp:
Dec 12, 2012, 1:58:05 AM (12 years ago)
Author:
charlief
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MacBuild

    v72 v73  
    11= Building BOINC Client and Manager on Macintosh OS X =
    2 '''Last updated 8/3/12'''
    3 
    4 This 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.
     2'''Last updated 12/12/12'''
     3
     4This document applies to BOINC version 7.0.42 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:
     
    2525You need to take certain steps to ensure that you use only APIs that are available in all the OS versions BOINC supports for each architecture. The best way to accomplish this is to use a single development system running OS 10.7.x or OS 10.8.x and cross-compile for the various platforms. The remainder of this document describes that process.
    2626
    27 '''The above requirements apply not only to BOINC itself, but also to the !WxWidgets, c-ares, cURL and openSSL libraries, as well as all project applications.'''
     27'''The above requirements apply not only to BOINC itself, but also to the !WxWidgets, c-ares, cURL, openSSL,  freetype, ftgl and SQLite3 libraries, as well as all project applications.'''
    2828
    2929Be sure to follow the directions in this document to ensure that these requirements are met.
     
    5353== Building BOINC Manager with embedded BOINC Client ==
    5454
    55 BOINC 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:
     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, ftgl-2.1.3~rc5 and sqlite3.7.14.1. You can obtain the source files from the following URLs:
    5656
    5757wxMac-2.8.10 (needed only if you are building the BOINC Manager):
     
    6262
    6363[http://downloads.sourceforge.net/wxwindows/wxMac-2.8.10.tar.bz2]
     64
     65sqlite3.7.14.1 (needed  only if you are building the BOINC Manager):
     66
     67[http://www.sqlite.org/]
     68
     69[http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz]
    6470
    6571curl-7.26.0:
     
    100106MAC_OS_X_VERSION_MIN_REQUIRED=1040
    101107}}}
    102 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, 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.
     108These 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, ftgl-2.1.3~rc5 and sqlite3.7.14.1.  So be sure to use our special scripts to build these packages.
    103109
    104110 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.
     
    112118freetype-2.4.10
    113119ftgl-2.1.3~rc5
     120sqlite3.7.14.1
    114121}}}
    115122 Important: do not change the names of any of these 6 directories.
     
    126133 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].
    127134
    128  4. Run the script to build the c-ares, curl, openssl, wxMac, freetype and ftgl libraries as follows:
     135 4. Run the script to build the c-ares, curl, openssl, wxMac, freetype, ftgl and sqlite3 libraries as follows:
    129136{{{
    130137cd {path}/BOINC_dev/boinc/mac_build/
     
    135142 '''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.
    136143
    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.)
     144 '''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, ftgl-2.1.3~rc5 and sqlite3.7.14.1.  when the script finishes, it will display a warning about any libraries was unable to build (for example, if you have not downloaded them.)
    138145
    139146 5. Build BOINC as follows: