diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-10 21:06:23 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-14 10:22:28 +0100 |
commit | 19c96cdf5d4df5eb3fdab560eb4a55a50b3159e6 (patch) | |
tree | f30008acc3f7abbb575556497ab78b647b490ddf /kde-frameworks/kio/files | |
parent | kde-frameworks/kinit: drop 5.85.0* (diff) | |
download | gentoo-19c96cdf5d4df5eb3fdab560eb4a55a50b3159e6.tar.gz gentoo-19c96cdf5d4df5eb3fdab560eb4a55a50b3159e6.tar.bz2 gentoo-19c96cdf5d4df5eb3fdab560eb4a55a50b3159e6.zip |
kde-frameworks/kio: drop 5.85.0*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kio/files')
3 files changed, 0 insertions, 214 deletions
diff --git a/kde-frameworks/kio/files/kio-5.85.0-KDirOperator-exp-to-url-only-in-detail-treeview.patch b/kde-frameworks/kio/files/kio-5.85.0-KDirOperator-exp-to-url-only-in-detail-treeview.patch deleted file mode 100644 index 54365b694fa6..000000000000 --- a/kde-frameworks/kio/files/kio-5.85.0-KDirOperator-exp-to-url-only-in-detail-treeview.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 51737430fcd963a04a4eddbb166114ae25430814 Mon Sep 17 00:00:00 2001 -From: Ahmad Samir <a.samirh78@gmail.com> -Date: Wed, 4 Aug 2021 23:22:10 +0200 -Subject: [PATCH] KDirOperator: expand to url only in detail tree view - -When "allow expansion" is disabled in the menu, the view type is KFile::Tree, -however when selecting an item from the location (Name:) combobox history, -the item model would expand to show the file; that should only happen if -"allow expansion" is enabled, i.e. when the view type is KFile::DetailTree. - -BUG: 440475 -FIXED-IN: 5.86 - -asturm 2021-08-15: fixed by merge with 8039f8b399757001ffa919ef56ede283c287dcd4 ---- - src/filewidgets/kdiroperator.cpp | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/src/filewidgets/kdiroperator.cpp b/src/filewidgets/kdiroperator.cpp -index bc80d93fe..7af20a057 100644 ---- a/src/filewidgets/kdiroperator.cpp -+++ b/src/filewidgets/kdiroperator.cpp -@@ -1870,7 +1870,11 @@ void KDirOperator::setCurrentItem(const QUrl &url) - KFileItem item = d->m_dirLister->findByUrl(url); - if (d->m_shouldFetchForItems && item.isNull()) { - d->m_itemsToBeSetAsCurrent << url; -- d->m_dirModel->expandToUrl(url); -+ -+ if (d->m_viewKind == KFile::DetailTree) { -+ d->m_dirModel->expandToUrl(url); -+ } -+ - return; - } - -@@ -1909,9 +1913,14 @@ void KDirOperator::setCurrentItems(const QList<QUrl> &urls) - KFileItem item = d->m_dirLister->findByUrl(url); - if (d->m_shouldFetchForItems && item.isNull()) { - d->m_itemsToBeSetAsCurrent << url; -- d->m_dirModel->expandToUrl(url); -+ -+ if (d->m_viewKind == KFile::DetailTree) { -+ d->m_dirModel->expandToUrl(url); -+ } -+ - continue; - } -+ - itemList << item; - } - --- -GitLab - diff --git a/kde-frameworks/kio/files/kio-5.85.0-allow-edit-icons-for-root-owned-desktop-files.patch b/kde-frameworks/kio/files/kio-5.85.0-allow-edit-icons-for-root-owned-desktop-files.patch deleted file mode 100644 index 34a70a827e03..000000000000 --- a/kde-frameworks/kio/files/kio-5.85.0-allow-edit-icons-for-root-owned-desktop-files.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 2187b62588b060bc27143dd326b5171aec930454 Mon Sep 17 00:00:00 2001 -From: Nicolas Fella <nicolas.fella@gmx.de> -Date: Sat, 7 Aug 2021 19:38:43 +0000 -Subject: [PATCH] [kpropertiesdialog] Allow editing icons for root-owned - desktop files - ---- - src/widgets/kpropertiesdialog.cpp | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/src/widgets/kpropertiesdialog.cpp b/src/widgets/kpropertiesdialog.cpp -index 76155338e..2288ccc08 100644 ---- a/src/widgets/kpropertiesdialog.cpp -+++ b/src/widgets/kpropertiesdialog.cpp -@@ -1206,6 +1206,14 @@ KFilePropsPlugin::KFilePropsPlugin(KPropertiesDialog *_props) - bool KFilePropsPlugin::enableIconButton() const - { - const KFileItem item = properties->item(); -+ -+ // desktop files are special, files in /usr/share/applications can be -+ // edited by overlaying them in .local/share/applications -+ // https://bugs.kde.org/show_bug.cgi?id=429613 -+ if (item.isDesktopFile()) { -+ return true; -+ } -+ - // If the current item is a directory, check if it's writable, - // so we can create/update a .directory - // Current item is a file, same thing: check if it is writable --- -GitLab - diff --git a/kde-frameworks/kio/files/kio-5.85.0-revert-to-pre-libblkid-parsing.patch b/kde-frameworks/kio/files/kio-5.85.0-revert-to-pre-libblkid-parsing.patch deleted file mode 100644 index 1f4c7cf06157..000000000000 --- a/kde-frameworks/kio/files/kio-5.85.0-revert-to-pre-libblkid-parsing.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 221a94a66c4d2f6e4f2dc938ee8a63a6ca739477 Mon Sep 17 00:00:00 2001 -From: Ahmad Samir <a.samirh78@gmail.com> -Date: Wed, 20 Oct 2021 20:01:40 +0200 -Subject: [PATCH] KMountPoint: revert to parsing /dev/disk/by-{uuid,label}/ - manually - -Apparently libblkid is causing some performance issues when resolving -UUID/LABEL tags from fstab when the device that has that UUID/LABEL isn't -present. - -Parsing /dev/disk/by-* is more basic, since it's a simple check resolving -some symlinks. - -Thanks to the users in the bug report for the investigative work, because -personally I couldn't reproduce the problem on my machine no matter what I -tried. - -BUG: 442106 -FIXED-IN: 5.88 ---- - CMakeLists.txt | 3 +-- - src/core/CMakeLists.txt | 5 ++--- - src/core/config-kmountpoint.h.cmake | 2 +- - src/core/kmountpoint.cpp | 18 ++++-------------- - 4 files changed, 8 insertions(+), 20 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index ca374a4cb..f1bb1a59b 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -130,8 +130,7 @@ set_package_properties(ACL PROPERTIES DESCRIPTION "LibACL" - # Used by KMountPoint - if (CMAKE_SYSTEM_NAME MATCHES "Linux") - find_package(LibMount REQUIRED) -- find_package(Blkid REQUIRED) -- set(HAVE_LIBS_MOUNT_AND_BLKID ${LibMount_FOUND} AND ${Blkid_FOUND}) -+ set(HAVE_LIB_MOUNT ${LibMount_FOUND}) - endif() - - if (ANDROID) -diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt -index be19e9b62..67a1b1cf7 100644 ---- a/src/core/CMakeLists.txt -+++ b/src/core/CMakeLists.txt -@@ -236,9 +236,8 @@ if(ACL_FOUND) - target_link_libraries(KF5KIOCore PRIVATE ${ACL_LIBS}) - endif() - --if(HAVE_LIBS_MOUNT_AND_BLKID) -- # libmount links against blkid anyway -- target_link_libraries(KF5KIOCore PRIVATE LibMount::LibMount Blkid::Blkid) -+if(HAVE_LIB_MOUNT) -+ target_link_libraries(KF5KIOCore PRIVATE LibMount::LibMount) - endif() - - # this should be done by cmake, see bug 371721 -diff --git a/src/core/config-kmountpoint.h.cmake b/src/core/config-kmountpoint.h.cmake -index f824d4042..3673eb141 100644 ---- a/src/core/config-kmountpoint.h.cmake -+++ b/src/core/config-kmountpoint.h.cmake -@@ -1,7 +1,7 @@ - #cmakedefine01 HAVE_GETMNTINFO - #cmakedefine01 GETMNTINFO_USES_STATVFS - --#cmakedefine01 HAVE_LIBS_MOUNT_AND_BLKID -+#cmakedefine01 HAVE_LIB_MOUNT - - #cmakedefine01 HAVE_SYS_MOUNT_H - #cmakedefine01 HAVE_FSTAB_H -diff --git a/src/core/kmountpoint.cpp b/src/core/kmountpoint.cpp -index e2d32055c..f41cff5ee 100644 ---- a/src/core/kmountpoint.cpp -+++ b/src/core/kmountpoint.cpp -@@ -44,7 +44,7 @@ static const Qt::CaseSensitivity cs = Qt::CaseSensitive; - #endif - - // Linux --#if HAVE_LIBS_MOUNT_AND_BLKID -+#if HAVE_LIB_MOUNT - #include <libmount/libmount.h> - #include <blkid/blkid.h> - #endif -@@ -176,7 +176,7 @@ KMountPoint::List KMountPoint::possibleMountPoints(DetailsNeededFlags infoNeeded - #ifdef Q_OS_WIN - result = KMountPoint::currentMountPoints(infoNeeded); - --#elif HAVE_LIBS_MOUNT_AND_BLKID -+#elif HAVE_LIB_MOUNT - if (struct libmnt_table *table = mnt_new_table()) { - // By default parses "/etc/fstab" - if (mnt_table_parse_fstab(table, nullptr) == 0) { -@@ -202,23 +202,13 @@ KMountPoint::List KMountPoint::possibleMountPoints(DetailsNeededFlags infoNeeded - // or some network mount - if (const char *source = mnt_fs_get_source(fs)) { - mp->d->m_mountedFrom = QFile::decodeName(source); -- if (mp->d->m_mountedFrom.startsWith(QLatin1String("UUID")) || mp->d->m_mountedFrom.startsWith(QLatin1String("LABEL"))) { -- // Use blkid to resolve UUID/LABEL to the device file -- if (char *blkSource = blkid_evaluate_spec(source, nullptr)) { -- mp->d->m_mountedFrom = QFile::decodeName(blkSource); -- free(blkSource); -- if ((infoNeeded & KMountPoint::NeedRealDeviceName) // -- && mp->d->m_mountedFrom.startsWith(QLatin1String("/dev/"))) { -- mp->d->m_device = mp->d->m_mountedFrom; -- } -- } -- } - } - - if (infoNeeded & NeedMountOptions) { - mp->d->m_mountOptions = QFile::decodeName(mnt_fs_get_options(fs)).split(QLatin1Char(',')); - } - -+ mp->d->finalizePossibleMountPoint(infoNeeded); - result.append(mp); - } - mnt_free_iter(itr); -@@ -351,7 +341,7 @@ KMountPoint::List KMountPoint::currentMountPoints(DetailsNeededFlags infoNeeded) - } - } - --#elif HAVE_LIBS_MOUNT_AND_BLKID -+#elif HAVE_LIB_MOUNT - if (struct libmnt_table *table = mnt_new_table()) { - // By default, parses "/proc/self/mountinfo" - if (mnt_table_parse_mtab(table, nullptr) == 0) { --- -GitLab - |