Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linphoneqt for openSUSE:Factory checked in at 2024-05-20 18:15:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linphoneqt (Old) and /work/SRC/openSUSE:Factory/.linphoneqt.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linphoneqt" Mon May 20 18:15:34 2024 rev:15 rq:1175249 version:5.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/linphoneqt/linphoneqt.changes 2023-11-05 12:19:35.806903584 +0100 +++ /work/SRC/openSUSE:Factory/.linphoneqt.new.1880/linphoneqt.changes 2024-05-20 18:17:01.794134375 +0200 @@ -1,0 +2,68 @@ +Sat May 18 17:54:53 UTC 2024 - Giacomo Comes <gcomes....@gmail.com> + +- Update to version 5.2.4. + ### Fixed + - File permission after auto downloading a file. + - Update SDK to 5.3.41 + ### Added + - Option to mute chat reactions. + - Notify reactions only on local accounts messages. +- Update to version 5.2.3. + ### Fixed + - Call logs : incoming filter will not display missed calls. + - Call logs synchronization. + - URI handlers when mixing remote provisioning and call. + - Blinking on resize or Ui updates on screen that have low frame rates. + - Timezones and Windows fix. + - Update SDK to 5.3.39. +- Update to version 5.2.2. + ### Fixed + - Audio latency and bad echo behavior when going to media settings while being in call. + - About panel in readonly + - Wrong day offset in start date when scheduling a conference. + - Empty route can now be set in account settings. + - Network remote file can be used in chat attachment on Windows. + - Crash on forwarding a message to a new secure chat room. + - URI handlers and remote provisioning. + - Avoid to remove file on cancelling upload and fix cancelling file transfers. + - Update SDK to 5.3.34. + ### Added + - '[ui] logs_max_size' : option to set the max size of one log file. + - '[ui] notification_origin' : option to specify where to display notifications (only supported: 0=bottom-right and 1=top-right). + - '[ui] systray_notification_blink' : option to activate/deactivate the blinking systray on unread notifications. + - '[ui] systray_notification_global' : option to display notification number from all accounts or only selected. + - '[ui] systray_notification_filtered' : option to filter the notification number (not count if chat room is muted). + - Keyboard shortcuts: + * 'Ctrl+Shift+W' (or V): accept with video the last incoming call. + * 'Ctrl+Shift+A': accept without video the last incoming call. + * 'Ctrl+Shift+D': terminate the last call. + * 'Ctrl+Shift+E': Enable/disable echo cancellation. + * 'Ctrl+Shift+L': Unmute/Mute speaker. + * 'Ctrl+Shift+M': Unmute/Mute microphone. + - Request application focus when hovering a call notification. +- removed fix for wrong namespace for the enum ConfiguringState + +------------------------------------------------------------------- +Sat May 18 16:53:42 UTC 2024 - Giacomo Comes <gcomes....@gmail.com> + +- adapt SR#1155718 to linphoneqt + * fix boo#1221909 + +------------------------------------------------------------------- +Wed Feb 21 12:25:40 UTC 2024 - Lukas Müller <expee...@outlook.com> + +- Update to version 5.2.1. + Changelog: + * Fixed + * URI handlers when no domain are provided like tel:number. + * Empty page on first date in date picker. + * Ephemeral deactivation while restarting it. + * Fix rates on capture audio (SDK). + * Update SDK to 5.3.14. + * Added + * Remove trailing newlines in smart search bar. +- Remove patch linphoneqt-fix-no-git.patch. +- Remove patch linphoneqt-0002-remove-bc_compute_full_version-usage.patch. +- Add patches fix_cmakelists.patch, fix_ispell_return_type_error.patch. + +------------------------------------------------------------------- Old: ---- linphone-desktop-5.1.2.tar.bz2 linphoneqt-0002-remove-bc_compute_full_version-usage.patch linphoneqt-fix-no-git.patch New: ---- fix_cmakelists.patch fix_ispell_return_type_error.patch ispell-05574fe160222c3d0b6283c1433c9b087271fad1.tar.gz linphone-desktop-5.2.4.tar.bz2 BETA DEBUG BEGIN: Old:- Remove patch linphoneqt-fix-no-git.patch. - Remove patch linphoneqt-0002-remove-bc_compute_full_version-usage.patch. - Add patches fix_cmakelists.patch, fix_ispell_return_type_error.patch. Old: * Remove trailing newlines in smart search bar. - Remove patch linphoneqt-fix-no-git.patch. - Remove patch linphoneqt-0002-remove-bc_compute_full_version-usage.patch. BETA DEBUG END: BETA DEBUG BEGIN: New:- Remove patch linphoneqt-0002-remove-bc_compute_full_version-usage.patch. - Add patches fix_cmakelists.patch, fix_ispell_return_type_error.patch. New:- Remove patch linphoneqt-0002-remove-bc_compute_full_version-usage.patch. - Add patches fix_cmakelists.patch, fix_ispell_return_type_error.patch. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linphoneqt.spec ++++++ --- /var/tmp/diff_new_pack.8n9Y0o/_old 2024-05-20 18:17:02.498160007 +0200 +++ /var/tmp/diff_new_pack.8n9Y0o/_new 2024-05-20 18:17:02.502160152 +0200 @@ -1,7 +1,7 @@ # # spec file for package linphoneqt # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,11 @@ # +%define ispell_commit_hash 05574fe160222c3d0b6283c1433c9b087271fad1 + %define _name linphone Name: linphoneqt -Version: 5.1.2 +Version: 5.2.4 Release: 0 Summary: Qt interface for Linphone License: GPL-3.0-or-later @@ -26,33 +28,24 @@ URL: https://linphone.org/technical-corner/linphone Source: https://gitlab.linphone.org/BC/public/linphone-desktop/-/archive/%{version}/%{_name}-desktop-%{version}.tar.bz2 Source1: %{_name}.appdata.xml -# PATCH-FIX-OPENSUSE linphoneqt-fix-no-git.patch -- Fix building out-of-git. -Patch0: linphoneqt-fix-no-git.patch -# PATCH-FIX-OPENSUSE https://aur.archlinux.org/cgit/aur.git/plain/0002-remove-bc_compute_full_version-usage.patch?h=linphone-desktop -Patch1: linphoneqt-0002-remove-bc_compute_full_version-usage.patch +# ispell with Linphone-specific patches from the Linphone developers +Source2: https://gitlab.linphone.org/BC/public/external/ispell/-/archive/%{ispell_commit_hash}/ispell-%{ispell_commit_hash}.tar.gz # PATCH-FIX-OPENSUSE linphoneqt_fix_gcc12_error.patch -- Fix building with gcc12 -Patch2: linphoneqt_fix_gcc12_error.patch -%if 0%{?suse_version} +Patch0: linphoneqt_fix_gcc12_error.patch +# Fix spelling mistakes in library detection, add missing include directory and missing install. +Patch1: fix_cmakelists.patch +# Fix gcc complaining about methods without a return value. +Patch2: fix_ispell_return_type_error.patch + BuildRequires: Mesa-libGLESv2-devel -%else -BuildRequires: mesa-libGL-devel -%endif BuildRequires: chrpath BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme -%if 0%{?suse_version} BuildRequires: libqt5-linguist-devel -%else -BuildRequires: boost-devel -BuildRequires: qt5-linguist -BuildRequires: qt5-qttools-devel -Requires: qt5-qtquickcontrols -%endif +BuildRequires: lime-devel >= 5.3.0 BuildRequires: pkgconfig -%if 0%{?suse_version} BuildRequires: update-desktop-files -%endif BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) >= 5.12 BuildRequires: pkgconfig(Qt5DBus) @@ -64,8 +57,13 @@ BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5TextToSpeech) BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(linphone) >= 5.1.58 -BuildRequires: pkgconfig(mediastreamer) >= 5.0.0 +BuildRequires: pkgconfig(bctoolbox) >= 5.3.0 +BuildRequires: pkgconfig(belcard) >= 5.3.0 +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(linphone) >= 5.3.0 +BuildRequires: pkgconfig(mediastreamer) >= 5.3.0 +Provides: linphone = %{version}-%{release} +Obsoletes: linphone < %{version}-%{release} %description Linphone is a Web phone with a Qt interface. It lets you make @@ -96,50 +94,50 @@ Summary: Web Phone Group: Productivity/Telephony/SIP/Clients BuildArch: noarch +Provides: linphone-devel = %{version}-%{release} +Obsoletes: linphone-devel < %{version}-%{release} %description -n %{_name}-devel Devel package for %{_name}. %prep -%autosetup -n %{_name}-desktop-%{version} -p1 +%setup -n %{_name}-desktop-%{version} -q -a2 cp %{SOURCE1} linphone.appdata.xml touch linphone-sdk/CMakeLists.txt -%if 0%{?suse_version} -mkdir -p build/linphone-sdk/desktop/{bin,share} -%else -mkdir -p redhat-linux-build/linphone-sdk/desktop/{bin,share} -%endif - -# Fix building out-of-git -echo '#define LINPHONE_QT_GIT_VERSION "${PROJECT_VERSION}"' >> linphone-app/src/config.h.cmake -# Hardcode linphoneqt version -echo "project(linphoneqt VERSION %{version})" > linphone-app/linphoneqt_version.cmake +%patch -P0 -p1 +%patch -P1 -p1 + +rm -r external/ispell +mv ispell-%{ispell_commit_hash} external/ispell +cd external/ispell +%patch -P2 -p1 +cd ../.. + +# linphone-desktop wants to be built with liblinphone as a git submodule and includes its CMakeLists.txt, even though the submodule is not present during the build. Creating this file tricks cmake, while the dependencies are included from system packages instead. +touch linphone-sdk/CMakeLists.txt + +# These files shadow the Config files installed by the respective devel packages and let the build fail since they expect to find the libraries in git submodules, which are not part of the archive. +rm linphone-app/cmake/FindMediastreamer2.cmake \ + linphone-app/cmake/FindLibLinphone.cmake \ + linphone-app/cmake/FindLinphoneCxx.cmake %build -sed -i '/^add_custom_command/s@${CMAKE_INSTALL_PREFIX}/include/@%{buildroot}%{_includedir}/@;/^add_custom_command/s@${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/@%{buildroot}%{_libdir}/@' linphone-app/CMakeLists.txt -sed -i '/\/ui/s@${qml_dir}@${CMAKE_CURRENT_SOURCE_DIR}/../&@' linphone-app/cmake_builder/linphone_package/CMakeLists.txt -mkdir -p build/linphone-sdk/desktop/share/{,sounds}/linphone %cmake \ -DCMAKE_CXX_FLAGS="%{optflags} -fpic -ffat-lto-objects -fpermissive" \ -DCMAKE_BUILD_TYPE=Release \ -DLINPHONE_OUTPUT_DIR="$PWD" \ + -DLINPHONEAPP_VERSION=%{version} \ -DENABLE_QT_KEYCHAIN=OFF \ -DENABLE_UPDATE_CHECK=OFF %cmake_build %install %cmake_install -%if 0%{?fedora} -# for Fedora the internal call to cmake overwrites CMAKE_INSTALL_PREFIX, move... -mkdir -p %{buildroot}/usr -mv %{buildroot}/home/abuild/rpmbuild/BUILD/linphone-desktop*/redhat-linux-build/OUTPUT/* %{buildroot}/usr -rm -rf %{buildroot}/home -%endif -install -Dpm 0644 linphone.appdata.xml \ - %{buildroot}%{_datadir}/metainfo/org.linphone.appdata.xml +install -Dpm 0644 linphone.appdata.xml %{buildroot}%{_datadir}/metainfo/org.linphone-desktop.appdata.xml rm %{buildroot}%{_bindir}/qt.conf chmod a-x %{buildroot}%{_datadir}/applications/linphone.desktop +mv %{buildroot}%{_datadir}/applications/linphone.desktop %{buildroot}%{_datadir}/applications/linphone-desktop.desktop chrpath -d %{buildroot}%{_bindir}/linphone %{buildroot}%{_libdir}/libapp-plugin.so @@ -148,11 +146,12 @@ %doc CHANGELOG.md README.md %{_bindir}/linphone %{_libdir}/libapp-plugin.so +%{_libdir}/libISpell.so %{_datadir}/linphone/ -%{_datadir}/applications/linphone.desktop +%{_datadir}/applications/linphone-desktop.desktop %{_datadir}/icons/hicolor/*/apps/linphone.* %dir %{_datadir}/metainfo/ -%{_datadir}/metainfo/org.linphone.appdata.xml +%{_datadir}/metainfo/org.linphone-desktop.appdata.xml %files -n %{_name}-devel %{_includedir}/LinphoneApp/ ++++++ fix_cmakelists.patch ++++++ diff --git a/linphone-app/CMakeLists.txt b/linphone-app/CMakeLists.txt index d3e0e7b6..92dce03b 100644 --- a/linphone-app/CMakeLists.txt +++ b/linphone-app/CMakeLists.txt @@ -24,14 +24,11 @@ cmake_minimum_required(VERSION 3.22) #Linphone targets -set(LINPHONE_PACKAGES LinphoneCxx Mediastreamer2 Belcard LibLinphone) +set(LINPHONE_PACKAGES LinphoneCxx Mediastreamer2 BelCard LibLinphone) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") -find_package(BCToolbox) -if(NOT BCToolbox_FOUND) - find_package(bctoolbox CONFIG REQUIRED) -endif() +find_package(BCToolbox CONFIG REQUIRED) if(NOT LINPHONEAPP_VERSION) bc_compute_full_version(LINPHONEAPP_VERSION) endif() @@ -111,11 +108,12 @@ foreach(PACKAGE ${LINPHONE_PACKAGES}) endif() endforeach() +set(LinphoneCxx_TARGET liblinphone++) set(PLUGIN_TARGETS ${LinphoneCxx_TARGET}) set(APP_TARGETS ${LinphoneCxx_TARGET} ${BCToolbox_TARGET}#Logger/App ${Mediastreamer2_TARGET}#MediastreamerUtils - ${Belcard_TARGET}#VCard Model + ${BelCard_TARGET}#VCard Model ${LibLinphone_TARGET})#MediastreamerUtils #################################### @@ -724,6 +722,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake" "${CMAKE_CURRENT # ------------------------------------------------------------------------------ include_directories(src/) +include_directories(include/) include_directories("${LINPHONE_OUTPUT_DIR}/include/OpenGL") include_directories("${LINPHONE_OUTPUT_DIR}/include/") include_directories("${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/") @@ -837,14 +836,9 @@ add_dependencies(${APP_LIBRARY} update_translations ${APP_PLUGIN}) set(TOOLS_DIR "${CMAKE_BINARY_DIR}/programs") set(LINPHONE_BUILDER_SIGNING_IDENTITY ${LINPHONE_BUILDER_SIGNING_IDENTITY}) -add_custom_command(TARGET ${APP_PLUGIN} POST_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/") -add_custom_command(TARGET ${APP_PLUGIN} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/include/" "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/") -add_custom_command(TARGET ${APP_PLUGIN} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${APP_PLUGIN}> "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/") -add_custom_command(TARGET ${APP_PLUGIN} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_LINKER_FILE:${APP_PLUGIN}> "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/") -#add_custom_command(TARGET ${TARGET_NAME} PRE_BUILD COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/include/LinphoneApp/*" "${CMAKE_INSTALL_PREFIX}/include/LinphoneApp/") - #configure_file("${CMAKE_CURRENT_SOURCE_DIR}/include/*" "${CMAKE_INSTALL_PREFIX}/include/LinphoneApp/" COPYONLY) -install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") +install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") +install(TARGETS ${APP_PLUGIN} DESTINATION "${CMAKE_INSTALL_LIBDIR}") add_subdirectory(build) ++++++ fix_ispell_return_type_error.patch ++++++ diff --git a/ispell.c b/ispell.c index 512a9d7..bb03a7c 100644 --- a/ispell.c +++ b/ispell.c @@ -319,11 +319,11 @@ int bc_spell_checker (const char * dicts_folder, const char * locale, int read_f } // BC hack to avoid using ncurses (not needed in library mode) by replacing dummy functions required originally by ispell. -int tgetent (char * buf, const char * term_name) {} -int tgetnum (const char * cmd) {} -char * tgetstr (const char * cmd, char ** buf) {} -char * tgoto (const char * cmd, int col, int row) {} -char * tputs (const char * cmd, int cnt, int (*func)(int)) {} +int tgetent (char * buf, const char * term_name) { return 0; } +int tgetnum (const char * cmd) { return 0; } +char * tgetstr (const char * cmd, char ** buf) { return ""; } +char * tgoto (const char * cmd, int col, int row) { return "";} +char * tputs (const char * cmd, int cnt, int (*func)(int)) { return ""; } int ispell_main (argc, argv) int argc; ++++++ linphone-desktop-5.1.2.tar.bz2 -> linphone-desktop-5.2.4.tar.bz2 ++++++ ++++ 31274 lines of diff (skipped)