Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qt6-mqtt for openSUSE:Factory 
checked in at 2021-03-17 20:14:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-mqtt (Old)
 and      /work/SRC/openSUSE:Factory/.qt6-mqtt.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt6-mqtt"

Wed Mar 17 20:14:27 2021 rev:2 rq:877999 version:6.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-mqtt/qt6-mqtt.changes        2020-12-18 
19:58:47.750024478 +0100
+++ /work/SRC/openSUSE:Factory/.qt6-mqtt.new.2401/qt6-mqtt.changes      
2021-03-17 20:17:53.423148203 +0100
@@ -1,0 +2,12 @@
+Fri Mar  5 09:31:22 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 6.0.2:
+  https://www.qt.io/blog/qt-6.0.2-released
+
+-------------------------------------------------------------------
+Thu Feb  4 07:52:35 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 6.0.1
+  https://code.qt.io/cgit/qt/qtreleasenotes.git/tree/qt/6.0.1/release-note.txt
+
+-------------------------------------------------------------------

Old:
----
  qtmqtt-6.0.0.tar.xz

New:
----
  qtmqtt-6.0.2.tar.xz

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

Other differences:
------------------
++++++ qt6-mqtt.spec ++++++
--- /var/tmp/diff_new_pack.6ynPT0/_old  2021-03-17 20:17:54.035149039 +0100
+++ /var/tmp/diff_new_pack.6ynPT0/_new  2021-03-17 20:17:54.039149044 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qt6-mqtt
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%define real_version 6.0.0
+%define real_version 6.0.2
 %define short_version 6.0
 %define tar_name qtmqtt
 %define tar_suffix %{nil}
@@ -27,9 +27,9 @@
 %endif
 #
 Name:           qt6-mqtt%{?pkg_suffix}
-Version:        6.0.0
+Version:        6.0.2
 Release:        0
-Summary:        Qt 6 MQTT library
+Summary:        Qt 6 Module to implement MQTT protocol version 3.1 and 3.1.1
 License:        GPL-3.0-only WITH Qt-GPL-exception-1.0
 URL:            https://www.qt.io
 Source:         %{tar_name}-%{real_version}%{tar_suffix}.tar.xz
@@ -50,7 +50,7 @@
 %endif
 
 %description
-Qt library to implement MQTT protocol version 3.1 and 3.1.1
+Qt 6 Module to implement MQTT protocol version 3.1 and 3.1.1
 
 %if !%{qt6_docs_flavor}
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.6ynPT0/_old  2021-03-17 20:17:54.087149110 +0100
+++ /var/tmp/diff_new_pack.6ynPT0/_new  2021-03-17 20:17:54.087149110 +0100
@@ -1,9 +1,9 @@
 <services>
   <service name="tar_scm" mode="disabled">
    <param name="changesgenerate">disable</param>
-   <param name="version">6.0.0</param>
+   <param name="version">6.0.2</param>
    <param name="url">git://code.qt.io/qt/qtmqtt.git</param>
-   <param name="revision">v6.0.0</param>
+   <param name="revision">v6.0.2</param>
    <param name="scm">git</param>
    <param name="filename">qtmqtt</param>
   </service>

++++++ qtmqtt-6.0.0.tar.xz -> qtmqtt-6.0.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-6.0.0/.cmake.conf new/qtmqtt-6.0.2/.cmake.conf
--- old/qtmqtt-6.0.0/.cmake.conf        2020-12-07 06:26:25.000000000 +0100
+++ new/qtmqtt-6.0.2/.cmake.conf        2021-02-25 07:09:10.000000000 +0100
@@ -1 +1 @@
-set(QT_REPO_MODULE_VERSION "6.0.0")
+set(QT_REPO_MODULE_VERSION "6.0.2")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-6.0.0/.qmake.conf new/qtmqtt-6.0.2/.qmake.conf
--- old/qtmqtt-6.0.0/.qmake.conf        2020-12-07 06:26:25.000000000 +0100
+++ new/qtmqtt-6.0.2/.qmake.conf        2021-02-25 07:09:10.000000000 +0100
@@ -3,4 +3,4 @@
 
 DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS
 
-MODULE_VERSION = 6.0.0
+MODULE_VERSION = 6.0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-6.0.0/conanfile.py 
new/qtmqtt-6.0.2/conanfile.py
--- old/qtmqtt-6.0.0/conanfile.py       1970-01-01 01:00:00.000000000 +0100
+++ new/qtmqtt-6.0.2/conanfile.py       2021-02-25 07:09:10.000000000 +0100
@@ -0,0 +1,129 @@
+#############################################################################
+##
+## Copyright (C) 2021 The Qt Company Ltd.
+## Contact: https://www.qt.io/licensing/
+##
+## This file is part of the release tools of the Qt Toolkit.
+##
+## $QT_BEGIN_LICENSE:GPL-EXCEPT$
+## Commercial License Usage
+## Licensees holding valid commercial Qt licenses may use this file in
+## accordance with the commercial license agreement provided with the
+## Software or, alternatively, in accordance with the terms contained in
+## a written agreement between you and The Qt Company. For licensing terms
+## and conditions see https://www.qt.io/terms-conditions. For further
+## information use the contact form at https://www.qt.io/contact-us.
+##
+## GNU General Public License Usage
+## Alternatively, this file may be used under the terms of the GNU
+## General Public License version 3 as published by the Free Software
+## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+## included in the packaging of this file. Please review the following
+## information to ensure the GNU General Public License requirements will
+## be met: https://www.gnu.org/licenses/gpl-3.0.html.
+##
+## $QT_END_LICENSE$
+##
+#############################################################################
+
+from conans import ConanFile, tools, CMake
+import os
+
+
+class QtConanError(Exception):
+    pass
+
+
+class QtMQTT(ConanFile):
+    name = "qtmqtt"
+    version = "6.0.2"
+    license = "GPL-3.0+, Commercial Qt License Agreement"
+    author = "The Qt Company <https://www.qt.io/contact-us>"
+    url = "https://code.qt.io/cgit/qt/qtmqtt.git";
+    description = "Qt MQTT is a machine-to-machine (M2M) protocol utilizing 
the publish-and-subscribe paradigm."
+    topics = ("qt", "qt6", "MQTT", "M2M")
+    settings = "os", "compiler", "build_type", "arch"
+    options = {"shared": [True, False],
+               "qt6": "ANY"}  # this is needed to model unique package_id for 
the Add-on build per used Qt6 version
+    default_options = {"shared": False,
+                       "qt6": None}
+    exports_sources = "*", "!conan*.*"
+
+    def source(self):
+        # sources are installed next to recipe, no need to clone etc. sources 
here
+        pass
+
+    def _get_cmake_prefix_path(self):
+        # 'QT_PATH' provided as env variable in profile file which is part of 
the Qt essential binary
+        # package(s). Installed under .conan/profiles
+        cmake_prefix_path = os.environ.get("QT_PATH")
+        if not cmake_prefix_path:
+            raise QtConanError("'QT_PATH' not defined! The 'QT_PATH' needs to 
point to Qt installation directory.")
+        print(f"CMAKE_PREFIX_PATH for '{self.name}/{self.version}' build is: 
{cmake_prefix_path}")
+        return cmake_prefix_path
+
+    def _read_env(self, key):
+        value = os.environ.get(key)
+        if not value:
+            raise QtConanError(f"{self.settings.os} build specified but 
'{key}' was not defined?")
+        return value
+
+    def _get_qtcmake(self):
+        qt_install_path = self._get_cmake_prefix_path()
+        ext = ".bat" if tools.os_info.is_windows else ""
+        qtcmake = os.path.abspath(os.path.join(qt_install_path, "bin", 
"qt-cmake" + ext))
+        if not os.path.exists(qtcmake):
+            raise QtConanError(f"Unable to locate {qtcmake} from 'QT_PATH': 
{qt_install_path}")
+        return qtcmake
+
+    def _get_cmake_tool(self):
+        cmake = CMake(self, cmake_program=self._get_qtcmake())
+        cmake.verbose = True
+
+        # Qt modules need to be 'installed'.
+        # We need to direct the 'make install' to some directory under Conan 
cache,
+        # place it under the current build directory which is also under the 
Conan cache.
+        # Note, the actual 'make install' is called in "package()".
+        install_dir = os.path.join(os.getcwd(), "_install_tmp")
+        cmake.definitions["CMAKE_INSTALL_PREFIX"] = install_dir
+
+        cmake_toolchain_file = os.environ.get("CMAKE_TOOLCHAIN_FILE")
+        if cmake_toolchain_file:
+            cmake.definitions["CMAKE_TOOLCHAIN_FILE"] = cmake_toolchain_file
+
+        if self.settings.os == "Android":
+            cmake.definitions["ANDROID_SDK_ROOT"] = 
self._read_env('ANDROID_SDK_ROOT')
+            cmake.definitions["ANDROID_NDK_ROOT"] = 
self._read_env('ANDROID_NDK_ROOT')
+
+        if self.settings.os == "iOS":
+            # Instead of Conan's auto-added 'Darwin', explicitly pass 'iOS'.
+            cmake.definitions["CMAKE_SYSTEM_NAME"] = "iOS"
+
+            # Remove the explicit sysroot, let CMake detect the sysroots, to 
ensure
+            # that multi-arch builds work.
+            del cmake.definitions["CMAKE_OSX_SYSROOT"]
+
+            # Remove the conan provided architecture, instead rely on the 
architectures set
+            # by the Qt toolchain file, which with official Qt packages most 
likely means
+            # multi-arch iOS.
+            del cmake.definitions["CMAKE_OSX_ARCHITECTURES"]
+
+        return cmake
+
+    def build(self):
+        cmake = self._get_cmake_tool()
+        self.run('%s "%s" %s' % (self._get_qtcmake(), self.source_folder, 
cmake.command_line))
+        self.run('cmake --build . %s' % cmake.build_config)
+
+    def package(self):
+        install_dir = os.path.join(os.getcwd(), "_install_tmp")  # see 
'CMAKE_INSTALL_PREFIX' above
+        self.run('cmake --build . --target install')
+        self.copy("*", src=install_dir, dst=".")
+
+    def package_info(self):
+        self.cpp_info.libs = ["Qt6Mqtt"]  # used for the actual library 
filename, Ordered list with the library names
+
+    def deploy(self):
+        self.copy("*")  # copy from current package
+        self.copy_deps("*")  # copy from dependencies
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-6.0.0/dependencies.yaml 
new/qtmqtt-6.0.2/dependencies.yaml
--- old/qtmqtt-6.0.0/dependencies.yaml  2020-12-07 06:26:25.000000000 +0100
+++ new/qtmqtt-6.0.2/dependencies.yaml  2021-02-25 07:09:10.000000000 +0100
@@ -1,10 +1,10 @@
 dependencies:
   ../qtbase:
-    ref: fc9cda5f08ac848e88f63dd4a07c08b2fbc6bf17
+    ref: 723077eb3529810aa3b99d8c06f9b81a586763c9
     required: true
   ../qtdeclarative:
-    ref: fa87052d56526e1529e694fb1c69c69eec38f2fd
+    ref: da46b97ed5a56ce3db8e903053dd10bb9b7d2904
     required: false
   ../qttools:
-    ref: 3fd594493c3ba31639a7515b901554456a90b4c7
+    ref: e9c0625d07ed4d476cd8fdba4cfb4d2509f46317
     required: true

Reply via email to