* [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kdeplasma-addons/, kde-plasma/kdeplasma-addons/files/
@ 2017-10-25 17:32 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2017-10-25 17:32 UTC (permalink / raw
To: gentoo-commits
commit: 45bb6d81c180673d867ce0efba4cfbee75b48512
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 17:18:19 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 17:32:04 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45bb6d81
kde-plasma/kdeplasma-addons: Fix build with Qt-5.7
Gentoo-bug: 635412
Package-Manager: Portage-2.3.12, Repoman-2.3.3
.../files/kdeplasma-addons-5.11.2-qt-5.7.patch | 26 ++++++++++++++++++++++
.../kdeplasma-addons-5.11.2.ebuild | 2 ++
2 files changed, 28 insertions(+)
diff --git a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.11.2-qt-5.7.patch b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.11.2-qt-5.7.patch
new file mode 100644
index 00000000000..b4afa3c04f5
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.11.2-qt-5.7.patch
@@ -0,0 +1,26 @@
+From 961078337c823e22691d74925a698d1f28f20ac0 Mon Sep 17 00:00:00 2001
+From: Kai Uwe Broulik <kde@privat.broulik.de>
+Date: Wed, 25 Oct 2017 12:36:08 +0200
+Subject: Use wakeOne() instead of notify_one()
+
+The latter was only introduced in Qt 5.8
+---
+ runners/dictionary/dictionarymatchengine.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/runners/dictionary/dictionarymatchengine.cpp b/runners/dictionary/dictionarymatchengine.cpp
+index 85346d5..27d2228 100644
+--- a/runners/dictionary/dictionarymatchengine.cpp
++++ b/runners/dictionary/dictionarymatchengine.cpp
+@@ -73,7 +73,7 @@ void DictionaryMatchEngine::dataUpdated(const QString &source, const Plasma::Dat
+ /* Because of QString's CoW semantics, we don't have to worry about
+ * the overhead of assigning this to every item. */
+ data->definition = definition;
+- data->waitCondition.notify_one();
++ data->waitCondition.wakeOne();
+ }
+ m_wordLock.unlock();
+ }
+--
+cgit v0.11.2
+
diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.11.2.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.11.2.ebuild
index 881f2a38fd2..79320367019 100644
--- a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.11.2.ebuild
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.11.2.ebuild
@@ -47,6 +47,8 @@ RDEPEND="${DEPEND}
!kde-plasma/kdeplasma-addons:4
"
+PATCHES=( "${FILESDIR}/${P}-qt-5.7.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package share KDEExperimentalPurpose)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kdeplasma-addons/, kde-plasma/kdeplasma-addons/files/
@ 2019-12-17 23:49 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2019-12-17 23:49 UTC (permalink / raw
To: gentoo-commits
commit: 3806891057609468bd530c645fe4a75466e78f1c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 21:58:08 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 17 23:48:41 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38068910
kde-plasma/kdeplasma-addons: Fix temperature size with short panels
Regression in 5.17.4.
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=415187
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
...ons-5.17.4-weather-applet-size-regression.patch | 37 +++++++++++++
.../kdeplasma-addons-5.17.4-r1.ebuild | 63 ++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.17.4-weather-applet-size-regression.patch b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.17.4-weather-applet-size-regression.patch
new file mode 100644
index 00000000000..58a1316171e
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.17.4-weather-applet-size-regression.patch
@@ -0,0 +1,37 @@
+From 865ae05e8fe280a177fcd6dcf5f847327de36a00 Mon Sep 17 00:00:00 2001
+From: Nate Graham <nate@kde.org>
+Date: Sun, 15 Dec 2019 14:04:29 +0100
+Subject: [applets/weather] Fix regression in temperature size with short
+ panels
+
+BUG: 415187
+FIXED-IN: 5.17.5
+---
+ applets/weather/package/contents/ui/IconAndTextItem.qml | 12 +++++++++---
+ 1 file changed, 9 insertions(+), 3 deletions(-)
+
+diff --git a/applets/weather/package/contents/ui/IconAndTextItem.qml b/applets/weather/package/contents/ui/IconAndTextItem.qml
+index 7042bf8..dc270e4 100644
+--- a/applets/weather/package/contents/ui/IconAndTextItem.qml
++++ b/applets/weather/package/contents/ui/IconAndTextItem.qml
+@@ -86,9 +86,15 @@ GridLayout {
+ leftMargin: units.smallSpacing
+ rightMargin: units.smallSpacing
+ }
+- // This magic value of 0.7 is taken from the digital clock, so that the
+- // text sizes are identical
+- height: Math.min (parent.height * 0.7, 3 * theme.defaultFont.pixelSize)
++ // These magic values are taken from the digital clock, so that the
++ // text sizes here are identical with various clock text sizes
++ height: {
++ var textHeightScaleFactor = 0.7;
++ if (parent.height <= 26) {
++ textHeightScaleFactor = 0.9;
++ }
++ return Math.min (parent.height * textHeightScaleFactor, 3 * theme.defaultFont.pixelSize);
++ }
+ visible: false
+
+ // pattern to reserve some constant space TODO: improve and take formatting/i18n into account
+--
+cgit v1.1
diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.17.4-r1.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.17.4-r1.ebuild
new file mode 100644
index 00000000000..4aefd7d8ea4
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.17.4-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KFMIN=5.64.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.12.3
+inherit ecm kde.org
+
+DESCRIPTION="Extra Plasma applets and engines"
+LICENSE="GPL-2 LGPL-2"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="share webengine"
+
+DEPEND="
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ >=kde-frameworks/kholidays-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpackage-${KFMIN}:5
+ >=kde-frameworks/kross-${KFMIN}:5
+ >=kde-frameworks/krunner-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kunitconversion-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ >=kde-frameworks/sonnet-${KFMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
+ webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ >=kde-plasma/plasma-workspace-${PVCUT}:5
+ >=dev-qt/qtquickcontrols-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+"
+
+PATCHES=( "${FILESDIR}"/${P}-weather-applet-size-regression.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package share KF5Purpose)
+ $(cmake_use_find_package webengine Qt5WebEngine)
+ )
+
+ ecm_src_configure
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kdeplasma-addons/, kde-plasma/kdeplasma-addons/files/
@ 2021-11-23 14:59 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2021-11-23 14:59 UTC (permalink / raw
To: gentoo-commits
commit: ec0f01d6f203167651da922e1277807af2c5abac
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 15 15:04:22 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 14:59:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec0f01d6
kde-plasma/kdeplasma-addons: weather-applet: fix cursor
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
...deplasma-addons-5.23.3-weather-fix-cursor.patch | 35 ++++++++++++++++++++++
.../kdeplasma-addons-5.23.3-r1.ebuild | 1 +
2 files changed, 36 insertions(+)
diff --git a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.23.3-weather-fix-cursor.patch b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.23.3-weather-fix-cursor.patch
new file mode 100644
index 000000000000..d5b5ea84f609
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.23.3-weather-fix-cursor.patch
@@ -0,0 +1,35 @@
+From ea18868f6b49577b1349438d6e058199705a25b0 Mon Sep 17 00:00:00 2001
+From: Bharadwaj Raju <bharadwaj.raju777@protonmail.com>
+Date: Fri, 12 Nov 2021 15:55:50 +0000
+Subject: [PATCH] applets/weather: Make cursor a pointing hand when hovering
+ over source link
+
+Currently it's a normal pointer, which doesn't indicate that it's a clickable link.
+
+
+(cherry picked from commit 508fde69075026db28e7078a7e105acf1cc9c102)
+---
+ applets/weather/package/contents/ui/FullRepresentation.qml | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/applets/weather/package/contents/ui/FullRepresentation.qml b/applets/weather/package/contents/ui/FullRepresentation.qml
+index dc1583032..4a6d4bdff 100644
+--- a/applets/weather/package/contents/ui/FullRepresentation.qml
++++ b/applets/weather/package/contents/ui/FullRepresentation.qml
+@@ -40,6 +40,13 @@ ColumnLayout {
+
+ Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
+
++ MouseArea {
++ anchors.fill: parent
++ hoverEnabled: true
++ acceptedButtons: Qt.NoButton
++ cursorShape: !!parent.creditUrl ? Qt.PointingHandCursor : Qt.ArrowCursor
++ }
++
+ wrapMode: Text.WordWrap
+ horizontalAlignment: Text.AlignRight
+ font {
+--
+GitLab
+
diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.23.3-r1.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.23.3-r1.ebuild
index 73d939f3bafb..cbcb1e038b78 100644
--- a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.23.3-r1.ebuild
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.23.3-r1.ebuild
@@ -56,6 +56,7 @@ RDEPEND="${DEPEND}
PATCHES=(
"${FILESDIR}"/${P}-mediaframe-fix-path-URLs.patch
+ "${FILESDIR}"/${P}-weather-fix-cursor.patch
)
src_configure() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kdeplasma-addons/, kde-plasma/kdeplasma-addons/files/
@ 2022-07-26 12:08 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2022-07-26 12:08 UTC (permalink / raw
To: gentoo-commits
commit: 7d4e696db0d3eecc1a05cb5d75a9b514b0af6690
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 11:59:00 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 12:04:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4e696d
kde-plasma/kdeplasma-addons: Fix comic strip widget crash
Upstream commit 352ecf9aa151e842f5304b8f4dc1fa7c7689b32f
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=406991
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
...6-disable-actions-when-comic-is-not-ready.patch | 71 +++++++++++++++++++++
.../kdeplasma-addons-5.24.6-r1.ebuild | 73 ++++++++++++++++++++++
2 files changed, 144 insertions(+)
diff --git a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.6-disable-actions-when-comic-is-not-ready.patch b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.6-disable-actions-when-comic-is-not-ready.patch
new file mode 100644
index 000000000000..0ce0db252c6a
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.6-disable-actions-when-comic-is-not-ready.patch
@@ -0,0 +1,71 @@
+From 352ecf9aa151e842f5304b8f4dc1fa7c7689b32f Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Wed, 20 Jul 2022 15:00:02 +0200
+Subject: [PATCH] [applets/comic] Disable most context menu actions when comic
+ is not ready
+
+This can be either because the loading failed or is not done yet
+
+In those cases the actions don't make sense and can lead to crashes
+
+BUG: 406991
+(cherry picked from commit 6a0aec81074135c210a2ed11127ef9cfb138dbca)
+---
+ applets/comic/comic.cpp | 3 +++
+ applets/comic/comicdata.cpp | 1 +
+ applets/comic/comicdata.h | 6 ++++++
+ 3 files changed, 10 insertions(+)
+
+diff --git a/applets/comic/comic.cpp b/applets/comic/comic.cpp
+index 1ad3e83a4..b4f8154fa 100644
+--- a/applets/comic/comic.cpp
++++ b/applets/comic/comic.cpp
+@@ -495,6 +495,9 @@ void ComicApplet::updateContextMenu()
+ {
+ if (mCurrent.id().isEmpty()) {
+ mActiveComicModel->clear();
++ }
++
++ if (mCurrent.id().isEmpty() || !mCurrent.ready()) {
+ mActionNextNewStripTab->setEnabled(false);
+ mActionGoFirst->setEnabled(false);
+ mActionGoLast->setEnabled(false);
+diff --git a/applets/comic/comicdata.cpp b/applets/comic/comicdata.cpp
+index 52cc57e91..60eb475c9 100644
+--- a/applets/comic/comicdata.cpp
++++ b/applets/comic/comicdata.cpp
+@@ -62,6 +62,7 @@ void ComicData::setData(const Plasma::DataEngine::Data &data)
+ mPrev = data[QStringLiteral("Previous identifier suffix")].toString();
+ mNext = data[QStringLiteral("Next identifier suffix")].toString();
+ mAdditionalText = data[QStringLiteral("Additional text")].toString();
++ mReady = true;
+ }
+
+ mWebsiteUrl = data[QStringLiteral("Website Url")].toUrl();
+diff --git a/applets/comic/comicdata.h b/applets/comic/comicdata.h
+index 9c884a291..b5f5ee3a7 100644
+--- a/applets/comic/comicdata.h
++++ b/applets/comic/comicdata.h
+@@ -190,6 +190,11 @@ public:
+ return mMaxStripNum;
+ }
+
++ bool ready() const
++ {
++ return mReady;
++ }
++
+ void save();
+
+ private:
+@@ -226,6 +231,7 @@ private:
+ bool mScaleComic = false;
+ bool mIsLeftToRight = false;
+ bool mIsTopToBottom = false;
++ bool mReady = false;
+
+ KConfigGroup mCfg;
+ };
+--
+GitLab
+
diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.24.6-r1.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.24.6-r1.ebuild
new file mode 100644
index 000000000000..0a29de07ad2b
--- /dev/null
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.24.6-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.92.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.4
+VIRTUALX_REQUIRED="test"
+inherit ecm plasma.kde.org optfeature
+
+DESCRIPTION="Extra Plasma applets and engines"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="share webengine"
+
+RESTRICT="test" # bug 727846
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ >=kde-frameworks/kholidays-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpackage-${KFMIN}:5
+ >=kde-frameworks/krunner-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kunitconversion-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ >=kde-frameworks/sonnet-${KFMIN}:5
+ share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
+ webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ >=dev-qt/qtquickcontrols-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=kde-plasma/plasma-workspace-${PVCUT}:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-disable-actions-when-comic-is-not-ready.patch" ) # KDE-bug 406991
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package share KF5Purpose)
+ $(cmake_use_find_package webengine Qt5WebEngine)
+ )
+
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "Disk quota applet" sys-fs/quota
+ fi
+ ecm_pkg_postinst
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-07-26 12:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-17 23:49 [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kdeplasma-addons/, kde-plasma/kdeplasma-addons/files/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2022-07-26 12:08 Andreas Sturmlechner
2021-11-23 14:59 Andreas Sturmlechner
2017-10-25 17:32 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox