mirror of https://github.com/procxx/kepka.git
added google breakpad/crashpad to build instructions
This commit is contained in:
parent
0b8523d58e
commit
5320285943
27
MSVC.md
27
MSVC.md
|
@ -170,7 +170,6 @@ and run
|
|||
|
||||
cd qtbase && git apply ../../../tdesktop/Telegram/_qtbase_5_5_1_patch.diff && cd ..
|
||||
|
||||
|
||||
#####Install Windows SDKs
|
||||
|
||||
If you didn't install Windows SDKs before, you need to install them now. To install the SDKs just open Telegram solution at **D:\TBuild\tdesktop\Telegram.sln** and on startup Visual Studio 2015 will popup dialog box and ask to download and install extra components (including Windows 7 SDK).
|
||||
|
@ -191,6 +190,32 @@ https://visualstudiogallery.msdn.microsoft.com/c89ff880-8509-47a4-a262-e4fa07168
|
|||
|
||||
Download, close all VS2015 instances and install for VS2015
|
||||
|
||||
####Google Breakpad
|
||||
|
||||
* Install Python 2.7.11 from https://www.python.org/downloads/release/python-2711/ > [**Windows x86 MSI installer**](https://www.python.org/ftp/python/2.7.11/python-2.7.11.msi)
|
||||
* Open **VS2015 x86 Native Tools Command Prompt.bat** (should be in **Start Menu > Programs > Visual Studio 2015** menu folder)
|
||||
|
||||
There go to Libraries directory
|
||||
|
||||
D:
|
||||
cd TBuild\Libraries
|
||||
|
||||
and run
|
||||
|
||||
git clone https://chromium.googlesource.com/breakpad/breakpad
|
||||
git clone https://chromium.googlesource.com/external/gyp
|
||||
set PATH=C:\Python27;%PATH%
|
||||
cd breakpad/src/client/windows
|
||||
..\..\..\..\gyp\gyp --no-circular-check
|
||||
|
||||
#####Building library
|
||||
|
||||
* Open in VS2015 **D:\TBuild\Libraries\breakpad\src\client\windows\breakpad_client.sln**
|
||||
* Change "Treat WChar_t As Built in Type" to "No" in all projects & configurations
|
||||
* Change "Treat Warnings As Errors" to "No" in all projects & configurations
|
||||
* Build Debug configuration
|
||||
* Build Release configuration
|
||||
|
||||
###Building Telegram Desktop
|
||||
|
||||
* Launch VS2015 for configuring Qt5Package
|
||||
|
|
11
QTCREATOR.md
11
QTCREATOR.md
|
@ -142,6 +142,17 @@ In Terminal go to **/home/user/TBuild/Libraries/QtStatic** and there run
|
|||
|
||||
building (**make** command) will take really long time.
|
||||
|
||||
####Google Breakpad
|
||||
|
||||
In Terminal go to **/home/user/TBuild/Libraries** and run
|
||||
|
||||
git clone https://chromium.googlesource.com/breakpad/breakpad
|
||||
git clone https://chromium.googlesource.com/linux-syscall-support breakpad/src/third_party/lss
|
||||
cd breakpad
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
|
||||
###Building Telegram Desktop
|
||||
|
||||
* Launch Qt Creator, all projects will be taken from **/home/user/TBuild/tdesktop/Telegram**
|
||||
|
|
29
XCODE.md
29
XCODE.md
|
@ -210,11 +210,13 @@ In Terminal go to **/Users/user/TBuild/Libraries** and run:
|
|||
cd qtbase && git checkout v5.5.1 && cd ..
|
||||
|
||||
#####Apply the patch
|
||||
|
||||
From **/Users/user/TBuild/Libraries/QtStatic/qtbase**, run:
|
||||
|
||||
git apply ../../../tdesktop/Telegram/_qtbase_5_5_1_patch.diff
|
||||
|
||||
#####Building library
|
||||
|
||||
Go to **/Users/user/TBuild/Libraries/QtStatic** and run:
|
||||
|
||||
./configure -debug-and-release -opensource -confirm-license -static -opengl desktop -no-openssl -securetransport -nomake examples -nomake tests -platform macx-clang
|
||||
|
@ -223,6 +225,33 @@ Go to **/Users/user/TBuild/Libraries/QtStatic** and run:
|
|||
|
||||
Building (**make** command) will take a really long time.
|
||||
|
||||
####Google Crashpad
|
||||
|
||||
#####Install gyp
|
||||
|
||||
In Terminal go to **/Users/user/TBuild/Libraries** and run:
|
||||
|
||||
git clone https://chromium.googlesource.com/external/gyp
|
||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||
cd gyp
|
||||
./setup.py build
|
||||
sudo setup.py install
|
||||
cd ..
|
||||
|
||||
#####Build crashpad
|
||||
|
||||
In Terminal go to **/Users/user/TBuild/Libraries** and run:
|
||||
|
||||
export PATH=/Users/user/TBuild/Libraries/depot_tools:$PATH:/Users/user/TBuild/Libraries/gyp
|
||||
mkdir crashpad
|
||||
cd crashpad
|
||||
fetch crashpad
|
||||
cd crashpad/third_party/mini_chromium/mini_chromium
|
||||
git apply ../../../../../../tdesktop/Telegram/_mini_chromium_patch.diff
|
||||
cd ../../../
|
||||
build/gyp_crashpad.py -Dmac_deployment_target=10.8
|
||||
ninja -C out/Release
|
||||
|
||||
###Building Telegram Desktop
|
||||
|
||||
* Launch Xcode, all projects will be taken from **/Users/user/TBuild/tdesktop/Telegram**
|
||||
|
|
Loading…
Reference in New Issue