Hello community,

here is the log from the commit of package telegram-desktop for 
openSUSE:Factory checked in at 2020-01-25 13:25:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old)
 and      /work/SRC/openSUSE:Factory/.telegram-desktop.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "telegram-desktop"

Sat Jan 25 13:25:14 2020 rev:26 rq:766998 version:1.9.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes        
2020-01-18 12:18:22.815146925 +0100
+++ 
/work/SRC/openSUSE:Factory/.telegram-desktop.new.26092/telegram-desktop.changes 
    2020-01-25 13:25:22.752068609 +0100
@@ -1,0 +2,45 @@
+Fri Jan 24 17:48:01 UTC 2020 - Marcel Kuehlhorn <tu...@opensuse.org>
+
+- Update to 1.9.8
+  * Bug fixes and other minor improvements.
+
+-------------------------------------------------------------------
+Thu Jan 23 16:51:20 UTC 2020 - Marcel Kuehlhorn <tu...@opensuse.org>
+
+- 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 <tu...@opensuse.org>
+
+- 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 <tu...@opensuse.org>
+
+- 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
+
+-------------------------------------------------------------------

Old:
----
  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
  tdesktop-1.9.3-full.tar.gz

New:
----
  0001-use-bundled-range.patch
  0002-use-bundled-rlottie.patch
  tdesktop-1.9.8-full.tar.gz

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

Other differences:
------------------
++++++ telegram-desktop.spec ++++++
--- /var/tmp/diff_new_pack.V3AGkI/_old  2020-01-25 13:25:24.680069454 +0100
+++ /var/tmp/diff_new_pack.V3AGkI/_new  2020-01-25 13:25:24.684069456 +0100
@@ -16,20 +16,15 @@
 #
 
 
-# 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
 %define _lto_cflags %{nil}
 %endif
 
+%define __builder ninja
+
 Name:           telegram-desktop
-Version:        1.9.3
+Version:        1.9.8
 Release:        0
 Summary:        Messaging application with a focus on speed and security
 License:        GPL-3.0-only
@@ -39,22 +34,16 @@
 # curl https://codeload.github.com/ericniebler/range-v3/zip/master -o 
range-v3-master.zip
 Source1:        range-v3-master.zip
 Patch0:         0000-gtk2-default.patch 
-Patch1:         0001-Dynamic-linking-system-libs.patch 
-Patch2:         0002-Dynamic-linking-system-qt.patch 
-Patch3:         0004-gtk3.patch 
-Patch4:         0005-Use-system-wide-fonts.patch 
-Patch5:         0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch
+Patch1:         0001-use-bundled-range.patch
+Patch2:         0002-use-bundled-rlottie.patch
+BuildRequires:  appstream-glib
 BuildRequires:  chrpath
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
+BuildRequires:  enchant-devel
 BuildRequires:  ffmpeg-devel
 BuildRequires:  freetype-devel
-%if %{with gcc8}
-BuildRequires:  gcc8-c++
-%else
 BuildRequires:  gcc-c++
-%endif
-BuildRequires:  enchant-devel
 BuildRequires:  glibc-devel
 BuildRequires:  libQt5Core-private-headers-devel
 BuildRequires:  libQt5Gui-private-headers-devel
@@ -62,6 +51,7 @@
 BuildRequires:  liblz4-devel
 BuildRequires:  libqt5-qtbase-common-devel
 BuildRequires:  libqt5-qtimageformats-devel
+BuildRequires:  memory-constraints
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
 BuildRequires:  unzip
@@ -146,63 +136,37 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
 
 %build
-%if %{with gcc8}
-export CC=/usr/bin/gcc-8
-export CXX=/usr/bin/g++-8
-%endif
+%limit_build -m 2048
 
-cmake -B build -G Ninja . \
+%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_SYSTEM_LIBS=ON \
+      -DDESKTOP_APP_USE_PACKAGED=ON \
+      -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF \
+      -DDESKTOP_APP_USE_PACKAGED_FONTS=ON \
       -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
       -DTDESKTOP_DISABLE_AUTOUPDATE=ON \
-      -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
-      -DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON \
+      -DTDESKTOP_LAUNCHER_BASENAME=%{name} \
       -DDESKTOP_APP_SPECIAL_TARGET=""
 
-ninja -C build
+%cmake_build
 
 %install
-# Install binary
-install -dm755 %{buildroot}%{_bindir}
-install -m755 build/bin/Telegram %{buildroot}%{_bindir}/%{name}
-
-# Install desktop file
-install -d %{buildroot}%{_datadir}/applications
-desktop-file-install \
-    --dir %{buildroot}%{_datadir}/applications \
-    --add-category InstantMessaging \
-    lib/xdg/telegramdesktop.desktop
-
-# Install protocol
-install -d %{buildroot}%{_datadir}/kservices5
-install -m644 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 "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

++++++ 0001-use-bundled-range.patch ++++++
--- a/cmake/external/ranges/CMakeLists.txt.orig 2020-01-17 21:56:04.561905759 
+0100
+++ b/cmake/external/ranges/CMakeLists.txt      2020-01-17 21:56:46.034629133 
+0100
@@ -7,15 +7,10 @@
 add_library(external_ranges INTERFACE IMPORTED GLOBAL)
 add_library(desktop-app::external_ranges ALIAS external_ranges)
 
-if (DESKTOP_APP_USE_PACKAGED)
-    find_package(range-v3 REQUIRED)
-    target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
-else()
-    target_include_directories(external_ranges SYSTEM
-    INTERFACE
-        ${libs_loc}/range-v3/include
-    )
-endif()
+target_include_directories(external_ranges SYSTEM
+INTERFACE
+    ${libs_loc}/range-v3/include
+)
 
 if (WIN32)
     target_compile_options(external_ranges
@@ -23,4 +18,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()
++++++ 0002-use-bundled-rlottie.patch ++++++
--- a/cmake/external/rlottie/CMakeLists.txt.orig        2020-01-17 
22:04:09.334361126 +0100
+++ b/cmake/external/rlottie/CMakeLists.txt     2020-01-17 22:04:58.239214120 
+0100
@@ -4,13 +4,6 @@
 # For license and copyright information please follow this link:
 # https://github.com/desktop-app/legal/blob/master/LEGAL
 
-if (DESKTOP_APP_USE_PACKAGED_RLOTTIE)
-    add_library(external_rlottie INTERFACE IMPORTED GLOBAL)
-    add_library(desktop-app::external_rlottie ALIAS external_rlottie)
-
-    find_package(rlottie REQUIRED)
-    target_link_libraries(external_rlottie INTERFACE rlottie::rlottie)
-else()
     add_library(external_rlottie OBJECT)
     add_library(desktop-app::external_rlottie ALIAS external_rlottie)
     init_target(external_rlottie "(external)")
@@ -123,4 +116,3 @@ else()
             /w44251 # needs to have dll-interface to be used by clients of 
class
         )
     endif()
-endif()

++++++ tdesktop-1.9.3-full.tar.gz -> tdesktop-1.9.8-full.tar.gz ++++++
/work/SRC/openSUSE:Factory/telegram-desktop/tdesktop-1.9.3-full.tar.gz 
/work/SRC/openSUSE:Factory/.telegram-desktop.new.26092/tdesktop-1.9.8-full.tar.gz
 differ: char 5, line 1


Reply via email to