diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-21 21:31:55 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-21 21:38:01 +0200 |
commit | 48f8a9c9e5852eb69432262f9cbf3df4eefc72cb (patch) | |
tree | 36640868e44ccca10f94b67a698f2c0345e742e5 /kde-apps/pimcommon | |
parent | profiles/arch/arm: Add Rust-related masks for Python packages (diff) | |
download | gentoo-48f8a9c9e5852eb69432262f9cbf3df4eefc72cb.tar.gz gentoo-48f8a9c9e5852eb69432262f9cbf3df4eefc72cb.tar.bz2 gentoo-48f8a9c9e5852eb69432262f9cbf3df4eefc72cb.zip |
kde-apps/pimcommon: Add missing patches
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/pimcommon')
-rw-r--r-- | kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-1.patch | 131 | ||||
-rw-r--r-- | kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-2.patch | 38 |
2 files changed, 169 insertions, 0 deletions
diff --git a/kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-1.patch b/kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-1.patch new file mode 100644 index 000000000000..d2ffd9c1d3e3 --- /dev/null +++ b/kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-1.patch @@ -0,0 +1,131 @@ +From 9acb24cc6c35a98d90da94a72c13ca5b20c88b26 Mon Sep 17 00:00:00 2001 +From: Laurent Montel <montel@kde.org> +Date: Tue, 15 Mar 2022 07:00:44 +0100 +Subject: [PATCH] not used now (kpimprintpreviewdialog) + +--- + src/pimcommon/CMakeLists.txt | 3 -- + .../widgets/kpimprintpreviewdialog.cpp | 44 ------------------- + .../widgets/kpimprintpreviewdialog.h | 31 ------------- + 3 files changed, 78 deletions(-) + delete mode 100644 src/pimcommon/widgets/kpimprintpreviewdialog.cpp + delete mode 100644 src/pimcommon/widgets/kpimprintpreviewdialog.h + +diff --git a/src/pimcommon/CMakeLists.txt b/src/pimcommon/CMakeLists.txt +index 7af8744..349d2f4 100644 +--- a/src/pimcommon/CMakeLists.txt ++++ b/src/pimcommon/CMakeLists.txt +@@ -99,7 +99,6 @@ target_sources(KF5PimCommon PRIVATE + widgets/configureimmutablewidgetutils.cpp + widgets/kactionmenuchangecase.cpp + widgets/spellchecklineedit.cpp +- widgets/kpimprintpreviewdialog.cpp + widgets/lineeditwithcompleterng.cpp + widgets/customlogwidget.cpp + customtools/customtoolsplugin.cpp +@@ -143,7 +142,6 @@ target_sources(KF5PimCommon PRIVATE + translator/translatorwidget.h + translator/translatorutil.h + widgets/renamefiledialog.h +- widgets/kpimprintpreviewdialog.h + widgets/spellchecklineedit.h + widgets/customtreeview.h + widgets/lineeditwithcompleterng.h +@@ -376,7 +374,6 @@ ecm_generate_headers(PimCommon_Camelcasewidgets_HEADERS + RenameFileDialog + SimpleStringListEditor + KActionMenuChangeCase +- KPimPrintPreviewDialog + LineEditWithCompleterNg + CustomLogWidget + PurposeMenuWidget +diff --git a/src/pimcommon/widgets/kpimprintpreviewdialog.cpp b/src/pimcommon/widgets/kpimprintpreviewdialog.cpp +deleted file mode 100644 +index 8717ecf..0000000 +--- a/src/pimcommon/widgets/kpimprintpreviewdialog.cpp ++++ /dev/null +@@ -1,44 +0,0 @@ +-/* +- SPDX-FileCopyrightText: 2015-2022 Laurent Montel <montel@kde.org> +- +- SPDX-License-Identifier: GPL-2.0-or-later +-*/ +- +-#include "kpimprintpreviewdialog.h" +-#include <KConfigGroup> +-#include <KSharedConfig> +- +-using namespace PimCommon; +- +-KPimPrintPreviewDialog::KPimPrintPreviewDialog(QWidget *parent) +- : QPrintPreviewDialog(parent) +-{ +- readConfig(); +-} +- +-KPimPrintPreviewDialog::KPimPrintPreviewDialog(QPrinter *printer, QWidget *parent) +- : QPrintPreviewDialog(printer, parent) +-{ +- readConfig(); +-} +- +-KPimPrintPreviewDialog::~KPimPrintPreviewDialog() +-{ +- writeConfig(); +-} +- +-void KPimPrintPreviewDialog::readConfig() +-{ +- KConfigGroup group(KSharedConfig::openStateConfig(), "KPimPrintPreviewDialog"); +- const QSize size = group.readEntry("Size", QSize(800, 600)); +- if (size.isValid()) { +- resize(size); +- } +-} +- +-void KPimPrintPreviewDialog::writeConfig() +-{ +- KConfigGroup group(KSharedConfig::openStateConfig(), "KPimPrintPreviewDialog"); +- group.writeEntry("Size", size()); +- group.sync(); +-} +diff --git a/src/pimcommon/widgets/kpimprintpreviewdialog.h b/src/pimcommon/widgets/kpimprintpreviewdialog.h +deleted file mode 100644 +index 978939a..0000000 +--- a/src/pimcommon/widgets/kpimprintpreviewdialog.h ++++ /dev/null +@@ -1,31 +0,0 @@ +-/* +- SPDX-FileCopyrightText: 2015-2022 Laurent Montel <montel@kde.org> +- +- SPDX-License-Identifier: GPL-2.0-or-later +-*/ +- +-#pragma once +- +-#include "pimcommon_export.h" +-#include <QPrintPreviewDialog> +- +-namespace PimCommon +-{ +-/** +- * @brief The KPimPrintPreviewDialog class +- * @author Laurent Montel <montel@kde.org> +- */ +-class PIMCOMMON_EXPORT KPimPrintPreviewDialog : public QPrintPreviewDialog +-{ +- Q_OBJECT +-public: +- explicit KPimPrintPreviewDialog(QWidget *parent = nullptr); +- explicit KPimPrintPreviewDialog(QPrinter *printer, QWidget *parent = nullptr); +- ~KPimPrintPreviewDialog() override; +- +-private: +- void readConfig(); +- void writeConfig(); +-}; +-} +- +-- +GitLab + diff --git a/kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-2.patch b/kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-2.patch new file mode 100644 index 000000000000..bba55e966e95 --- /dev/null +++ b/kde-apps/pimcommon/files/pimcommon-22.03.80-unused-dep-2.patch @@ -0,0 +1,38 @@ +From 9fd75aab1bcb4a3be256cfd1a2730027d912b79b Mon Sep 17 00:00:00 2001 +From: Volker Krause <vkrause@kde.org> +Date: Tue, 15 Mar 2022 18:26:59 +0100 +Subject: [PATCH] Remove the now unused Qt::PrintSupport dependency + +--- + CMakeLists.txt | 2 +- + src/pimcommon/CMakeLists.txt | 1 - + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 43e0c39..9d9cb8e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -46,7 +46,7 @@ set(KLDAP_LIB_VERSION "5.19.80") + set(AKONADICONTACT_LIB_VERSION "5.19.80") + set(AKONADI_VERSION "5.19.80") + +-find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets DBus Network Test Xml PrintSupport) ++find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets DBus Network Test Xml) + + find_package(KF5Archive ${KF5_MIN_VERSION} CONFIG REQUIRED) + find_package(KF5Codecs ${KF5_MIN_VERSION} CONFIG REQUIRED) +diff --git a/src/pimcommon/CMakeLists.txt b/src/pimcommon/CMakeLists.txt +index 349d2f4..beeef6f 100644 +--- a/src/pimcommon/CMakeLists.txt ++++ b/src/pimcommon/CMakeLists.txt +@@ -201,7 +201,6 @@ target_link_libraries(KF5PimCommon + KF5::NewStuff + KF5::XmlGui + KF5::KIOWidgets +- Qt${QT_MAJOR_VERSION}::PrintSupport + KF5::ItemViews + KF5::NewStuff + ) +-- +GitLab + |