1
0
Xu Zhao 2016-07-04 19:37:56 +00:00 committed by Git OBS Bridge
parent 427fefa8f1
commit cb531c1d17
4 changed files with 25 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:246c321c009f7eeb3b616503b19c270688a790bf691feac838b3d91bfd51c55b
size 11482866

3
tdesktop-0.9.56.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69ed7364e87f8f24d6f68ddc0a5b98dfd5dae74ecc93e456cede9e65878ef404
size 11472682

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 4 19:36:46 UTC 2016 - i@xuzhao.net
- Upgrade to 0.9.56
- Fixed photo viewer to handle screen resolution change correctly.
- Fixed forwarding photos via drag-n-drop.
- Various design improvements and other bug fixes.
-------------------------------------------------------------------
Mon May 16 17:40:37 UTC 2016 - i@xuzhao.net

View File

@ -1,6 +1,6 @@
Name: telegram-desktop
Summary: A new era of messaging
Version: 0.9.51
Version: 0.9.56
Release: 1
License: GPL-3.0
URL: https://github.com/telegramdesktop/tdesktop
@ -64,6 +64,7 @@ sed -i 's/CUSTOM_API_ID//g' "./Telegram/Telegram.pro"
sed -i 's,LIBS += /usr/local/lib/libxkbcommon.a,,g' "./Telegram/Telegram.pro"
sed -i 's,LIBS += /usr/local/lib/libz.a,LIBS += -lz,g' "./Telegram/Telegram.pro"
sed -i 's,<unity/unity/unity\.h>,"unity.h",g' "./Telegram/SourceFiles/pspecific_linux.cpp"
sed -i 's,<unity/unity/unity\.h>,"unity.h",g' "./Telegram/SourceFiles/platform/linux/linux_libs.h"
sed -i 's/c++11/c++14/g' "./Telegram/Telegram.pro"
# sed -i "s,/usr/local/tdesktop/Qt-5.6.0,%{_builddir}/Libraries/QtStatic,g" "./Telegram/Telegram.pro"
# sed -i "s,5\.6\.0,5.6.0,g" "./Telegram/Telegram.pro"
@ -105,38 +106,38 @@ make
export PATH="/usr/lib64/libtelegram-qt5/bin/:$PATH"
# Build codegen_style
mkdir -p "%{_builddir}/tdesktop/Linux/obj/codegen_style/Debug"
cd %{_builddir}/tdesktop/Linux/obj/codegen_style/Debug
mkdir -p "%{_builddir}/tdesktop/Linux/obj/codegen_style/Release"
cd %{_builddir}/tdesktop/Linux/obj/codegen_style/Release
qmake QMAKE_CXX="g++-5" QMAKE_LINK="g++-5" \
QT_TDESKTOP_VERSION="5.6.0" \
QT_TDESKTOP_PATH="%{_builddir}/Libraries/QtStatic" \
CONFIG+=debug ../../../../Telegram/build/qmake/codegen_style/codegen_style.pro
CONFIG+=release ../../../../Telegram/build/qmake/codegen_style/codegen_style.pro
make
# Build codegen_numbers
mkdir -p "%{_builddir}/tdesktop/Linux/obj/codegen_numbers/Debug"
cd %{_builddir}/tdesktop/Linux/obj/codegen_numbers/Debug
mkdir -p "%{_builddir}/tdesktop/Linux/obj/codegen_numbers/Release"
cd %{_builddir}/tdesktop/Linux/obj/codegen_numbers/Release
qmake QMAKE_CXX="g++-5" QMAKE_LINK="g++-5" \
QT_TDESKTOP_VERSION="5.6.0" \
QT_TDESKTOP_PATH="%{_builddir}/Libraries/QtStatic" \
CONFIG+=debug ../../../../Telegram/build/qmake/codegen_numbers/codegen_numbers.pro
CONFIG+=release ../../../../Telegram/build/qmake/codegen_numbers/codegen_numbers.pro
make
# Build MetaLang
mkdir -p "%{_builddir}/tdesktop/Linux/DebugIntermediateLang"
cd %{_builddir}/tdesktop/Linux/DebugIntermediateLang
mkdir -p "%{_builddir}/tdesktop/Linux/ReleaseIntermediateLang"
cd %{_builddir}/tdesktop/Linux/ReleaseIntermediateLang
qmake QMAKE_CXX="g++-5" QMAKE_LINK="g++-5" \
QT_TDESKTOP_VERSION="5.6.0" \
QT_TDESKTOP_PATH="%{_builddir}/Libraries/QtStatic" \
CONFIG+=debug "../../Telegram/MetaLang.pro"
CONFIG+=release "../../Telegram/MetaLang.pro"
make
# Build Telegram Desktop
mkdir -p "%{_builddir}/tdesktop/Linux/ReleaseIntermediate"
cd %{_builddir}/tdesktop/Linux/ReleaseIntermediate
./../codegen/Debug/codegen_style "-I./../../Telegram/Resources" "-I./../../Telegram/SourceFiles" "-o./../../Telegram/GeneratedFiles/styles" all_files.style --rebuild
./../codegen/Debug/codegen_numbers "-o./../../Telegram/GeneratedFiles" "./../../Telegram/Resources/numbers.txt"
./../DebugLang/MetaLang -lang_in ./../../Telegram/Resources/langs/lang.strings -lang_out ./../../Telegram/GeneratedFiles/lang_auto
./../codegen/Release/codegen_style "-I./../../Telegram/Resources" "-I./../../Telegram/SourceFiles" "-o./../../Telegram/GeneratedFiles/styles" all_files.style --rebuild
./../codegen/Release/codegen_numbers "-o./../../Telegram/GeneratedFiles" "./../../Telegram/Resources/numbers.txt"
./../ReleaseLang/MetaLang -lang_in ./../../Telegram/Resources/langs/lang.strings -lang_out ./../../Telegram/GeneratedFiles/lang_auto
qmake QMAKE_CXX="g++-5" QMAKE_LINK="g++-5" CONFIG+=release \
QT_TDESKTOP_VERSION="5.6.0" \