diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-27 18:53:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-27 18:53:03 +0000 |
| commit | 3482ddf943eff7b8848f1fb31350b99ce349e86a (patch) | |
| tree | 9c9bb6ec6679e9dc44a84d87ba611989409b12ca /kde-apps | |
| parent | 8e8120eabdd28020aa69c7a60505cce2edd20adc (diff) | |
| download | baldeagleos-repo-21.1.3.tar.gz baldeagleos-repo-21.1.3.tar.xz baldeagleos-repo-21.1.3.zip | |
Updating liguros repov21.1.3
Diffstat (limited to 'kde-apps')
| -rw-r--r-- | kde-apps/dolphin/dolphin-20.12.1-r1.ebuild (renamed from kde-apps/dolphin/dolphin-20.12.1.ebuild) | 4 | ||||
| -rw-r--r-- | kde-apps/dolphin/files/dolphin-20.12.1-knetattach-button.patch | 193 | ||||
| -rw-r--r-- | kde-apps/ktp-call-ui/Manifest | 2 | ||||
| -rw-r--r-- | kde-apps/ktp-call-ui/ktp-call-ui-20.08.3.ebuild | 45 | ||||
| -rw-r--r-- | kde-apps/ktp-call-ui/ktp-call-ui-20.12.1.ebuild | 45 | ||||
| -rw-r--r-- | kde-apps/ktp-call-ui/metadata.xml | 9 | ||||
| -rw-r--r-- | kde-apps/parley/parley-20.08.3-r1.ebuild (renamed from kde-apps/parley/parley-20.08.3.ebuild) | 13 | ||||
| -rw-r--r-- | kde-apps/parley/parley-20.12.1-r1.ebuild (renamed from kde-apps/parley/parley-20.12.1.ebuild) | 11 | ||||
| -rw-r--r-- | kde-apps/spectacle/spectacle-20.12.1-r1.ebuild | 2 |
9 files changed, 220 insertions, 104 deletions
diff --git a/kde-apps/dolphin/dolphin-20.12.1.ebuild b/kde-apps/dolphin/dolphin-20.12.1-r1.ebuild index af47c4290036..0fbdb6a75231 100644 --- a/kde-apps/dolphin/dolphin-20.12.1.ebuild +++ b/kde-apps/dolphin/dolphin-20.12.1-r1.ebuild @@ -37,7 +37,7 @@ DEPEND=" >=kde-frameworks/ki18n-${KFMIN}:5 >=kde-frameworks/kiconthemes-${KFMIN}:5 >=kde-frameworks/kinit-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5= >=kde-frameworks/kitemviews-${KFMIN}:5 >=kde-frameworks/kjobwidgets-${KFMIN}:5 >=kde-frameworks/knewstuff-${KFMIN}:5 @@ -62,6 +62,8 @@ RDEPEND="${DEPEND} >=kde-apps/kio-extras-${PVCUT}:5 " +PATCHES=( "${FILESDIR}/${P}-knetattach-button.patch" ) # KDE-Bug 431626 + src_configure() { local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON diff --git a/kde-apps/dolphin/files/dolphin-20.12.1-knetattach-button.patch b/kde-apps/dolphin/files/dolphin-20.12.1-knetattach-button.patch new file mode 100644 index 000000000000..b66b6c7e0344 --- /dev/null +++ b/kde-apps/dolphin/files/dolphin-20.12.1-knetattach-button.patch @@ -0,0 +1,193 @@ +From 33270dd4423eea329b8f20db17f8d70ab7b108da Mon Sep 17 00:00:00 2001 +From: Norbert Preining <norbert@preining.info> +Date: Tue, 19 Jan 2021 06:43:14 +0900 +Subject: [PATCH] Show button to open knetattach inline with URL nav on + remove:// view + +This is a backport of b1cadeba939155282a9fadf7d7b025d6529c489e + + From b1cadeba939155282a9fadf7d7b025d6529c489e Mon Sep 17 00:00:00 2001 + From: Nate Graham <nate@kde.org> + Date: Tue, 15 Dec 2020 23:03:00 -0700 + Subject: [PATCH] Show button to open knetattach inline with URL nav on + Remote:// view + + In conjunction with + https://invent.kde.org/frameworks/kio/-/merge_requests/260, + the net result is to hide the knetattach launcher in the view, and show + it inline with Dolphin's URL navigator toolbar when viewing the + remote:// view, just like how we add an "Empty Trash" button when + viewing trash://. + +The backport ensures that even with frameworks << 5.78 only one network +button is shown. + +BUG: 431626 +--- + src/dolphinnavigatorswidgetaction.cpp | 61 +++++++++++++++++++++++++++ + src/dolphinnavigatorswidgetaction.h | 20 ++++++++- + 2 files changed, 80 insertions(+), 1 deletion(-) + +diff --git a/src/dolphinnavigatorswidgetaction.cpp b/src/dolphinnavigatorswidgetaction.cpp +index b8c77c69b..b25c60d0c 100644 +--- a/src/dolphinnavigatorswidgetaction.cpp ++++ b/src/dolphinnavigatorswidgetaction.cpp +@@ -10,9 +10,13 @@ + #include "trash/dolphintrash.h" + + #include <KLocalizedString> ++#include <KNotificationJobUiDelegate> ++#include <KService> + #include <KXMLGUIFactory> + #include <KXmlGuiWindow> + ++#include <KIO/ApplicationLauncherJob> ++ + #include <QApplication> + #include <QDomDocument> + #include <QHBoxLayout> +@@ -154,7 +158,13 @@ void DolphinNavigatorsWidgetAction::adjustSpacing() + } + int trailingSpacing = (m_globalXOfSplitter + m_splitter->width()) + - (m_globalXOfPrimary + m_widthOfPrimary); ++#if KIO_VERSION < QT_VERSION_CHECK(5, 78, 0) + if (trailingSpacing < 0 || emptyTrashButton(Primary)->isVisible()) { ++#else ++ if (trailingSpacing < 0 || emptyTrashButton(Primary)->isVisible() ++ || networkFolderButton(Primary)->isVisible() ++ ) { ++#endif + trailingSpacing = 0; + } + const int widthLeftForUrlNavigator = m_splitter->widget(0)->width() - leadingSpacing - trailingSpacing; +@@ -181,7 +191,13 @@ void DolphinNavigatorsWidgetAction::adjustSpacing() + + trailingSpacing = (m_globalXOfSplitter + m_splitter->width()) + - (m_globalXOfSecondary + m_widthOfSecondary); ++#if KIO_VERSION < QT_VERSION_CHECK(5, 78, 0) + if (trailingSpacing < 0 || emptyTrashButton(Secondary)->isVisible()) { ++#else ++ if (trailingSpacing < 0 || emptyTrashButton(Secondary)->isVisible() ++ || networkFolderButton(Secondary)->isVisible() ++ ) { ++#endif + trailingSpacing = 0; + } else { + const int widthLeftForUrlNavigator2 = m_splitter->widget(1)->width() - trailingSpacing; +@@ -212,6 +228,11 @@ QWidget *DolphinNavigatorsWidgetAction::createNavigatorWidget(Side side) const + auto emptyTrashButton = newEmptyTrashButton(urlNavigator, navigatorWidget); + layout->addWidget(emptyTrashButton); + ++#if !(KIO_VERSION < QT_VERSION_CHECK(5, 78, 0)) ++ auto networkFolderButton = newNetworkFolderButton(urlNavigator, navigatorWidget); ++ layout->addWidget(networkFolderButton); ++#endif ++ + connect(urlNavigator, &KUrlNavigator::urlChanged, this, [this]() { + // We have to wait for DolphinUrlNavigator::sizeHint() to update which + // happens a little bit later than when urlChanged is emitted. +@@ -249,6 +270,38 @@ QPushButton *DolphinNavigatorsWidgetAction::newEmptyTrashButton(const DolphinUrl + return emptyTrashButton; + } + ++#if !(KIO_VERSION < QT_VERSION_CHECK(5, 78, 0)) ++QPushButton *DolphinNavigatorsWidgetAction::networkFolderButton(DolphinNavigatorsWidgetAction::Side side) ++{ ++ int sideIndex = (side == Primary ? 0 : 1); ++ if (side == Primary) { ++ return static_cast<QPushButton *>(m_splitter->widget(sideIndex)->layout()->itemAt(3)->widget()); ++ } ++ return static_cast<QPushButton *>(m_splitter->widget(sideIndex)->layout()->itemAt(2)->widget()); ++} ++ ++QPushButton *DolphinNavigatorsWidgetAction::newNetworkFolderButton(const DolphinUrlNavigator *urlNavigator, QWidget *parent) const ++{ ++ auto networkFolderButton = new QPushButton(QIcon::fromTheme(QStringLiteral("folder-add")), ++ i18nc("@action:button", "Add Network Folder"), parent); ++ networkFolderButton->setFlat(true); ++ connect(networkFolderButton, &QPushButton::clicked, ++ this, [networkFolderButton]() { ++ KService::Ptr service = KService::serviceByDesktopName(QStringLiteral("org.kde.knetattach")); ++ auto *job = new KIO::ApplicationLauncherJob(service, networkFolderButton); ++ auto *delegate = new KNotificationJobUiDelegate; ++ delegate->setAutoErrorHandlingEnabled(true); ++ job->setUiDelegate(delegate); ++ job->start(); ++ }); ++ networkFolderButton->hide(); ++ connect(urlNavigator, &KUrlNavigator::urlChanged, this, [networkFolderButton, urlNavigator]() { ++ networkFolderButton->setVisible(urlNavigator->locationUrl().scheme() == QLatin1String("remote")); ++ }); ++ return networkFolderButton; ++} ++#endif ++ + QWidget *DolphinNavigatorsWidgetAction::spacing(Side side, Position position) const + { + int sideIndex = (side == Primary ? 0 : 1); +@@ -257,9 +310,17 @@ QWidget *DolphinNavigatorsWidgetAction::spacing(Side side, Position position) co + return m_splitter->widget(sideIndex)->layout()->itemAt(0)->widget(); + } + if (side == Primary) { ++#if KIO_VERSION < QT_VERSION_CHECK(5, 78, 0) + return m_splitter->widget(sideIndex)->layout()->itemAt(3)->widget(); ++#else ++ return m_splitter->widget(sideIndex)->layout()->itemAt(4)->widget(); ++#endif + } ++#if KIO_VERSION < QT_VERSION_CHECK(5, 78, 0) + return m_splitter->widget(sideIndex)->layout()->itemAt(2)->widget(); ++#else ++ return m_splitter->widget(sideIndex)->layout()->itemAt(3)->widget(); ++#endif + } + + void DolphinNavigatorsWidgetAction::updateText() +diff --git a/src/dolphinnavigatorswidgetaction.h b/src/dolphinnavigatorswidgetaction.h +index bbd8cf127..ce199b3f0 100644 +--- a/src/dolphinnavigatorswidgetaction.h ++++ b/src/dolphinnavigatorswidgetaction.h +@@ -10,6 +10,7 @@ + + #include "dolphinurlnavigator.h" + ++#include <kio_version.h> + #include <QSplitter> + #include <QTimer> + #include <QWidgetAction> +@@ -30,7 +31,8 @@ class QPushButton; + * The secondary side only exists for split view and is created by + * createSecondaryUrlNavigator() when necessary. + * - Each side is a QWidget which I call NavigatorWidget with a QHBoxLayout. +- * - Each NavigatorWidget consists an UrlNavigator, an emptyTrashButton and spacing. ++ * - Each NavigatorWidget consists an UrlNavigator, an emptyTrashButton, a ++ * networkFolderButton (for frameworks >= 5.78), and spacing. + * - Only the primary navigatorWidget has leading spacing. Both have trailing spacing. + * The spacing is there to align the UrlNavigator with its DolphinViewContainer. + */ +@@ -131,6 +133,22 @@ private: + */ + QPushButton *newEmptyTrashButton(const DolphinUrlNavigator *urlNavigator, QWidget *parent) const; + ++#if !(KIO_VERSION < QT_VERSION_CHECK(5, 78, 0)) ++ /** ++ * Used to retrieve the networkFolderButtons for the navigatorWidgets on ++ * both sides. ++ */ ++ QPushButton *networkFolderButton(Side side); ++ ++ /** ++ * Creates a new add "network folder" button. ++ * @param urlNavigator Only when this UrlNavigator shows the remote directory ++ * will the button be visible. ++ * @param parent The object that should be the button's parent. ++ */ ++ QPushButton *newNetworkFolderButton(const DolphinUrlNavigator *urlNavigator, QWidget *parent) const; ++#endif ++ + enum Position { + Leading, + Trailing +-- +GitLab + diff --git a/kde-apps/ktp-call-ui/Manifest b/kde-apps/ktp-call-ui/Manifest deleted file mode 100644 index 600aef07d660..000000000000 --- a/kde-apps/ktp-call-ui/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST ktp-call-ui-20.08.3.tar.xz 97240 BLAKE2B 0b3b7250494f29c381fe83073ee84edab8fc39c9cbf0c4046a74e917ed2ad89a23c48a8bdee7fa8d877e3241d18642e82c2f41fefa4d729b842d901f40972ee8 SHA512 02b14bf994b8e016c28ef8ba4e86f12f50ae0db68eadf3a9a3f2630314b9fe366f629c488fd4a5a06360cdd21c77ef5020d54569180dbe75c6ffedbebc3f1878 -DIST ktp-call-ui-20.12.1.tar.xz 97256 BLAKE2B ad4fd2f2428142b03522ebcc616c9ea69b5dabd9ba78f277b6b14bb066fa10805773b2f52ce5db35f41de56683748b64e387782c370ad2406a499de4426fa630 SHA512 6d0fd6c8b7e4ca851b5d29d2f6ffe12f081000fded58c487600e1ac19ee6a1d36447aef9dc10f00ed81d9692550e4bbdf9c03e25ee905545ad4a35a2db6a6d55 diff --git a/kde-apps/ktp-call-ui/ktp-call-ui-20.08.3.ebuild b/kde-apps/ktp-call-ui/ktp-call-ui-20.08.3.ebuild deleted file mode 100644 index 05fef1dbedc7..000000000000 --- a/kde-apps/ktp-call-ui/ktp-call-ui-20.08.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PVCUT=$(ver_cut 1-3) -KFMIN=5.74.0 -QTMIN=5.15.1 -inherit ecm kde.org - -DESCRIPTION="KDE Telepathy audio/video conferencing UI" -HOMEPAGE="https://community.kde.org/KTp" - -LICENSE="GPL-2" -SLOT="5" -KEYWORDS="amd64 arm64 x86" -IUSE="" - -RDEPEND=" - dev-libs/glib:2 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-apps/ktp-common-internals-${PVCUT}: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/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=media-libs/phonon-4.11.0 - >=media-libs/qt-gstreamer-1.2.0-r4 - net-libs/farstream:0.2 - net-libs/telepathy-farstream - >=net-libs/telepathy-qt-0.9.8[farstream] -" -# TODO: dep leak suspect -DEPEND="${RDEPEND} - >=kde-frameworks/kcmutils-${KFMIN}:5 -" diff --git a/kde-apps/ktp-call-ui/ktp-call-ui-20.12.1.ebuild b/kde-apps/ktp-call-ui/ktp-call-ui-20.12.1.ebuild deleted file mode 100644 index 97399e8ad639..000000000000 --- a/kde-apps/ktp-call-ui/ktp-call-ui-20.12.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PVCUT=$(ver_cut 1-3) -KFMIN=5.75.0 -QTMIN=5.15.1 -inherit ecm kde.org - -DESCRIPTION="KDE Telepathy audio/video conferencing UI" -HOMEPAGE="https://community.kde.org/KTp" - -LICENSE="GPL-2" -SLOT="5" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" - -RDEPEND=" - dev-libs/glib:2 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-apps/ktp-common-internals-${PVCUT}: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/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=media-libs/phonon-4.11.0 - >=media-libs/qt-gstreamer-1.2.0-r4 - net-libs/farstream:0.2 - net-libs/telepathy-farstream - >=net-libs/telepathy-qt-0.9.8[farstream] -" -# TODO: dep leak suspect -DEPEND="${RDEPEND} - >=kde-frameworks/kcmutils-${KFMIN}:5 -" diff --git a/kde-apps/ktp-call-ui/metadata.xml b/kde-apps/ktp-call-ui/metadata.xml deleted file mode 100644 index 9c604ba4a6dc..000000000000 --- a/kde-apps/ktp-call-ui/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>kde@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/kde-apps/parley/parley-20.08.3.ebuild b/kde-apps/parley/parley-20.08.3-r1.ebuild index 01011f306298..7cb545fab6b2 100644 --- a/kde-apps/parley/parley-20.08.3.ebuild +++ b/kde-apps/parley/parley-20.08.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -49,3 +49,14 @@ DEPEND=" RDEPEND="${DEPEND} >=kde-apps/kdeedu-data-${PVCUT}:5 " + +src_prepare() { + ecm_src_prepare + cmake_comment_add_subdirectory plugins +} + +pkg_postinst() { + ecm_pkg_postinst + elog "Plugins are disabled in Gentoo due to lack of Python-3 compatible" + elog "kross-interpreters, bug #766333." +} diff --git a/kde-apps/parley/parley-20.12.1.ebuild b/kde-apps/parley/parley-20.12.1-r1.ebuild index 226d129256a9..588f0be5fbb3 100644 --- a/kde-apps/parley/parley-20.12.1.ebuild +++ b/kde-apps/parley/parley-20.12.1-r1.ebuild @@ -49,3 +49,14 @@ DEPEND=" RDEPEND="${DEPEND} >=kde-apps/kdeedu-data-${PVCUT}:5 " + +src_prepare() { + ecm_src_prepare + cmake_comment_add_subdirectory plugins +} + +pkg_postinst() { + ecm_pkg_postinst + elog "Plugins are disabled in Gentoo due to lack of Python-3 compatible" + elog "kross-interpreters, bug #766333." +} diff --git a/kde-apps/spectacle/spectacle-20.12.1-r1.ebuild b/kde-apps/spectacle/spectacle-20.12.1-r1.ebuild index 3dca38ceeac7..3fc21616ca70 100644 --- a/kde-apps/spectacle/spectacle-20.12.1-r1.ebuild +++ b/kde-apps/spectacle/spectacle-20.12.1-r1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://apps.kde.org/en/spectacle" LICENSE="LGPL-2+ handbook? ( FDL-1.3 ) kipi? ( GPL-2+ )" SLOT="5" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="+annotate kipi share" # TODO: Qt5Svg leaking from media-libs/kimageannotator |
