Commit Graph

850 Commits

Author SHA1 Message Date
Charlie Fenton 505fb0d9db Mac: Try yet again to fix CI Travis build failure 2020-08-22 06:00:40 -07:00
Charlie Fenton 649b950f27 Mac: Try again to fix CI Travis build failure 2020-08-22 02:08:30 -07:00
Charlie Fenton d5ead05663 Mac: Fix CI Travis build failure (due to openssl issue) 2020-08-21 19:31:20 -07:00
Charlie Fenton ee9a5d0657 Fix bugs in my PR #3970 mgr_add_stop_graphics_button 2020-08-17 04:44:48 -07:00
Charlie Fenton 288b4e30d2 Mac: Remove some obsolete code from Xcode project 2020-08-06 04:38:18 -07:00
Charlie Fenton 4ebbd1e407 Mac: Fix script which creates debug build of wxWidgets library for arm64 architecture 2020-08-04 05:29:37 -07:00
Charlie Fenton a3885168ec Mac: Remove obsolete references to PowerPC architecture from BOINC Xcode project 2020-08-02 06:07:36 -07:00
Charlie Fenton 58096ce597 Mac: Automatically build Universal x86_64 / arm64 binaries on Xcode versions that support building both architectures, x86_64-only binaries on Xcode versions that support only x86_64 and arm64-only binaries on Xcode versions that support only arm64.
CAUTION #1: I don't have arm64 macintosh hardware so this has been tested only on an x86_64 system.
CAUTION #2: This was developed on MacOS 11.0 beta 3 and Xcode 12.0 beta 2, not final release builds
CAUTION #3: At this time OpenSSL does not yet provide a way to build for MacOS with arm64 architecture, so I implemented a temporary workaround, which may or may not work properly on arm64 Macs.
2020-08-01 23:41:58 -07:00
Charlie Fenton 38620b1289 Eliminate linking to sqlite3 in Mac Xcode project
Remove references to sqlite3 in Mac build instructions
Delete Mac script for building sqlite3
2020-07-15 02:51:44 -07:00
Vitalii Koshura 65c7ef368e
Fix Mac build. Additional clean-up
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-07-14 13:56:26 +02:00
Charlie Fenton 3dcff3c721 Mac: fix compiler warnings 2020-05-06 05:34:56 -07:00
Charlie Fenton 31d2010373 Mac: restore scode project settings lost in commit e091b98d07 PR #3667 2020-05-03 17:33:19 -07:00
Charlie Fenton c3c6d505ea mac: fix build errors 2020-05-01 04:19:09 -07:00
Charlie Fenton e091b98d07 Mac: fix BOINC graphics library libboinc_graphics2.a built with Xcode 11 to properly display graphics apps when invoked from "Show graphics" button on BOINC Manager. 2020-05-01 03:51:09 -07:00
Charlie Fenton fcbdcc75b7 Mac: cleaner and more efficient screensaver implementation for OS 10.15 Catalina 2020-04-23 07:18:54 -07:00
Charlie Fenton 649558774b Mac client and Manager: Improve symbol stripping and fix saving of symbol table files 2020-03-04 03:00:44 -08:00
Charlie Fenton 13fe3e17da Mac: fix patch to buildWxMac.sh script to allow building with Xcode 11 and OS 10.15 sdk 2020-03-01 04:24:29 -08:00
Charlie Fenton cf5991a14f Mac: Add patches to buildWxMac.sh script to allow building with Xcode 11 and OS 10.15 sdk 2020-02-29 17:50:20 -08:00
Charlie Fenton aabe520811 Mac: FIx build break when performing development build 2019-12-20 03:56:08 -08:00
Charlie Fenton 40ecc0ce9c mac: Fixes for screensaver under OS 10.15 Catalina
* Screensavers can't launch setuid / sergid executables like gfx_switcher
 * Screensavers can't launch executables downloaded from Internet unless vetted by user vis GateKeeper
 * Apple's ScreenSaverEngine doesn't always call stopAnimation before exiting
 * Apple's ScreenSaverEngine always passes true for isPreview argument
 * OpenGL apps built under Xcode 11 & Catalina use window doubled window dimensions on Retina displays (2 pixels per point)
 * The CGWindowList method we have used to display project graphics apps which have not been updated no longer works
* Screensaver output files are put in an obscure sandboxed directory
2019-11-08 03:40:22 -08:00
ShanghaiTimes 21dcf0b817 Removed text file
Removed txt file
2019-09-04 09:35:59 +01:00
ShanghaiTimes bb537e5c47 Updated pdf and rtf HoToBuildBOINC_XCode files
Updated the rtf file, also created new pdf file. Inster at end of file si from the Note to build using XCode 10.2.txt file.
2019-06-27 13:02:23 +01:00
ShanghaiTimes b9712bc373 Update to HowToBuild with XCode 10.2
The general instructions in the mac_build folder in the file HowToBuildBOINC_XCode.pdf should also note that if you want to build using XCode alone, you need to put all the downloaded libraries in the folder directly above the build folder. For EG:
All of these external programs:

wxWidgets-3.1.0 s-3.1.0.tar.bz2
sqlite-3.22.0
curl-7.58.0:
c-ares-1.13.0 (used by curl):
openssl-1.1.0g
freetype-2.9
ftgl-2.1.3~rc5

Need to go into the top GitHub directory on your system and be unpacked there. Otherwise XCode  as the project is currently set up, will not find the libraries. They need to be unzipped there of course.

/Users/<your name>/GitHub/

So that when you build in XCode, they can be found in the existing setup, which looks for them in - for example -
USER_HEADER_SEARCH_PATHS = ../../curl-7.58.0/include ../../openssl-1.1.0g/include ../lib/**
2019-04-01 09:22:10 +01:00
ShanghaiTimes 64431beb3c Disabling external libraries
This fix causes two libraries to be built without including two external libraries that get found when already installed on the Mac by Homebrew for example.
2019-03-14 14:12:52 +00:00
Charlie Fenton a4979f3ad4 Mac: Fix another error in first build after cloning the BOINC source tree. (Fixed by changing order in which Xcode builds the targets.) 2019-02-01 17:35:35 -08:00
Charlie Fenton f429ab5c8b Mac: Fix error in first build after cloning the BOINC source tree. (Fixed by changing order in which Xcode builds the targets.) 2019-02-01 04:52:38 -08:00
Charlie Fenton c4d9ed0a33 Mac: Update symbol table generation for compatibility with the atos utility supplied with Xcode 10 2019-01-31 06:10:02 -08:00
Charlie Fenton a72d72913a Mac: fix some warnings from Xcode 2019-01-29 06:53:56 -08:00
Charlie Fenton faf389c02a Mac: Remove unused group from Xcode project 2019-01-29 06:10:13 -08:00
Charlie Fenton 21f42e44bf Mac: Add missing target dependency in Xcode project 2019-01-29 04:38:15 -08:00
Charlie Fenton a01f42e780 Mac: Fix error "cycle in dependencies between targets" when Xcode 10 option "Parallelize Build" is off. 2019-01-29 04:17:55 -08:00
Charlie Fenton 63b21171e2 Mac: Update build instructions for better Xcode 10 compatibility 2019-01-24 00:59:48 -08:00
Charlie Fenton d7eed3eafd Mac: Update dependent library build scripts for Xcode 10 compatibility
- use libc++ instead of libstdc++
  - eliminate 32-bit builds (Xcode 10 with Mac OS X SDK 10.14 builds only 64-bit binaries)
  - buildWxMac.sh was previously updated for Xcode 10 compatibility by commit 282ea8c324
2019-01-24 00:52:49 -08:00
Charlie Fenton f1adbf5c5b Mac documentation: add a PDF version of Mac build instructions to allow automatically linking to the latest version from the TRAC WIKI page
<https://boinc.berkeley.edu/trac/wiki/MacBuild>
2018-12-24 19:31:38 -08:00
Charlie Fenton 793deab9a6 Mac: Update build script comments and options 2018-10-14 03:31:00 -07:00
Charlie Fenton ecd0bc178d Mac: Update build instructions for new Xcode project, because Xcode project has been modified for compatibility with Xcode 10 2018-10-14 03:17:20 -07:00
Charlie Fenton f1a44ddb90 Mac: Changes to Xcode project to allow building under Xcode 10 2018-10-14 03:16:14 -07:00
Charlie Fenton 282ea8c324 Mac: Changes to build scripts to allow building under Xcode 10 2018-10-14 03:12:38 -07:00
Charlie Fenton dcab93b69a Mac installer: Finish implementing changes to avoid Mojave security dialog 2018-10-10 04:44:56 -07:00
Charlie Fenton 06d2a1f1fa Mac installer: Changes to avoid Mojave security dialog 2018-10-07 06:49:45 -07:00
Christian Beer 6ca62025e8 Travis Mac: disable screensaver again
Travis couldn't build the target. See https://github.com/BOINC/boinc/issues/2662 for more information.
2018-08-26 16:33:39 +02:00
Christian Beer 9db9bbd8b5 Mac: disable usage of libidn2 by curl
If libidn2 is installed curl will automatically use it. But since we build a static curl and have a shared libidn2 on the Travis VM this doesn't work.
2018-08-26 15:40:47 +02:00
Christian Beer 69a96eb892 Travis Mac: send full log output to transfer.sh in case of a failure
This also enables the Screensaver target to test if it can be built on Travis now.

Note: I tried to refactor the duplicated code into a bash function but string and variable interpretation screwed up the arguments passed to BuildMacBOINC.sh and I couldn't get it to work.
2018-08-26 15:26:16 +02:00
Kevin Reed 8446add652
Merge pull request #2607 from BOINC/fix_mac_sa_secure_script_comments
Mac: clarify comments in mac_sa_secure.sh script
2018-07-20 13:52:10 -05:00
Charlie Fenton 9cd1ff4ea4 Mac: update comments in Mac_SA_Insecure.sh script to clarify that it should be run in BOINC Data directory 2018-07-16 00:34:48 -07:00
Charlie Fenton 1fc1d7a587 Mac: update comments in mac_sa_secure.sh script to clarify that it should be run in BOINC Data directory 2018-07-16 00:26:16 -07:00
Charlie Fenton 7ea4a81865 Mac: Consolidate branding strings in one source file and one header file shared among all files which use them; add checks for missing branding strings. 2018-07-11 03:59:34 -07:00
Charlie Fenton c84a4134c4 Mac: continue implementing fixes to installer for issues under OS 10.13 High Sierra when multiple users are to be allowed to run BOINC Manager 2018-06-25 05:35:48 -07:00
Charlie Fenton 729c30a475 Mac: Patch wxWidgets 3.1.0 to fix BOINC Manager crash on OS 10.6. 2018-06-08 02:37:58 -07:00
Vitalii Koshura e236613753
Remove hostinfo_linux.cpp file from Scode project
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-06-01 14:52:54 +03:00