Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-sensors for openSUSE:Factory checked in at 2023-10-13 23:14:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-sensors (Old) and /work/SRC/openSUSE:Factory/.qt6-sensors.new.20540 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-sensors" Fri Oct 13 23:14:28 2023 rev:18 rq:1116951 version:6.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-sensors/qt6-sensors.changes 2023-10-02 20:07:46.337622239 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-sensors.new.20540/qt6-sensors.changes 2023-10-13 23:15:14.252248055 +0200 @@ -1,0 +2,6 @@ +Tue Oct 10 09:39:59 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Update to 6.6.0 + * https://www.qt.io/blog/qt-6.6-released + +------------------------------------------------------------------- Old: ---- qtsensors-everywhere-src-6.5.3.tar.xz New: ---- qtsensors-everywhere-src-6.6.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-sensors.spec ++++++ --- /var/tmp/diff_new_pack.0vd49M/_old 2023-10-13 23:15:14.944273155 +0200 +++ /var/tmp/diff_new_pack.0vd49M/_new 2023-10-13 23:15:14.944273155 +0200 @@ -16,8 +16,8 @@ # -%define real_version 6.5.3 -%define short_version 6.5 +%define real_version 6.6.0 +%define short_version 6.6 %define short_name qtsensors %define tar_name qtsensors-everywhere-src %define tar_suffix %{nil} @@ -28,7 +28,7 @@ %endif # Name: qt6-sensors%{?pkg_suffix} -Version: 6.5.3 +Version: 6.6.0 Release: 0 Summary: Qt Sensors API to access sensor hardware License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) ++++++ qtsensors-everywhere-src-6.5.3.tar.xz -> qtsensors-everywhere-src-6.6.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/.cmake.conf new/qtsensors-everywhere-src-6.6.0/.cmake.conf --- old/qtsensors-everywhere-src-6.5.3/.cmake.conf 2023-09-24 11:45:44.000000000 +0200 +++ new/qtsensors-everywhere-src-6.6.0/.cmake.conf 2023-10-03 20:26:46.000000000 +0200 @@ -1,3 +1,3 @@ -set(QT_REPO_MODULE_VERSION "6.5.3") +set(QT_REPO_MODULE_VERSION "6.6.0") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/.tag new/qtsensors-everywhere-src-6.6.0/.tag --- old/qtsensors-everywhere-src-6.5.3/.tag 2023-09-24 11:45:44.000000000 +0200 +++ new/qtsensors-everywhere-src-6.6.0/.tag 2023-10-03 20:26:46.000000000 +0200 @@ -1 +1 @@ -2d8421f2e3d16e40b629939d1aa57aeb62adf6a8 +9e54af12a4764ac2b72e9842974811f4772d26a7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/coin/axivion/ci_config_linux.json new/qtsensors-everywhere-src-6.6.0/coin/axivion/ci_config_linux.json --- old/qtsensors-everywhere-src-6.5.3/coin/axivion/ci_config_linux.json 1970-01-01 01:00:00.000000000 +0100 +++ new/qtsensors-everywhere-src-6.6.0/coin/axivion/ci_config_linux.json 2023-10-03 20:26:46.000000000 +0200 @@ -0,0 +1,63 @@ +{ + "Project": { + "Git": { + "_active": true, + "sourceserver_gitdir": "/data/axivion/databases/$(env:TESTED_MODULE_COIN).git" + }, + "BuildSystemIntegration": { + "child_order": [ + "GCCSetup", + "CMake", + "LinkLibraries" + ] + }, + "CMake": { + "_active": true, + "_copy_from": "CMakeIntegration", + "build_environment": {}, + "build_options": "-j4", + "generate_options": "--fresh", + "generator": "Ninja" + }, + "GCCSetup": { + "_active": true, + "_copy_from": "Command", + "build_command": "gccsetup --cc gcc --cxx g++ --config ../../../axivion/" + }, + "LinkLibraries": { + "_active": true, + "_copy_from": "AxivionLinker", + "input_files": [ + "build/lib/lib*.so*.ir", + "build/qml/*/lib*.so*.ir" + ], + "ir": "build/$(env:TESTED_MODULE_COIN).ir", + "plugin_files": [ + "build/plugins/*/lib*.so*.ir" + ] + }, + "Project-GlobalOptions": { + "directory": "../work/qt/$(env:TESTED_MODULE_COIN)", + "ir": "build/$(env:TESTED_MODULE_COIN).ir", + "name": "qt_$(env:TESTED_MODULE_COIN)_dev_$(env:TARGET_OS_COIN)" + } + }, + "Results": { + "Dashboard": { + "dashboard_url": "https://axivion-srv.ci.qt.io/axivion/" + }, + "Database": { + "ci_mode": { + "directory": "/data/axivion/databases" + } + } + }, + "_Format": "1.0", + "_Version": "trunk-9e0ef9c5818", + "_VersionNum": [ + 7, + 6, + 9999, + 11489 + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/dependencies.yaml new/qtsensors-everywhere-src-6.6.0/dependencies.yaml --- old/qtsensors-everywhere-src-6.5.3/dependencies.yaml 2023-09-24 11:45:44.000000000 +0200 +++ new/qtsensors-everywhere-src-6.6.0/dependencies.yaml 2023-10-03 20:26:46.000000000 +0200 @@ -1,7 +1,7 @@ dependencies: ../qtbase: - ref: 372eaedc5b8c771c46acc4c96e91bbade4ca3624 + ref: 33f5e985e480283bb0ca9dea5f82643e825ba87c required: true ../qtdeclarative: - ref: e00c258fa5a4e122636d441967dea035865fac5d + ref: e559d5cf2b66c4a973f83f173d57676a21d287ef required: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/src/sensors/CMakeLists.txt new/qtsensors-everywhere-src-6.6.0/src/sensors/CMakeLists.txt --- old/qtsensors-everywhere-src-6.5.3/src/sensors/CMakeLists.txt 2023-09-24 11:45:44.000000000 +0200 +++ new/qtsensors-everywhere-src-6.6.0/src/sensors/CMakeLists.txt 2023-10-03 20:26:46.000000000 +0200 @@ -77,7 +77,7 @@ if(ANDROID) set_property(TARGET Sensors APPEND PROPERTY QT_ANDROID_LIB_DEPENDENCIES - plugins/sensors/libplugins_sensors_qtsensors_android.so + ${INSTALL_PLUGINSDIR}/sensors/libplugins_sensors_qtsensors_android.so ) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/src/sensors/doc/snippets/sensors/tutorial.cpp new/qtsensors-everywhere-src-6.6.0/src/sensors/doc/snippets/sensors/tutorial.cpp --- old/qtsensors-everywhere-src-6.5.3/src/sensors/doc/snippets/sensors/tutorial.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/qtsensors-everywhere-src-6.6.0/src/sensors/doc/snippets/sensors/tutorial.cpp 2023-10-03 20:26:46.000000000 +0200 @@ -0,0 +1,25 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +//! [MySensor] +class MyReadingPrivate; + +class MyReading : public QSensorReading + { + Q_OBJECT + Q_PROPERTY(qreal myprop READ myprop) + DECLARE_READING(MyReading) +public: + qreal myprop() const; + void setMyprop(qreal myprop); + }; + +class MySensor : public QSensor +{ + Q_OBJECT +public: + explicit MySensor(QObject *parent = 0); + MyReading *reading() const; + static char const * const sensorType; + }; +//! [MySensor] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/src/sensors/doc/src/qtsensors-tutorial.qdoc new/qtsensors-everywhere-src-6.6.0/src/sensors/doc/src/qtsensors-tutorial.qdoc --- old/qtsensors-everywhere-src-6.5.3/src/sensors/doc/src/qtsensors-tutorial.qdoc 1970-01-01 01:00:00.000000000 +0100 +++ new/qtsensors-everywhere-src-6.6.0/src/sensors/doc/src/qtsensors-tutorial.qdoc 2023-10-03 20:26:46.000000000 +0200 @@ -0,0 +1,36 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only + +/*! + \page qtsensors-tutorial.html + \title How to create your own Sensor + \brief Steps for creating your own sensors + + The Qt Sensors module provides access to sensor hardware via QML and C++ + interfaces. + + The API is supported on \l{Qt for Android}{Android}, \l{Qt for iOS}{iOS}, and + \l {Qt for Windows}{Windows (MSVC)}. + + \section1 Creating your own sensor using C++ API + + Using a Qt module's C++ API requires linking against the module library, either + directly or through other dependencies. + \section2 Creating a sensor + + To create your own sensor you can use the following steps: + + \list + \li Create your own MySensor and MySensorReading classes + \snippet sensors/tutorial.cpp MySensor + \li Create a MySensorBackend by inheriting from QSensorBackend + \li Create MySensorBackendFactory factory class for instantiating that + backend by inheriting a class QSensorBackendFactory + \li Register the backend factory by calling + QSensorManager::registerBackend ("MySensorType", "MySensorId", &myfactory) + \li Instantiate the new MySensor and start using it + \endlist + + As an another option the sensors are put into a \l {Creating a sensor plugin} + that you can use on demand. +*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtsensors-everywhere-src-6.5.3/src/sensors/doc/src/qtsensors.qdoc new/qtsensors-everywhere-src-6.6.0/src/sensors/doc/src/qtsensors.qdoc --- old/qtsensors-everywhere-src-6.5.3/src/sensors/doc/src/qtsensors.qdoc 2023-09-24 11:45:44.000000000 +0200 +++ new/qtsensors-everywhere-src-6.6.0/src/sensors/doc/src/qtsensors.qdoc 2023-10-03 20:26:46.000000000 +0200 @@ -38,6 +38,7 @@ \li \l {Generic Backend} {Generic Backend} \li \l {Qt Sensors Backend} \li \l {Compatibility Map} {Compatibility Map} + \li \l {How to create your own Sensor} \endlist \section1 Examples