1
0

Accepting request 722120 from server:messaging

Update to 1.8.1

OBS-URL: https://build.opensuse.org/request/show/722120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/telegram-desktop?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2019-08-19 19:27:45 +00:00 committed by Git OBS Bridge
commit fca732e660
10 changed files with 85 additions and 40 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:289bd0f17bbc0e99e30c24bcc5b6fc80c23434d120e06fb9752991065720c2a0
size 44562
oid sha256:0d499bec7ab8b85676771e12cc645c12da9aaf2f4b0fafeff16b4232a78f5c6e
size 44789

3
lz4-dev.zip Normal file
View File

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

View File

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

View File

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

3
rlottie-master.zip Normal file
View File

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

View File

@ -12,7 +12,7 @@ Index: tdesktop-1.2.6/Telegram/SourceFiles/qt_functions.cpp
===================================================================
--- /dev/null
+++ tdesktop-1.2.6/Telegram/SourceFiles/qt_functions.cpp
@@ -0,0 +1,94 @@
@@ -0,0 +1,97 @@
+/****************************************************************************
+**
+** Copyright (C) 2015 The Qt Company Ltd.
@ -53,6 +53,9 @@ Index: tdesktop-1.2.6/Telegram/SourceFiles/qt_functions.cpp
+ Makes a list of filters from ;;-separated text.
+ Used by the mac and windows implementations
+*/
+
+#include <private/qfontengine_p.h>
+
+QStringList qt_make_filter_list(const QString &filter)
+{
+ QString f(filter);

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Sat Aug 10 04:11:18 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 1.8.1
* Bug fixes and other minor improvements.
-------------------------------------------------------------------
Fri Aug 9 17:23:11 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 1.8.0
* Right click the Send button to send any message without sound -
in case the recipient is sleeping.
* Enable Slow Mode in Group Permissions to control how frequently
members can post.
* Set custom titles for group admins - like 'Founder', 'CFO' or
'Spam Fighter'.
* Toggle looped playback for animated stickers in Chat Settings.
* Send a single :heart:, :like:, :unamused:, :flushed: or :party:
to add a mighty animated emoji to the chat.
- Updated crl and rlottie
-------------------------------------------------------------------
Fri Jul 19 17:44:40 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 1.7.15
* Bug fixes and other minor improvements.
- Allow GCC 9 after GCC#90949 was fixed
- Updated rlottie
-------------------------------------------------------------------
Sun Jul 7 13:01:31 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 1.7.13
* Send ultra-lightweight high-quality animated stickers to
express emotion with motion.
* Receive animated stickers instantly on any connection at
just 20-30 KB per sticker.
* Enjoy smooth animations at 60 frames per second.
* Create new animated sets and upload them to @stickers for
everybody to use.
* Try out these sample stickers: t.me/addstickers/hotcherry
* Use strikethrough and underline formatting.
- Removed rapidjson and qtlottie, added rlottie and lz4, updated crl
- Disable LTO due to build failures
-------------------------------------------------------------------
Mon Jun 24 17:06:02 UTC 2019 - Marcel Kuehlhorn <tux93@opensuse.org>

View File

@ -16,16 +16,20 @@
#
# temprarily always use gcc8, later add '0%{?suse_version} < 01550 && ' to only
# use gcc8 on leap
%if 0%{?is_opensuse}
# We need at least gcc8 or higher to build
%if 0%{?suse_version} < 01550 && 0%{?is_opensuse}
%bcond_without gcc8
%else
%bcond_with gcc8
%endif
# Disable LTO on TW due to build failures
%if 0%{?suse_version} > 01500 && 0%{?is_opensuse}
%define _lto_cflags %{nil}
%endif
Name: telegram-desktop
Version: 1.7.10
Version: 1.8.1
Release: 0
Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only
@ -51,12 +55,13 @@ 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/telegramdesktop/qtlottie/zip/tdesktop -o qtlottie-tdesktop.zip
Source11: qtlottie-tdesktop.zip
# curl https://codeload.github.com/Cyan4973/xxHash/zip/master -o xxHash-master.zip
Source12: xxHash-master.zip
# curl https://codeload.github.com/Tencent/rapidjson/zip/master -o rapidjson-master.zip
Source13: rapidjson-master.zip
Source11: xxHash-master.zip
# curl https://codeload.github.com/lz4/lz4/zip/dev -o lz4-dev.zip
Source12: lz4-dev.zip
# curl https://codeload.github.com/john-preston/rlottie/zip/master -o rlottie-master.zip
Source13: rlottie-master.zip
Patch0: tdesktop.patch
BuildRequires: chrpath
BuildRequires: cmake
@ -175,13 +180,13 @@ cp %{_sourcedir}/crl-master.zip . && unzip crl-master.zip
mv crl-master crl
mv crl %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/qtlottie-tdesktop.zip . && unzip qtlottie-tdesktop.zip
mv qtlottie-tdesktop qtlottie
mv qtlottie %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/rlottie-master.zip . && unzip rlottie-master.zip
mv rlottie-master rlottie
mv rlottie %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/rapidjson-master.zip . && unzip rapidjson-master.zip
mv rapidjson-master rapidjson
mv rapidjson %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/lz4-dev.zip . && unzip lz4-dev.zip
mv lz4-dev lz4
mv lz4 %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/xxHash-master.zip . && unzip xxHash-master.zip
mv xxHash-master xxHash
@ -189,6 +194,7 @@ mv xxHash %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
cp %{_sourcedir}/tdesktop.patch %{_builddir}/tdesktop-%{version}
cd %{_builddir}/tdesktop-%{version}
%patch0 -p1
cp %{_sourcedir}/patch.py . && python3 ./patch.py
@ -237,7 +243,7 @@ cd %{_builddir}/tdesktop/Telegram/gyp
cd %{_builddir}/tdesktop/out/Release
%cmake ..
sed -i 's,breakpad/usr/lib,breakpad%{_libdir},' ./CMakeFiles/Telegram.dir/link.txt
make %{?_smp_mflags}
%make_build
chrpath --delete Telegram
%install
@ -255,29 +261,20 @@ desktop-file-install \
# Install protocol
install -d %{buildroot}%{_datadir}/kservices5
install -m644 %{_builddir}/tdesktop/lib/xdg/tg.protocol \
%{buildroot}%{_datadir}/kservices5/tg.protocol
%{buildroot}%{_datadir}/kservices5/tg.protocol
# Install icons
for icon_size in 16 32 48 64 128 256 512; do
icon_dir="%{buildroot}%{_datadir}/icons/hicolor/${icon_size}x${icon_size}/apps"
install -d "${icon_dir}"
install -m644 "%{_builddir}/tdesktop/Telegram/Resources/art/icon${icon_size}.png" \
"${icon_dir}/telegram.png"
"${icon_dir}/telegram.png"
done
%post
%icon_theme_cache_post
%desktop_database_post
%postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%defattr(0664,root,root,-)
%license LICENSE
%doc README.md
%attr(0755,root,root) %{_bindir}/%{name}
%{_bindir}/%{name}
%{_datadir}/applications/telegramdesktop.desktop
%dir %{_datadir}/kservices5
%{_datadir}/kservices5/tg.protocol

View File

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

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

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