Hello community, here is the log from the commit of package telegram-desktop for openSUSE:Factory checked in at 2018-12-28 12:34:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old) and /work/SRC/openSUSE:Factory/.telegram-desktop.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop" Fri Dec 28 12:34:44 2018 rev:4 rq:661300 version:1.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes 2018-11-19 23:32:13.115175017 +0100 +++ /work/SRC/openSUSE:Factory/.telegram-desktop.new.28833/telegram-desktop.changes 2018-12-28 12:34:57.511978709 +0100 @@ -1,0 +2,9 @@ +Sat Dec 22 01:33:03 UTC 2018 - Xu Zhao <i...@xuzhao.net> + +- Update to 1.5.2 + * Bug fixes and other minor improvements. + * Support for custom languages. + * Interface scaling for large screens. + * Video messages displayed in shared media. + +------------------------------------------------------------------- Old: ---- v1.4.7.tar.gz New: ---- v1.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ telegram-desktop.spec ++++++ --- /var/tmp/diff_new_pack.UoSXIJ/_old 2018-12-28 12:35:07.599971664 +0100 +++ /var/tmp/diff_new_pack.UoSXIJ/_new 2018-12-28 12:35:07.603971661 +0100 @@ -17,7 +17,7 @@ Name: telegram-desktop -Version: 1.4.7 +Version: 1.5.2 Release: 0 Summary: Messaging application with a focus on speed and security License: GPL-3.0-only @@ -143,7 +143,7 @@ mv variant %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/ cp %{_sourcedir}/libtgvoip.zip . && unzip libtgvoip.zip -mv libtgvoip-public libtgvoip +mv libtgvoip-master libtgvoip mv libtgvoip %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/ cp %{_sourcedir}/range-v3-master.zip . && unzip range-v3-master.zip ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.UoSXIJ/_old 2018-12-28 12:35:07.627971645 +0100 +++ /var/tmp/diff_new_pack.UoSXIJ/_new 2018-12-28 12:35:07.627971645 +0100 @@ -1,7 +1,7 @@ <constraints> <hardware> <physicalmemory> - <size unit="G">16</size> + <size unit="G">32</size> </physicalmemory> </hardware> </constraints> ++++++ libtgvoip.zip ++++++ Binary files /var/tmp/diff_new_pack.UoSXIJ/_old and /var/tmp/diff_new_pack.UoSXIJ/_new differ ++++++ patch.py ++++++ --- /var/tmp/diff_new_pack.UoSXIJ/_old 2018-12-28 12:35:07.667971617 +0100 +++ /var/tmp/diff_new_pack.UoSXIJ/_new 2018-12-28 12:35:07.667971617 +0100 @@ -142,6 +142,7 @@ child.remove("'ibusplatforminputcontextplugin'") child.remove("'fcitxplatforminputcontextplugin'") child.remove("'himeplatforminputcontextplugin'") + child.remove("'nimfplatforminputcontextplugin'") child.remove("'liblzma.a'") child.remove("'libopenal.a'") child.remove("'libavformat.a'") ++++++ tdesktop.patch ++++++ --- /var/tmp/diff_new_pack.UoSXIJ/_old 2018-12-28 12:35:07.679971609 +0100 +++ /var/tmp/diff_new_pack.UoSXIJ/_new 2018-12-28 12:35:07.679971609 +0100 @@ -7,51 +7,7 @@ <qresource prefix="/qt"> - <file alias="etc/qt.conf">../etc/qt_linux.conf</file> </qresource> - </RCC> -Index: tdesktop-1.2.6/Telegram/SourceFiles/core/launcher.cpp -=================================================================== ---- tdesktop-1.2.6.orig/Telegram/SourceFiles/core/launcher.cpp -+++ tdesktop-1.2.6/Telegram/SourceFiles/core/launcher.cpp -@@ -44,9 +44,10 @@ void Launcher::init() { - - QCoreApplication::setApplicationName(qsl("TelegramDesktop")); - --#ifndef OS_MAC_OLD -+#if !defined(Q_OS_MAC) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) -+ // Retina display support is working fine, others are not. - QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling, true); --#endif // OS_MAC_OLD -+#endif // not defined Q_OS_MAC and QT_VERSION >= 5.6.0 - - initHook(); - } -@@ -64,6 +65,13 @@ int Launcher::exec() { - Logs::start(this); // must be started before Platform is started - Platform::start(); // must be started before QApplication is created - -+ // I don't know why path is not in QT_PLUGIN_PATH by default -+ QCoreApplication::addLibraryPath("/usr/lib/qt/plugins"); -+ // without this Telegram doesn't start on Ubuntu 17.04 due GTK errors -+ setenv("QT_STYLE_OVERRIDE", "qwerty", false); -+ // Telegram doesn't start when extraordinary theme is set, see launchpad.net/bugs/1680943 -+ unsetenv("QT_QPA_PLATFORMTHEME"); -+ - auto result = executeApplication(); - - DEBUG_LOG(("Telegram finished, result: %1").arg(result)); -Index: tdesktop-1.2.6/Telegram/SourceFiles/platform/linux/linux_libs.h -=================================================================== ---- tdesktop-1.2.6.orig/Telegram/SourceFiles/platform/linux/linux_libs.h -+++ tdesktop-1.2.6/Telegram/SourceFiles/platform/linux/linux_libs.h -@@ -30,7 +30,7 @@ extern "C" { - } // extern "C" - - #ifndef TDESKTOP_DISABLE_UNITY_INTEGRATION --#include <unity/unity/unity.h> -+typedef void UnityLauncherEntry; - #endif // !TDESKTOP_DISABLE_UNITY_INTEGRATION - #endif // !TDESKTOP_DISABLE_GTK_INTEGRATION - + <qresource prefix="/fc"> Index: tdesktop-1.2.6/Telegram/SourceFiles/qt_functions.cpp =================================================================== --- /dev/null @@ -155,7 +111,7 @@ =================================================================== --- tdesktop-1.2.6.orig/Telegram/SourceFiles/qt_static_plugins.cpp +++ tdesktop-1.2.6/Telegram/SourceFiles/qt_static_plugins.cpp -@@ -28,13 +28,4 @@ Q_IMPORT_PLUGIN(QWebpPlugin) +@@ -28,14 +28,4 @@ Q_IMPORT_PLUGIN(QWebpPlugin) Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin) Q_IMPORT_PLUGIN(QGenericEnginePlugin) #elif defined Q_OS_LINUX // Q_OS_WIN | Q_OS_MAC @@ -168,42 +124,8 @@ -Q_IMPORT_PLUGIN(QIbusPlatformInputContextPlugin) -Q_IMPORT_PLUGIN(QFcitxPlatformInputContextPlugin) -Q_IMPORT_PLUGIN(QHimePlatformInputContextPlugin) +-Q_IMPORT_PLUGIN(NimfInputContextPlugin) #endif // Q_OS_WIN | Q_OS_MAC | Q_OS_LINUX -Index: tdesktop-1.2.6/Telegram/SourceFiles/ui/text/text.cpp -=================================================================== ---- tdesktop-1.2.6.orig/Telegram/SourceFiles/ui/text/text.cpp -+++ tdesktop-1.2.6/Telegram/SourceFiles/ui/text/text.cpp -@@ -1707,11 +1707,11 @@ private: - if (item == -1) - return; - --#ifdef OS_MAC_OLD -+#if defined(OS_MAC_OLD) || QT_VERSION < QT_VERSION_CHECK(5, 6, 0) - auto end = _e->findItem(line.from + line.length - 1); --#else // OS_MAC_OLD -+#else - auto end = _e->findItem(line.from + line.length - 1, item); --#endif // OS_MAC_OLD -+#endif - - auto blockIndex = _lineStartBlock; - auto currentBlock = _t->_blocks[blockIndex].get(); -Index: tdesktop-1.2.6/Telegram/SourceFiles/ui/twidget.cpp -=================================================================== ---- tdesktop-1.2.6.orig/Telegram/SourceFiles/ui/twidget.cpp -+++ tdesktop-1.2.6/Telegram/SourceFiles/ui/twidget.cpp -@@ -248,9 +248,9 @@ void sendSynteticMouseEvent(QWidget *wid - , button - , QGuiApplication::mouseButtons() | button - , QGuiApplication::keyboardModifiers() --#ifndef OS_MAC_OLD -+#if !defined(OS_MAC_OLD) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) - , Qt::MouseEventSynthesizedByApplication --#endif // OS_MAC_OLD -+#endif - ); - ev.setTimestamp(getms()); - QGuiApplication::sendEvent(windowHandle, &ev); Index: tdesktop-1.2.6/Telegram/gyp/PrecompiledHeader.cmake =================================================================== --- tdesktop-1.2.6.orig/Telegram/gyp/PrecompiledHeader.cmake ++++++ v1.4.7.tar.gz -> v1.5.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/telegram-desktop/v1.4.7.tar.gz /work/SRC/openSUSE:Factory/.telegram-desktop.new.28833/v1.5.2.tar.gz differ: char 13, line 1