forked from pool/telegram-desktop
Accepting request 801858 from home:tux93
- 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/801858 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=138
This commit is contained in:
parent
deaeb1a6ca
commit
ce053bf519
@ -1,11 +1,11 @@
|
||||
--- a/cmake/external/ranges/CMakeLists.txt.orig 2020-02-06 12:12:05.613006285 +0100
|
||||
+++ b/cmake/external/ranges/CMakeLists.txt 2020-02-06 12:12:20.200020349 +0100
|
||||
--- tdesktop-2.1.3-full/cmake/external/ranges/CMakeLists.txt.orig 2020-05-08 18:30:04.120837898 +0000
|
||||
+++ tdesktop-2.1.3-full/cmake/external/ranges/CMakeLists.txt 2020-05-08 18:31:07.945929308 +0000
|
||||
@@ -7,7 +7,7 @@
|
||||
add_library(external_ranges INTERFACE IMPORTED GLOBAL)
|
||||
add_library(desktop-app::external_ranges ALIAS external_ranges)
|
||||
|
||||
-if (DESKTOP_APP_USE_PACKAGED)
|
||||
+if (!DESKTOP_APP_USE_PACKAGED)
|
||||
-if (DESKTOP_APP_USE_PACKAGED AND NOT DESKTOP_APP_USE_PACKAGED_LAZY)
|
||||
+if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
find_package(range-v3 REQUIRED)
|
||||
target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
|
||||
else()
|
||||
|
@ -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.3-full.tar.gz
Normal file
3
tdesktop-2.1.3-full.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4967929d7ea26d5f18d8e4983a005959dfa9803f4cc5646aaffa7a9445905b45
|
||||
size 36121092
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -31,15 +31,13 @@
|
||||
%define __builder ninja
|
||||
|
||||
Name: telegram-desktop
|
||||
Version: 2.1.1
|
||||
Version: 2.1.3
|
||||
Release: 0
|
||||
Summary: Messaging application with a focus on speed and security
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Networking/Instant Messenger
|
||||
URL: https://github.com/telegramdesktop/tdesktop
|
||||
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
|
||||
Patch0: 0000-gtk2-default.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
@ -66,7 +64,6 @@ BuildRequires: libqt5-qtimageformats-devel
|
||||
BuildRequires: memory-constraints
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xorg-x11-devel
|
||||
BuildRequires: xxhash-devel
|
||||
BuildRequires: xz
|
||||
@ -143,9 +140,6 @@ The service also provides APIs to independent developers.
|
||||
%prep
|
||||
%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
|
||||
%patch1 -p1
|
||||
|
||||
@ -165,9 +159,9 @@ export CXX=/usr/bin/g++-9
|
||||
-DDESKTOP_APP_USE_PACKAGED=ON \
|
||||
-DDESKTOP_APP_USE_PACKAGED_GSL=OFF \
|
||||
-DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF \
|
||||
-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
|
||||
-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF \
|
||||
-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF \
|
||||
-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
|
||||
-DDESKTOP_APP_USE_PACKAGED_FONTS=ON \
|
||||
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
|
||||
-DTDESKTOP_DISABLE_AUTOUPDATE=ON \
|
||||
|
Loading…
Reference in New Issue
Block a user