Skip to content

Commit cf7f9ae

Browse files
author
MarcoFalke
committed
Merge #13617: release: require macOS 10.10+
3828a79 scripted-diff: prefer MAC_OSX over __APPLE__ (fanquake) fa6e841 gui: remove macOS ProgressBar workaround (fanquake) 68c2725 gui: remove SubstituteFonts (fanquake) 6c6dbd8 doc: mention that macOS 10.10 is now required (fanquake) 84b0cfa release: bump minimum required macOS to 10.10 (fanquake) 26b15df depends: set OSX_MIN_VERSION to 10.10 (fanquake) Pull request description: Closes #13362 d99abfddb0c8f2111340a6127e77cc686e0043d8 This workaround should no longer be required, as it should have only been in use when compiled with the 10.7 SDK, which we haven't been building with for a while now. 5bc5ae30982a0f0f6a9804b05d99434af770c724 The bugreport linked with this code is for an unrelated? issue, however from what I can tell the correct QTBUG is this one https://bugreports.qt.io/browse/QTBUG-20880. Reading though the discussion there, it seems that the way progress bars are animated changed in macOS 10.10. Qt was patched [here (5.5+)](https://codereview.qt-project.org/#/c/112379/): > Disable progress bar animations on 10.10 Yosemite and higher - the native style does not animate them any more. Keep the indeterminate progress bar animation. Given all of that, I don't think this is worth keeping around, as it would seem to only be useful in the case that a macOS user is compiling with a Qt < 5.5. That should be pretty unlikely, as we don't support downloaded Qt binaries, and brew currently provides [5.11.1](https://github.com/Homebrew/homebrew-core/blob/571b46213c70ca1573da6d0425b0bd6df34961ee/Formula/qt.rb). Tree-SHA512: 4278cb30cc9bcb313e166129ecf032c808995f8b51a3123637c47860a0010ac88f86f82ec44792153b6b1e5cca595f25013b2eaeae80194647b9ce4f7eaf32c1
2 parents 1211b15 + 3828a79 commit cf7f9ae

File tree

13 files changed

+14
-73
lines changed

13 files changed

+14
-73
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ env:
4040
# x86_64 Linux, No wallet
4141
- HOST=x86_64-unknown-linux-gnu PACKAGES="python3" DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
4242
# Cross-Mac
43-
- HOST=x86_64-apple-darwin11 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev python3-setuptools-git" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror" OSX_SDK=10.11 GOAL="all deploy"
43+
- HOST=x86_64-apple-darwin14 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev python3-setuptools-git" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror" OSX_SDK=10.11 GOAL="all deploy"
4444

4545
before_install:
4646
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")

contrib/gitian-descriptors/gitian-osx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ files:
3434
- "MacOSX10.11.sdk.tar.gz"
3535
script: |
3636
WRAP_DIR=$HOME/wrapped
37-
HOSTS="x86_64-apple-darwin11"
37+
HOSTS="x86_64-apple-darwin14"
3838
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage"
3939
FAKETIME_HOST_PROGS=""
4040
FAKETIME_PROGS="ar ranlib date dmg genisoimage"

depends/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ install: check-packages $(host_prefix)/share/config.site
178178
download-one: check-sources $(all_sources)
179179

180180
download-osx:
181-
@$(MAKE) -s HOST=x86_64-apple-darwin11 download-one
181+
@$(MAKE) -s HOST=x86_64-apple-darwin14 download-one
182182
download-linux:
183183
@$(MAKE) -s HOST=x86_64-unknown-linux-gnu download-one
184184
download-win:

depends/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Common `host-platform-triplets` for cross compilation are:
2222

2323
- `i686-w64-mingw32` for Win32
2424
- `x86_64-w64-mingw32` for Win64
25-
- `x86_64-apple-darwin11` for macOS
25+
- `x86_64-apple-darwin14` for macOS
2626
- `arm-linux-gnueabihf` for Linux ARM 32 bit
2727
- `aarch64-linux-gnu` for Linux ARM 64 bit
2828
- `riscv32-linux-gnu` for Linux RISC-V 32 bit

depends/hosts/darwin.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
OSX_MIN_VERSION=10.8
1+
OSX_MIN_VERSION=10.10
22
OSX_SDK_VERSION=10.11
33
OSX_SDK=$(SDK_PATH)/MacOSX$(OSX_SDK_VERSION).sdk
44
LD64_VERSION=253.9

doc/build-osx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ Other commands:
9191
Notes
9292
-----
9393

94-
* Tested on OS X 10.8 Mountain Lion through macOS 10.13 High Sierra on 64-bit Intel processors only.
94+
* Tested on OS X 10.10 Yosemite through macOS 10.13 High Sierra on 64-bit Intel processors only.
9595

9696
* Building with downloaded Qt binaries is not officially supported. See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714)

doc/release-notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ Compatibility
4848
==============
4949

5050
Bitcoin Core is extensively tested on multiple operating systems using
51-
the Linux kernel, macOS 10.8+, and Windows 7 and newer (Windows XP is not supported).
51+
the Linux kernel, macOS 10.10+, and Windows 7 and newer (Windows XP is not supported).
5252

5353
Bitcoin Core should also work on most other Unix-like systems but is not
5454
frequently tested on them.
5555

56+
From 0.17.0 onwards macOS <10.10 is no longer supported. 0.17.0 is built using Qt 5.9.x, which doesn't
57+
support versions of macOS older than 10.10.
58+
5659
Notable changes
5760
===============
5861

share/qt/Info.plist.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="0.9">
44
<dict>
55
<key>LSMinimumSystemVersion</key>
6-
<string>10.8.0</string>
6+
<string>10.10.0</string>
77

88
<key>LSArchitecturePriority</key>
99
<array>

src/compat/byteswap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <byteswap.h>
1616
#endif
1717

18-
#if defined(__APPLE__)
18+
#if defined(MAC_OSX)
1919

2020
#if !defined(bswap_16)
2121

@@ -61,6 +61,6 @@ inline uint64_t bswap_64(uint64_t x)
6161
}
6262
#endif // HAVE_DECL_BSWAP64 == 0
6363

64-
#endif // defined(__APPLE__)
64+
#endif // defined(MAC_OSX)
6565

6666
#endif // BITCOIN_COMPAT_BYTESWAP_H

src/qt/bitcoin.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,6 @@ int main(int argc, char *argv[])
614614
QApplication::setOrganizationName(QAPP_ORG_NAME);
615615
QApplication::setOrganizationDomain(QAPP_ORG_DOMAIN);
616616
QApplication::setApplicationName(QAPP_APP_NAME_DEFAULT);
617-
GUIUtil::SubstituteFonts(GetLangTerritory());
618617

619618
/// 4. Initialization of translations, so that intro dialog is in user's language
620619
// Now that QSettings are accessible, initialize translations

0 commit comments

Comments
 (0)