Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package linphoneqt for openSUSE:Factory 
checked in at 2022-07-26 19:45:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linphoneqt (Old)
 and      /work/SRC/openSUSE:Factory/.linphoneqt.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linphoneqt"

Tue Jul 26 19:45:27 2022 rev:9 rq:991193 version:4.4.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/linphoneqt/linphoneqt.changes    2022-06-16 
18:20:27.556101049 +0200
+++ /work/SRC/openSUSE:Factory/.linphoneqt.new.1533/linphoneqt.changes  
2022-07-26 19:45:38.620500651 +0200
@@ -1,0 +2,19 @@
+Mon Jul 25 12:03:34 UTC 2022 - Lukas M??ller <[email protected]>
+
+- Update to version 4.4.8:
+  * Set version checker to linphone.org instead of download.linphone.org
+  * Change priority on display name display based on caller address (instead 
of call logs)
+  * Update SDK
+  * Display terminated chat rooms and hide empty conferences.
+  * Version checker : fix on synchronization between version type and url.
+  * Update Changelog  Update SDK to prepare video conference and improve DTLS 
handshakes.
+  * Avoid openning a conversation on sip url and copy the URL into the 
smartsearchbar.
+  * Remove fallback displayname on logs and chat rooms.
+  * Fix running application detection for uninstalling.
+  * Update download state on automatic/manual file downloads.
+  * Fix premission denied when downloading file in secure chat room (SDK fix).
+- Fix some rpmlint failures.
+  * Create devel package for devel files.
+  * Remove RUNPATH settings from binaries.
+
+-------------------------------------------------------------------

Old:
----
  linphone-desktop-4.4.5.tar.bz2

New:
----
  linphone-desktop-4.4.8.tar.bz2

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

Other differences:
------------------
++++++ linphoneqt.spec ++++++
--- /var/tmp/diff_new_pack.3HoIvU/_old  2022-07-26 19:45:39.128422164 +0200
+++ /var/tmp/diff_new_pack.3HoIvU/_new  2022-07-26 19:45:39.132421546 +0200
@@ -18,7 +18,7 @@
 
 %define _name   linphone
 Name:           linphoneqt
-Version:        4.4.5
+Version:        4.4.8
 Release:        0
 Summary:        Qt interface for Linphone
 License:        GPL-3.0-or-later
@@ -31,6 +31,7 @@
 # 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
 BuildRequires:  Mesa-libGLESv2-devel
+BuildRequires:  chrpath
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -73,6 +74,14 @@
 SIP-based Web phones. With several codecs available, it can be used
 with high speed connections as well as 28k modems.
 
+%package -n %{_name}-devel
+Summary:        Web Phone
+Group:          Productivity/Telephony/SIP/Clients
+BuildArch:      noarch
+
+%description -n %{_name}-devel
+Devel package for %{_name}.
+
 %prep
 %autosetup -n %{_name}-desktop-%{version} -p1
 cp %{SOURCE1} linphone.appdata.xml
@@ -107,6 +116,8 @@
 rm %{buildroot}%{_bindir}/qt.conf
 chmod a-x %{buildroot}%{_datadir}/applications/linphone.desktop
 
+chrpath -d %{buildroot}%{_bindir}/linphone 
%{buildroot}%{_libdir}/libapp-plugin.so
+
 %files -n %{_name}
 %license LICENSE.txt
 %doc CHANGELOG.md README.md
@@ -117,6 +128,8 @@
 %{_datadir}/icons/hicolor/*/apps/linphone.*
 %dir %{_datadir}/metainfo/
 %{_datadir}/metainfo/org.linphone.appdata.xml
+
+%files -n %{_name}-devel
 %{_includedir}/LinphoneApp/
 
 %changelog

++++++ linphone-desktop-4.4.5.tar.bz2 -> linphone-desktop-4.4.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linphone-desktop-4.4.5/CHANGELOG.md 
new/linphone-desktop-4.4.8/CHANGELOG.md
--- old/linphone-desktop-4.4.5/CHANGELOG.md     2022-06-06 15:57:37.000000000 
+0200
+++ new/linphone-desktop-4.4.8/CHANGELOG.md     2022-07-05 15:20:17.000000000 
+0200
@@ -8,11 +8,35 @@
 
 ### Added
 - Video conference.
+- Log viewer.
+- Option to set the display name in "using an account" tab of assistant.
+- Long pressed buttons.
+- Phone dialpad on main window.
 
 ### Fixed
 - Crash on exit.
 - Memory stability.
 
+## 4.4.8 - 2022-07-05
+
+### Fixes
+- Display name are based on friends (coming from local or LDAP server) and 
caller address only.
+- Running application detection for uninstalling.
+- Premission denied when downloading file in secure chat room (SDK fix).
+
+## 4.4.7 - 2022-07-01
+
+### Fixes
+- When receiving a SIP URL, copy it in Smart search bar instead of openning 
conversation.
+- Update SDK to prepare video conference and improve DTLS handshakes.
+
+## 4.4.6 - 2022-06-14
+
+### Fixed
+- Url version check and selection synchronisation.
+- Show display name of the caller if it exists instead of call logs.
+- Display terminated rooms.
+
 ## 4.4.5 - 2022-06-06
 
 ### Fixed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in
 
new/linphone-desktop-4.4.8/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in
--- 
old/linphone-desktop-4.4.5/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in
     2022-06-06 15:57:37.000000000 +0200
+++ 
new/linphone-desktop-4.4.8/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in
     2022-07-05 15:20:17.000000000 +0200
@@ -906,10 +906,9 @@
 ; "Program Files" for AllUsers, "My Documents" for JustMe...
 
 Function .onInit
-  FindWindow $0 "gdkWindowToplevel" "@CPACK_PACKAGE_NAME@"
-  FindWindow $1 "Qt5QWindowOwnDCIcon" "@CPACK_PACKAGE_NAME@"
-  StrCmp "$0$1" "00" notRunning
-  MessageBox MB_OK|MB_ICONEXCLAMATION "@CPACK_PACKAGE_NAME@ is running. Please 
close it first and restart the installation." /SD IDOK
+  FindWindow $0 "" "@CPACK_PACKAGE_NAME@"
+  StrCmp "$0" "0" notRunning
+  MessageBox MB_OK|MB_ICONEXCLAMATION "@CPACK_PACKAGE_NAME@ is running. Please 
close it first from the application menu and restart the installation." /SD IDOK
   Abort
 
 notRunning:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/cmake_builder/linphone_package/windows/uninstall.nsi.in
 
new/linphone-desktop-4.4.8/linphone-app/cmake_builder/linphone_package/windows/uninstall.nsi.in
--- 
old/linphone-desktop-4.4.5/linphone-app/cmake_builder/linphone_package/windows/uninstall.nsi.in
     2022-06-06 15:57:37.000000000 +0200
+++ 
new/linphone-desktop-4.4.8/linphone-app/cmake_builder/linphone_package/windows/uninstall.nsi.in
     2022-07-05 15:20:17.000000000 +0200
@@ -1,6 +1,6 @@
-FindWindow $0 "gdkWindowToplevel" "@APPLICATION_NAME@"
+FindWindow $0 "" "@APPLICATION_NAME@"
 StrCmp $0 0 notRunningInUninstall
-MessageBox MB_OK|MB_ICONEXCLAMATION "@APPLICATION_NAME@ is running. Please 
close it first and restart the uninstall program." /SD IDOK
+MessageBox MB_OK|MB_ICONEXCLAMATION "@APPLICATION_NAME@ is running. Please 
close it first from the application menu and restart the uninstall program." 
/SD IDOK
 Abort
 
 notRunningInUninstall:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/src/components/call/CallModel.cpp 
new/linphone-desktop-4.4.8/linphone-app/src/components/call/CallModel.cpp
--- old/linphone-desktop-4.4.5/linphone-app/src/components/call/CallModel.cpp   
2022-06-06 15:57:37.000000000 +0200
+++ new/linphone-desktop-4.4.8/linphone-app/src/components/call/CallModel.cpp   
2022-07-05 15:20:17.000000000 +0200
@@ -83,7 +83,7 @@
        mMagicSearch->addListener(mSearch);
        
        mRemoteAddress = mCall->getRemoteAddress()->clone();
-       
mMagicSearch->getContactListFromFilterAsync(mRemoteAddress->getUsername(),mRemoteAddress->getDomain());
+       
mMagicSearch->getContactsListAsync(mRemoteAddress->getUsername(),mRemoteAddress->getDomain(),
 (int)linphone::MagicSearchSource::LdapServers | 
(int)linphone::MagicSearchSource::Friends, 
linphone::MagicSearchAggregation::Friend);
 }
 
 CallModel::~CallModel () {
@@ -707,10 +707,11 @@
 // 
-----------------------------------------------------------------------------
 
 // Set remote display name when a search has been done
+// Local Friend > LDAP friend > Address > others
 void 
CallModel::searchReceived(std::list<std::shared_ptr<linphone::SearchResult>> 
results){
        bool found = false;
        for(auto it = results.begin() ; it != results.end() && !found ; ++it){
-               if((*it)->getFriend()){
+               if((*it)->getFriend()){// Local Friend
                        
if((*it)->getFriend()->getAddress()->weakEqual(mRemoteAddress)){
                                
setRemoteDisplayName((*it)->getFriend()->getName());
                                found = true;
@@ -718,9 +719,16 @@
                }else{
                        if((*it)->getAddress()->weakEqual(mRemoteAddress)){
                                std::string newDisplayName = 
(*it)->getAddress()->getDisplayName();
-                               if(!newDisplayName.empty())// Override only if 
there is one
-                                       setRemoteDisplayName(newDisplayName);
-                               found = true;
+                               if(!newDisplayName.empty()){
+                               // LDAP friend
+                                       if( ((*it)->getSourceFlags() & (int) 
linphone::MagicSearchSource::LdapServers) == (int) 
linphone::MagicSearchSource::LdapServers){
+                                               
setRemoteDisplayName(newDisplayName);
+                                               found = true;
+                                       }else if( 
Utils::coreStringToAppString(mRemoteAddress->getDisplayName()).isEmpty()){
+                                               
setRemoteDisplayName(newDisplayName);   
+                                               found = true;
+                                       }
+                               }
                        }
                }
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/src/components/chat-events/ChatMessageModel.cpp
 
new/linphone-desktop-4.4.8/linphone-app/src/components/chat-events/ChatMessageModel.cpp
--- 
old/linphone-desktop-4.4.5/linphone-app/src/components/chat-events/ChatMessageModel.cpp
     2022-06-06 15:57:37.000000000 +0200
+++ 
new/linphone-desktop-4.4.8/linphone-app/src/components/chat-events/ChatMessageModel.cpp
     2022-07-05 15:20:17.000000000 +0200
@@ -334,6 +334,15 @@
 
 void ChatMessageModel::onMsgStateChanged (const 
std::shared_ptr<linphone::ChatMessage> &message, linphone::ChatMessage::State 
state) {
        updateFileTransferInformation();// On message state, file transfert 
information Content can be changed
+       if( state == linphone::ChatMessage::State::FileTransferDone) {
+               mContentListModel->updateContents(this);// Avoid having leak 
contents
+               if( !mWasDownloaded){// Update states
+                       bool allAreDownloaded = true;
+                       for(auto content : mContentListModel->getContents())
+                               allAreDownloaded &= content->mWasDownloaded;
+                       setWasDownloaded(allAreDownloaded);
+               }
+       }
        emit stateChanged();
 }
 void ChatMessageModel::onParticipantImdnStateChanged(const 
std::shared_ptr<linphone::ChatMessage> & message, const std::shared_ptr<const 
linphone::ParticipantImdnState> & state){
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/src/components/timeline/TimelineListModel.cpp
 
new/linphone-desktop-4.4.8/linphone-app/src/components/timeline/TimelineListModel.cpp
--- 
old/linphone-desktop-4.4.5/linphone-app/src/components/timeline/TimelineListModel.cpp
       2022-06-06 15:57:37.000000000 +0200
+++ 
new/linphone-desktop-4.4.8/linphone-app/src/components/timeline/TimelineListModel.cpp
       2022-07-05 15:20:17.000000000 +0200
@@ -244,7 +244,7 @@
 
 // Clean terminated chat rooms.
        allChatRooms.remove_if([](std::shared_ptr<linphone::ChatRoom> chatRoom){
-               return chatRoom->getState() == 
linphone::ChatRoom::State::Terminated || chatRoom->getState() == 
linphone::ChatRoom::State::Deleted;
+               return chatRoom->getConferenceAddress() && 
chatRoom->getHistoryEventsSize() == 0;
        }); 
        
 //Remove no more chat rooms
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/src/components/url-handlers/UrlHandlers.cpp
 
new/linphone-desktop-4.4.8/linphone-app/src/components/url-handlers/UrlHandlers.cpp
--- 
old/linphone-desktop-4.4.5/linphone-app/src/components/url-handlers/UrlHandlers.cpp
 2022-06-06 15:57:37.000000000 +0200
+++ 
new/linphone-desktop-4.4.8/linphone-app/src/components/url-handlers/UrlHandlers.cpp
 2022-07-05 15:20:17.000000000 +0200
@@ -28,6 +28,7 @@
 
 UrlHandlers::UrlHandlers (QObject *parent) : QObject(parent) {
   QDesktopServices::setUrlHandler("sip", this, "handleSip");
+  QDesktopServices::setUrlHandler("sips", this, "handleSip");
 }
 
 void UrlHandlers::handleSip (const QUrl &url) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/src/utils/Constants.hpp 
new/linphone-desktop-4.4.8/linphone-app/src/utils/Constants.hpp
--- old/linphone-desktop-4.4.5/linphone-app/src/utils/Constants.hpp     
2022-06-06 15:57:37.000000000 +0200
+++ new/linphone-desktop-4.4.8/linphone-app/src/utils/Constants.hpp     
2022-07-05 15:20:17.000000000 +0200
@@ -55,8 +55,8 @@
        static constexpr char DefaultContactParametersOnRemove[] = 
"message-expires=0";
        static constexpr int DefaultExpires = 3600;
        static constexpr char DownloadUrl[] = 
"https://www.linphone.org/technical-corner/linphone";;
-       static constexpr char VersionCheckReleaseUrl[] = 
"https://download.linphone.org/releases";;
-       static constexpr char VersionCheckNightlyUrl[] = 
"https://download.linphone.org/snapshots";;
+       static constexpr char VersionCheckReleaseUrl[] = 
"https://linphone.org/releases";;
+       static constexpr char VersionCheckNightlyUrl[] = 
"https://linphone.org/snapshots";;
        static constexpr char PasswordRecoveryUrl[] = 
"https://subscribe.linphone.org/login";;
        static constexpr char CguUrl[] = 
"https://www.linphone.org/general-terms";;
        static constexpr char PrivatePolicyUrl[] = 
"https://www.linphone.org/privacy-policy";;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/src/utils/Utils.cpp 
new/linphone-desktop-4.4.8/linphone-app/src/utils/Utils.cpp
--- old/linphone-desktop-4.4.5/linphone-app/src/utils/Utils.cpp 2022-06-06 
15:57:37.000000000 +0200
+++ new/linphone-desktop-4.4.8/linphone-app/src/utils/Utils.cpp 2022-07-05 
15:20:17.000000000 +0200
@@ -495,16 +495,21 @@
                if(model && model->getVcardModel())
                        displayName = model->getVcardModel()->getUsername();
                else{
-                       auto callHistory = 
CoreManager::getInstance()->getCore()->getCallLogs();
-                       auto callLog = std::find_if(callHistory.begin(), 
callHistory.end(), [address](std::shared_ptr<linphone::CallLog>& cl){
-                                       return 
cl->getRemoteAddress()->weakEqual(address);
-               });
-                       if(callLog != callHistory.end())
-                               displayName = 
QString::fromStdString((*callLog)->getRemoteAddress()->getDisplayName());
-                       if(displayName == "")
-                               displayName = 
QString::fromStdString(address->getDisplayName());
-                       if(displayName == "")
-                               displayName = 
Utils::coreStringToAppString(address->getUsername());
+                       // Try to get display from full address
+                       displayName = 
QString::fromStdString(address->getDisplayName());
+                       if( displayName == ""){
+                               // Try to get display name from logs
+                               auto callHistory = 
CoreManager::getInstance()->getCore()->getCallLogs();
+                               auto callLog = 
std::find_if(callHistory.begin(), callHistory.end(), 
[address](std::shared_ptr<linphone::CallLog>& cl){
+                                               return 
cl->getRemoteAddress()->weakEqual(address);
+                               });
+                               if(callLog != callHistory.end())
+                                       displayName = 
QString::fromStdString((*callLog)->getRemoteAddress()->getDisplayName());
+                               if(displayName == "")
+                                       displayName = 
QString::fromStdString(address->getDisplayName());
+                               if(displayName == "")
+                                       displayName = 
Utils::coreStringToAppString(address->getUsername());
+                       }
                }
        }
        return displayName;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/ui/scripts/Utils/utils.js 
new/linphone-desktop-4.4.8/linphone-app/ui/scripts/Utils/utils.js
--- old/linphone-desktop-4.4.5/linphone-app/ui/scripts/Utils/utils.js   
2022-06-06 15:57:37.000000000 +0200
+++ new/linphone-desktop-4.4.8/linphone-app/ui/scripts/Utils/utils.js   
2022-07-05 15:20:17.000000000 +0200
@@ -693,3 +693,12 @@
   request.open('PUT', getUriFromSystemPath(fileName), false)
   request.send(text)
 }
+
+function printObject(o) {
+  var out = '';
+  for (var p in o) {
+    out += p + ': ' + o[p] + '\n';
+  }
+  return out;
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/ui/views/App/Main/MainWindow.qml 
new/linphone-desktop-4.4.8/linphone-app/ui/views/App/Main/MainWindow.qml
--- old/linphone-desktop-4.4.5/linphone-app/ui/views/App/Main/MainWindow.qml    
2022-06-06 15:57:37.000000000 +0200
+++ new/linphone-desktop-4.4.8/linphone-app/ui/views/App/Main/MainWindow.qml    
2022-07-05 15:20:17.000000000 +0200
@@ -367,13 +367,7 @@
                target: UrlHandlers
                
                onSip: {
-               console.log("Change conversation from url handler")
-                        window.setView('Conversation', {
-                                                                 peerAddress: 
sipAddress,
-                                                                 localAddress: 
AccountSettingsModel.sipAddress,
-                                                                 
fullPeerAddress: sipAddress,
-                                                                 
fullLocalAddress: AccountSettingsModel.fullSipAddress
-                                                         })
-                                                        }
+                       mainSearchBar.text = sipAddress
+               }
        }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/linphone-desktop-4.4.5/linphone-app/ui/views/App/Settings/SettingsUi.qml 
new/linphone-desktop-4.4.8/linphone-app/ui/views/App/Settings/SettingsUi.qml
--- 
old/linphone-desktop-4.4.5/linphone-app/ui/views/App/Settings/SettingsUi.qml    
    2022-06-06 15:57:37.000000000 +0200
+++ 
new/linphone-desktop-4.4.8/linphone-app/ui/views/App/Settings/SettingsUi.qml    
    2022-07-05 15:20:17.000000000 +0200
@@ -268,8 +268,8 @@
                                                        currentIndex: 
SettingsModel.versionCheckType == SettingsModel.VersionCheckType_Release ? 0
                                                                                
        : SettingsModel.versionCheckType == 
SettingsModel.VersionCheckType_Nightly ? 1
                                                                                
        : 2
-                                                       onActivated: 
SettingsModel.versionCheckType = ( currentIndex == 0 ? 
SettingsModel.VersionCheckType_Release 
-                                                                               
                                                                        : 
currentIndex == 1 ? SettingsModel.VersionCheckType_Nightly
+                                                       onActivated: 
SettingsModel.versionCheckType = ( index == 0 ? 
SettingsModel.VersionCheckType_Release 
+                                                                               
                                                                        : index 
== 1 ? SettingsModel.VersionCheckType_Nightly
                                                                                
                                                                        : 
SettingsModel.VersionCheckType_Custom)
                                                }
                                        }

Reply via email to