Bump minimum macOS deployment target to 10.13.
This commit is contained in:
parent
8d00d93949
commit
3db0b11a6b
|
@ -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 (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))
|
* [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)
|
* [Linux static build for 64 bit](https://telegram.org/dl/desktop/linux)
|
||||||
* [Snap](https://snapcraft.io/telegram-desktop)
|
* [Snap](https://snapcraft.io/telegram-desktop)
|
||||||
* [Flatpak](https://flathub.org/apps/details/org.telegram.desktop)
|
* [Flatpak](https://flathub.org/apps/details/org.telegram.desktop)
|
||||||
|
|
||||||
## Old system versions
|
## 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
|
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)
|
* [OS X 10.10 and 10.11](https://updates.tdesktop.com/tosx/tsetup-osx.2.4.4.dmg)
|
||||||
|
|
|
@ -61,13 +61,13 @@ if [ "$BuildTarget" == "linux" ]; then
|
||||||
BinaryName="Telegram"
|
BinaryName="Telegram"
|
||||||
elif [ "$BuildTarget" == "mac" ] ; then
|
elif [ "$BuildTarget" == "mac" ] ; then
|
||||||
if [ "$arg1" == "x86_64" ] || [ "$arg1" == "arm64" ]; 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"
|
MacArch="$arg1"
|
||||||
if [ "$arg2" == "request_uuid" ] && [ "$arg3" != "" ]; then
|
if [ "$arg2" == "request_uuid" ] && [ "$arg3" != "" ]; then
|
||||||
NotarizeRequestId="$arg3"
|
NotarizeRequestId="$arg3"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Building version $AppVersionStrFull for macOS 10.12+.."
|
echo "Building version $AppVersionStrFull for macOS 10.13+.."
|
||||||
if [ "$arg2" != "" ]; then
|
if [ "$arg2" != "" ]; then
|
||||||
if [ "$arg1" == "request_uuid_x86_64" ]; then
|
if [ "$arg1" == "request_uuid_x86_64" ]; then
|
||||||
NotarizeRequestIdAMD64="$arg2"
|
NotarizeRequestIdAMD64="$arg2"
|
||||||
|
|
|
@ -83,9 +83,9 @@ for singlePrefix in pathPrefixes:
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
'MAKE_THREADS_CNT': '-j8',
|
'MAKE_THREADS_CNT': '-j8',
|
||||||
'MACOSX_DEPLOYMENT_TARGET': '10.12',
|
'MACOSX_DEPLOYMENT_TARGET': '10.13',
|
||||||
'UNGUARDED': '-Werror=unguarded-availability-new',
|
'UNGUARDED': '-Werror=unguarded-availability-new',
|
||||||
'MIN_VER': '-mmacosx-version-min=10.12',
|
'MIN_VER': '-mmacosx-version-min=10.13',
|
||||||
'USED_PREFIX': usedPrefix,
|
'USED_PREFIX': usedPrefix,
|
||||||
'ROOT_DIR': rootDir,
|
'ROOT_DIR': rootDir,
|
||||||
'LIBS_DIR': libsDir,
|
'LIBS_DIR': libsDir,
|
||||||
|
@ -624,6 +624,7 @@ mac:
|
||||||
stage('rnnoise', """
|
stage('rnnoise', """
|
||||||
git clone https://github.com/desktop-app/rnnoise.git
|
git clone https://github.com/desktop-app/rnnoise.git
|
||||||
cd rnnoise
|
cd rnnoise
|
||||||
|
git checkout fe37e57d09
|
||||||
mkdir out
|
mkdir out
|
||||||
cd out
|
cd out
|
||||||
win:
|
win:
|
||||||
|
@ -1403,7 +1404,7 @@ mac:
|
||||||
stage('tg_owt', """
|
stage('tg_owt', """
|
||||||
git clone https://github.com/desktop-app/tg_owt.git
|
git clone https://github.com/desktop-app/tg_owt.git
|
||||||
cd tg_owt
|
cd tg_owt
|
||||||
git checkout 3bb3d75768
|
git checkout 592b14d13b
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
win:
|
win:
|
||||||
|
|
|
@ -218,7 +218,7 @@ files.append({
|
||||||
'remote': 'tsetup.' + version_full + '.dmg',
|
'remote': 'tsetup.' + version_full + '.dmg',
|
||||||
'backup_folder': 'tmac',
|
'backup_folder': 'tmac',
|
||||||
'mime': 'application/octet-stream',
|
'mime': 'application/octet-stream',
|
||||||
'label': 'macOS 10.12+: Installer',
|
'label': 'macOS 10.13+: Installer',
|
||||||
})
|
})
|
||||||
files.append({
|
files.append({
|
||||||
'local': 'tsetup.' + version_full + '.tar.xz',
|
'local': 'tsetup.' + version_full + '.tar.xz',
|
||||||
|
|
|
@ -56,7 +56,7 @@ outputFolder = 'updates/' + today
|
||||||
archive = 'tdesktop_macOS_' + today + '.zip'
|
archive = 'tdesktop_macOS_' + today + '.zip'
|
||||||
|
|
||||||
if building:
|
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):
|
if os.path.exists('../out/' + conf + '/' + outputFolder):
|
||||||
finish(1, 'Todays updates version exists.')
|
finish(1, 'Todays updates version exists.')
|
||||||
|
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit 8bc8f9580abe99f5d1cc5501703f7760b96d8240
|
Subproject commit 18d4aae269c51d5b24e96957abbdb389a1270122
|
Loading…
Reference in New Issue