forked from pool/telegram-desktop
Accepting request 812250 from server:messaging
- update to 2.1.10 * Improve memory usage. * Add support for full group message history export. * Allow export of a single chat message history in JSON format. - Update to 2.1.8 (beta) * Add support for full group message history export. * Allow export of a single chat message history in JSON format. - Rebased 0000-gtk2-default.patch - Update to 2.1.7 * Fix the Fcitx input method plugin. - Update to 2.1.5 * Disable the taskbar icon flash or the dock icon bounce in Settings > Notifications. * View messages containing long monospace texts in wide bubbles. * Bug fixes and other minor improvements. - rebased 0001-use-bundled-range.patch - Update to 2.1.4 * Improve bold font selection. - Update to 2.1.3 * Added support for new emoji. * Channels to which you can't post will no longer be suggested when forwarding. * Improved font selection and bold font support for CJK and Farsi. * Fix polls and quizes results viewing. * Fix memory leak in web page previews with autoplayed videos. * Fix running on OS X 10.10. * Other minor bug fixes and improvements. - removed range-v3-master.zip, range is now bundled in the upstream source - rebased 0001-use-bundled-range.patch OBS-URL: https://build.opensuse.org/request/show/812250 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/telegram-desktop?expand=0&rev=35
This commit is contained in:
commit
22f49f2f1f
@ -1,15 +1,15 @@
|
|||||||
--- a/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-02-06 11:24:06.271620992 +0100
|
--- tdesktop-2.1.8-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-06-03 18:18:48.829895452 +0000
|
||||||
+++ b/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-02-06 11:27:36.265427510 +0100
|
+++ tdesktop-2.1.8-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-06-03 18:21:15.248705051 +0000
|
||||||
@@ -222,10 +222,10 @@ void start() {
|
@@ -271,10 +271,10 @@ void start() {
|
||||||
bool isWayland = QGuiApplication::platformName().startsWith(qsl("wayland"), Qt::CaseInsensitive);
|
|
||||||
QLibrary lib_gtk;
|
QLibrary lib_gtk;
|
||||||
|
lib_gtk.setLoadHints(QLibrary::DeepBindHint);
|
||||||
|
|
||||||
- if (loadLibrary(lib_gtk, "gtk-3", 0)) {
|
- if (loadLibrary(lib_gtk, "gtk-3", 0)) {
|
||||||
+ if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
+ if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
||||||
gtkLoaded = setupGtkBase(lib_gtk);
|
gtkLoaded = setupGtkBase(lib_gtk);
|
||||||
}
|
}
|
||||||
- if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
- if (!gtkLoaded && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
||||||
+ if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-3", 0)) {
|
+ if (!gtkLoaded && loadLibrary(lib_gtk, "gtk-3", 0)) {
|
||||||
gtkLoaded = setupGtkBase(lib_gtk);
|
gtkLoaded = setupGtkBase(lib_gtk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
--- a/cmake/external/ranges/CMakeLists.txt.orig 2020-02-06 12:12:05.613006285 +0100
|
--- tdesktop-2.1.5-full/cmake/external/ranges/CMakeLists.txt.orig 2020-05-13 19:24:13.765240115 +0000
|
||||||
+++ b/cmake/external/ranges/CMakeLists.txt 2020-02-06 12:12:20.200020349 +0100
|
+++ tdesktop-2.1.5-full/cmake/external/ranges/CMakeLists.txt 2020-05-13 19:25:44.062788903 +0000
|
||||||
@@ -7,7 +7,7 @@
|
@@ -7,7 +7,7 @@
|
||||||
add_library(external_ranges INTERFACE IMPORTED GLOBAL)
|
add_library(external_ranges INTERFACE IMPORTED GLOBAL)
|
||||||
add_library(desktop-app::external_ranges ALIAS external_ranges)
|
add_library(desktop-app::external_ranges ALIAS external_ranges)
|
||||||
|
|
||||||
-if (DESKTOP_APP_USE_PACKAGED)
|
-if (DESKTOP_APP_USE_PACKAGED AND NOT DESKTOP_APP_USE_PACKAGED_LAZY)
|
||||||
+if (!DESKTOP_APP_USE_PACKAGED)
|
+if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||||
find_package(range-v3 REQUIRED)
|
find_package(range-v3 REQUIRED)
|
||||||
target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
|
target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
|
||||||
else()
|
else()
|
||||||
@@ -23,4 +23,4 @@ if (WIN32)
|
|
||||||
/experimental:preprocessor # need for range-v3 see https://github.com/ericniebler/range-v3#supported-compilers
|
|
||||||
/wd5105 # needed for `/experimental:preprocessor`, suppressing C5105 "macro expansion producing 'defined' has undefined behavior"
|
|
||||||
)
|
|
||||||
-endif()
|
|
||||||
\ No newline at end of file
|
|
||||||
+endif()
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c0a9ef4377c52d161cc33fa0225f862d5fabea673e0f1eb207a4fee743d6225a
|
|
||||||
size 964663
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:52e1ef6aff5d78fa979ed0e31129662decf78e9e317184912a7e39fe9f666200
|
|
||||||
size 26178569
|
|
3
tdesktop-2.1.10-full.tar.gz
Normal file
3
tdesktop-2.1.10-full.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a2c04523ecc7de1b95e4400dba5bf592952619403c2a7feb9b56daf957a6557c
|
||||||
|
size 36548713
|
@ -1,3 +1,57 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 5 20:20:20 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
- update to 2.1.10
|
||||||
|
* Improve memory usage.
|
||||||
|
* Add support for full group message history export.
|
||||||
|
* Allow export of a single chat message history in JSON format.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 3 18:41:46 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.1.8 (beta)
|
||||||
|
* Add support for full group message history export.
|
||||||
|
* Allow export of a single chat message history in JSON format.
|
||||||
|
- Rebased 0000-gtk2-default.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 24 15:48:54 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.1.7
|
||||||
|
* Fix the Fcitx input method plugin.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 13 19:04:30 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.1.5
|
||||||
|
* Disable the taskbar icon flash or the dock icon bounce in
|
||||||
|
Settings > Notifications.
|
||||||
|
* View messages containing long monospace texts in wide bubbles.
|
||||||
|
* Bug fixes and other minor improvements.
|
||||||
|
- rebased 0001-use-bundled-range.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 9 16:23:13 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.1.4
|
||||||
|
* Improve bold font selection.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 8 18:38:40 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.1.3
|
||||||
|
* Added support for new emoji.
|
||||||
|
* Channels to which you can't post will no longer be suggested
|
||||||
|
when forwarding.
|
||||||
|
* Improved font selection and bold font support for CJK and Farsi.
|
||||||
|
* Fix polls and quizes results viewing.
|
||||||
|
* Fix memory leak in web page previews with autoplayed videos.
|
||||||
|
* Fix running on OS X 10.10.
|
||||||
|
* Other minor bug fixes and improvements.
|
||||||
|
- removed range-v3-master.zip, range is now bundled in the
|
||||||
|
upstream source
|
||||||
|
- rebased 0001-use-bundled-range.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 2 01:03:59 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
Sat May 2 01:03:59 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
@ -31,15 +31,13 @@
|
|||||||
%define __builder ninja
|
%define __builder ninja
|
||||||
|
|
||||||
Name: telegram-desktop
|
Name: telegram-desktop
|
||||||
Version: 2.1.1
|
Version: 2.1.10
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Messaging application with a focus on speed and security
|
Summary: Messaging application with a focus on speed and security
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
Group: Productivity/Networking/Instant Messenger
|
Group: Productivity/Networking/Instant Messenger
|
||||||
URL: https://github.com/telegramdesktop/tdesktop
|
URL: https://github.com/telegramdesktop/tdesktop
|
||||||
Source0: https://github.com/telegramdesktop/tdesktop/releases/download/v%{version}/tdesktop-%{version}-full.tar.gz
|
Source0: https://github.com/telegramdesktop/tdesktop/releases/download/v%{version}/tdesktop-%{version}-full.tar.gz
|
||||||
# curl https://codeload.github.com/ericniebler/range-v3/zip/master -o range-v3-master.zip
|
|
||||||
Source1: range-v3-master.zip
|
|
||||||
# PATCH-FIX-OPENSUSE
|
# PATCH-FIX-OPENSUSE
|
||||||
Patch0: 0000-gtk2-default.patch
|
Patch0: 0000-gtk2-default.patch
|
||||||
# PATCH-FIX-OPENSUSE
|
# PATCH-FIX-OPENSUSE
|
||||||
@ -66,7 +64,6 @@ BuildRequires: libqt5-qtimageformats-devel
|
|||||||
BuildRequires: memory-constraints
|
BuildRequires: memory-constraints
|
||||||
BuildRequires: ninja
|
BuildRequires: ninja
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: unzip
|
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
BuildRequires: xxhash-devel
|
BuildRequires: xxhash-devel
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
@ -143,9 +140,6 @@ The service also provides APIs to independent developers.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n tdesktop-%{version}-full
|
%setup -q -n tdesktop-%{version}-full
|
||||||
|
|
||||||
unzip %{_sourcedir}/range-v3-master.zip -d %{_builddir}/Libraries/
|
|
||||||
mv %{_builddir}/Libraries/range-v3-master %{_builddir}/Libraries/range-v3
|
|
||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
@ -165,9 +159,9 @@ export CXX=/usr/bin/g++-9
|
|||||||
-DDESKTOP_APP_USE_PACKAGED=ON \
|
-DDESKTOP_APP_USE_PACKAGED=ON \
|
||||||
-DDESKTOP_APP_USE_PACKAGED_GSL=OFF \
|
-DDESKTOP_APP_USE_PACKAGED_GSL=OFF \
|
||||||
-DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF \
|
-DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF \
|
||||||
-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
|
|
||||||
-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
|
-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
|
||||||
-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
|
-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
|
||||||
|
-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
|
||||||
-DDESKTOP_APP_USE_PACKAGED_FONTS=ON \
|
-DDESKTOP_APP_USE_PACKAGED_FONTS=ON \
|
||||||
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
|
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
|
||||||
-DTDESKTOP_DISABLE_AUTOUPDATE=ON \
|
-DTDESKTOP_DISABLE_AUTOUPDATE=ON \
|
||||||
|
Loading…
Reference in New Issue
Block a user