Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit kdnssd-framework for openSUSE:Factory
Hello community,

here is the log from the commit of package kdnssd-framework for
openSUSE:Factory checked in at 2019-04-19 21:22:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdnssd-framework (Old)
and /work/SRC/openSUSE:Factory/.kdnssd-framework.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdnssd-framework"

Fri Apr 19 21:22:09 2019 rev:64 rq:695217 version:5.57.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdnssd-framework/kdnssd-framework.changes
2019-03-21 09:45:12.042912740 +0100
+++
/work/SRC/openSUSE:Factory/.kdnssd-framework.new.5536/kdnssd-framework.changes
2019-04-19 21:22:30.519730911 +0200
@@ -1,0 +2,10 @@
+Sun Apr 14 20:21:42 UTC 2019 - lbeltrame@xxxxxxx
+
+- Update to 5.57.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.57.0.php
+- Changes since 5.56.0:
+ * [kdnssd] compile without foreach
+
+-------------------------------------------------------------------

Old:
----
kdnssd-5.56.0.tar.xz

New:
----
kdnssd-5.57.0.tar.xz

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

Other differences:
------------------
++++++ kdnssd-framework.spec ++++++
--- /var/tmp/diff_new_pack.vjRcBe/_old 2019-04-19 21:22:30.911731410 +0200
+++ /var/tmp/diff_new_pack.vjRcBe/_new 2019-04-19 21:22:30.911731410 +0200
@@ -17,14 +17,14 @@


%define lname libKF5DNSSD5
-%define _tar_path 5.56
+%define _tar_path 5.57
# 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: %define _kf5_bugfix_version %(echo %{_kf5_version} |
awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kdnssd-framework
-Version: 5.56.0
+Version: 5.57.0
Release: 0
Summary: Network service discovery using Zeroconf
License: LGPL-2.1-or-later

++++++ kdnssd-5.56.0.tar.xz -> kdnssd-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/.gitignore new/kdnssd-5.57.0/.gitignore
--- old/kdnssd-5.56.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/kdnssd-5.57.0/.gitignore 2019-04-07 09:27:22.000000000 +0200
@@ -0,0 +1,21 @@
+# Ignore the following files
+*~
+*.[oa]
+*.diff
+*.kate-swp
+*.kdev4
+.kdev_include_paths
+*.kdevelop.pcs
+*.moc
+*.moc.cpp
+*.orig
+*.user
+.*.swp
+.swp.*
+Doxyfile
+Makefile
+avail
+random_seed
+/build*/
+CMakeLists.txt.user*
+*.unc-backup*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/CMakeLists.txt
new/kdnssd-5.57.0/CMakeLists.txt
--- old/kdnssd-5.56.0/CMakeLists.txt 2019-03-02 14:38:48.000000000 +0100
+++ new/kdnssd-5.57.0/CMakeLists.txt 2019-04-07 09:27:22.000000000 +0200
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.5)

-set(KF5_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
project(KDNSSD VERSION ${KF5_VERSION})

include(FeatureSummary)
-find_package(ECM 5.56.0 NO_MODULE)
+find_package(ECM 5.57.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)

@@ -66,7 +66,7 @@
endif()

remove_definitions(-DQT_NO_CAST_FROM_ASCII)
-
+add_definitions(-DQT_NO_FOREACH)
add_subdirectory(src)

set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5DNSSD")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/po/id/kdnssd5_qt.po
new/kdnssd-5.57.0/po/id/kdnssd5_qt.po
--- old/kdnssd-5.56.0/po/id/kdnssd5_qt.po 2019-03-02 14:38:48.000000000
+0100
+++ new/kdnssd-5.57.0/po/id/kdnssd5_qt.po 2019-04-07 09:27:22.000000000
+0200
@@ -15,7 +15,7 @@
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Qt-Contexts: true\n"

#: servicemodel.cpp:112
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/po/te/kdnssd5_qt.po
new/kdnssd-5.57.0/po/te/kdnssd5_qt.po
--- old/kdnssd-5.56.0/po/te/kdnssd5_qt.po 2019-03-02 14:38:48.000000000
+0100
+++ new/kdnssd-5.57.0/po/te/kdnssd5_qt.po 2019-04-07 09:27:22.000000000
+0200
@@ -22,8 +22,7 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 1.5\n"
-"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : "
-"4;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"X-Qt-Contexts: true\n"

#: servicemodel.cpp:112
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/po/zh_CN/kdnssd5_qt.po
new/kdnssd-5.57.0/po/zh_CN/kdnssd5_qt.po
--- old/kdnssd-5.56.0/po/zh_CN/kdnssd5_qt.po 2019-03-02 14:38:48.000000000
+0100
+++ new/kdnssd-5.57.0/po/zh_CN/kdnssd5_qt.po 2019-04-07 09:27:22.000000000
+0200
@@ -13,7 +13,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kdeorg\n"
-"PO-Revision-Date: 2019-02-20 23:16\n"
+"PO-Revision-Date: 2019-03-07 09:22\n"
"Last-Translator: guoyunhe <i@xxxxxxxxxxx>\n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/src/avahi-domainbrowser.cpp
new/kdnssd-5.57.0/src/avahi-domainbrowser.cpp
--- old/kdnssd-5.56.0/src/avahi-domainbrowser.cpp 2019-03-02
14:38:48.000000000 +0100
+++ new/kdnssd-5.57.0/src/avahi-domainbrowser.cpp 2019-04-07
09:27:22.000000000 +0200
@@ -101,8 +101,8 @@
if (d->m_type == Browsing) {
QString domains_evar =
QString::fromLocal8Bit(qgetenv("AVAHI_BROWSE_DOMAINS"));
if (!domains_evar.isEmpty()) {
- QStringList edomains = domains_evar.split(QLatin1Char(':'));
- Q_FOREACH (const QString &s, edomains) {
+ const QStringList edomains = domains_evar.split(QLatin1Char(':'));
+ for (const QString &s : edomains) {
d->gotNewDomain(-1, -1, s, 0);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/src/avahi-publicservice.cpp
new/kdnssd-5.57.0/src/avahi-publicservice.cpp
--- old/kdnssd-5.56.0/src/avahi-publicservice.cpp 2019-03-02
14:38:48.000000000 +0100
+++ new/kdnssd-5.57.0/src/avahi-publicservice.cpp 2019-04-07
09:27:22.000000000 +0200
@@ -238,7 +238,7 @@
}
}

- Q_FOREACH (const QString &subtype, m_subtypes) {
+ for (const QString &subtype : qAsConst(m_subtypes)) {
m_group->AddServiceSubtype(-1, -1, 0, m_serviceName, m_type,
domainToDNS(m_domain), subtype);
}
return true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/src/avahi-remoteservice.cpp
new/kdnssd-5.57.0/src/avahi-remoteservice.cpp
--- old/kdnssd-5.56.0/src/avahi-remoteservice.cpp 2019-03-02
14:38:48.000000000 +0100
+++ new/kdnssd-5.57.0/src/avahi-remoteservice.cpp 2019-04-07
09:27:22.000000000 +0200
@@ -157,7 +157,7 @@
m_hostName = host;
m_port = port;
m_domain = DNSToDomain(domain);
- Q_FOREACH (const QByteArray &x, txt) {
+ for (const QByteArray &x : txt) {
int pos = x.indexOf("=");
if (pos == -1) {
m_textData[x] = QByteArray();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/src/avahi-servicebrowser.cpp
new/kdnssd-5.57.0/src/avahi-servicebrowser.cpp
--- old/kdnssd-5.56.0/src/avahi-servicebrowser.cpp 2019-03-02
14:38:48.000000000 +0100
+++ new/kdnssd-5.57.0/src/avahi-servicebrowser.cpp 2019-04-07
09:27:22.000000000 +0200
@@ -183,7 +183,7 @@

RemoteService::Ptr ServiceBrowserPrivate::find(RemoteService::Ptr s, const
QList<RemoteService::Ptr> &where) const
{
- Q_FOREACH (const RemoteService::Ptr &i, where) if (*s == *i) {
+ for (const RemoteService::Ptr &i : where) if (*s == *i) {
return i;
}
return RemoteService::Ptr();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/src/mdnsd-publicservice.cpp
new/kdnssd-5.57.0/src/mdnsd-publicservice.cpp
--- old/kdnssd-5.56.0/src/mdnsd-publicservice.cpp 2019-03-02
14:38:48.000000000 +0100
+++ new/kdnssd-5.57.0/src/mdnsd-publicservice.cpp 2019-04-07
09:27:22.000000000 +0200
@@ -168,7 +168,7 @@
}
DNSServiceRef ref;
QString fullType = d->m_type;
- Q_FOREACH (const QString &subtype, d->m_subtypes) {
+ for (const QString &subtype : qAsConst(d->m_subtypes)) {
fullType += ',' + subtype;
}
if (DNSServiceRegister(&ref, 0, 0, d->m_serviceName.toUtf8().constData(),
fullType.toLatin1().constData(), domainToDNS(d->m_domain).constData(), NULL,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kdnssd-5.56.0/src/mdnsd-servicebrowser.cpp
new/kdnssd-5.57.0/src/mdnsd-servicebrowser.cpp
--- old/kdnssd-5.56.0/src/mdnsd-servicebrowser.cpp 2019-03-02
14:38:48.000000000 +0100
+++ new/kdnssd-5.57.0/src/mdnsd-servicebrowser.cpp 2019-04-07
09:27:22.000000000 +0200
@@ -128,7 +128,7 @@

RemoteService::Ptr ServiceBrowserPrivate::find(RemoteService::Ptr s, const
QList<RemoteService::Ptr> &where) const
{
- Q_FOREACH (const RemoteService::Ptr &i, where) if (*s == *i) {
+ for (const RemoteService::Ptr &i : where) if (*s == *i) {
return i;
}
return RemoteService::Ptr();


< Previous Next >
This Thread
  • No further messages