diff --git a/desktop/kde/applications/kreport/files/5d3053ea.patch b/desktop/kde/applications/kreport/files/5d3053ea.patch new file mode 100644 index 0000000000..8d5b26bee0 --- /dev/null +++ b/desktop/kde/applications/kreport/files/5d3053ea.patch @@ -0,0 +1,120 @@ +From 5d3053ea78b349b81b7a562974ad78f93d169791 Mon Sep 17 00:00:00 2001 +From: Jaroslaw Staniek +Date: Tue, 16 Jun 2020 21:59:12 +0200 +Subject: [PATCH] Fix build with GCC 10 (make KReportGroupTracker use C++ file) + +BUG:422886 +CCMAIL:adam@piggz.co.uk + +FIXED-IN:3.2.1 +--- + src/CMakeLists.txt | 5 +--- + .../scripting/KReportGroupTracker.cpp | 26 +++++++++++++++++++ + src/renderer/scripting/KReportGroupTracker.h | 25 +++++++++++++++--- + 3 files changed, 48 insertions(+), 8 deletions(-) + create mode 100644 src/renderer/scripting/KReportGroupTracker.cpp + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 1cf0b389..65bcf6e5 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -106,6 +106,7 @@ set(kreport_TARGET_INCLUDE_DIRS + + if(KREPORT_SCRIPTING) + list(APPEND kreport_LIB_SRCS ++ renderer/scripting/KReportGroupTracker.cpp + renderer/scripting/KReportScriptHandler.cpp + renderer/scripting/KReportScriptConstants.cpp + renderer/scripting/KReportScriptDebug.cpp +@@ -133,10 +134,6 @@ if(KREPORT_SCRIPTING) + items/text/KReportScriptText.cpp + ) + +- qt_wrap_cpp(KReport kreport_LIB_SRCS +- renderer/scripting/KReportGroupTracker.h +- ) +- + list(APPEND kreport_INCLUDE_DIRS + ${CMAKE_CURRENT_SOURCE_DIR}/renderer/scripting + ) +diff --git a/src/renderer/scripting/KReportGroupTracker.cpp b/src/renderer/scripting/KReportGroupTracker.cpp +new file mode 100644 +index 00000000..9274d4a5 +--- /dev/null ++++ b/src/renderer/scripting/KReportGroupTracker.cpp +@@ -0,0 +1,26 @@ ++/* This file is part of the KDE project ++ * Copyright (C) 2015 by Adam Pigg (adam@piggz.co.uk) ++ * ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Lesser General Public ++ * License as published by the Free Software Foundation; either ++ * version 2.1 of the License, or (at your option) any later version. ++ * ++ * This library is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * Lesser General Public License for more details. ++ * ++ * You should have received a copy of the GNU Lesser General Public ++ * License along with this library. If not, see . ++ */ ++ ++#include "KReportGroupTracker.h" ++ ++KReportGroupTracker::KReportGroupTracker() ++{ ++} ++ ++KReportGroupTracker::~KReportGroupTracker() ++{ ++} +diff --git a/src/renderer/scripting/KReportGroupTracker.h b/src/renderer/scripting/KReportGroupTracker.h +index e434e05a..4c0852ea 100644 +--- a/src/renderer/scripting/KReportGroupTracker.h ++++ b/src/renderer/scripting/KReportGroupTracker.h +@@ -1,3 +1,20 @@ ++/* This file is part of the KDE project ++ * Copyright (C) 2015 by Adam Pigg (adam@piggz.co.uk) ++ * ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Lesser General Public ++ * License as published by the Free Software Foundation; either ++ * version 2.1 of the License, or (at your option) any later version. ++ * ++ * This library is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * Lesser General Public License for more details. ++ * ++ * You should have received a copy of the GNU Lesser General Public ++ * License along with this library. If not, see . ++ */ ++ + #ifndef KREPORTGROUPTRACKER_H + #define KREPORTGROUPTRACKER_H + +@@ -7,16 +24,16 @@ + /*! + * @brief Keeps track of groups as the data for the group changes + */ +-class KREPORT_EXPORT KReportGroupTracker : public QObject { ++class KREPORT_EXPORT KReportGroupTracker : public QObject ++{ + Q_OBJECT + + protected: +- KReportGroupTracker() {} +- ~KReportGroupTracker() override{} ++ KReportGroupTracker(); ++ ~KReportGroupTracker() override; + + public: + Q_SLOT virtual void setGroupData(const QMap &groupData) = 0; + }; + + #endif // KREPORTGROUPTRACKER_H +- +-- +GitLab + diff --git a/desktop/kde/applications/kreport/pspec.xml b/desktop/kde/applications/kreport/pspec.xml index 5e12112cae..9b1d46da1d 100755 --- a/desktop/kde/applications/kreport/pspec.xml +++ b/desktop/kde/applications/kreport/pspec.xml @@ -10,6 +10,7 @@ app:console A framework for creation and generation of reports in multiple formats A framework for creation and generation of reports in multiple formats + https://download.kde.org/stable/kreport/src/kreport-3.2.0.tar.xz extra-cmake-modules qt5-base-devel @@ -17,15 +18,17 @@ qt5-webkit-devel qt5-linguist kproperty-devel - kconfig-devel - kguiaddons-devel - kwidgetsaddons-devel - kcoreaddons-devel - marble-devel - ki18n-devel + kconfig5-devel + kguiaddons5-devel + kwidgetsaddons5-devel + kcoreaddons5-devel + + ki18n5-devel qt5-webengine-devel - https://download.kde.org/stable/kreport/src/kreport-3.2.0.tar.xz + + 5d3053ea.patch + @@ -33,13 +36,13 @@ A framework for creation and generation of reports in multiple formats libgcc - marble - kconfig + + kconfig5 qt5-base kproperty qt5-webkit - kcoreaddons - kwidgetsaddons + kcoreaddons5 + kwidgetsaddons5 qt5-declarative qt5-webengine @@ -68,300 +71,13 @@ - - 2023-12-07 + + 2025-01-25 3.2.0 Rebuild Mustafa Cinasal muscnsl@gmail.com - - 2023-10-27 - 3.2.0 - Rebuild - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 3.2.0 - Rebuild - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 3.2.0 - Rebuild - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-06-21 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-01-10 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-13 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-22 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 3.2.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-14 - 3.1.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-11 - 3.1.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 3.1.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-11 - 3.1.0 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 3.1.0 - Version Bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-09-10 - 3.1.0 - Version Bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 3.0.2 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-15 - 3.0.2 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-25 - 3.0.2 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-23 - 3.0.2 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-02-03 - 3.0.2 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-12-16 - 3.0.2 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 3.0.2 - Rebuild. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-14 - 3.0.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-06-30 - 3.0.1 - Release bump. - Kamil Atlı - suvari@pisilinux.org - 2016-12-31 3.0.0