summaryrefslogtreecommitdiff
path: root/kde-apps/calendarsupport
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /kde-apps/calendarsupport
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'kde-apps/calendarsupport')
-rw-r--r--kde-apps/calendarsupport/Manifest5
-rw-r--r--kde-apps/calendarsupport/calendarsupport-20.08.3.ebuild49
-rw-r--r--kde-apps/calendarsupport/calendarsupport-20.12.2.ebuild2
-rw-r--r--kde-apps/calendarsupport/files/calendarsupport-20.08.3-qt-5.15.2.patch229
4 files changed, 2 insertions, 283 deletions
diff --git a/kde-apps/calendarsupport/Manifest b/kde-apps/calendarsupport/Manifest
index b60db719a9dd..981467e62df3 100644
--- a/kde-apps/calendarsupport/Manifest
+++ b/kde-apps/calendarsupport/Manifest
@@ -1,6 +1,3 @@
-AUX calendarsupport-20.08.3-qt-5.15.2.patch 9234 BLAKE2B 6c4e33ba2f28077d68f660539b210597bf915559125b8b9078554e2d559443a0edfcfabcfc67328e5c5f20145d1182de1cab3a95e11b2845d902de8e3a880107 SHA512 ab4428b95fefd022bea802eacf312ee2cc0a143d44728d840d16e2634d01bc87ce63070ff82c19fcf3d07a682c1cad7e1320feeba96b5837291a4421d27d0fe8
-DIST calendarsupport-20.08.3.tar.xz 661708 BLAKE2B cf7ef77afe14db2e5eddd48617f47f3d32c93b6d2697ed35f8dfacb73ca50d39e04ab459f8fb5ba18f48068034828c5d6fdd1af2604ae97586bfa4bac33b3029 SHA512 dc1f1eb8b633f19edf841e9b4d50b78afea9297918a4b3d8bab47352b53caec2737566504c9487fe1e36a01873e6e4bda8e257f997742d244d276992ddcc77f5
DIST calendarsupport-20.12.2.tar.xz 665200 BLAKE2B dbaf358e0295c27f663b87f91598a4aae6449f37bd470648f8416c69e654b8db39a37c9429c32ba204232118e7dc67cf3a1ef7927fdc2b84a04812620e0499f8 SHA512 63878598f52634e6dcd4aca527dd3f6278b9d2569b169d2a81a78d31b2cce632b45713da8fd4b97d241aa041fd9805a909b59aa2c090f6b55e685fe60e2f8cde
-EBUILD calendarsupport-20.08.3.ebuild 1309 BLAKE2B 48d9be2fdf5d264f8e8196f66a7bb9afa843cf0944a5eba19ab183cc8e49099fa9fe664d201b6ed1fb9c1fb4b6f2ad4433f421f62a5ddbf881d021e560bcb113 SHA512 072af5a079dd5a9687764bcf8abe5c67905fa076494b803e69b2b1e1da002b4e048729fc7c6b7c3f2ac051907c0207e27a53d4fe46ac63b5a5bf32aed4584751
-EBUILD calendarsupport-20.12.2.ebuild 1264 BLAKE2B bb855a1615eef36dbd4b8ce5fbc394a8b4410440cd5446de0b5dca3f1a6f7291c20303fd735c78451b02d0e0d2629be71e7957db0bf6165075f4f5ea208df2d7 SHA512 2e68b344362d18178aee2813c5d88c9e8ce6996c72b6c853445e21ecb59cddd5df675ba012f2098ea6ffa512aba6319169e9d97834c30dbc972a868a1d94f227
+EBUILD calendarsupport-20.12.2.ebuild 1261 BLAKE2B 49c14bef54245e290d04dae12690dd1cc97aaa95da9fa9465a2e47ed2a0c07541378fb7b6e41b1df356e621a312801c3b902fb4054d2d5bd7dca36fb269f7c1c SHA512 3d0dc16fc5ad074a75837c09585d5de6ae8e78195e0cc75b6dbde463ab7b31c6d4a56176901155086e4b8f742989eba3ec1c6f724f6ae4f3fd07ea97fdb1eb0b
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
diff --git a/kde-apps/calendarsupport/calendarsupport-20.08.3.ebuild b/kde-apps/calendarsupport/calendarsupport-20.08.3.ebuild
deleted file mode 100644
index 58478c498820..000000000000
--- a/kde-apps/calendarsupport/calendarsupport-20.08.3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_TEST="false"
-KFMIN=5.74.0
-PVCUT=$(ver_cut 1-3)
-QTMIN=5.15.1
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="Calendar support library"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="5"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
-IUSE=""
-
-DEPEND="
- dev-libs/libical
- >=dev-qt/designer-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=kde-apps/akonadi-${PVCUT}:5
- >=kde-apps/akonadi-calendar-${PVCUT}:5
- >=kde-apps/akonadi-mime-${PVCUT}:5
- >=kde-apps/akonadi-notes-${PVCUT}:5
- >=kde-apps/kcalutils-${PVCUT}:5
- >=kde-apps/kidentitymanagement-${PVCUT}:5
- >=kde-apps/kmime-${PVCUT}:5
- >=kde-apps/libkdepim-${PVCUT}:5
- >=kde-apps/pimcommon-${PVCUT}:5
- >=kde-frameworks/kcalendarcore-${KFMIN}:5
- >=kde-frameworks/kcodecs-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/kholidays-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kjobwidgets-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-qt-5.15.2.patch" )
diff --git a/kde-apps/calendarsupport/calendarsupport-20.12.2.ebuild b/kde-apps/calendarsupport/calendarsupport-20.12.2.ebuild
index be894e0fd1b4..85d97b997ff4 100644
--- a/kde-apps/calendarsupport/calendarsupport-20.12.2.ebuild
+++ b/kde-apps/calendarsupport/calendarsupport-20.12.2.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Calendar support library"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
IUSE=""
DEPEND="
diff --git a/kde-apps/calendarsupport/files/calendarsupport-20.08.3-qt-5.15.2.patch b/kde-apps/calendarsupport/files/calendarsupport-20.08.3-qt-5.15.2.patch
deleted file mode 100644
index af94c2e7a0de..000000000000
--- a/kde-apps/calendarsupport/files/calendarsupport-20.08.3-qt-5.15.2.patch
+++ /dev/null
@@ -1,229 +0,0 @@
-From b4193facb223bd5b73a65318dec8ced51b66adf7 Mon Sep 17 00:00:00 2001
-From: Nicolas Fella <nicolas.fella@gmx.de>
-Date: Wed, 9 Sep 2020 17:26:46 +0200
-Subject: [PATCH] Port away from deprecated QPrinter functions
-
-This implies changing from QPrinter::Orientation to QPageLayout::Orientation. The actual values are the same tough.
----
- src/printing/calprintdefaultplugins.cpp | 14 +++++++-------
- src/printing/calprintdefaultplugins.h | 10 +++++-----
- src/printing/calprinter.cpp | 6 +++---
- src/printing/calprintpluginbase.cpp | 8 ++++----
- src/printing/calprintpluginbase.h | 2 +-
- src/printing/printplugin.h | 4 ++--
- src/printing/yearprint.cpp | 6 +++---
- src/printing/yearprint.h | 2 +-
- 8 files changed, 26 insertions(+), 26 deletions(-)
-
-diff --git a/src/printing/calprintdefaultplugins.cpp b/src/printing/calprintdefaultplugins.cpp
-index 862b74d..e3d802d 100644
---- a/src/printing/calprintdefaultplugins.cpp
-+++ b/src/printing/calprintdefaultplugins.cpp
-@@ -805,7 +805,7 @@ void CalPrintDay::print(QPainter &p, int width, int height)
- QString line1 = local.toString(mFromDate, QLocale::ShortFormat);
- QString line2 = local.toString(mToDate, QLocale::ShortFormat);
- QString title;
-- if (orientation() == QPrinter::Landscape) {
-+ if (orientation() == QPageLayout::Landscape) {
- title = i18nc("date from-to", "%1 - %2", line1, line2);
- } else {
- title = i18nc("date from-\nto", "%1 -\n%2", line1, line2);
-@@ -1050,14 +1050,14 @@ void CalPrintWeek::saveConfig()
- }
- }
-
--QPrinter::Orientation CalPrintWeek::defaultOrientation() const
-+QPageLayout::Orientation CalPrintWeek::defaultOrientation() const
- {
- if (mWeekPrintType == Filofax) {
-- return QPrinter::Portrait;
-+ return QPageLayout::Portrait;
- } else if (mWeekPrintType == SplitWeek) {
-- return QPrinter::Portrait;
-+ return QPageLayout::Portrait;
- } else {
-- return QPrinter::Landscape;
-+ return QPageLayout::Landscape;
- }
- }
-
-@@ -1099,7 +1099,7 @@ void CalPrintWeek::print(QPainter &p, int width, int height)
- do {
- line1 = local.toString(curWeek.addDays(-6), QLocale::ShortFormat);
- line2 = local.toString(curWeek, QLocale::ShortFormat);
-- if (orientation() == QPrinter::Landscape) {
-+ if (orientation() == QPageLayout::Landscape) {
- title = i18nc("date from-to", "%1 - %2", line1, line2);
- } else {
- title = i18nc("date from-\nto", "%1 -\n%2", line1, line2);
-@@ -1126,7 +1126,7 @@ void CalPrintWeek::print(QPainter &p, int width, int height)
- do {
- line1 = local.toString(curWeek.addDays(-6), QLocale::ShortFormat);
- line2 = local.toString(curWeek, QLocale::ShortFormat);
-- if (orientation() == QPrinter::Landscape) {
-+ if (orientation() == QPageLayout::Landscape) {
- title = i18nc("date from - to (week number)", "%1 - %2 (Week %3)",
- line1, line2, curWeek.weekNumber());
- } else {
-diff --git a/src/printing/calprintdefaultplugins.h b/src/printing/calprintdefaultplugins.h
-index 4df72f6..3f62d0b 100644
---- a/src/printing/calprintdefaultplugins.h
-+++ b/src/printing/calprintdefaultplugins.h
-@@ -53,9 +53,9 @@ public:
- }
-
- QWidget *createConfigWidget(QWidget *) override;
-- Q_REQUIRED_RESULT QPrinter::Orientation defaultOrientation() const override
-+ Q_REQUIRED_RESULT QPageLayout::Orientation defaultOrientation() const override
- {
-- return QPrinter::Portrait;
-+ return QPageLayout::Portrait;
- }
-
- public:
-@@ -166,7 +166,7 @@ public:
- /**
- Returns the default orientation for the eWeekPrintType.
- */
-- QPrinter::Orientation defaultOrientation() const override;
-+ QPageLayout::Orientation defaultOrientation() const override;
-
- public:
- void print(QPainter &p, int width, int height) override;
-@@ -222,9 +222,9 @@ public:
- }
-
- QWidget *createConfigWidget(QWidget *) override;
-- QPrinter::Orientation defaultOrientation() const override
-+ QPageLayout::Orientation defaultOrientation() const override
- {
-- return QPrinter::Landscape;
-+ return QPageLayout::Landscape;
- }
-
- public:
-diff --git a/src/printing/calprinter.cpp b/src/printing/calprinter.cpp
-index 182e0e3..10e9db6 100644
---- a/src/printing/calprinter.cpp
-+++ b/src/printing/calprinter.cpp
-@@ -126,13 +126,13 @@ void CalPrinter::doPrint(PrintPlugin *selectedStyle, CalPrinter::ePrintOrientati
- QPrinter printer;
- switch (dlgorientation) {
- case eOrientPlugin:
-- printer.setOrientation(selectedStyle->defaultOrientation());
-+ printer.setPageOrientation(selectedStyle->defaultOrientation());
- break;
- case eOrientPortrait:
-- printer.setOrientation(QPrinter::Portrait);
-+ printer.setPageOrientation(QPageLayout::Portrait);
- break;
- case eOrientLandscape:
-- printer.setOrientation(QPrinter::Landscape);
-+ printer.setPageOrientation(QPageLayout::Landscape);
- break;
- case eOrientPrinter:
- break;
-diff --git a/src/printing/calprintpluginbase.cpp b/src/printing/calprintpluginbase.cpp
-index e96f3b2..9db198e 100644
---- a/src/printing/calprintpluginbase.cpp
-+++ b/src/printing/calprintpluginbase.cpp
-@@ -232,9 +232,9 @@ void CalPrintPluginBase::setPrintFooter(bool printFooter)
- mPrintFooter = printFooter;
- }
-
--QPrinter::Orientation CalPrintPluginBase::orientation() const
-+QPageLayout::Orientation CalPrintPluginBase::orientation() const
- {
-- return mPrinter ? mPrinter->orientation() : QPrinter::Portrait;
-+ return mPrinter ? mPrinter->pageLayout().orientation() : QPageLayout::Portrait;
- }
-
- QColor CalPrintPluginBase::getTextColor(const QColor &c) const
-@@ -326,7 +326,7 @@ int CalPrintPluginBase::headerHeight() const
- {
- if (mHeaderHeight >= 0) {
- return mHeaderHeight;
-- } else if (orientation() == QPrinter::Portrait) {
-+ } else if (orientation() == QPageLayout::Portrait) {
- return PORTRAIT_HEADER_HEIGHT;
- } else {
- return LANDSCAPE_HEADER_HEIGHT;
-@@ -356,7 +356,7 @@ int CalPrintPluginBase::footerHeight() const
-
- if (mFooterHeight >= 0) {
- return mFooterHeight;
-- } else if (orientation() == QPrinter::Portrait) {
-+ } else if (orientation() == QPageLayout::Portrait) {
- return PORTRAIT_FOOTER_HEIGHT;
- } else {
- return LANDSCAPE_FOOTER_HEIGHT;
-diff --git a/src/printing/calprintpluginbase.h b/src/printing/calprintpluginbase.h
-index ff1113c..b3d41ac 100644
---- a/src/printing/calprintpluginbase.h
-+++ b/src/printing/calprintpluginbase.h
-@@ -108,7 +108,7 @@ public:
- */
- static int weekdayColumn(int weekday);
-
-- QPrinter::Orientation orientation() const;
-+ QPageLayout::Orientation orientation() const;
-
- /** Returns the height of the page header. If the height was explicitly
- set using setHeaderHeight, that value is returned, otherwise a
-diff --git a/src/printing/printplugin.h b/src/printing/printplugin.h
-index 57afdfe..73bf467 100644
---- a/src/printing/printplugin.h
-+++ b/src/printing/printplugin.h
-@@ -140,9 +140,9 @@ public:
- config settings), implement this function in your subclass and
- return the desired orientation.
- */
-- virtual QPrinter::Orientation defaultOrientation() const
-+ virtual QPageLayout::Orientation defaultOrientation() const
- {
-- return QPrinter::Portrait;
-+ return QPageLayout::Portrait;
- }
-
- /**
-diff --git a/src/printing/yearprint.cpp b/src/printing/yearprint.cpp
-index 3287ca6..e57a1c4 100644
---- a/src/printing/yearprint.cpp
-+++ b/src/printing/yearprint.cpp
-@@ -82,9 +82,9 @@ void CalPrintYear::saveConfig()
- }
- }
-
--QPrinter::Orientation CalPrintYear::defaultOrientation() const
-+QPageLayout::Orientation CalPrintYear::defaultOrientation() const
- {
-- return (mPages == 1) ? QPrinter::Landscape : QPrinter::Portrait;
-+ return (mPages == 1) ? QPageLayout::Landscape : QPageLayout::Portrait;
- }
-
- void CalPrintYear::setDateRange(const QDate &from, const QDate &to)
-@@ -131,7 +131,7 @@ void CalPrintYear::print(QPainter &p, int width, int height)
- QString stdate = locale.toString(start, QLocale::ShortFormat);
- QString endate = locale.toString(end, QLocale::ShortFormat);
- QString title;
-- if (orientation() == QPrinter::Landscape) {
-+ if (orientation() == QPageLayout::Landscape) {
- title = i18nc("date from - to", "%1 - %2", stdate, endate);
- } else {
- title = i18nc("date from -\nto", "%1 -\n%2", stdate, endate);
-diff --git a/src/printing/yearprint.h b/src/printing/yearprint.h
-index e59bf87..cd46a50 100644
---- a/src/printing/yearprint.h
-+++ b/src/printing/yearprint.h
-@@ -48,7 +48,7 @@ public:
- }
-
- QWidget *createConfigWidget(QWidget *) override;
-- Q_REQUIRED_RESULT QPrinter::Orientation defaultOrientation() const override;
-+ Q_REQUIRED_RESULT QPageLayout::Orientation defaultOrientation() const override;
-
- public:
- void print(QPainter &p, int width, int height) override;
---
-GitLab
-