Hello community,

here is the log from the commit of package telegram-desktop for 
openSUSE:Leap:15.2 checked in at 2020-04-05 17:07:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/telegram-desktop (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.telegram-desktop.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "telegram-desktop"

Sun Apr  5 17:07:03 2020 rev:21 rq:791380 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/telegram-desktop/telegram-desktop.changes      
2020-01-15 16:06:01.096008072 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.telegram-desktop.new.3248/telegram-desktop.changes
    2020-04-05 17:07:12.418222079 +0200
@@ -1,0 +2,131 @@
+Tue Mar 31 11:43:35 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 2.0.1
+  * Switch between folders using Ctrl+1, ..., Ctrl+8.
+  * Fix crash when a pinned in folder chat was added to archive.
+  * Fix font issues in Linux version.
+
+-------------------------------------------------------------------
+Mon Mar 30 15:08:46 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 2.0.0
+  * Organize chats into Chat Folders if you have too many chats.
+  * Create custom folders with flexible settings, or use default
+    recommendations.
+  * Pin an unlimited number of chats in each folder.
+  * Switch between folders in the new side bar to easily access
+    all of your chats.
+  * Send :dice: to any chat to try your luck and get a random number
+    from the animated dice.
+  * Send :virus:, :face_with_thermometer:, :mask:,
+    :face_with_head_bandage:, :sneeze:, :sick:, :soap: or :ambulance:
+    to try out the new animated emoji.
+
+-------------------------------------------------------------------
+Tue Mar 17 10:44:28 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.21
+  * Mark new messages as read while scrolling down through them.
+  * Improved spellchecking on Windows 7 and Linux.
+  * Fix crash in shared links search.
+  * Fix blurred thumbnails in albums with video files.
+  * Fix a possible crash in animated stickers rendering.
+  * Bug fixes and other minor improvements.
+
+-------------------------------------------------------------------
+Tue Feb 18 19:50:09 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.14
+  * Bug fixes and other minor improvements.
+
+-------------------------------------------------------------------
+Wed Feb 12 21:18:03 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.13
+  * Bug fixes and other minor improvements.
+
+-------------------------------------------------------------------
+Tue Feb 11 20:30:02 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.12
+  * Switch to the Picture-in-Picture mode to watch your video in a
+    small window.
+  * Change video playback speed in the playback controls '...' menu.
+  * Rotate photos and videos in the media viewer using the rotate
+    button in the bottom right corner.
+
+-------------------------------------------------------------------
+Wed Jan 29 07:58:21 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.9
+  * Bug fixes and other minor improvements.
+- Removed 0002-use-bundled-rlottie.patch,
+  there's a cmake switch for this
+- Add cmake version requirement
+
+-------------------------------------------------------------------
+Fri Jan 24 17:48:01 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.8
+  * Bug fixes and other minor improvements.
+
+-------------------------------------------------------------------
+Thu Jan 23 16:51:20 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.7
+  * Create three new kinds of polls.
+  * See who voted for what in polls with visible votes.
+  * Vote for several options in polls that allow multiple answers.
+  * Guess the correct answer in quiz-style polls.
+  * Explore various ways of combining the different poll options.
+  * Add polls from the '...' menu in any group or channel.
+  * Use bots like @quizbot to create quizzes with several questions
+    and media attachments.
+  * Schedule messages to be sent when your recipient comes online
+    (only works if you know their online status).
+- Clean up spec file
+
+-------------------------------------------------------------------
+Wed Jan 22 10:24:14 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.6
+  * Bug fixes and other minor improvements.
+- Removed 0005-Use-system-wide-fonts.patch and
+  0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch,
+  option to use system fonts added upstream
+
+-------------------------------------------------------------------
+Fri Jan 17 20:12:33 UTC 2020 - Marcel Kuehlhorn <[email protected]>
+
+- Update to 1.9.4
+  * Bug fixes and other minor improvements.
+- Removed patches, option to use distribution libraries
+  added upstream:
+  * 0001-Dynamic-linking-system-libs.patch
+  * 0002-Dynamic-linking-system-qt.patch
+  * 0004-gtk3.patch
+- Added patches for dependencies not available from repos:
+  * 0001-use-bundled-range.patch
+  * 0002-use-bundled-rlottie.patch
+
+-------------------------------------------------------------------
+Thu Jan 16 01:47:32 UTC 2020 - Xu Zhao <[email protected]>
+
+- Upgrade to 1.9.3
+  * Videos in chats start playing automatically.
+  * Resume playback from where you left off when watching long 
+    videos and listening to long audio tracks.
+  * Control automatic playback for videos, GIFs and round video
+    messages in Settings > Advanced > Automatic media download.
+  * Enjoy system spell checker support on all modern systems.
+- Switch build system to Ninja
+- Rename default-gtk2.patch to 0000-gtk2-default.patch,
+  removed tdesktop.patch
+- Added patches:
+  * 0001-Dynamic-linking-system-libs.patch
+  * 0002-Dynamic-linking-system-qt.patch
+  * 0004-gtk3.patch
+  * 0005-Use-system-wide-fonts.patch
+  * 0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch
+
+-------------------------------------------------------------------

Old:
----
  Catch2-master.zip
  GSL-master.zip
  breakpad-master.tar.gz
  crl-master.zip
  default-gtk2.patch
  gyp-master.tar.gz
  libtgvoip.zip
  linux-syscall-support-refs-heads-master.tar.gz
  lz4-dev.zip
  patch.py
  qt_functions.cpp
  rlottie-master.zip
  tdesktop.patch
  v1.8.15.tar.gz
  variant-master.zip
  xxHash-master.zip

New:
----
  0000-gtk2-default.patch
  0001-use-bundled-range.patch
  tdesktop-2.0.1-full.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ telegram-desktop.spec ++++++
--- /var/tmp/diff_new_pack.pki9bO/_old  2020-04-05 17:07:13.562223299 +0200
+++ /var/tmp/diff_new_pack.pki9bO/_new  2020-04-05 17:07:13.562223299 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package telegram-desktop
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,62 +16,41 @@
 #
 
 
+# Disable LTO on TW due to build failures
+%if 0%{?suse_version} > 01500
+%define _lto_cflags %{nil}
+%endif
+
 # We need at least gcc8 or higher to build
 %if 0%{?suse_version} < 01550 && 0%{?is_opensuse}
-%bcond_without  gcc8
+%bcond_without  fixed_gcc
 %else
-%bcond_with     gcc8
+%bcond_with     fixed_gcc
 %endif
 
-# Disable LTO on TW due to build failures
-%if 0%{?suse_version} > 01500
-%define _lto_cflags %{nil}
-%endif
+%define __builder ninja
 
 Name:           telegram-desktop
-Version:        1.8.15
+Version:        2.0.1
 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/archive/v%{version}.tar.gz
-# curl 
https://chromium.googlesource.com/breakpad/breakpad/+archive/refs/heads/master.tar.gz
 -o breakpad-master.tar.gz
-Source1:        breakpad-master.tar.gz
-# curl 
https://chromium.googlesource.com/linux-syscall-support/+archive/master.tar.gz 
-o linux-syscall-support-refs-heads-master.tar.gz
-Source2:        linux-syscall-support-refs-heads-master.tar.gz
-# curl https://chromium.googlesource.com/external/gyp/+archive/master.tar.gz 
-o gyp-master.tar.gz
-Source3:        gyp-master.tar.gz
-Source4:        patch.py
-# curl https://codeload.github.com/Microsoft/GSL/zip/master -o GSL-master.zip
-Source5:        GSL-master.zip
-# curl https://codeload.github.com/mapbox/variant/zip/master -o 
variant-master.zip
-Source6:        variant-master.zip
-# curl https://codeload.github.com/grishka/libtgvoip/zip/public -o 
libtgvoip.zip
-Source7:        libtgvoip.zip
-# curl https://codeload.github.com/catchorg/Catch2/master -o Catch2-master.zip
-Source8:        Catch2-master.zip
+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
-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 
xxHash-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
-Source14:       qt_functions.cpp 
-
-Patch0:         tdesktop.patch
-Patch1:         default-gtk2.patch
+Source1:        range-v3-master.zip
+Patch0:         0000-gtk2-default.patch
+Patch1:         0001-use-bundled-range.patch
+BuildRequires:  appstream-glib
 BuildRequires:  chrpath
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.16
 BuildRequires:  desktop-file-utils
+BuildRequires:  enchant-devel
 BuildRequires:  ffmpeg-devel
 BuildRequires:  freetype-devel
-%if %{with gcc8}
-BuildRequires:  gcc8-c++
+%if %{with fixed_gcc}
+BuildRequires:  gcc9-c++
 %else
 BuildRequires:  gcc-c++
 %endif
@@ -79,20 +58,21 @@
 BuildRequires:  libQt5Core-private-headers-devel
 BuildRequires:  libQt5Gui-private-headers-devel
 BuildRequires:  libjpeg-devel
+BuildRequires:  liblz4-devel
 BuildRequires:  libqt5-qtbase-common-devel
 BuildRequires:  libqt5-qtimageformats-devel
+BuildRequires:  memory-constraints
+BuildRequires:  ninja
 BuildRequires:  pkgconfig
-# python2-base is required for gyp, Auto pulled in for Tumbleweed, but need 
for Leap 15.
-BuildRequires:  python2-base
-BuildRequires:  python3
 BuildRequires:  unzip
 BuildRequires:  xorg-x11-devel
+BuildRequires:  xxhash-devel
 BuildRequires:  xz
 BuildRequires:  pkgconfig(Qt5DBus)
 BuildRequires:  pkgconfig(Qt5Network)
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(alsa)
-BuildRequires:  pkgconfig(ayatana-appindicator3-0.1)
+BuildRequires:  pkgconfig(dbusmenu-qt5)
 BuildRequires:  pkgconfig(dee-1.0)
 BuildRequires:  pkgconfig(expat)
 BuildRequires:  pkgconfig(fontconfig)
@@ -101,6 +81,7 @@
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(harfbuzz)
+BuildRequires:  pkgconfig(hunspell)
 BuildRequires:  pkgconfig(libavcodec)
 BuildRequires:  pkgconfig(libavdevice)
 BuildRequires:  pkgconfig(libavfilter)
@@ -146,7 +127,6 @@
 Requires:       ffmpeg
 Requires:       hicolor-icon-theme
 Requires:       icu
-Requires:       libappindicator1
 Requires:       openssl
 ExclusiveArch:  x86_64
 
@@ -158,133 +138,52 @@
 The service also provides APIs to independent developers.
 
 %prep
-%setup -q -n tdesktop-%{version}
-cp %{SOURCE8} Telegram/SourceFiles/base
-
-cp %{_sourcedir}/GSL-master.zip . && unzip GSL-master.zip
-mv GSL-master GSL
-mv GSL %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
-
-cp %{_sourcedir}/variant-master.zip . && unzip variant-master.zip
-mv variant-master variant
-mv variant %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
-
-cp %{_sourcedir}/libtgvoip.zip . && unzip libtgvoip.zip
-mv libtgvoip-public libtgvoip
-mv libtgvoip %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
-
-cp %{_sourcedir}/range-v3-master.zip . && unzip range-v3-master.zip
-mv range-v3-master range-v3
-mkdir -p %{_builddir}/Libraries
-mv range-v3 %{_builddir}/Libraries/
-
-cp %{_sourcedir}/crl-master.zip . && unzip crl-master.zip
-mv crl-master crl
-mv crl %{_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}/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
-mv xxHash %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
-
-cp %{_sourcedir}/Catch2-master.zip . && unzip Catch2-master.zip
-mv Catch2-master Catch
-mv Catch %{_builddir}/tdesktop-%{version}/Telegram/ThirdParty/
+%setup -q -n tdesktop-%{version}-full
 
-cp %{_sourcedir}/tdesktop.patch %{_builddir}/tdesktop-%{version}
-cd %{_builddir}/tdesktop-%{version}
+unzip %{_sourcedir}/range-v3-master.zip -d %{_builddir}/Libraries/
+mv %{_builddir}/Libraries/range-v3-master %{_builddir}/Libraries/range-v3
 
 %patch0 -p1
 %patch1 -p1
-cp %{_sourcedir}/patch.py . && python3 ./patch.py
-cp %{_sourcedir}/qt_functions.cpp Telegram/SourceFiles/
-sed -i '1i<(src_loc)/qt_functions.cpp' Telegram/gyp/telegram/sources.txt
-
-%setup -q -T -c -n breakpad -a 1
-%setup -q -T -c -n breakpad-lss -a 2
-%setup -q -T -c -n gyp -a 3
 
 %build
-%if %{with gcc8}
-export CC=/usr/bin/gcc-8
-export CXX=/usr/bin/g++-8
+%limit_build -m 2048
+%if %{with fixed_gcc}
+export CC=/usr/bin/gcc-9
+export CXX=/usr/bin/g++-9
 %endif
 
-mv %{_builddir}/tdesktop-%{version} %{_builddir}/tdesktop
+%cmake \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_BUILD_TYPE=Release \
+      -DTDESKTOP_API_ID=340630 \
+      -DTDESKTOP_API_HASH=98a22f733eac40f1bd187a30d19271de \
+      -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
+      -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 \
+      -DDESKTOP_APP_USE_PACKAGED_FONTS=ON \
+      -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
+      -DTDESKTOP_DISABLE_AUTOUPDATE=ON \
+      -DTDESKTOP_LAUNCHER_BASENAME=%{name} \
+      -DDESKTOP_APP_SPECIAL_TARGET=""
 
-# patch gyp
-cd %{_builddir}/Libraries
-ln -s %{_builddir}/gyp
-cp %{_builddir}/tdesktop/Telegram/Patches/gyp.diff gyp
-cd gyp
-patch -p1 < gyp.diff
-
-# Build breakpad
-cd %{_builddir}/breakpad
-ln -s %{_builddir}/breakpad-lss src/third_party/lss
-%configure
-%make_build
-make %{?_smp_mflags} install DESTDIR=%{_builddir}/Libraries/breakpad
-
-cd %{_builddir}/tdesktop/Telegram/gyp
-# patch qt.gypi to change libxkbcommon path
-%{_builddir}/Libraries/gyp/gyp \
-    -Dapi_id=340630 \
-    -Dapi_hash=98a22f733eac40f1bd187a30d19271de \
-    -Dlinux_lib_ssl=-lssl \
-    -Dlinux_lib_crypto=-lcrypto \
-    -Dlinux_lib_icu="-licuuc -licutu -licui18n" \
-    -Dlinux_path_opus_include="%{_includedir}/opus" \
-    -Dlinux_path_breakpad="%{_builddir}/Libraries/breakpad%{_prefix}" \
-    -Gconfig=Release \
-    --depth=. --generator-output="%{_builddir}/tdesktop" -Goutput_dir=out 
Telegram.gyp --format=cmake
-
-# build Telegram
-cd %{_builddir}/tdesktop/out/Release
-%cmake ..
-sed -i 's,breakpad/usr/lib,breakpad%{_libdir},' 
./CMakeFiles/Telegram.dir/link.txt
-%make_build
-chrpath --delete Telegram
+%cmake_build
 
 %install
-# Install binary
-install -dm755 %{buildroot}%{_bindir}
-install -m755 %{_builddir}/tdesktop/out/Release/build/Telegram 
%{buildroot}%{_bindir}/%{name}
-
-# Install desktop file
-install -d %{buildroot}%{_datadir}/applications
-desktop-file-install \
-    --dir %{buildroot}%{_datadir}/applications \
-    --add-category InstantMessaging \
-    %{_builddir}/tdesktop/lib/xdg/telegramdesktop.desktop
-
-# Install protocol
-install -d %{buildroot}%{_datadir}/kservices5
-install -m644 %{_builddir}/tdesktop/lib/xdg/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"
-done
+%cmake_install
+
+appstream-util validate-relax --nonet 
%{buildroot}%{_datadir}/metainfo/*.appdata.xml
 
 %files
-%license LICENSE
-%doc README.md
+%license LICENSE LEGAL
+%doc README.md changelog.txt
 %{_bindir}/%{name}
-%{_datadir}/applications/telegramdesktop.desktop
-%dir %{_datadir}/kservices5
-%{_datadir}/kservices5/tg.protocol
-%{_datadir}/icons/hicolor/*/apps/telegram.png
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/*.png
+%{_datadir}/metainfo/*.appdata.xml
 
 %changelog

++++++ 0000-gtk2-default.patch ++++++
--- a/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig   2020-02-06 
11:24:06.271620992 +0100
+++ b/Telegram/SourceFiles/platform/linux/linux_libs.cpp        2020-02-06 
11:27:36.265427510 +0100
@@ -222,10 +222,10 @@ void start() {
        bool isWayland = 
QGuiApplication::platformName().startsWith(qsl("wayland"), Qt::CaseInsensitive);
        QLibrary lib_gtk;
 
-       if (loadLibrary(lib_gtk, "gtk-3", 0)) {
+       if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
                gtkLoaded = setupGtkBase(lib_gtk);
        }
-       if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) 
{
+       if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-3", 0)) {
                gtkLoaded = setupGtkBase(lib_gtk);
        }
 
++++++ 0001-use-bundled-range.patch ++++++
--- 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
@@ -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)
     find_package(range-v3 REQUIRED)
     target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
 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()
++++++ range-v3-master.zip ++++++
Binary files /var/tmp/diff_new_pack.pki9bO/_old and 
/var/tmp/diff_new_pack.pki9bO/_new differ


Reply via email to