Commit Graph

434 Commits

Author SHA1 Message Date
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 3dcff3c721 Mac: fix compiler warnings 2020-05-06 05:34:56 -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
Kevin Reed e7b6da8b15 Update WCG Readme file for branded Mac Installer 2020-04-06 15:28:12 -05: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 53a73ba285 Mac installer: Remove unnecessary addition to ReadMe file 2019-12-23 15:33:06 -08:00
Charlie Fenton 72a41e6183 Mac: Fix error in release_boinc script which prevented properly code signing helper app in branded screen savers 2019-12-20 04:01:30 -08:00
Charlie Fenton d77904076e Mac: replace unreliable getlogin() calls with getenv("USER") 2019-12-20 03:59:13 -08:00
Charlie Fenton 16394a3e7e Mac installer: Add line accidentally deleted in my previous commit of PostInstall.cpp
in fixes for branded BOINC screensavers on Mac OS 10.15 Catalina
2019-12-20 03:52:39 -08:00
Charlie Fenton 6eaadd86ed Mac installer: delay running finish_install or finish_uninstall until this user is the active login (in case of fast user switching) 2019-12-20 00:17:48 -08:00
Charlie Fenton ba67414df6 Fix Mac installer & uninstaller to properly handle branded BOINC screensavers on OS 10.15 Catalina 2019-12-06 05:32:28 -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
Charlie Fenton a6ac278ecd Mac: update script for building branded installers to allow submission to Apple for "notarizing".
Update comments, fix typos in script for building unbranded Mac installer.
2018-11-06 05:31:12 -08:00
Charlie Fenton ef78d8e628 Mac: changes to allow submission to Apple for "notarizing" 2018-10-30 03:29:09 -07:00
Charlie Fenton 91ca14e015 Mac: In ReadMe.rtf file, fix broken link to sandbox design document 2018-10-25 00:21:55 -07:00
CharlieFenton 3832e72f21
Merge pull request #2759 from armstrdj/wcgrid_readme_mojave_update
Added mojave message to wcgrid readme
2018-10-16 05:31:03 -07:00
Charlie Fenton 1fb49b423e Mac installer: require OS 10.7 to install BOINC Manager, because Xcode 10 no longer supports libstdc++; it requires linking with libc++ which was not available before OS 10.7. 2018-10-14 03:14:09 -07:00
Jonathan Armstrong fa8e799581 Added mojave message to wcgrid readme 2018-10-12 08:45:10 -05:00
Charlie Fenton db8b50b5e8 Mac installer: Minor optimization to changes to avoid Mojave security dialog 2018-10-10 05:54:21 -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 b18c555ff4 Mac installer: Continue implementing changes to avoid Mojave security dialog 2018-10-09 06:49:33 -07:00
Charlie Fenton c3830613ac Mac installer: Continue implementing changes to avoid Mojave security dialog 2018-10-09 05:08:45 -07:00
Charlie Fenton ef17367cd1 Mac installer: To clarify the helper app's purpose, change its name to BOINC_Finish_Uninstall when running uninstaller (or to {brand-name}_Finish_Uninstall) 2018-10-08 04:18:05 -07:00
Charlie Fenton 8c26478b69 Mac installer: Continue implementing changes to avoid Mojave security dialog 2018-10-08 03:45:36 -07:00
Charlie Fenton 06d2a1f1fa Mac installer: Changes to avoid Mojave security dialog 2018-10-07 06:49:45 -07:00
Charlie Fenton fdeac61f5c Mac: finish implementing screensaver fixes for OS 10.14 Mojave 2018-10-01 05:17:43 -07:00
Jonathan Armstrong 61a77db8cb Removed copy of put in trash icon because not used in branded installer and cleaned up comments 2018-09-20 10:10:26 -05:00
David Anderson 2a426379bf
Merge pull request #2672 from armstrdj/mac_installer_clear_launch_services_database
clears the Launch services database during a mac client install
2018-09-09 21:30:07 -07:00
Jonathan Armstrong 5460f2d50a Updates for the wcgrid brand to support the mac installer 2018-08-29 09:25:42 -05:00
Jonathan Armstrong 3308f0dd0b clears the Launch services database during a mac client install 2018-08-29 09:07:53 -05:00
David Anderson 5e92a7cf2c
Merge pull request #2623 from BOINC/caf_detect_changed_new_vsn_ck_url
Eliminate need for installer to rename previous nvc_config.xml to old_nvc_config.xml
2018-08-02 21:16:24 -07:00
Charlie Fenton 8571569afc mac installer: change pkill() calls to killall() because pkill() was not available before OS 10.8 2018-07-30 19:33:51 -07:00
Charlie Fenton f381456376 Revert "mac installer: change pkill() calls to killall() because pkill() was not available before OS 10.8"
This reverts commit 51ccd9215f.
2018-07-30 19:26:41 -07:00
Charlie Fenton 51ccd9215f mac installer: change pkill() calls to killall() because pkill() was not available before OS 10.8 2018-07-30 19:24:21 -07:00
Charlie Fenton a4eccce899 Mac installer: fix typo in code to remove any previous nvc_config.xml file 2018-07-26 19:46:56 -07:00
Charlie Fenton eadd350987 Mac installer: remove any previous nvc_config.xml file 2018-07-26 10:44:15 -07:00
Charlie Fenton e34b68379e Mac installer: remove code I added earlier which renamed previous nvc_config.xml to old_nvc_config.xml. 2018-07-26 02:38:59 -07:00
Kevin Reed eee34216d4
Merge pull request #2603 from BOINC/caf_New_version_check_config
Add support for new nvc_config.xml file for branded installers
2018-07-20 13:51:09 -05:00
Charlie Fenton fc02420dd4 To allow customized new version message to be translatable, allow only the branded name of BOINC to be customized in the message.
Emphasize this difference by changing NVC_CONFIG struct member new_version_text to new_version_name.
Fix a bug I introduced in release_brand.sh script.
2018-07-15 03:24:59 -07:00
Charlie Fenton a03075c73c If version check URL has changed, reset any past new version information
This may happen due to installing a build of BOINC with different branding than before
2018-07-15 02:20:50 -07:00
Charlie Fenton 4f09c1979b Move client_version_check_url, client_download_url and client_new_version_text tags from cc_config.xml into new nvc_config.xml file.
If nvc_config.cml file is absent, use default values.
Branded installers can create or replace this file to customize these values.
Standard (unbranded) BOINC installers should either delete the file or create or replace it with one containing default values.
2018-07-14 04:59:06 -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 b2a51d7821 Fix checks for optional -dev argument ($5 not $4), tweak comments and update copyright year. 2018-07-09 03:43:34 -07:00
Charlie Fenton 2e4d61a11a Fixed logic for Dock "snooze" and "disconnected badges" to properly follow branded status bar (taskbar) icon.
Display branded icon in About dialog.
Fixed comment in script to reflect change from BRANDINGFILE to BRANDING_INFO in explanation of format of brand description file.
Fixed bugs in script when signing client, manager, installer, uninstaller and / or installer package.
Changed name of destination directory for built script products to avoid overwriting builds for other brands or unbranded builds.
2018-06-29 01:13:16 -07:00
Jonathan Armstrong 999cd0bfcd Merge branch 'mac_branded_installer_build_script' of https://github.com/armstrdj/boinc into mac_branded_installer_build_script 2018-06-28 09:23:46 -05:00
Jonathan Armstrong 0ce507eefb Moved Branding out of file and into enviornment variable and moved modification of plist and distribution file to temporary intaller directory 2018-06-28 09:22:38 -05:00
Charlie Fenton c4869051a9 Merge commit '5bedd6bf4afc39fea08e5e44c2e074221b0cc826' into mac_branded_installer_build_script
* commit '5bedd6bf4afc39fea08e5e44c2e074221b0cc826':
  Mac: Finish implementing fixes to installer for issues under OS 10.13 High Sierra when multiple users are to be allowed to run BOINC Manager
  [Client] [WSL] Fix xml output
  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
  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
  [Client] [WSL] Add missed CloseHandle()
  Mac: begin fixes to installer for issues under OS 10.13 High Sierra when multiple users are to be allowed to run BOINC Manager  - fix setting or deleting Login Items for users other than the one running the installer  - fix setting the screensaver for users other than the one running the installer
  [Client] [WSL] Fix Windows build
  [Client] [WSL] Extend detection.
  web: let project customize "Want to help more?" list
  web: home page: don't show credit as FLOPS.  Might not be correct.
  web: finish (I think) handling all the "join" scenarios sensibly. The degrees of freedom include - whether the project is vetted, has an ID an therefore can use autoattach - whether the user already has an account - whether the user is logged in
  web: tweaks to sample home page
  web: change semantics of download.php?dev=1 so that it uses the dev version if there is one, else the recommended version
  - add some tra()s
  - parse project ID correctly
  Web: tweaks to signup logic and forum tables
2018-06-28 03:31:14 -07:00
Jonathan Armstrong 2260ee5392 Fixed copying branding file to PostInstall.app and added copy of new installer icns file to PostInstall app. 2018-06-27 14:19:58 -05:00
Charlie Fenton 6e1690f84e Mac: Finish 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-27 05:37:53 -07:00
Charlie Fenton b4a14a50a0 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-26 06:38:51 -07:00