Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez-qt for openSUSE:Factory checked in at 2023-03-12 16:22:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bluez-qt (Old) and /work/SRC/openSUSE:Factory/.bluez-qt.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bluez-qt" Sun Mar 12 16:22:36 2023 rev:99 rq:1070856 version:5.104.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bluez-qt/bluez-qt.changes 2023-02-13 16:37:54.282285727 +0100 +++ /work/SRC/openSUSE:Factory/.bluez-qt.new.31432/bluez-qt.changes 2023-03-12 16:22:40.372349122 +0100 @@ -1,0 +2,9 @@ +Mon Mar 6 09:07:35 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Update to 5.104.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.104.0 +- No code change since 5.103.0 + +------------------------------------------------------------------- Old: ---- bluez-qt-5.103.0.tar.xz bluez-qt-5.103.0.tar.xz.sig New: ---- bluez-qt-5.104.0.tar.xz bluez-qt-5.104.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluez-qt.spec ++++++ --- /var/tmp/diff_new_pack.tchovW/_old 2023-03-12 16:22:41.160352592 +0100 +++ /var/tmp/diff_new_pack.tchovW/_new 2023-03-12 16:22:41.164352610 +0100 @@ -18,7 +18,7 @@ %define sonum 6 %define _libname KF5BluezQt -%define _tar_path 5.103 +%define _tar_path 5.104 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -26,7 +26,7 @@ # Only needed for the package signature condition %bcond_without released Name: bluez-qt -Version: 5.103.0 +Version: 5.104.0 Release: 0 Summary: Async Bluez wrapper library License: LGPL-2.1-or-later ++++++ bluez-qt-5.103.0.tar.xz -> bluez-qt-5.104.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/CMakeLists.txt new/bluez-qt-5.104.0/CMakeLists.txt --- old/bluez-qt-5.103.0/CMakeLists.txt 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/CMakeLists.txt 2023-03-04 10:57:52.000000000 +0100 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.103.0") # handled by release scripts +set(KF_VERSION "5.104.0") # handled by release scripts project(BluezQt VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.103.0 NO_MODULE) +find_package(ECM 5.104.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/bluez-qt-5.103.0/autotests/fakebluez/gattmanagerinterface.h new/bluez-qt-5.104.0/autotests/fakebluez/gattmanagerinterface.h --- old/bluez-qt-5.103.0/autotests/fakebluez/gattmanagerinterface.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/autotests/fakebluez/gattmanagerinterface.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef GATTMANAGERINTERFACE_H +#define GATTMANAGERINTERFACE_H #include "object.h" @@ -36,3 +37,5 @@ QString m_service; QVariantMap m_properties; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/autotests/fakebluez/leadvertisingmanagerinterface.h new/bluez-qt-5.104.0/autotests/fakebluez/leadvertisingmanagerinterface.h --- old/bluez-qt-5.103.0/autotests/fakebluez/leadvertisingmanagerinterface.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/autotests/fakebluez/leadvertisingmanagerinterface.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef LEADVERTISINGMANAGERINTERFACE_H +#define LEADVERTISINGMANAGERINTERFACE_H #include "object.h" @@ -32,3 +33,5 @@ QDBusObjectPath m_advertisement; QString m_service; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/autotests/fakebluez/mediainterface.h new/bluez-qt-5.104.0/autotests/fakebluez/mediainterface.h --- old/bluez-qt-5.103.0/autotests/fakebluez/mediainterface.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/autotests/fakebluez/mediainterface.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef MEDIAINTERFACE_H +#define MEDIAINTERFACE_H #include "object.h" @@ -36,3 +37,5 @@ QString m_service; QVariantMap m_properties; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/autotests/fakebluez/mediatransportinterface.h new/bluez-qt-5.104.0/autotests/fakebluez/mediatransportinterface.h --- old/bluez-qt-5.103.0/autotests/fakebluez/mediatransportinterface.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/autotests/fakebluez/mediatransportinterface.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef MEDIATRANSPORTINTERFACE_H +#define MEDIATRANSPORTINTERFACE_H #include "object.h" @@ -40,3 +41,5 @@ void TryAcquire(const QDBusMessage &msg); void Release(); }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/autotests/gattmanagertest.h new/bluez-qt-5.104.0/autotests/gattmanagertest.h --- old/bluez-qt-5.103.0/autotests/gattmanagertest.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/autotests/gattmanagertest.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef GATTMANAGERTEST_H +#define GATTMANAGERTEST_H #include "adapter.h" #include "gattapplication.h" @@ -26,3 +27,5 @@ BluezQt::GattCharacteristic *m_characteristic; BluezQt::AdapterPtr m_adapter; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/autotests/leadvertisingmanagertest.h new/bluez-qt-5.104.0/autotests/leadvertisingmanagertest.h --- old/bluez-qt-5.103.0/autotests/leadvertisingmanagertest.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/autotests/leadvertisingmanagertest.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef LEADVERTISINGMANAGERTEST_H +#define LEADVERTISINGMANAGERTEST_H #include "adapter.h" #include "leadvertisement.h" @@ -35,3 +36,5 @@ TestAdvertisement *m_advertisement; BluezQt::AdapterPtr m_adapter; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/autotests/mediatransporttest.h new/bluez-qt-5.104.0/autotests/mediatransporttest.h --- old/bluez-qt-5.103.0/autotests/mediatransporttest.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/autotests/mediatransporttest.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef MEDIATRANSPORTTEST_H +#define MEDIATRANSPORTTEST_H #include <QList> #include <QObject> @@ -46,3 +47,5 @@ BluezQt::Manager *m_manager; QList<MediaTransportUnit> m_units; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattapplication.h new/bluez-qt-5.104.0/src/gattapplication.h --- old/bluez-qt-5.103.0/src/gattapplication.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattapplication.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTAPPLICATION_H +#define BLUEZQT_GATTAPPLICATION_H #include <QObject> @@ -80,3 +81,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattapplication_p.h new/bluez-qt-5.104.0/src/gattapplication_p.h --- old/bluez-qt-5.103.0/src/gattapplication_p.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattapplication_p.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTAPPLICATION_P_H +#define BLUEZQT_GATTAPPLICATION_P_H #include "bluezqt_dbustypes.h" @@ -28,3 +29,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattcharacteristic.h new/bluez-qt-5.104.0/src/gattcharacteristic.h --- old/bluez-qt-5.103.0/src/gattcharacteristic.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattcharacteristic.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTCHARACTERISTIC_H +#define BLUEZQT_GATTCHARACTERISTIC_H #include "bluezqt_export.h" @@ -90,3 +91,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattcharacteristic_p.h new/bluez-qt-5.104.0/src/gattcharacteristic_p.h --- old/bluez-qt-5.103.0/src/gattcharacteristic_p.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattcharacteristic_p.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTCHARACTERISTIC_P_H +#define BLUEZQT_GATTCHARACTERISTIC_P_H #include "gattcharacteristic.h" @@ -27,3 +28,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattcharacteristicadaptor.h new/bluez-qt-5.104.0/src/gattcharacteristicadaptor.h --- old/bluez-qt-5.103.0/src/gattcharacteristicadaptor.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattcharacteristicadaptor.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTCHARACTERISTICADAPTOR_H +#define BLUEZQT_GATTCHARACTERISTICADAPTOR_H #include <QDBusAbstractAdaptor> @@ -44,3 +45,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattmanager.h new/bluez-qt-5.104.0/src/gattmanager.h --- old/bluez-qt-5.103.0/src/gattmanager.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattmanager.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTMANAGER_H +#define BLUEZQT_GATTMANAGER_H #include <QObject> @@ -90,3 +91,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattmanager_p.h new/bluez-qt-5.104.0/src/gattmanager_p.h --- old/bluez-qt-5.103.0/src/gattmanager_p.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattmanager_p.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTMANAGER_P_H +#define BLUEZQT_GATTMANAGER_P_H #include "bluezgattmanager1.h" @@ -24,3 +25,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattservice.h new/bluez-qt-5.104.0/src/gattservice.h --- old/bluez-qt-5.103.0/src/gattservice.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattservice.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTSERVICE_H +#define BLUEZQT_GATTSERVICE_H #include "bluezqt_export.h" #include "types.h" @@ -77,3 +78,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattservice_p.h new/bluez-qt-5.104.0/src/gattservice_p.h --- old/bluez-qt-5.103.0/src/gattservice_p.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattservice_p.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTSERVICE_P_H +#define BLUEZQT_GATTSERVICE_P_H #include <QDBusObjectPath> @@ -23,3 +24,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattserviceadaptor.h new/bluez-qt-5.104.0/src/gattserviceadaptor.h --- old/bluez-qt-5.103.0/src/gattserviceadaptor.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattserviceadaptor.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_GATTSERVICEADAPTOR_H +#define BLUEZQT_GATTSERVICEADAPTOR_H #include <QDBusAbstractAdaptor> @@ -33,3 +34,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/gattserviceremote.h new/bluez-qt-5.104.0/src/gattserviceremote.h --- old/bluez-qt-5.103.0/src/gattserviceremote.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/gattserviceremote.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,8 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#ifndef BLUEZQT_GATTSERVICE_H -#define BLUEZQT_GATTSERVICE_H +#ifndef BLUEZQT_GATTSERVICEREMOTE_H +#define BLUEZQT_GATTSERVICEREMOTE_H #include <QObject> #include <QMap> @@ -174,4 +174,4 @@ } // namespace BluezQt -#endif // BLUEZQT_GATTSERVICE_H +#endif // BLUEZQT_GATTSERVICEREMOTE_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/mediatransport.h new/bluez-qt-5.104.0/src/mediatransport.h --- old/bluez-qt-5.103.0/src/mediatransport.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/mediatransport.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_MEDIATRANSPORT_H +#define BLUEZQT_MEDIATRANSPORT_H #include <QObject> @@ -125,3 +126,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/mediatransport_p.h new/bluez-qt-5.104.0/src/mediatransport_p.h --- old/bluez-qt-5.103.0/src/mediatransport_p.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/mediatransport_p.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_MEDIATRANSPORT_P_H +#define BLUEZQT_MEDIATRANSPORT_P_H #include "bluezmediatransport1.h" #include "dbusproperties.h" @@ -40,3 +41,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/mediatypes.h new/bluez-qt-5.104.0/src/mediatypes.h --- old/bluez-qt-5.103.0/src/mediatypes.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/mediatypes.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_MEDIATYPES_H +#define BLUEZQT_MEDIATYPES_H namespace BluezQt { @@ -49,3 +50,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/objectmanageradaptor.h new/bluez-qt-5.104.0/src/objectmanageradaptor.h --- old/bluez-qt-5.103.0/src/objectmanageradaptor.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/objectmanageradaptor.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_OBJECTMANAGERADAPTOR_H +#define BLUEZQT_OBJECTMANAGERADAPTOR_H #include <QDBusAbstractAdaptor> @@ -36,3 +37,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/src/tpendingcall.h new/bluez-qt-5.104.0/src/tpendingcall.h --- old/bluez-qt-5.103.0/src/tpendingcall.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/src/tpendingcall.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZQT_TPENDINGCALL_H +#define BLUEZQT_TPENDINGCALL_H #include <QDBusPendingReply> @@ -87,3 +88,5 @@ }; } // namespace BluezQt + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/tests/leserver.h new/bluez-qt-5.104.0/tests/leserver.h --- old/bluez-qt-5.103.0/tests/leserver.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/tests/leserver.h 2023-03-04 10:57:52.000000000 +0100 @@ -4,7 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef LESERVER_H +#define LESERVER_H #include <QObject> @@ -27,3 +28,5 @@ BluezQt::Manager *m_manager; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/tools/bluezapi2qt/CppGenerator.cpp new/bluez-qt-5.104.0/tools/bluezapi2qt/CppGenerator.cpp --- old/bluez-qt-5.103.0/tools/bluezapi2qt/CppGenerator.cpp 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/tools/bluezapi2qt/CppGenerator.cpp 2023-03-04 10:57:52.000000000 +0100 @@ -33,6 +33,7 @@ // Iterate interfaces for (const auto &interface : parser.interfaces()) { auto className = interfaceToClassName(interface.name()); + const QString includeGuard = QLatin1String("BLUEZQT_") + className.toUpper() + QLatin1String("ADAPTOR_H"); // Create file QFile file(className.toLower() + QStringLiteral("adaptor.h")); @@ -44,7 +45,8 @@ // Write content QTextStream stream(&file); writeCopyrightHeader(stream); - stream << "#pragma once\n\n"; + stream << "#ifndef " << includeGuard << "\n"; + stream << "#define " << includeGuard << "\n\n"; stream << "#include <QDBusAbstractAdaptor>\n\n"; stream << "class QDBusObjectPath;\n\n"; stream << "namespace BluezQt\n{\n\n"; @@ -103,7 +105,10 @@ // write private members stream << "\nprivate:\n"; stream << " " << className << " *m_" << lowerFirstChars(className) << ";\n"; - stream << "};\n\n} // namespace BluezQt\n"; + stream << "};\n\n} // namespace BluezQt\n\n"; + + // include guard + stream << "#endif\n"; file.close(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/tools/bluezapi2qt/Parameter.h new/bluez-qt-5.104.0/tools/bluezapi2qt/Parameter.h --- old/bluez-qt-5.103.0/tools/bluezapi2qt/Parameter.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/tools/bluezapi2qt/Parameter.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZAPI2QT_PARAMETER_H +#define BLUEZAPI2QT_PARAMETER_H #include <QString> @@ -22,3 +23,5 @@ QString m_type; QString m_name; }; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bluez-qt-5.103.0/tools/bluezapi2qt/Property.h new/bluez-qt-5.104.0/tools/bluezapi2qt/Property.h --- old/bluez-qt-5.103.0/tools/bluezapi2qt/Property.h 2023-02-05 10:16:59.000000000 +0100 +++ new/bluez-qt-5.104.0/tools/bluezapi2qt/Property.h 2023-03-04 10:57:52.000000000 +0100 @@ -6,7 +6,8 @@ * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ -#pragma once +#ifndef BLUEZAPI2QT_PROPERTY_H +#define BLUEZAPI2QT_PROPERTY_H #include "Comment.h" @@ -41,3 +42,5 @@ friend class Properties; }; + +#endif