1
0

Accepting request 632932 from home:nuklly:branches:server:messaging

- Update to 1.3.15
  * Improved local files cache.
  * Move to use kservices5.

OBS-URL: https://build.opensuse.org/request/show/632932
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=48
This commit is contained in:
Xu Zhao 2018-09-03 22:13:43 +00:00 committed by Git OBS Bridge
parent bcd15e4bbf
commit c41e81f810
11 changed files with 38 additions and 22 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42d3448260c72fd1dc57a420d893588a27db6b97e1a9bf240f3ee39d74a60911
size 71929
oid sha256:0ae0694c50b51e5c150625be71316a44929a7741e4a883b2713f303a09cd0461
size 78172

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71da6da7a7d9f5bc5a93cfbcd028d70ea1e59b45cf7cf6fcd33dd5d258d1b808
size 40026
oid sha256:54c0153fcd2f960d6d2a6ef39384ba65f10b50e39b817c48435edd5f264de92f
size 43607

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e61ebd2e5f46237751d345b2f6e26dfc57f42754132a3cc0d911c80d525c68f
size 600456
oid sha256:5c2f3619f97352cb9fb45e768a8da8f98e1a2187fe0173867003bd32a42e6c2c
size 975111

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acf53d99c8e0d3651cfb1019b51fd8a035f8ec51df9757a1f9e1f8876ede02fb
size 820724
oid sha256:651909280d234a427a27973ab14fbc311a247a166d6c1ab1364bae543831c5bb
size 820389

View File

@ -243,6 +243,6 @@ Index: tdesktop-1.2.6/Telegram/gyp/telegram_sources.txt
-<(minizip_loc)/unzip.c
-<(minizip_loc)/unzip.h
+<(src_loc)/qt_functions.cpp
platforms: mac
<(sp_media_key_tap_loc)/SPMediaKeyTap.m
platforms: win
<(res_loc)/winrc/Telegram.rc

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 3 22:11:29 UTC 2018 - Xu Zhao <i@xuzhao.net>
- Update to 1.3.15
* Improved local files cache.
* Move to use kservices5.
-------------------------------------------------------------------
Fri Jul 27 14:23:02 UTC 2018 - i@xuzhao.net

View File

@ -16,7 +16,7 @@
#
Name: telegram-desktop
Version: 1.3.10
Version: 1.3.15
Release: 0
Summary: Telegram is a messaging app with a focus on speed and security
License: GPL-3.0-only
@ -42,6 +42,9 @@ Source8: catch.hpp
Source9: range-v3-master.zip
# curl https://codeload.github.com/telegramdesktop/crl/zip/master -o crl-master.zip
Source10: crl-master.zip
# curl https://codeload.github.com/Cyan4973/xxHash/zip/master -o crl-master.zip
Source11: xxHash-master.zip
Patch0: tdesktop.patch
BuildRequires: chrpath
BuildRequires: cmake
@ -151,6 +154,10 @@ cp %{_sourcedir}/crl-master.zip . && unzip crl-master.zip
mv crl-master crl
mv crl %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/xxHash-master.zip . && unzip xxHash-master.zip
mv xxHash-master xxHash
mv xxHash %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/tdesktop.patch %{_builddir}/tdesktop-%{version}
cd %{_builddir}/tdesktop-%{version}
%patch0 -p1
@ -210,9 +217,9 @@ desktop-file-install \
%{_builddir}/tdesktop/lib/xdg/telegramdesktop.desktop
# Install protocol
install -d %{buildroot}%{_datadir}/kde4/services
install -d %{buildroot}%{_datadir}/kservices5
install -m644 %{_builddir}/tdesktop/lib/xdg/tg.protocol \
%{buildroot}%{_datadir}/kde4/services/tg.protocol
%{buildroot}%{_datadir}/kservices5/tg.protocol
# Install icons
for icon_size in 16 32 48 64 128 256 512; do
@ -236,9 +243,8 @@ done
%doc README.md
%attr(0755,root,root) %{_bindir}/%{name}
%{_datadir}/applications/telegramdesktop.desktop
%dir %{_datadir}/kde4
%dir %{_datadir}/kde4/services
%{_datadir}/kde4/services/tg.protocol
%dir %{_datadir}/kservices5
%{_datadir}/kservices5/tg.protocol
%{_datadir}/icons/hicolor/*/apps/telegram.png
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2cdf89859be93196def45145fabbbbeff6c54743f84fe2a1809d66644aac243c
size 17167027

3
v1.3.15.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3d71c6c77bd8605c78d16f0c6b0206252b93b71d41a381248018a0ac5287ad4
size 17232838

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9252c982437edd2824611676f428a53a13743fc8e72129a30bfd3454665c12b1
size 141313
oid sha256:922bd263bcf26f0c24a0871e35ce99d9e0d562229295261a6f29103d230de7d4
size 142181

3
xxHash-master.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39d1d56b01371332226007824f37e98f28588b9f024e148156de45a9ff2579c1
size 43566