diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-01 19:39:52 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-01 20:20:32 +0100 |
commit | beb6ed08d4fbd0d732510a629faf8faeefb49f01 (patch) | |
tree | 8f7bb6fd6e020f566dfed6ca4ac76c56b1b22b78 /kde-apps/dolphin | |
parent | kde-plasma: Drop KDE Plasma 5.13.5 (diff) | |
download | gentoo-beb6ed08d4fbd0d732510a629faf8faeefb49f01.tar.gz gentoo-beb6ed08d4fbd0d732510a629faf8faeefb49f01.tar.bz2 gentoo-beb6ed08d4fbd0d732510a629faf8faeefb49f01.zip |
kde-apps: Drop KDE Applications 18.04.3
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/dolphin')
-rw-r--r-- | kde-apps/dolphin/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/dolphin/dolphin-18.04.3-r1.ebuild | 92 | ||||
-rw-r--r-- | kde-apps/dolphin/files/dolphin-18.04.3-memleak-1.patch | 36 | ||||
-rw-r--r-- | kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch | 37 | ||||
-rw-r--r-- | kde-apps/dolphin/files/dolphin-18.04.3-root-user.patch | 56 | ||||
-rw-r--r-- | kde-apps/dolphin/files/dolphin-18.04.3-root-warn.patch | 45 |
6 files changed, 0 insertions, 267 deletions
diff --git a/kde-apps/dolphin/Manifest b/kde-apps/dolphin/Manifest index c52949b92c19..0ba85495eed2 100644 --- a/kde-apps/dolphin/Manifest +++ b/kde-apps/dolphin/Manifest @@ -1,2 +1 @@ -DIST dolphin-18.04.3.tar.xz 4850916 BLAKE2B 1d2a5c4f5e94e2f30055804d96c205eb2c03864ad2b6c245d917549986fbac26686e654818dacf93fcb711f59bfe6e7f3a011e578988f5bf9e6b6cb82fc33876 SHA512 167a35225dd4e75b7ff863771287a471273e0594c247ef058adc718682eb07f014ca84bc373e1c3a846e99711aad3d9a16b12aab8543aa3603e17f944b206b21 DIST dolphin-18.08.3.tar.xz 4859384 BLAKE2B 60361ce997e0e4734fe953f988774dbe28aef9dcb7c2837c3860cfad5f56345d4d635f1478ce42a1649a6d5bd0d3838f722c95a747e1c77f17828d0d38b0ab29 SHA512 f3017ecb67009292972876f27ade398699622cd4253e608d78b9c8dd7693bce2a1d742af5f51885b28c1765496b31f83ac25fda40ba330821b460622adc7ad7c diff --git a/kde-apps/dolphin/dolphin-18.04.3-r1.ebuild b/kde-apps/dolphin/dolphin-18.04.3-r1.ebuild deleted file mode 100644 index 0b73811fb28b..000000000000 --- a/kde-apps/dolphin/dolphin-18.04.3-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -KDE_HANDBOOK="forceoptional" -KDE_TEST="true" -VIRTUALX_REQUIRED="test" -inherit kde5 - -DESCRIPTION="Plasma filemanager focusing on usability" -HOMEPAGE="https://www.kde.org/applications/system/dolphin https://userbase.kde.org/Dolphin" -KEYWORDS="amd64 x86" -IUSE="semantic-desktop thumbnail" - -DEPEND=" - $(add_frameworks_dep kbookmarks) - $(add_frameworks_dep kcmutils) - $(add_frameworks_dep kcodecs) - $(add_frameworks_dep kcompletion) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kcrash) - $(add_frameworks_dep kdbusaddons) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kiconthemes) - $(add_frameworks_dep kinit) - $(add_frameworks_dep kio) - $(add_frameworks_dep kitemviews) - $(add_frameworks_dep kjobwidgets) - $(add_frameworks_dep knewstuff) - $(add_frameworks_dep knotifications) - $(add_frameworks_dep kparts) - $(add_frameworks_dep kservice) - $(add_frameworks_dep ktextwidgets) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kxmlgui) - $(add_frameworks_dep solid) - $(add_qt_dep qtconcurrent) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtxml) - media-libs/phonon[qt5(+)] - semantic-desktop? ( - $(add_frameworks_dep baloo) - $(add_frameworks_dep kfilemetadata) - $(add_kdeapps_dep baloo-widgets) - ) - !semantic-desktop? ( - $(add_frameworks_dep kdelibs4support) - ) -" -RDEPEND="${DEPEND} - $(add_kdeapps_dep kio-extras) - thumbnail? ( - $(add_kdeapps_dep ffmpegthumbs) - $(add_kdeapps_dep thumbnailers) - ) -" - -RESTRICT+=" test" - -PATCHES=( - "${FILESDIR}"/${PN}-18.04.1-flto.patch - "${FILESDIR}"/${P}-root-user.patch - "${FILESDIR}"/${P}-root-warn.patch - "${FILESDIR}"/${P}-memleak-{1,2}.patch -) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_find_package semantic-desktop KF5Baloo) - $(cmake-utils_use_find_package semantic-desktop KF5BalooWidgets) - $(cmake-utils_use_find_package semantic-desktop KF5FileMetaData) - ) - - kde5_src_configure -} - -pkg_postinst() { - kde5_pkg_postinst - - if ! has_version "kde-apps/ark:${SLOT}" ; then - elog "For compress/extract and other actions, please install kde-apps/ark:${SLOT}" - fi - - if ! has_version "kde-apps/kleopatra:${SLOT}" ; then - elog "For crypto actions, please install kde-apps/kleopatra:${SLOT}" - fi -} diff --git a/kde-apps/dolphin/files/dolphin-18.04.3-memleak-1.patch b/kde-apps/dolphin/files/dolphin-18.04.3-memleak-1.patch deleted file mode 100644 index 5bbeaa7e617c..000000000000 --- a/kde-apps/dolphin/files/dolphin-18.04.3-memleak-1.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4536e25ac929d8d37ffbbba0642de662bcc9f891 Mon Sep 17 00:00:00 2001 -From: David Hallas <david@davidhallas.dk> -Date: Wed, 18 Jul 2018 23:20:18 +0200 -Subject: Fixes memory leak in KItemListViewAccessible - -Summary: The KItemListViewAccessible class has a list of QAccessibleInterface pointers in a member variable m_cells. The problem is that when new entries are created, the newly allocated pointer is not stored in the list, only a nullptr is store, this renders the cleanup code in the destructor useless. This patch simply stores the pointer in the list, causing the destructor to correctly free the memory. - -Test Plan: I found this issue using address sanitizer. Simply building Dolphin with -fsanitize=address and opening a window caused the memory leak. - -Reviewers: #dolphin, jtamate, elvisangelaccio - -Reviewed By: #dolphin, jtamate, elvisangelaccio - -Subscribers: elvisangelaccio, kfm-devel - -Tags: #dolphin - -Differential Revision: https://phabricator.kde.org/D14168 ---- - src/kitemviews/kitemlistviewaccessible.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/kitemviews/kitemlistviewaccessible.cpp b/src/kitemviews/kitemlistviewaccessible.cpp -index 69c126f..4d1b28b 100644 ---- a/src/kitemviews/kitemlistviewaccessible.cpp -+++ b/src/kitemviews/kitemlistviewaccessible.cpp -@@ -78,6 +78,7 @@ QAccessibleInterface* KItemListViewAccessible::cell(int index) const - QAccessibleInterface* child = m_cells.at(index); - if (!child) { - child = new KItemListAccessibleCell(view(), index); -+ m_cells.insert(index, child); - QAccessible::registerAccessibleInterface(child); - } - return child; --- -cgit v0.11.2 diff --git a/kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch b/kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch deleted file mode 100644 index f39885bdca36..000000000000 --- a/kde-apps/dolphin/files/dolphin-18.04.3-memleak-2.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 2cbf3cb11ea668577121fa755c1ddacc6f0acdd8 Mon Sep 17 00:00:00 2001 -From: David Hallas <david@davidhallas.dk> -Date: Wed, 18 Jul 2018 16:43:25 -0600 -Subject: Fixes small memory leak in DolphinContextMenu - -Summary: When DolphinContextMenu::baseFileItem is called a KFileItem is allocated and stored in DolphinContextMenu::m_baseFileItem, which is of type KFileItem*, but the destructor failed to delete this. - -Test Plan: This leak was found using Address Sanitizer - -Reviewers: broulik, elvisangelaccio - -Reviewed By: broulik, elvisangelaccio - -Subscribers: ngraham, kfm-devel - -Tags: #dolphin - -Differential Revision: https://phabricator.kde.org/D14178 ---- - src/dolphincontextmenu.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp -index 7d7d7a4..8fdaab1 100644 ---- a/src/dolphincontextmenu.cpp -+++ b/src/dolphincontextmenu.cpp -@@ -81,6 +81,8 @@ DolphinContextMenu::DolphinContextMenu(DolphinMainWindow* parent, - - DolphinContextMenu::~DolphinContextMenu() - { -+ delete m_baseFileItem; -+ m_baseFileItem = nullptr; - delete m_selectedItemsProperties; - m_selectedItemsProperties = nullptr; - } --- -cgit v0.11.2 diff --git a/kde-apps/dolphin/files/dolphin-18.04.3-root-user.patch b/kde-apps/dolphin/files/dolphin-18.04.3-root-user.patch deleted file mode 100644 index 04baafa1d8e8..000000000000 --- a/kde-apps/dolphin/files/dolphin-18.04.3-root-user.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 40453cb627a39f1ff92373f865426f0bcdc83419 Mon Sep 17 00:00:00 2001 -From: Nathaniel Graham <nate@kde.org> -Date: Wed, 9 May 2018 17:18:08 -0600 -Subject: Re-allow running Dolphin as the root user (but still not using sudo) - -Summary: -Prohibiting the use of Dolphin as the actual root user (not using `sudo` or `kdesu`) breaks legitimate use cases for using the root user. An example is Kali, a distro that logs in as the root user by default as a deliberate design choice. - -In such an environment, there is no additional security vulnerability beyond what you're already potentially exposing yourself to. So, let's re-enable it. - -BUG: 387974 -FIXED-IN: 18.08.0 - -Test Plan: -- Log in as normal user and run `sudo dolphin`: you get an error message. -- Log in as normal user and run `kdesu dolphin`: you get an error message. -- Log in as the root user and run dolphin normally: it works. - -Reviewers: markg, elvisangelaccio, #dolphin - -Reviewed By: markg - -Subscribers: chinmoyr, cfeck, elvisangelaccio, mmustac, Fuchs, markg, graesslin, nicolasfella, zzag, kfm-devel, emmanuelp - -Tags: #dolphin - -Differential Revision: https://phabricator.kde.org/D12795 ---- - src/main.cpp | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -diff --git a/src/main.cpp b/src/main.cpp -index db52e11..75bab67 100644 ---- a/src/main.cpp -+++ b/src/main.cpp -@@ -43,10 +43,15 @@ - extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) - { - #ifndef Q_OS_WIN -- // Check whether we are running as root -+ // Prohibit using sudo or kdesu (but allow using the root user directly) - if (getuid() == 0) { -- std::cout << "Executing Dolphin as root is not possible." << std::endl; -- return EXIT_FAILURE; -+ if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { -+ std::cout << "Executing Dolphin with sudo is not possible due to unfixable security vulnerabilities." << std::endl; -+ return EXIT_FAILURE; -+ } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) { -+ std::cout << "Executing Dolphin with kdesu is not possible due to unfixable security vulnerabilities." << std::endl; -+ return EXIT_FAILURE; -+ } - } - #endif - --- -cgit v0.11.2 diff --git a/kde-apps/dolphin/files/dolphin-18.04.3-root-warn.patch b/kde-apps/dolphin/files/dolphin-18.04.3-root-warn.patch deleted file mode 100644 index bd6e2ab0d815..000000000000 --- a/kde-apps/dolphin/files/dolphin-18.04.3-root-warn.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 621cd24acfec8cbed19e9aa6ff8650cd6f38f809 Mon Sep 17 00:00:00 2001 -From: Nathaniel Graham <nate@kde.org> -Date: Sun, 6 May 2018 17:48:54 -0600 -Subject: Show a warning when running as the root user - -Summary: Now that Dolphin can be run as the root user again, let's show a warning. - -Test Plan: -When run with the root user account: -{F5882057} - -Reviewers: #dolphin, markg, elvisangelaccio - -Reviewed By: markg, elvisangelaccio - -Subscribers: acooligan, anthonyfieroni, chinmoyr, kfm-devel, rikmills, emmanuelp, zzag, nicolasfella, elvisangelaccio, Fuchs, mmustac, markg - -Tags: #dolphin - -Differential Revision: https://phabricator.kde.org/D12732 ---- - src/dolphinviewcontainer.cpp | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp -index bf8ac88..7b99595 100644 ---- a/src/dolphinviewcontainer.cpp -+++ b/src/dolphinviewcontainer.cpp -@@ -108,6 +108,14 @@ DolphinViewContainer::DolphinViewContainer(const QUrl& url, QWidget* parent) : - m_messageWidget->setCloseButtonVisible(true); - m_messageWidget->hide(); - -+#ifndef Q_OS_WIN -+ if (getuid() == 0) { -+ -+ // We must be logged in as the root user; show a big scary warning -+ showMessage(i18n("Running Dolphin as root can be dangerous. Please be careful."), Warning); -+ } -+#endif -+ - m_view = new DolphinView(url, this); - connect(m_view, &DolphinView::urlChanged, - m_urlNavigator, &KUrlNavigator::setLocationUrl); --- -cgit v0.11.2 |