diff options
author | Eric Hameleers <alien@slackware.com> | 2015-01-09 00:06:49 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-01-09 00:06:49 +0100 |
commit | da1be5a21ba06235b67a999f696ec66e35dc17a1 (patch) | |
tree | 6df637d821a6ac0ad65f8caaf967ea2a6956a862 /kde/patch/kde-baseapps/dolphin_kdebug_327224.patch | |
parent | b1b35d20ce6b70330b23a9d056dcb44b58795bd6 (diff) | |
download | ktown-da1be5a21ba06235b67a999f696ec66e35dc17a1.tar.gz ktown-da1be5a21ba06235b67a999f696ec66e35dc17a1.tar.xz |
Prepare for new KDE 5: Frameworks 5.6.0, Plasma 5.1.2, Applications 14.12.0.
KDE 5_1501
==========
This is going to be KDE 5 for Slackware-current, composed of Frameworks 5.6.0,
Plasma 5.1.2 and Applications 14.12.0.
Note that there is still a lot of KDE 4 stuff in here, which is necessary to
support all the Applications that have not yet been ported to KDE Frameworks 5.
The Applications 15.04 (march 2015) release should offer a lot more KF5 ports.
Preliminary build procedure (not verified 100% yet):
----------------------------------------------------
- (crude) get rid of Slackware's KDE: removepkg /var/log/packages/*-4.10.5-*
- build all the deps using "updates.SlackBuild" script in the "deps/" directory
- note that extra-cmake-modules is required here as well as when building the
frameworks, so I just copied it from frameworks to deps.
- logoff/login to activate Qt5 profile script.
- removepkg akonadi-qt5 or else kdepimlibs-4.14.3 picks up Qt5 dependencies and
its compilation will fail as a result
- build all the KDE 4 stuff in the "kde/" directory, using "./KDE.SlackBuild kde
libs kdebase:nepomuk-core kdepimlibs kdebase kdebindings kdebase:kde-workspace k
depim extragear"
- installpkg akonadi-qt5
- build the remaining KDE 5 stuff in the "kde/" directory, using "./KDE.SlackBui
ld frameworks plasma plasma-extra polkit-kde applications"
- build kdei
==============================================================================
Eric Hameleers / alien at slackware dot com / 09-jan-2015
Diffstat (limited to 'kde/patch/kde-baseapps/dolphin_kdebug_327224.patch')
-rw-r--r-- | kde/patch/kde-baseapps/dolphin_kdebug_327224.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/kde/patch/kde-baseapps/dolphin_kdebug_327224.patch b/kde/patch/kde-baseapps/dolphin_kdebug_327224.patch new file mode 100644 index 0000000..8210d87 --- /dev/null +++ b/kde/patch/kde-baseapps/dolphin_kdebug_327224.patch @@ -0,0 +1,57 @@ +Revert "Files passed as arguments: Ignore unsupported files" + +This reverts commit cd9e50ae4f3ded5a78d0cfb09a67684a9c15d726. + +See bug#327224 for details. + +--- a/dolphin/src/dolphinmainwindow.cpp ++++ b/dolphin/src/dolphinmainwindow.cpp +@@ -31,7 +31,6 @@ + #include "panels/information/informationpanel.h" + #include "settings/dolphinsettingsdialog.h" + #include "statusbar/dolphinstatusbar.h" +-#include "views/dolphinview.h" + #include "views/dolphinviewactionhandler.h" + #include "views/dolphinremoteencoding.h" + #include "views/draganddrophelper.h" +@@ -244,20 +243,8 @@ + return; + } + +- // dirs could contain URLs that actually point to archives or other files. +- // Replace them by URLs we can open where possible and filter the rest out. +- QList<KUrl> urlsToOpen; +- foreach (const KUrl& rawUrl, dirs) { +- const KFileItem& item = KFileItem(KFileItem::Unknown, KFileItem::Unknown, rawUrl); +- item.determineMimeType(); +- const KUrl& url = DolphinView::openItemAsFolderUrl(item); +- if (!url.isEmpty()) { +- urlsToOpen.append(url); +- } +- } +- +- if (urlsToOpen.count() == 1) { +- m_activeViewContainer->setUrl(urlsToOpen.first()); ++ if (dirs.count() == 1) { ++ m_activeViewContainer->setUrl(dirs.first()); + return; + } + +@@ -267,12 +254,12 @@ + + // Open each directory inside a new tab. If the "split view" option has been enabled, + // always show two directories within one tab. +- QList<KUrl>::const_iterator it = urlsToOpen.begin(); +- while (it != urlsToOpen.end()) { ++ QList<KUrl>::const_iterator it = dirs.begin(); ++ while (it != dirs.end()) { + openNewTab(*it); + ++it; + +- if (hasSplitView && (it != urlsToOpen.end())) { ++ if (hasSplitView && (it != dirs.end())) { + const int tabIndex = m_viewTab.count() - 1; + m_viewTab[tabIndex].secondaryView->setUrl(*it); + ++it; + + |