1
0
telegram-desktop/0000-gtk2-default.patch
Marcel Kuehlhorn b209bb32a1 Accepting request 830613 from home:nuklly:branches:server:messaging
- Update to 2.3.2
  * Revert custom window shadow on Linux.
- Update in 2.3.1
  * Fix Calls Settings for Video Calls.
- Update in 2.3.0
  * Video Calls (alpha version).
- Updates in 2.2.0, 2.1.22, and 2.1.21
  * Quickly switch between different Telegram accounts 
    if you use multiple phone numbers.
  * Share and store unlimited files of any type up to 2 GB each.
  * Edit your scheduled messages.
  * Use Auto-Night Mode to make Telegram night mode match system
    Dark Mode settings
  * Also added an option to switch to system window frame 
    in Windows and Linux.
  * Fix crash in web page preview display
- Rebase 0000-gtk2-default.patch
  * Prioritize qgtk2 platform plugin
- Rename 0001-use-bundled-range.patch to 
  0001-use-bundled-ranged-exptected-gsl.patch
  * Use bundled ranged-v3, Microsoft GSL, and expected.
- Add 0002-tg_owt-fix-name-confliction.patch
  * Patch tg_owt library to fix header name conflict with openssl
  * Include <stdint> header to define int types like uint32_t

OBS-URL: https://build.opensuse.org/request/show/830613
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=153
2020-08-30 23:56:14 +00:00

16 lines
666 B
Diff

--- tdesktop-2.7.3-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-06-03 18:18:48.829895452 +0000
+++ tdesktop-2.7.3-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-06-03 18:21:15.248705051 +0000
@@ -272,10 +272,10 @@ void start() {
QLibrary lib_gtk;
lib_gtk.setLoadHints(QLibrary::DeepBindHint);
- if (loadLibrary(lib_gtk, "gtk-3", 0)) {
+ if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
gtkLoaded = setupGtkBase(lib_gtk);
}
- if (!gtkLoaded && !gtkTriedToInit && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
+ if (!gtkLoaded && !gtkTriedToInit && loadLibrary(lib_gtk, "gtk-3", 0)) {
gtkLoaded = setupGtkBase(lib_gtk);
}