Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=dec6f433bb704b644998f0288094e914b979e34a

commit dec6f433bb704b644998f0288094e914b979e34a
Author: crazy <[email protected]>
Date:   Mon Apr 24 11:37:29 2017 +0200

dolphin-17.04.0-2-x86_64
* added revert patch for :
https://github.com/KDE/dolphin/commit/0bdd8e0b0516555c6233fdc7901e9b417cf89791.diff
* well or maybe we can fake us as WinDoS and still can have kdesu .. working .. 
heh

diff --git a/source/kde5/dolphin/FrugalBuild b/source/kde5/dolphin/FrugalBuild
index 738c2f4..5134a0b 100644
--- a/source/kde5/dolphin/FrugalBuild
+++ b/source/kde5/dolphin/FrugalBuild
@@ -3,12 +3,12 @@

pkgname=dolphin
pkgver=17.04.0
-pkgrel=1
+pkgrel=2
pkgdesc="File Manager"
archs=("x86_64")
_F_kde_project="applications"
Finclude kf5
-source+=('frugalware.patch')
+source+=('frugalware.patch' 
'revert-0bdd8e0b0516555c6233fdc7901e9b417cf89791.patch')
groups+=('kde5-apps')
makedepends+=("kdoctools>=$_F_kf5_full")
depends=("kinit>=$_F_kf5_full" "kcmutils>=$_F_kf5_full" \
@@ -21,9 +21,9 @@ depends=("kinit>=$_F_kf5_full" "kcmutils>=$_F_kf5_full" \
"knotifications>=$_F_kf5_full" "kcrash>=$_F_kf5_full" \
"kdelibs4support>=$_F_kf5_full" "kactivities5>=$_F_kf5_full" \
"baloo-widgets>=$_F_kdever_apps" "kfilemetadata5>=$_F_kf5_full" 
"qt5-declarative>=$_F_kdever_qt5")
-
rodepends=('ffmpegthumbs' 'kdegraphics-thumbnailers' 'kdesdk-thumbnailers')
sha1sums=('d5cab201bd57f3daef1058294de2484f912dea8c' \
-          '2eef7200baa37ec313400d59863dca7a5bd55b02')
+          '2eef7200baa37ec313400d59863dca7a5bd55b02' \
+          '911f5b6aed47972ba907dd73e65a92fc7e2762d7')

# optimization OK
diff --git 
a/source/kde5/dolphin/revert-0bdd8e0b0516555c6233fdc7901e9b417cf89791.patch 
b/source/kde5/dolphin/revert-0bdd8e0b0516555c6233fdc7901e9b417cf89791.patch
new file mode 100644
index 0000000..2f65cb7
--- /dev/null
+++ b/source/kde5/dolphin/revert-0bdd8e0b0516555c6233fdc7901e9b417cf89791.patch
@@ -0,0 +1,25 @@
+diff -Naur dolphin-17.04.0/src/main.cpp dolphin-17.04.0-p/src/main.cpp
+--- dolphin-17.04.0/src/main.cpp       2017-04-12 13:36:03.000000000 +0200
++++ dolphin-17.04.0-p/src/main.cpp     2017-04-24 11:30:51.555135876 +0200
+@@ -35,21 +35,8 @@
+ #include <KLocalizedString>
+ #include <Kdelibs4ConfigMigrator>
+
+-#ifndef Q_OS_WIN
+-#include <unistd.h>
+-#endif
+-#include <iostream>
+-
+ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
+ {
+-#ifndef Q_OS_WIN
+-    // Check whether we are running as root
+-    if (getuid() == 0) {
+-        std::cout << "Executing Dolphin as root is not possible." << 
std::endl;
+-        return EXIT_FAILURE;
+-    }
+-#endif
+-
+     QApplication app(argc, argv);
+     app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
+     app.setWindowIcon(QIcon::fromTheme(QStringLiteral("system-file-manager"), 
app.windowIcon()));
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to