Hello community,

here is the log from the commit of package dolphin for openSUSE:Factory checked 
in at 2017-05-08 18:46:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dolphin (Old)
 and      /work/SRC/openSUSE:Factory/.dolphin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dolphin"

Mon May  8 18:46:16 2017 rev:26 rq:490347 version:17.04.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/dolphin/dolphin.changes  2017-03-15 
00:51:04.280094014 +0100
+++ /work/SRC/openSUSE:Factory/.dolphin.new/dolphin.changes     2017-05-08 
18:46:18.849706234 +0200
@@ -1,0 +2,37 @@
+Sat Apr 22 12:02:11 UTC 2017 - [email protected]
+
+- Add patch to re-allow running dolphin as root:
+  * 0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
+
+-------------------------------------------------------------------
+Sun Apr 16 10:44:46 CEST 2017 - [email protected]
+
+- Update to 17.04.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04.0.php
+- Changes since 17.03.90:
+  * None
+
+-------------------------------------------------------------------
+Wed Apr 12 20:25:14 CEST 2017 - [email protected]
+
+- Update to 17.03.90
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04-rc.php
+- Changes since 17.03.80:
+  * Update name of the delete action in the .rc files
+  * behavior change -> New Window opens with same URL
+
+-------------------------------------------------------------------
+Sat Mar 25 23:10:08 CET 2017 - [email protected]
+
+- Update to 17.03.80
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.03.80.php
+- Changes since 16.12.3:
+  * Too many changes to list here
+
+-------------------------------------------------------------------

Old:
----
  dolphin-16.12.3.tar.xz

New:
----
  0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
  dolphin-17.04.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dolphin.spec ++++++
--- /var/tmp/diff_new_pack.8XWE5e/_old  2017-05-08 18:46:19.701585771 +0200
+++ /var/tmp/diff_new_pack.8XWE5e/_new  2017-05-08 18:46:19.705585206 +0200
@@ -16,19 +16,23 @@
 #
 
 
+%bcond_without lang
+
 Name:           dolphin
-Version:        16.12.3
+Version:        17.04.0
 Release:        0
 %define kf5_version 5.26.0
-# Latest stable Applications (e.g. 16.08 in KA, but 16.12.3 in KUA)
+# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
 %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Summary:        KDE File Manager
 License:        GPL-2.0+
 Group:          Productivity/File utilities
-Url:            http://www.kde.org/
+Url:            http://www.kde.org
 Source:         dolphin-%{version}.tar.xz
 Source1:        dolphinsu.desktop
 Patch0:         dolphin-go_up.diff
+# PATCH-FIX-OPENSUSE
+Patch1:         0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
 BuildRequires:  baloo5-devel
 BuildRequires:  baloo5-widgets-devel
 BuildRequires:  extra-cmake-modules >= 1.6.0
@@ -65,6 +69,7 @@
 Recommends:     kio-extras5
 Recommends:     konsole-part
 Obsoletes:      dolphin5
+Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -96,9 +101,14 @@
 %description devel
 This package contains the libraries used by Dolphin and Konqueror.
 
+%if %{with lang}
+%lang_package
+%endif
+
 %prep
 %setup -q -n dolphin-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
   %cmake_kf5 -d build
@@ -106,6 +116,10 @@
 
 %install
   %kf5_makeinstall -C build
+  %if %{with lang}
+    %find_lang %{name} --with-man --all-name
+    %kf5_find_htmldocs
+  %endif
 
   install -D -m 0644 %{SOURCE1} 
%{buildroot}%{_kf5_applicationsdir}/org.kde.dolphinsu.desktop
   %suse_update_desktop_file org.kde.dolphin          System FileManager
@@ -113,14 +127,14 @@
   rm -rfv %{buildroot}%{_kf5_libdir}/libdolphinprivate.so
   find %{buildroot} -type f -name '*filenamesearch*' -exec rm -fv {} ';'
 
-%post -n dolphin-part -p /sbin/ldconfig
-%postun -n dolphin-part -p /sbin/ldconfig
-%post -n dolphin -p /sbin/ldconfig
-%postun -n dolphin -p /sbin/ldconfig
+%post part -p /sbin/ldconfig
+%postun part -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 %post -n libdolphinvcs5 -p /sbin/ldconfig
 %postun -n libdolphinvcs5 -p /sbin/ldconfig
 
-%files -n dolphin
+%files
 %defattr(-,root,root)
 %doc COPYING* README
 %{_kf5_libdir}/libkdeinit5_dolphin.so
@@ -140,7 +154,7 @@
 %{_datadir}/dbus-1/interfaces/org.freedesktop.FileManager1.xml
 %{_datadir}/dbus-1/services/org.kde.dolphin.FileManager1.service
 
-%files -n dolphin-part
+%files part
 %defattr(-,root,root)
 %doc COPYING* README
 %{_kf5_libdir}/libdolphinprivate.so.*
@@ -177,4 +191,9 @@
 %{_kf5_prefix}/include/dolphin_export.h
 %{_includedir}/dolphinvcs_export.h
 
+%if %{with lang}
+%files lang -f %{name}.lang
+%doc COPYING*
+%endif
+
 %changelog

++++++ 0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch ++++++
>From ba74d639178916221c748b0d5d89f7ac4f5ed669 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <[email protected]>
Date: Sat, 22 Apr 2017 14:00:33 +0200
Subject: [PATCH] Revert "Disallow executing Dolphin as root on Linux"

This reverts commit 0bdd8e0b0516555c6233fdc7901e9b417cf89791.
We ship a desktop file to open dolphin as root and we allow YaST on the
desktop. So this patch is absolutely pointless for us.
---
 src/main.cpp | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/main.cpp b/src/main.cpp
index 789a52996..acba8daed 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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()));
-- 
2.12.0

++++++ dolphin-16.12.3.tar.xz -> dolphin-17.04.0.tar.xz ++++++
++++ 246634 lines of diff (skipped)


Reply via email to