dolphin
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
diff -Naur dolphin-17.04.0.old/src/main.cpp dolphin-17.04.0/src/main.cpp
|
||||||
|
--- dolphin-17.04.0.old/src/main.cpp 2017-04-25 02:44:57.440557635 -0400
|
||||||
|
+++ dolphin-17.04.0/src/main.cpp 2017-04-25 02:45:22.535328410 -0400
|
||||||
|
@@ -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()));
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
<License>GPLv2</License>
|
<License>GPLv2</License>
|
||||||
<Summary>KDE File Manager</Summary>
|
<Summary>KDE File Manager</Summary>
|
||||||
<Description>Dolphin is the File Manager for KDE.</Description>
|
<Description>Dolphin is the File Manager for KDE.</Description>
|
||||||
<Archive sha1sum="6e7cc3e3293df708a9fd19811f360f0260b041b5" type="tarxz">mirrors://kde/stable/applications/17.04.2/src/dolphin-17.04.2.tar.xz</Archive>
|
<Archive sha1sum="dda594bf56a7033813bf99935ec7cf35a44d4dc0" type="tarxz">mirrors://kde/stable/applications/17.04.3/src/dolphin-17.04.3.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
|
<Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
|
||||||
<Dependency>qt5-phonon-devel</Dependency>
|
<Dependency>qt5-phonon-devel</Dependency>
|
||||||
@@ -35,6 +35,7 @@
|
|||||||
<Dependency>extra-cmake-modules</Dependency>
|
<Dependency>extra-cmake-modules</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
|
<Patch level="1">dolphin-17.04.0-allow-root.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -107,6 +108,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="10">
|
||||||
|
<Date>2017-07-17</Date>
|
||||||
|
<Version>17.04.3</Version>
|
||||||
|
<Comment>Version bump</Comment>
|
||||||
|
<Name>Ali Algul</Name>
|
||||||
|
<Email>aligulle3801@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="9">
|
<Update release="9">
|
||||||
<Date>2017-06-29</Date>
|
<Date>2017-06-29</Date>
|
||||||
<Version>17.04.2</Version>
|
<Version>17.04.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user