Bump minimum macOS deployment target to 10.13.

This commit is contained in:
John Preston 2023-09-21 14:52:54 +04:00
parent 8d00d93949
commit 3db0b11a6b
6 changed files with 15 additions and 9 deletions

View File

@ -17,13 +17,18 @@ The latest version is available for
* [Windows 7 and above (64 bit)](https://telegram.org/dl/desktop/win64) ([portable](https://telegram.org/dl/desktop/win64_portable))
* [Windows 7 and above (32 bit)](https://telegram.org/dl/desktop/win) ([portable](https://telegram.org/dl/desktop/win_portable))
* [macOS 10.12 and above](https://telegram.org/dl/desktop/mac)
* [macOS 10.13 and above](https://telegram.org/dl/desktop/mac)
* [Linux static build for 64 bit](https://telegram.org/dl/desktop/linux)
* [Snap](https://snapcraft.io/telegram-desktop)
* [Flatpak](https://flathub.org/apps/details/org.telegram.desktop)
## Old system versions
Version **4.9.9** was the last that supports older systems
* [macOS 10.12](https://updates.tdesktop.com/tmac/tsetup.4.9.9.dmg)
* [Linux with glibc < 2.28 static build](https://updates.tdesktop.com/tlinux/tsetup.4.9.9.tar.xz)
Version **2.4.4** was the last that supports older systems
* [OS X 10.10 and 10.11](https://updates.tdesktop.com/tosx/tsetup-osx.2.4.4.dmg)

View File

@ -61,13 +61,13 @@ if [ "$BuildTarget" == "linux" ]; then
BinaryName="Telegram"
elif [ "$BuildTarget" == "mac" ] ; then
if [ "$arg1" == "x86_64" ] || [ "$arg1" == "arm64" ]; then
echo "Building version $AppVersionStrFull for macOS 10.12+ ($arg1).."
echo "Building version $AppVersionStrFull for macOS 10.13+ ($arg1).."
MacArch="$arg1"
if [ "$arg2" == "request_uuid" ] && [ "$arg3" != "" ]; then
NotarizeRequestId="$arg3"
fi
else
echo "Building version $AppVersionStrFull for macOS 10.12+.."
echo "Building version $AppVersionStrFull for macOS 10.13+.."
if [ "$arg2" != "" ]; then
if [ "$arg1" == "request_uuid_x86_64" ]; then
NotarizeRequestIdAMD64="$arg2"

View File

@ -83,9 +83,9 @@ for singlePrefix in pathPrefixes:
environment = {
'MAKE_THREADS_CNT': '-j8',
'MACOSX_DEPLOYMENT_TARGET': '10.12',
'MACOSX_DEPLOYMENT_TARGET': '10.13',
'UNGUARDED': '-Werror=unguarded-availability-new',
'MIN_VER': '-mmacosx-version-min=10.12',
'MIN_VER': '-mmacosx-version-min=10.13',
'USED_PREFIX': usedPrefix,
'ROOT_DIR': rootDir,
'LIBS_DIR': libsDir,
@ -624,6 +624,7 @@ mac:
stage('rnnoise', """
git clone https://github.com/desktop-app/rnnoise.git
cd rnnoise
git checkout fe37e57d09
mkdir out
cd out
win:
@ -1403,7 +1404,7 @@ mac:
stage('tg_owt', """
git clone https://github.com/desktop-app/tg_owt.git
cd tg_owt
git checkout 3bb3d75768
git checkout 592b14d13b
git submodule init
git submodule update
win:

View File

@ -218,7 +218,7 @@ files.append({
'remote': 'tsetup.' + version_full + '.dmg',
'backup_folder': 'tmac',
'mime': 'application/octet-stream',
'label': 'macOS 10.12+: Installer',
'label': 'macOS 10.13+: Installer',
})
files.append({
'local': 'tsetup.' + version_full + '.tar.xz',

View File

@ -56,7 +56,7 @@ outputFolder = 'updates/' + today
archive = 'tdesktop_macOS_' + today + '.zip'
if building:
print('Building ' + conf + ' version for OS X 10.12+..')
print('Building ' + conf + ' version for OS X 10.13+..')
if os.path.exists('../out/' + conf + '/' + outputFolder):
finish(1, 'Todays updates version exists.')

2
cmake

@ -1 +1 @@
Subproject commit 8bc8f9580abe99f5d1cc5501703f7760b96d8240
Subproject commit 18d4aae269c51d5b24e96957abbdb389a1270122