Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdnssd-framework for 
openSUSE:Factory checked in at 2021-07-15 23:59:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdnssd-framework (Old)
 and      /work/SRC/openSUSE:Factory/.kdnssd-framework.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdnssd-framework"

Thu Jul 15 23:59:34 2021 rev:91 rq:905493 version:5.84.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdnssd-framework/kdnssd-framework.changes        
2021-06-16 20:35:23.895177245 +0200
+++ 
/work/SRC/openSUSE:Factory/.kdnssd-framework.new.2625/kdnssd-framework.changes  
    2021-07-16 00:01:16.097149918 +0200
@@ -1,0 +2,11 @@
+Sun Jul  4 07:45:23 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.84.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.84.0
+- Changes since 5.83.0:
+  * Install headers to path prefix matching the C++ namespace KDNSSD
+  * Fix minor issues in the doc
+
+-------------------------------------------------------------------

Old:
----
  kdnssd-5.83.0.tar.xz
  kdnssd-5.83.0.tar.xz.sig

New:
----
  kdnssd-5.84.0.tar.xz
  kdnssd-5.84.0.tar.xz.sig

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

Other differences:
------------------
++++++ kdnssd-framework.spec ++++++
--- /var/tmp/diff_new_pack.omaSIe/_old  2021-07-16 00:01:16.645145951 +0200
+++ /var/tmp/diff_new_pack.omaSIe/_new  2021-07-16 00:01:16.649145921 +0200
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5DNSSD5
-%define _tar_path 5.83
+%define _tar_path 5.84
 # 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.83.0
+Version:        5.84.0
 Release:        0
 Summary:        Network service discovery using Zeroconf
 License:        LGPL-2.1-or-later


++++++ kdnssd-5.83.0.tar.xz -> kdnssd-5.84.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/CMakeLists.txt 
new/kdnssd-5.84.0/CMakeLists.txt
--- old/kdnssd-5.83.0/CMakeLists.txt    2021-06-05 11:17:03.000000000 +0200
+++ new/kdnssd-5.84.0/CMakeLists.txt    2021-07-03 14:10:58.000000000 +0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.83.0") # handled by release scripts
+set(KF_VERSION "5.84.0") # handled by release scripts
 project(KDNSSD VERSION ${KF_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.83.0  NO_MODULE)
+find_package(ECM 5.84.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/README.md new/kdnssd-5.84.0/README.md
--- old/kdnssd-5.83.0/README.md 2021-06-05 11:17:03.000000000 +0200
+++ new/kdnssd-5.84.0/README.md 2021-07-03 14:10:58.000000000 +0200
@@ -14,21 +14,23 @@
 
 If you are using CMake, you need to have
 
-    find_package(KF5DNSSD NO_MODULE)
+```cmake
+find_package(KF5DNSSD NO_MODULE)
+```
 
 (or similar) in your CMakeLists.txt file, and you need to link to KF5::DNSSD.
 
 If you are writing an application that wants to discover services on the
-network, use DNSSD::ServiceBrowser.  You can also find available service types
+network, use KDNSSD::ServiceBrowser.  You can also find available service types
 using ServiceTypeBrowser.
 
 If you want to announce the availability of a service provided by your
-application, use DNSSD::PublicService.
+application, use KDNSSD::PublicService.
 
-DNSSD::DomainBrowser allows you to find domains (other than the local one)
+KDNSSD::DomainBrowser allows you to find domains (other than the local one)
 recommended for browsing or publishing to.
 
-Note that DNSSD::ServiceBrowser::isAvailable() provides information about the
+Note that KDNSSD::ServiceBrowser::isAvailable() provides information about the
 availability of the services provided by this library generally, not just for
 browsing services.
 
@@ -37,8 +39,8 @@
 
 More information about DNS-SD can be found in the [online
 documentation][appledocs] for Apple's implementation of Zeroconf,
-[Bonjour](http://www.apple.com/support/bonjour/).
+[Bonjour](https://developer.apple.com/bonjour/).
 
-[appledocs]: 
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/NetServices/Articles/about.html
+[appledocs]: 
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/NetServices/Articles/about.html
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/po/de/kdnssd5_qt.po 
new/kdnssd-5.84.0/po/de/kdnssd5_qt.po
--- old/kdnssd-5.83.0/po/de/kdnssd5_qt.po       2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/po/de/kdnssd5_qt.po       2021-07-03 14:10:58.000000000 
+0200
@@ -21,9 +21,8 @@
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.5\n"
-"X-Qt-Contexts: true\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Qt-Contexts: true\n"
 
 #: servicemodel.cpp:99
 msgctxt "KDNSSD::ServiceModel|"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/po/zh_CN/kdnssd5_qt.po 
new/kdnssd-5.84.0/po/zh_CN/kdnssd5_qt.po
--- old/kdnssd-5.83.0/po/zh_CN/kdnssd5_qt.po    2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/po/zh_CN/kdnssd5_qt.po    2021-07-03 14:10:58.000000000 
+0200
@@ -13,7 +13,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: kdeorg\n"
-"PO-Revision-Date: 2021-06-03 16:05\n"
+"PO-Revision-Date: 2021-06-20 07:35\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
 "MIME-Version: 1.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/CMakeLists.txt 
new/kdnssd-5.84.0/src/CMakeLists.txt
--- old/kdnssd-5.83.0/src/CMakeLists.txt        2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/src/CMakeLists.txt        2021-07-03 14:10:58.000000000 
+0200
@@ -48,7 +48,7 @@
 endif ()
 
 ecm_generate_export_header(KF5DNSSD
-    EXPORT_FILE_NAME ${KDNSSD_BINARY_DIR}/dnssd/kdnssd_export.h
+    EXPORT_FILE_NAME ${CMAKE_CURRENT_BINARY_DIR}/kdnssd_export.h
     BASE_NAME KDNSSD
     GROUP_BASE_NAME KF
     VERSION ${KF_VERSION}
@@ -57,7 +57,7 @@
     EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT}
 )
 
-# Apps must include <DNSSD/File> or <dnssd/file.h>
+# Apps must include <KDNSSD/File> or <kdnssd/file.h>
 target_include_directories(KF5DNSSD INTERFACE 
"$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KDNSSD>")
 
 target_link_libraries(KF5DNSSD PUBLIC Qt5::Network)
@@ -90,21 +90,59 @@
   ServiceModel
   DomainModel
 
-  PREFIX DNSSD
+  PREFIX KDNSSD
   REQUIRED_HEADERS kdnssd_HEADERS
 )
 
-install(FILES ${KDNSSD_CamelCase_HEADERS} DESTINATION 
${KDE_INSTALL_INCLUDEDIR_KF5}/KDNSSD/DNSSD COMPONENT Devel)
+install(FILES ${KDNSSD_CamelCase_HEADERS} DESTINATION 
${KDE_INSTALL_INCLUDEDIR_KF5}/KDNSSD/KDNSSD COMPONENT Devel)
 
 install(TARGETS KF5DNSSD EXPORT KF5DNSSDTargets 
${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
 
 ########### install files ###############
 install(FILES
-  ${KDNSSD_BINARY_DIR}/dnssd/kdnssd_export.h
+  ${CMAKE_CURRENT_BINARY_DIR}/kdnssd_export.h
   ${kdnssd_HEADERS}
-  DESTINATION  ${KDE_INSTALL_INCLUDEDIR_KF5}/KDNSSD/dnssd COMPONENT Devel
+  DESTINATION  ${KDE_INSTALL_INCLUDEDIR_KF5}/KDNSSD/kdnssd COMPONENT Devel
 )
 
+# provide compat headers for old broken include path prefix dnssd/ & DNSSD/
+if(NOT EXCLUDE_DEPRECATED_BEFORE_AND_AT STREQUAL "CURRENT" AND
+   EXCLUDE_DEPRECATED_BEFORE_AND_AT VERSION_LESS 5.84.0)
+    function(generate_compat_headers)
+        foreach(classname ${ARGV})
+            string(TOLOWER ${classname} classname_lc)
+            set(HEADER_NAME "${classname_lc}.h")
+            # normal header
+            set(compat_header 
"${CMAKE_CURRENT_BINARY_DIR}/compat/${HEADER_NAME}")
+            set(NEW_INCLUDE "kdnssd/${HEADER_NAME}")
+            configure_file(compatheader.h.in ${compat_header} @ONLY)
+            install(FILES ${compat_header}
+                DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KDNSSD/dnssd
+                COMPONENT Devel
+            )
+            # CamelCase header
+            set(compat_header 
"${CMAKE_CURRENT_BINARY_DIR}/compat/${classname}")
+            set(NEW_INCLUDE "KDNSSD/${classname}")
+            configure_file(compatheader.h.in ${compat_header} @ONLY)
+            install(FILES ${compat_header}
+                DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KDNSSD/DNSSD
+                COMPONENT Devel
+            )
+        endforeach()
+    endfunction()
+
+    generate_compat_headers(
+        DomainBrowser
+        RemoteService
+        ServiceTypeBrowser
+        PublicService
+        ServiceBase
+        ServiceBrowser
+        ServiceModel
+        DomainModel
+    )
+endif()
+
 if(BUILD_QCH)
     ecm_add_qch(
         KF5DNSSD_QCH
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/compatheader.h.in 
new/kdnssd-5.84.0/src/compatheader.h.in
--- old/kdnssd-5.83.0/src/compatheader.h.in     1970-01-01 01:00:00.000000000 
+0100
+++ new/kdnssd-5.84.0/src/compatheader.h.in     2021-07-03 14:10:58.000000000 
+0200
@@ -0,0 +1,10 @@
+#include <kdnssd/kdnssd_export.h>
+
+#if KDNSSD_ENABLE_DEPRECATED_SINCE(5, 84)
+#   include <kdnssd/@HEADER_NAME@>
+#   if KDNSSD_DEPRECATED_WARNINGS_SINCE >= 0x055400
+#       pragma message("Deprecated header. Since 5.84, use #include 
<@NEW_INCLUDE@> instead")
+#   endif
+#else
+#   error "Include of deprecated header is disabled"
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/domainbrowser.h 
new/kdnssd-5.84.0/src/domainbrowser.h
--- old/kdnssd-5.83.0/src/domainbrowser.h       2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/src/domainbrowser.h       2021-07-03 14:10:58.000000000 
+0200
@@ -9,9 +9,9 @@
 #ifndef KDNSSDDOMAINBROWSER_H
 #define KDNSSDDOMAINBROWSER_H
 
+#include "remoteservice.h"
 #include <QObject>
 #include <QtContainerFwd>
-#include <dnssd/remoteservice.h>
 #include <memory>
 
 namespace KDNSSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/domainmodel.h 
new/kdnssd-5.84.0/src/domainmodel.h
--- old/kdnssd-5.83.0/src/domainmodel.h 2021-06-05 11:17:03.000000000 +0200
+++ new/kdnssd-5.84.0/src/domainmodel.h 2021-07-03 14:10:58.000000000 +0200
@@ -9,8 +9,8 @@
 #ifndef KDNSSDDOMAINMODEL_H
 #define KDNSSDDOMAINMODEL_H
 
+#include "kdnssd_export.h"
 #include <QAbstractItemModel>
-#include <dnssd/kdnssd_export.h>
 #include <memory>
 
 namespace KDNSSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/publicservice.h 
new/kdnssd-5.84.0/src/publicservice.h
--- old/kdnssd-5.83.0/src/publicservice.h       2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/src/publicservice.h       2021-07-03 14:10:58.000000000 
+0200
@@ -9,9 +9,9 @@
 #ifndef KDNSSDPUBLICSERVICE_H
 #define KDNSSDPUBLICSERVICE_H
 
+#include "servicebase.h"
 #include <QObject>
 #include <QStringList>
-#include <dnssd/servicebase.h>
 
 namespace KDNSSD
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/remoteservice.h 
new/kdnssd-5.84.0/src/remoteservice.h
--- old/kdnssd-5.83.0/src/remoteservice.h       2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/src/remoteservice.h       2021-07-03 14:10:58.000000000 
+0200
@@ -9,9 +9,9 @@
 #ifndef KDNSSDREMOTESERVICE_H
 #define KDNSSDREMOTESERVICE_H
 
+#include "servicebase.h"
 #include <QMetaType>
 #include <QObject>
-#include <dnssd/servicebase.h>
 
 namespace KDNSSD
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/servicebase.h 
new/kdnssd-5.84.0/src/servicebase.h
--- old/kdnssd-5.83.0/src/servicebase.h 2021-06-05 11:17:03.000000000 +0200
+++ new/kdnssd-5.84.0/src/servicebase.h 2021-07-03 14:10:58.000000000 +0200
@@ -9,10 +9,10 @@
 #ifndef KDNSSDSERVICEBASE_H
 #define KDNSSDSERVICEBASE_H
 
+#include "kdnssd_export.h"
 #include <QExplicitlySharedDataPointer>
 #include <QMap>
 #include <QString>
-#include <dnssd/kdnssd_export.h>
 #include <memory>
 
 namespace KDNSSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/servicebrowser.h 
new/kdnssd-5.84.0/src/servicebrowser.h
--- old/kdnssd-5.83.0/src/servicebrowser.h      2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/src/servicebrowser.h      2021-07-03 14:10:58.000000000 
+0200
@@ -9,10 +9,10 @@
 #ifndef KDNSSDSERVICEBROWSER_H
 #define KDNSSDSERVICEBROWSER_H
 
+#include "remoteservice.h"
 #include <QHostAddress>
 #include <QObject>
 
-#include <dnssd/remoteservice.h>
 #include <memory>
 
 namespace KDNSSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/servicemodel.h 
new/kdnssd-5.84.0/src/servicemodel.h
--- old/kdnssd-5.83.0/src/servicemodel.h        2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/src/servicemodel.h        2021-07-03 14:10:58.000000000 
+0200
@@ -9,9 +9,9 @@
 #ifndef KDNSSDSERVICEMODEL_H
 #define KDNSSDSERVICEMODEL_H
 
+#include "kdnssd_export.h"
+#include "remoteservice.h"
 #include <QAbstractItemModel>
-#include <dnssd/kdnssd_export.h>
-#include <dnssd/remoteservice.h>
 #include <memory>
 
 namespace KDNSSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdnssd-5.83.0/src/servicetypebrowser.h 
new/kdnssd-5.84.0/src/servicetypebrowser.h
--- old/kdnssd-5.83.0/src/servicetypebrowser.h  2021-06-05 11:17:03.000000000 
+0200
+++ new/kdnssd-5.84.0/src/servicetypebrowser.h  2021-07-03 14:10:58.000000000 
+0200
@@ -9,9 +9,9 @@
 #ifndef KDNSSDSERVICETYPEBROWSER_H
 #define KDNSSDSERVICETYPEBROWSER_H
 
+#include "remoteservice.h"
 #include <QObject>
 #include <QtContainerFwd>
-#include <dnssd/remoteservice.h>
 #include <memory>
 
 namespace KDNSSD

Reply via email to