mirror of https://github.com/procxx/kepka.git
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop
This commit is contained in:
commit
ac5834c863
|
@ -20,6 +20,18 @@ if [ ! -d "./../Mac/Release/Telegram.app" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "./../Mac/Release/Telegram.app.dSYM" ]; then
|
||||||
|
echo "Telegram.app.dSYM not found!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
AppUUID=`dwarfdump -u "./../Mac/Release/Telegram.app/Contents/MacOS/Telegram" | awk -F " " '{print $2}'`
|
||||||
|
DsymUUID=`dwarfdump -u "./../Mac/Release/Telegram.app.dSYM" | awk -F " " '{print $2}'`
|
||||||
|
if [ "$AppUUID" != "$DsymUUID" ]; then
|
||||||
|
echo "UUID of binary '$AppUUID' and dSYM '$DsymUUID' differ!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f "./../Mac/Release/Telegram.app/Contents/Resources/Icon.icns" ]; then
|
if [ ! -f "./../Mac/Release/Telegram.app/Contents/Resources/Icon.icns" ]; then
|
||||||
echo "Icon.icns not found in Resources!"
|
echo "Icon.icns not found in Resources!"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -57,6 +69,7 @@ echo "Copying Telegram.app and tmacupd$AppVersion to deploy/$AppVersionStr..";
|
||||||
mkdir "./../Mac/Release/deploy/$AppVersionStr"
|
mkdir "./../Mac/Release/deploy/$AppVersionStr"
|
||||||
mkdir "./../Mac/Release/deploy/$AppVersionStr/Telegram"
|
mkdir "./../Mac/Release/deploy/$AppVersionStr/Telegram"
|
||||||
cp -r ./../Mac/Release/Telegram.app ./../Mac/Release/deploy/$AppVersionStr/Telegram/
|
cp -r ./../Mac/Release/Telegram.app ./../Mac/Release/deploy/$AppVersionStr/Telegram/
|
||||||
|
mv ./../Mac/Release/Telegram.app.dSYM ./../Mac/Release/deploy/$AppVersionStr/
|
||||||
rm ./../Mac/Release/Telegram.app/Contents/MacOS/Telegram
|
rm ./../Mac/Release/Telegram.app/Contents/MacOS/Telegram
|
||||||
rm ./../Mac/Release/Telegram.app/Contents/Frameworks/Updater
|
rm ./../Mac/Release/Telegram.app/Contents/Frameworks/Updater
|
||||||
rm -rf ./../Mac/Release/Telegram.app/Contents/_CodeSignature
|
rm -rf ./../Mac/Release/Telegram.app/Contents/_CodeSignature
|
||||||
|
|
|
@ -1670,7 +1670,7 @@
|
||||||
CODE_SIGN_IDENTITY = "";
|
CODE_SIGN_IDENTITY = "";
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
CURRENT_PROJECT_VERSION = 0.7.6;
|
CURRENT_PROJECT_VERSION = 0.7.6;
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
||||||
DYLIB_CURRENT_VERSION = 0.7.6;
|
DYLIB_CURRENT_VERSION = 0.7.6;
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
|
@ -1813,7 +1813,7 @@
|
||||||
CODE_SIGN_IDENTITY = "";
|
CODE_SIGN_IDENTITY = "";
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
CURRENT_PROJECT_VERSION = 0.7.6;
|
CURRENT_PROJECT_VERSION = 0.7.6;
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
DYLIB_COMPATIBILITY_VERSION = 0.7;
|
||||||
DYLIB_CURRENT_VERSION = 0.7.6;
|
DYLIB_CURRENT_VERSION = 0.7.6;
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
|
|
8
XCODE.md
8
XCODE.md
|
@ -14,6 +14,12 @@ or download in ZIP and extract to **/Users/user/TBuild** rename **tdesktop-maste
|
||||||
|
|
||||||
###Prepare libraries
|
###Prepare libraries
|
||||||
|
|
||||||
|
In your build Terminal run
|
||||||
|
|
||||||
|
MACOSX_DEPLOYMENT_TARGET=10.7
|
||||||
|
|
||||||
|
to set minimal supported OS version to 10.7 for future console builds.
|
||||||
|
|
||||||
####OpenSSL 1.0.1g
|
####OpenSSL 1.0.1g
|
||||||
|
|
||||||
Get sources from https://github.com/telegramdesktop/openssl-xcode, by git – in Terminal go to **/Users/user/TBuild/Libraries** and run
|
Get sources from https://github.com/telegramdesktop/openssl-xcode, by git – in Terminal go to **/Users/user/TBuild/Libraries** and run
|
||||||
|
@ -77,7 +83,7 @@ to have **/Users/user/TBuild/Libraries/openal-soft/CMakeLists.txt**
|
||||||
|
|
||||||
In Terminal go to **/Users/user/TBuild/Libraries/openal-soft/build** and there run
|
In Terminal go to **/Users/user/TBuild/Libraries/openal-soft/build** and there run
|
||||||
|
|
||||||
cmake -D LIBTYPE:STRING=STATIC ..
|
cmake -D LIBTYPE:STRING=STATIC -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.7 ..
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue