From cc0e037187419be8dd4b0e740f7580358af20cd2e06c7ed43371a6ed5b2777bc Mon Sep 17 00:00:00 2001 From: Marcel Kuehlhorn Date: Sat, 3 Dec 2022 15:00:30 +0000 Subject: [PATCH] Accepting request 1038950 from home:13ilya - Updated to 4.3.4. * Changed 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch. * Added BuildRequires: Qt6Qml, Qt6Quick, Qt6QuickWidgets, Qt6WaylandCompositor, qt6-widgets-private-devel and protobuf. * Changed BuildRequires: from glibmm-2.4 to glibmm-2.68. * Fixed OpenGL regression in Qt and language detection (video call crash). * Other bug fixes and minor improvements. OBS-URL: https://build.opensuse.org/request/show/1038950 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=235 --- ...-bundled-rnnoise-expected-gsl-ranges-webrtc.patch | 6 +++--- tdesktop-4.1.1-full.tar.gz | 3 --- tdesktop-4.3.4-full.tar.gz | 3 +++ telegram-desktop.changes | 11 +++++++++++ telegram-desktop.spec | 12 +++++++++--- 5 files changed, 26 insertions(+), 9 deletions(-) delete mode 100644 tdesktop-4.1.1-full.tar.gz create mode 100644 tdesktop-4.3.4-full.tar.gz diff --git a/0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch b/0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch index d1fd50b..1899aef 100644 --- a/0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch +++ b/0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch @@ -25,10 +25,10 @@ - /usr/local/include + ${libs_loc}/rnnoise/include ) -- find_library(RNNOISE_LIBRARY librnnoise.a REQUIRED) -+ find_library(RNNOISE_LIBRARY librnnoise.a HINTS "${rnnoise_lib_loc}" REQUIRED) +- find_library(DESKTOP_APP_RNNOISE_LIBRARIES librnnoise.a REQUIRED) ++ find_library(DESKTOP_APP_RNNOISE_LIBRARIES librnnoise.a HINTS "${rnnoise_lib_loc}" REQUIRED) set_target_properties(external_rnnoise PROPERTIES - IMPORTED_LOCATION "${RNNOISE_LIBRARY}" + IMPORTED_LOCATION "${DESKTOP_APP_RNNOISE_LIBRARIES}" ) --- a/cmake/external/expected/CMakeLists.txt +++ b/cmake/external/expected/CMakeLists.txt diff --git a/tdesktop-4.1.1-full.tar.gz b/tdesktop-4.1.1-full.tar.gz deleted file mode 100644 index 4cf706b..0000000 --- a/tdesktop-4.1.1-full.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5574cb8ebfa4983157d347883e7ef3bd85a8d71f972b8458d41fab0d7f733f56 -size 41431505 diff --git a/tdesktop-4.3.4-full.tar.gz b/tdesktop-4.3.4-full.tar.gz new file mode 100644 index 0000000..6f66f74 --- /dev/null +++ b/tdesktop-4.3.4-full.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa11c52f7812c6e9a5ccf2e3a31d526a1db5562c1bbcb571aa70d681ca909b93 +size 50030732 diff --git a/telegram-desktop.changes b/telegram-desktop.changes index 313402f..d2b4e58 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Nov 29 11:49:02 UTC 2022 - Илья Индиго + +- Updated to 4.3.4. + * Changed 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch. + * Added BuildRequires: Qt6Qml, Qt6Quick, Qt6QuickWidgets, + Qt6WaylandCompositor, qt6-widgets-private-devel and protobuf. + * Changed BuildRequires: from glibmm-2.4 to glibmm-2.68. + * Fixed OpenGL regression in Qt and language detection (video call crash). + * Other bug fixes and minor improvements. + ------------------------------------------------------------------- Tue Sep 20 15:44:53 UTC 2022 - Dominique Leuenberger diff --git a/telegram-desktop.spec b/telegram-desktop.spec index e017d82..cbda3d4 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -36,7 +36,7 @@ %define qt_major_version 6 Name: telegram-desktop -Version: 4.1.1 +Version: 4.3.4 Release: 0 Summary: Messaging application with a focus on speed and security License: GPL-3.0-only @@ -96,12 +96,17 @@ BuildRequires: cmake(Qt%{qt_major_version}Core) BuildRequires: cmake(Qt%{qt_major_version}DBus) BuildRequires: cmake(Qt%{qt_major_version}Network) BuildRequires: cmake(Qt%{qt_major_version}OpenGL) +BuildRequires: cmake(Qt%{qt_major_version}Qml) +BuildRequires: cmake(Qt%{qt_major_version}Quick) +BuildRequires: cmake(Qt%{qt_major_version}QuickWidgets) BuildRequires: cmake(Qt%{qt_major_version}Svg) BuildRequires: cmake(Qt%{qt_major_version}WaylandClient) +BuildRequires: cmake(Qt%{qt_major_version}WaylandCompositor) BuildRequires: cmake(Qt%{qt_major_version}Widgets) %if %{qt_major_version} >= 6 BuildRequires: qt%{qt_major_version}-gui-private-devel BuildRequires: qt%{qt_major_version}-waylandclient-private-devel +BuildRequires: qt%{qt_major_version}-widgets-private-devel BuildRequires: cmake(Qt%{qt_major_version}Core5Compat) BuildRequires: cmake(Qt%{qt_major_version}OpenGLWidgets) %else @@ -115,7 +120,7 @@ BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(glibmm-2.4) +BuildRequires: pkgconfig(glibmm-2.68) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(harfbuzz) @@ -151,6 +156,7 @@ BuildRequires: pkgconfig(opusfile) BuildRequires: pkgconfig(opusurl) BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(portaudiocpp) +BuildRequires: pkgconfig(protobuf) # Use system rnnoise on TW, self-build on others %if 0%{?suse_version} > 01500 BuildRequires: expect-devel @@ -284,7 +290,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf %license LICENSE LEGAL %doc README.md changelog.txt %{_bindir}/%{name} -%{_datadir}/applications/%{name}.desktop +%{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/metainfo/*.metainfo.xml