Hello community,

here is the log from the commit of package kdnssd-framework for 
openSUSE:Factory checked in at 2018-01-09 14:41:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdnssd-framework (Old)
 and      /work/SRC/openSUSE:Factory/.kdnssd-framework.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdnssd-framework"

Tue Jan  9 14:41:30 2018 rev:47 rq:559436 version:5.41.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdnssd-framework/kdnssd-framework.changes        
2017-11-16 14:37:35.862103934 +0100
+++ /work/SRC/openSUSE:Factory/.kdnssd-framework.new/kdnssd-framework.changes   
2018-01-09 14:41:47.811863965 +0100
@@ -1,0 +2,12 @@
+Sun Dec 17 09:43:48 CET 2017 - lbeltr...@kde.org
+
+- Update to 5.41.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.41.0.php
+- Changes since 5.40.0:
+  * Make it compiles
+  * Make it compiles with strict flags
+  * It compiles fine with QT_NO_CAST_FROM_BYTEARRAY
+
+-------------------------------------------------------------------

Old:
----
  kdnssd-5.40.0.tar.xz

New:
----
  kdnssd-5.41.0.tar.xz

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

Other differences:
------------------
++++++ kdnssd-framework.spec ++++++
--- /var/tmp/diff_new_pack.9VtSkQ/_old  2018-01-09 14:41:48.331839580 +0100
+++ /var/tmp/diff_new_pack.9VtSkQ/_new  2018-01-09 14:41:48.335839392 +0100
@@ -18,13 +18,13 @@
 
 %bcond_without lang
 %define lname   libKF5DNSSD5
-%define _tar_path 5.40
+%define _tar_path 5.41
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           kdnssd-framework
-Version:        5.40.0
+Version:        5.41.0
 Release:        0
 BuildRequires:  avahi-compat-mDNSResponder-devel
 BuildRequires:  cmake >= 3.0

++++++ kdnssd-5.40.0.tar.xz -> kdnssd-5.41.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.40.0/CMakeLists.txt 
new/kdnssd-5.41.0/CMakeLists.txt
--- old/kdnssd-5.40.0/CMakeLists.txt    2017-11-05 09:29:32.000000000 +0100
+++ new/kdnssd-5.41.0/CMakeLists.txt    2017-12-02 21:04:23.000000000 +0100
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.40.0") # handled by release scripts
+set(KF5_VERSION "5.41.0") # handled by release scripts
 project(KDNSSD VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.40.0  NO_MODULE)
+find_package(ECM 5.41.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -26,8 +26,6 @@
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
 
-remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
-
 
 include(GenerateExportHeader)
 include(ECMSetupVersion)
@@ -41,7 +39,6 @@
 
 configure_file(config-kdnssd.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/config-kdnssd.h )
 
-remove_definitions(-DQT_NO_CAST_FROM_ASCII)
 
 find_package(Avahi)
 set_package_properties(Avahi PROPERTIES DESCRIPTION "Facilities for service 
discovery on a local network (DNSSD)"
@@ -57,8 +54,7 @@
                           TYPE OPTIONAL
                           PURPOSE "Either Avahi or DNSSD is required for KDE 
applications to make use of multicast DNS/DNS-SD service discovery"
                           )
-endif(
-                        )
+endif( )
 
 if(AVAHI_FOUND OR DNSSD_FOUND)
     find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED DBus)
@@ -68,6 +64,8 @@
     ecm_install_po_files_as_qm(po)
 endif()
 
+remove_definitions(-DQT_NO_CAST_FROM_ASCII)
+
 add_subdirectory(src)
 
 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5DNSSD")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.40.0/src/avahi-domainbrowser.cpp 
new/kdnssd-5.41.0/src/avahi-domainbrowser.cpp
--- old/kdnssd-5.40.0/src/avahi-domainbrowser.cpp       2017-11-05 
09:29:32.000000000 +0100
+++ new/kdnssd-5.41.0/src/avahi-domainbrowser.cpp       2017-12-02 
21:04:23.000000000 +0100
@@ -45,29 +45,29 @@
         return;
     }
     d->m_started = true;
-    org::freedesktop::Avahi::Server s("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
-    QDBusReply<QDBusObjectPath> rep = s.DomainBrowserNew(-1, -1, "", 
(d->m_type == Browsing) ?
+    org::freedesktop::Avahi::Server s(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
+    QDBusReply<QDBusObjectPath> rep = s.DomainBrowserNew(-1, -1, QString(), 
(d->m_type == Browsing) ?
                                       AVAHI_DOMAIN_BROWSER_BROWSE : 
AVAHI_DOMAIN_BROWSER_REGISTER, 0);
 
     if (!rep.isValid()) {
         return;
     }
-    org::freedesktop::Avahi::DomainBrowser *b = new 
org::freedesktop::Avahi::DomainBrowser("org.freedesktop.Avahi", 
rep.value().path(),
+    org::freedesktop::Avahi::DomainBrowser *b = new 
org::freedesktop::Avahi::DomainBrowser(QStringLiteral("org.freedesktop.Avahi"), 
rep.value().path(),
             QDBusConnection::systemBus());
     connect(b, SIGNAL(ItemNew(int,int,QString,uint)), d, 
SLOT(gotNewDomain(int,int,QString,uint)));
     connect(b, SIGNAL(ItemRemove(int,int,QString,uint)), d, 
SLOT(gotRemoveDomain(int,int,QString,uint)));
     d->m_browser = b;
     if (d->m_type == Browsing) {
-        QString domains_evar = qgetenv("AVAHI_BROWSE_DOMAINS");
+        QString domains_evar = 
QString::fromLocal8Bit(qgetenv("AVAHI_BROWSE_DOMAINS"));
         if (!domains_evar.isEmpty()) {
-            QStringList edomains = domains_evar.split(':');
+            QStringList edomains = domains_evar.split(QLatin1Char(':'));
             Q_FOREACH (const QString &s, edomains) {
                 d->gotNewDomain(-1, -1, s, 0);
             }
         }
         //FIXME: watch this file and restart browser if it changes
         QString confDir = 
QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation);
-        QFile domains_cfg(confDir + "/avahi/browse-domains");
+        QFile domains_cfg(confDir + QStringLiteral("/avahi/browse-domains"));
         if (domains_cfg.open(QIODevice::ReadOnly | QIODevice::Text))
             while (!domains_cfg.atEnd()) {
                 d->gotNewDomain(-1, -1, 
QString::fromUtf8(domains_cfg.readLine().data()).trimmed(), 0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.40.0/src/avahi-publicservice.cpp 
new/kdnssd-5.41.0/src/avahi-publicservice.cpp
--- old/kdnssd-5.40.0/src/avahi-publicservice.cpp       2017-11-05 
09:29:32.000000000 +0100
+++ new/kdnssd-5.41.0/src/avahi-publicservice.cpp       2017-12-02 
21:04:23.000000000 +0100
@@ -241,7 +241,7 @@
     }
 
     if (!d->m_server) {
-        d->m_server = new 
org::freedesktop::Avahi::Server("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
+        d->m_server = new 
org::freedesktop::Avahi::Server(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
         connect(d->m_server, SIGNAL(StateChanged(int,QString)), d, 
SLOT(serverStateChanged(int,QString)));
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.40.0/src/avahi-remoteservice.cpp 
new/kdnssd-5.41.0/src/avahi-remoteservice.cpp
--- old/kdnssd-5.40.0/src/avahi-remoteservice.cpp       2017-11-05 
09:29:32.000000000 +0100
+++ new/kdnssd-5.41.0/src/avahi-remoteservice.cpp       2017-12-02 
21:04:23.000000000 +0100
@@ -57,7 +57,7 @@
     d->m_resolved = false;
     registerTypes();
     //qDebug() << this << ":Starting resolve of : " << d->m_serviceName << " " 
<< d->m_type << " " << d->m_domain << "\n";
-    org::freedesktop::Avahi::Server s("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
+    org::freedesktop::Avahi::Server s(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
     //FIXME: don't use LOOKUP_NO_ADDRESS if NSS unavailable
     QDBusReply<QDBusObjectPath> rep = s.ServiceResolverNew(-1, -1, 
d->m_serviceName, d->m_type,
                                       domainToDNS(d->m_domain), -1, 8 
/*AVAHI_LOOKUP_NO_ADDRESS*/);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.40.0/src/avahi-servicebrowser.cpp 
new/kdnssd-5.41.0/src/avahi-servicebrowser.cpp
--- old/kdnssd-5.40.0/src/avahi-servicebrowser.cpp      2017-11-05 
09:29:32.000000000 +0100
+++ new/kdnssd-5.41.0/src/avahi-servicebrowser.cpp      2017-12-02 
21:04:23.000000000 +0100
@@ -40,7 +40,7 @@
 
 ServiceBrowser::State ServiceBrowser::isAvailable()
 {
-    org::freedesktop::Avahi::Server s("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
+    org::freedesktop::Avahi::Server s(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
     QDBusReply<int> rep = s.GetState();
     return (rep.isValid() && rep.value() == 2) ? Working : Stopped;
 }
@@ -59,10 +59,10 @@
     if (d->m_running) {
         return;
     }
-    org::freedesktop::Avahi::Server s("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
+    org::freedesktop::Avahi::Server s(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
     QString fullType = d->m_type;
     if (!d->m_subtype.isEmpty()) {
-        fullType = d->m_subtype + "._sub." + d->m_type;
+        fullType = d->m_subtype + QStringLiteral("._sub.") + d->m_type;
     }
     QDBusReply<QDBusObjectPath> rep = s.ServiceBrowserNew(-1, -1, fullType, 
domainToDNS(d->m_domain), 0);
 
@@ -72,7 +72,7 @@
     }
     d->m_running = true;
     d->m_browserFinished = true;
-    org::freedesktop::Avahi::ServiceBrowser *b = new 
org::freedesktop::Avahi::ServiceBrowser("org.freedesktop.Avahi", 
rep.value().path(),
+    org::freedesktop::Avahi::ServiceBrowser *b = new 
org::freedesktop::Avahi::ServiceBrowser(QStringLiteral("org.freedesktop.Avahi"),
 rep.value().path(),
             QDBusConnection::systemBus());
     connect(b, SIGNAL(ItemNew(int,int,QString,QString,QString,uint)), d,
             SLOT(gotNewService(int,int,QString,QString,QString,uint)));
@@ -167,7 +167,7 @@
 
 QHostAddress ServiceBrowser::resolveHostName(const QString &hostname)
 {
-    org::freedesktop::Avahi::Server s("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
+    org::freedesktop::Avahi::Server s(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
 
     int protocol = 0;
     QString name;
@@ -186,7 +186,7 @@
 
 QString ServiceBrowser::getLocalHostName()
 {
-    org::freedesktop::Avahi::Server s("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
+    org::freedesktop::Avahi::Server s(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
 
     QDBusReply<QString> reply = s.GetHostName();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.40.0/src/avahi-servicetypebrowser.cpp 
new/kdnssd-5.41.0/src/avahi-servicetypebrowser.cpp
--- old/kdnssd-5.40.0/src/avahi-servicetypebrowser.cpp  2017-11-05 
09:29:32.000000000 +0100
+++ new/kdnssd-5.41.0/src/avahi-servicetypebrowser.cpp  2017-12-02 
21:04:23.000000000 +0100
@@ -45,13 +45,13 @@
         return;
     }
     d->m_started = true;
-    org::freedesktop::Avahi::Server s("org.freedesktop.Avahi", "/", 
QDBusConnection::systemBus());
+    org::freedesktop::Avahi::Server s(QStringLiteral("org.freedesktop.Avahi"), 
QStringLiteral("/"), QDBusConnection::systemBus());
     QDBusReply<QDBusObjectPath> rep = s.ServiceTypeBrowserNew(-1, -1, 
d->m_domain, 0);
 
     if (!rep.isValid()) {
         return;
     }
-    org::freedesktop::Avahi::ServiceTypeBrowser *b = new 
org::freedesktop::Avahi::ServiceTypeBrowser("org.freedesktop.Avahi", 
rep.value().path(),
+    org::freedesktop::Avahi::ServiceTypeBrowser *b = new 
org::freedesktop::Avahi::ServiceTypeBrowser(QStringLiteral("org.freedesktop.Avahi"),
 rep.value().path(),
             QDBusConnection::systemBus());
     connect(b, SIGNAL(ItemNew(int,int,QString,QString,uint)), d, 
SLOT(gotNewServiceType(int,int,QString,QString,uint)));
     connect(b, SIGNAL(ItemRemove(int,int,QString,QString,uint)), d, 
SLOT(gotRemoveServiceType(int,int,QString,QString,uint)));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.40.0/src/servicebase.cpp 
new/kdnssd-5.41.0/src/servicebase.cpp
--- old/kdnssd-5.40.0/src/servicebase.cpp       2017-11-05 09:29:32.000000000 
+0100
+++ new/kdnssd-5.41.0/src/servicebase.cpp       2017-12-02 21:04:23.000000000 
+0100
@@ -85,7 +85,7 @@
 
 bool domainIsLocal(const QString &domain)
 {
-    return domain.section('.', -1, -1).toLower() == QLatin1String("local");
+    return domain.section(QLatin1Char('.'), -1, -1).toLower() == 
QLatin1String("local");
 }
 
 }


Reply via email to