diff --git a/patch-1.1.7.diff b/patch-1.1.9.diff similarity index 87% rename from patch-1.1.7.diff rename to patch-1.1.9.diff index bcf134c..0509198 100644 --- a/patch-1.1.7.diff +++ b/patch-1.1.9.diff @@ -1,7 +1,7 @@ -Index: tdesktop-1.1.7/Telegram/gyp/qt.gypi +Index: tdesktop-1.1.9/Telegram/gyp/qt.gypi =================================================================== ---- tdesktop-1.1.7.orig/Telegram/gyp/qt.gypi -+++ tdesktop-1.1.7/Telegram/gyp/qt.gypi +--- tdesktop-1.1.9.orig/Telegram/gyp/qt.gypi ++++ tdesktop-1.1.9/Telegram/gyp/qt.gypi @@ -38,7 +38,6 @@ 'Qt5Network', 'Qt5Widgets', @@ -86,10 +86,10 @@ Index: tdesktop-1.1.7/Telegram/gyp/qt.gypi '-pthread', '-g', '-rdynamic', -Index: tdesktop-1.1.7/Telegram/gyp/telegram_linux.gypi +Index: tdesktop-1.1.9/Telegram/gyp/telegram_linux.gypi =================================================================== ---- tdesktop-1.1.7.orig/Telegram/gyp/telegram_linux.gypi -+++ tdesktop-1.1.7/Telegram/gyp/telegram_linux.gypi +--- tdesktop-1.1.9.orig/Telegram/gyp/telegram_linux.gypi ++++ tdesktop-1.1.9/Telegram/gyp/telegram_linux.gypi @@ -21,11 +21,20 @@ 'conditions': [[ 'build_linux', { 'variables': { @@ -116,7 +116,7 @@ Index: tdesktop-1.1.7/Telegram/gyp/telegram_linux.gypi ], 'linux_path_ffmpeg%': '/usr/local', 'linux_path_openal%': '/usr/local', -@@ -33,50 +42,30 @@ +@@ -33,51 +42,31 @@ 'linux_path_va%': '/usr/local', 'linux_path_vdpau%': '/usr/local', 'linux_path_breakpad%': '<(libs_loc)/breakpad', @@ -147,6 +147,7 @@ Index: tdesktop-1.1.7/Telegram/gyp/telegram_linux.gypi 'composeplatforminputcontextplugin', 'ibusplatforminputcontextplugin', 'fcitxplatforminputcontextplugin', + 'himeplatforminputcontextplugin', - 'liblzma.a', - 'libopenal.a', - 'libavformat.a', @@ -174,10 +175,10 @@ Index: tdesktop-1.1.7/Telegram/gyp/telegram_linux.gypi ], 'configurations': { 'Release': { -Index: tdesktop-1.1.7/Telegram/gyp/Telegram.gyp +Index: tdesktop-1.1.9/Telegram/gyp/Telegram.gyp =================================================================== ---- tdesktop-1.1.7.orig/Telegram/gyp/Telegram.gyp -+++ tdesktop-1.1.7/Telegram/gyp/Telegram.gyp +--- tdesktop-1.1.9.orig/Telegram/gyp/Telegram.gyp ++++ tdesktop-1.1.9/Telegram/gyp/Telegram.gyp @@ -83,10 +83,13 @@ ], @@ -193,10 +194,10 @@ Index: tdesktop-1.1.7/Telegram/gyp/Telegram.gyp ], 'include_dirs': [ -Index: tdesktop-1.1.7/Telegram/ThirdParty/libtgvoip/libtgvoip.gyp +Index: tdesktop-1.1.9/Telegram/ThirdParty/libtgvoip/libtgvoip.gyp =================================================================== ---- tdesktop-1.1.7.orig/Telegram/ThirdParty/libtgvoip/libtgvoip.gyp -+++ tdesktop-1.1.7/Telegram/ThirdParty/libtgvoip/libtgvoip.gyp +--- tdesktop-1.1.9.orig/Telegram/ThirdParty/libtgvoip/libtgvoip.gyp ++++ tdesktop-1.1.9/Telegram/ThirdParty/libtgvoip/libtgvoip.gyp @@ -13,7 +13,7 @@ 'variables': { 'tgvoip_src_loc': '.', @@ -206,10 +207,10 @@ Index: tdesktop-1.1.7/Telegram/ThirdParty/libtgvoip/libtgvoip.gyp }, 'include_dirs': [ '<(tgvoip_src_loc)/webrtc_dsp', -Index: tdesktop-1.1.7/Telegram/gyp/settings_linux.gypi +Index: tdesktop-1.1.9/Telegram/gyp/settings_linux.gypi =================================================================== ---- tdesktop-1.1.7.orig/Telegram/gyp/settings_linux.gypi -+++ tdesktop-1.1.7/Telegram/gyp/settings_linux.gypi +--- tdesktop-1.1.9.orig/Telegram/gyp/settings_linux.gypi ++++ tdesktop-1.1.9/Telegram/gyp/settings_linux.gypi @@ -36,6 +36,7 @@ '-Wno-unused-but-set-variable', '-Wno-missing-field-initializers', diff --git a/telegram-desktop.changes b/telegram-desktop.changes index 5f5e079..5cf366a 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Jul 2 01:28:25 UTC 2017 - badshah400@gmail.com + +- Update to version 1.1.9: + * Supergroups can now have up to 10.000 members. + * Appoint supergroup admins with granular rights. Choose who can + add users, manage messages, block members, edit group info & + username, add new admins, etc. + * Restrict and ban supergroup members with granular precision. + Read-only bans, GIF & sticker bans, media bans, temporary bans + and restrictions. + * Check the new event log to see all service actions taken by + members and admins of a channel or supergroup in the last 48 + hours. + * Toggle night mode in the main menu. +- Rebase patch-%{version}.diff for updated version. +- Enforce strict version dependence for BuildRequires on + libtelegram-qt5-devel-static = 5.6.2, since telegram does not + build with older versions any more. Pass -Dqt_version="5.6.2" + instead of -Dqt_version="5.6.0" when configuring for build with + gyp. + ------------------------------------------------------------------- Wed Jun 21 08:40:07 UTC 2017 - badshah400@gmail.com diff --git a/telegram-desktop.spec b/telegram-desktop.spec index 8d44d5b..0ba2786 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -17,7 +17,7 @@ Name: telegram-desktop -Version: 1.1.7 +Version: 1.1.9 Release: 0 Summary: A new era of messaging License: GPL-3.0 @@ -49,7 +49,7 @@ BuildRequires: libjpeg-devel BuildRequires: libmng-devel BuildRequires: libopus-devel BuildRequires: libproxy-devel -BuildRequires: libtelegram-qt5-devel-static +BuildRequires: libtelegram-qt5-devel-static = 5.6.2 BuildRequires: libtiff-devel BuildRequires: openal-soft-devel BuildRequires: opusfile-devel @@ -168,7 +168,7 @@ cd %{_builddir}/tdesktop/Telegram/gyp ../../../Libraries/gyp/gyp \ -DCMAKE_CXX_COMPILER='g++-6' \ -Dlinux_path_qt="%{_builddir}/Libraries/QtStatic" \ - -Dqt_version="5.6.0" \ + -Dqt_version="5.6.2" \ -Dlinux_lib_ssl=-lssl \ -Dlinux_lib_crypto=-lcrypto \ -Dlinux_lib_icu="-licuuc -licutu -licui18n" \ diff --git a/v1.1.7.tar.gz b/v1.1.7.tar.gz deleted file mode 100644 index b650714..0000000 --- a/v1.1.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:760f9ff4864e1c4cfd3a955ff493644d0e6aff5bb6d1012e12d33ede2314b622 -size 16754793 diff --git a/v1.1.9.tar.gz b/v1.1.9.tar.gz new file mode 100644 index 0000000..8e11f73 --- /dev/null +++ b/v1.1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:954c7b05b569265ca4beb50ae3d47f12210fca484c7d56da58f9181d8ec4ce67 +size 16960532