KDE Release Gear 24.05.2
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/dolphin?expand=0&rev=349
This commit is contained in:
commit
cdcaa5bd5f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
@ -0,0 +1,42 @@
|
|||||||
|
From ba74d639178916221c748b0d5d89f7ac4f5ed669 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
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 | 11 -------------
|
||||||
|
1 file changed, 11 deletions(-)
|
||||||
|
|
||||||
|
Index: dolphin-19.11.70git.20230406T015410~70b160f89/src/main.cpp
|
||||||
|
===================================================================
|
||||||
|
--- dolphin-19.11.70git.20230406T015410~70b160f89.orig/src/main.cpp 2023-04-06 03:54:10.000000000 +0200
|
||||||
|
+++ dolphin-19.11.70git.20230406T015410~70b160f89/src/main.cpp 2023-04-07 01:06:53.444363054 +0200
|
||||||
|
@@ -50,24 +50,7 @@
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
-#ifndef Q_OS_WIN
|
||||||
|
- // Prohibit using sudo or kdesu (but allow using the root user directly)
|
||||||
|
- if (getuid() == 0) {
|
||||||
|
- if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
|
||||||
|
- std::cout << "Running Dolphin with sudo is not supported as it can cause bugs and expose you to security vulnerabilities. Instead, install the "
|
||||||
|
- "`kio-admin` package from your distro and use it to manage root-owned locations by right-clicking on them and selecting \"Open as "
|
||||||
|
- "Administrator\"."
|
||||||
|
- << std::endl;
|
||||||
|
- return EXIT_FAILURE;
|
||||||
|
- } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
|
||||||
|
- std::cout << "Running Dolphin with kdesu is not supported as it can cause bugs and expose you to security vulnerabilities. Instead, install the "
|
||||||
|
- "`kio-admin` package from your distro and use it to manage root-owned locations by right-clicking on them and selecting \"Open as "
|
||||||
|
- "Administrator\"."
|
||||||
|
- << std::endl;
|
||||||
|
- return EXIT_FAILURE;
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
-#endif
|
||||||
|
+
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enable high dpi support
|
BIN
applications.keyring
Normal file
BIN
applications.keyring
Normal file
Binary file not shown.
3
dolphin-24.05.2.tar.xz
Normal file
3
dolphin-24.05.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5f850a4fd7f463f93e05c1b162be55f7d4360cca2189b446fa296ceef35f3567
|
||||||
|
size 5580708
|
16
dolphin-24.05.2.tar.xz.sig
Normal file
16
dolphin-24.05.2.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDmNAACgkQu0YzUNbv
|
||||||
|
Me/b7RAAlOW7Pzd8YTp6jPiC1J1KBaS6AegXgi2VlJdUqPL6YHyKTSZyA/PFmBld
|
||||||
|
M+xYbew0lThvPm8JS7q/hQ6+4oi7kUwntjJ/eYnkoNeZ48ZZ6gEmkOLYMIHodrrc
|
||||||
|
Ird1CXRoBh1HmHu72ikCMgKYaPMmXQ+FQ170KvnHAIebnkLiNg4YA49RaehgViFz
|
||||||
|
Cl49CVlwYH7CjFbPq/LGgeFT/7i1SEZdjWN3j0nkNtAu4/P8nSD+IONIQ/fVWA0S
|
||||||
|
NfWl8vXfs9by2VrSaochRZdiUMenffxV+uw80YsTKwTnPJP24kem2QXNJA1GqKDC
|
||||||
|
FooUo1DwAoVVpv1DiIkQ28WxjssdotyFbgdDgGDyDi2PzI0PFmFjG+arrw3Mdenl
|
||||||
|
4VcEMW3ptneqIxfrvi+GmALCNjDXBpjv+OOUWUcs3y0hodxWxTLiPN240cWa4bLO
|
||||||
|
tdafY7JlISHFnNuujzaMgB+p3g+iFCc3kjideG1jlv6kOQCPGFcaKlLzQGKhTAeP
|
||||||
|
YKEgvOdsneqnHSoNuOKn3HFjeuIdBTX6fEBdw7FHh96AAb/0ZkRn3ggZM2JPI1jY
|
||||||
|
gknRtp8k4NG4QPStaVyv5mLkkZ/gTnn3ZQ3clWRDaaxhdIKKAydRW8fqt+Kyon9x
|
||||||
|
p9KMkrLvp5n2mGB85v0EojOg8tzovkhV5GMQEP9A9tHdv0G245c=
|
||||||
|
=wnyH
|
||||||
|
-----END PGP SIGNATURE-----
|
12
dolphin-go_up.diff
Normal file
12
dolphin-go_up.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: dolphin-19.11.70git.20230101T031501~0c1157f3/src/dolphinui.rc
|
||||||
|
===================================================================
|
||||||
|
--- dolphin-19.11.70git.20230101T031501~0c1157f3.orig/src/dolphinui.rc
|
||||||
|
+++ dolphin-19.11.70git.20230101T031501~0c1157f3/src/dolphinui.rc
|
||||||
|
@@ -105,6 +105,7 @@
|
||||||
|
<text context="@title:menu">Main Toolbar</text>
|
||||||
|
<Action name="go_back" />
|
||||||
|
<Action name="go_forward" />
|
||||||
|
+ <Action name="go_up" />
|
||||||
|
<Separator name="separator_1" />
|
||||||
|
<Action name="icons" />
|
||||||
|
<Action name="compact" />
|
1856
dolphin.changes
Normal file
1856
dolphin.changes
Normal file
File diff suppressed because it is too large
Load Diff
197
dolphin.spec
Normal file
197
dolphin.spec
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
#
|
||||||
|
# spec file for package dolphin
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define kf6_version 6.0.0
|
||||||
|
%define plasma6_version 5.27.80
|
||||||
|
%define qt6_version 6.6.0
|
||||||
|
|
||||||
|
%bcond_without released
|
||||||
|
Name: dolphin
|
||||||
|
Version: 24.05.2
|
||||||
|
Release: 0
|
||||||
|
Summary: KDE File Manager
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
URL: https://apps.kde.org/dolphin
|
||||||
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
||||||
|
Source2: applications.keyring
|
||||||
|
%endif
|
||||||
|
Source3: dolphinsu.desktop
|
||||||
|
Patch0: dolphin-go_up.diff
|
||||||
|
# PATCH-FIX-OPENSUSE
|
||||||
|
Patch1: 0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
|
||||||
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||||
|
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
BuildRequires: cmake(KF6Baloo) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6BalooWidgets) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Bookmarks) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Codecs) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Completion) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6FileMetaData) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Parts) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6UserFeedback) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(Phonon4Qt6)
|
||||||
|
BuildRequires: cmake(PlasmaActivities) >= %{plasma6_version}
|
||||||
|
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(packagekitqt6)
|
||||||
|
Requires: dolphin-part = %{version}-%{release}
|
||||||
|
Requires: kf6-baloo-kioslaves >= %{kf6_version}
|
||||||
|
Recommends: kio-extras6
|
||||||
|
Recommends: konsole-part
|
||||||
|
Obsoletes: dolphin5
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the default file manager of KDE Workspaces.
|
||||||
|
|
||||||
|
%package part
|
||||||
|
Summary: KDE File Manager
|
||||||
|
Obsoletes: dolphin5-part
|
||||||
|
%if %{with released}
|
||||||
|
%requires_ge kf6-kio
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description part
|
||||||
|
This package contains the libraries used by Dolphin and Konqueror.
|
||||||
|
|
||||||
|
%package -n libdolphinvcs6
|
||||||
|
Summary: KDE File Manager
|
||||||
|
|
||||||
|
%description -n libdolphinvcs6
|
||||||
|
This package contains the libraries used by Dolphin and Konqueror.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: KDE File Manager
|
||||||
|
Requires: libdolphinvcs6 = %{version}
|
||||||
|
Obsoletes: dolphin5-devel < %{version}
|
||||||
|
Provides: dolphin5-devel = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains the libraries used by Dolphin and Konqueror.
|
||||||
|
|
||||||
|
%package zsh-completion
|
||||||
|
Summary: ZSH completion for dolphin
|
||||||
|
Requires: dolphin = %{version}
|
||||||
|
Supplements: (dolphin and zsh)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description zsh-completion
|
||||||
|
ZSH command line completion support for dolphin.
|
||||||
|
|
||||||
|
%package -n dolphin-part-lang
|
||||||
|
Summary: Translations for package dolphin
|
||||||
|
Requires: dolphin-part = %{version}
|
||||||
|
Supplements: (bundle-lang-other and dolphin-part)
|
||||||
|
Provides: dolphin-lang = %{version}
|
||||||
|
Obsoletes: dolphin-lang < %{version}
|
||||||
|
Provides: dolphin-part-lang-all = %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n dolphin-part-lang
|
||||||
|
Provides translations for the dolphin package.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6
|
||||||
|
|
||||||
|
%kf6_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf6_install
|
||||||
|
|
||||||
|
%find_lang %{name} --all-name --with-man --with-html
|
||||||
|
|
||||||
|
install -D -m 0644 %{SOURCE3} %{buildroot}%{_kf6_applicationsdir}/org.kde.dolphinsu.desktop
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
%ldconfig_scriptlets -n libdolphinvcs6
|
||||||
|
%ldconfig_scriptlets part
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSES/*
|
||||||
|
%doc README.md
|
||||||
|
%doc %lang(en) %{_kf6_htmldir}/en/dolphin/
|
||||||
|
%{_kf6_applicationsdir}/org.kde.dolphin.desktop
|
||||||
|
%{_kf6_applicationsdir}/org.kde.dolphinsu.desktop
|
||||||
|
%{_kf6_appstreamdir}/org.kde.dolphin.appdata.xml
|
||||||
|
%{_kf6_bindir}/dolphin
|
||||||
|
%{_kf6_bindir}/servicemenuinstaller
|
||||||
|
%{_kf6_configkcfgdir}/dolphin_*.kcfg
|
||||||
|
%{_kf6_dbusinterfacesdir}/org.freedesktop.FileManager1.xml
|
||||||
|
%{_kf6_iconsdir}/hicolor/scalable/apps/org.kde.dolphin.svg
|
||||||
|
%{_kf6_sharedir}/dbus-1/services/org.kde.dolphin.FileManager1.service
|
||||||
|
%{_kf6_sharedir}/kconf_update/dolphin_detailsmodesettings.upd
|
||||||
|
%{_kf6_sharedir}/kconf_update/dolphin_directorysizemode.py
|
||||||
|
%{_kf6_sharedir}/kconf_update/dolphin_directorysizemode.upd
|
||||||
|
|
||||||
|
%dir %{_kf6_sharedir}/kglobalaccel
|
||||||
|
%{_kf6_sharedir}/kglobalaccel/org.kde.dolphin.desktop
|
||||||
|
%{_userunitdir}/plasma-dolphin.service
|
||||||
|
|
||||||
|
%files part
|
||||||
|
%{_kf6_debugdir}/dolphin.categories
|
||||||
|
%{_kf6_knsrcfilesdir}/servicemenu.knsrc
|
||||||
|
%{_kf6_libdir}/libdolphinprivate.so.*
|
||||||
|
%dir %{_kf6_plugindir}/dolphin
|
||||||
|
%dir %{_kf6_plugindir}/dolphin/kcms
|
||||||
|
%{_kf6_plugindir}/dolphin/kcms/kcm_dolphin*.so
|
||||||
|
%{_kf6_plugindir}/kf6/parts/dolphinpart.so
|
||||||
|
%dir %{_kf6_sharedir}/dolphin
|
||||||
|
%{_kf6_sharedir}/dolphin/dolphinpartactions.desktop
|
||||||
|
|
||||||
|
%files -n libdolphinvcs6
|
||||||
|
%{_kf6_libdir}/libdolphinvcs.so.*
|
||||||
|
|
||||||
|
%files zsh-completion
|
||||||
|
%dir %{_datadir}/zsh
|
||||||
|
%dir %{_datadir}/zsh/site-functions
|
||||||
|
%{_datadir}/zsh/site-functions/_dolphin
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/Dolphin/
|
||||||
|
%{_includedir}/dolphin_export.h
|
||||||
|
%{_includedir}/dolphinvcs_export.h
|
||||||
|
%{_kf6_cmakedir}/DolphinVcs/
|
||||||
|
%{_kf6_libdir}/libdolphinvcs.so
|
||||||
|
|
||||||
|
%files part-lang -f %{name}.lang
|
||||||
|
%exclude %{_kf6_htmldir}/en/dolphin/
|
||||||
|
|
||||||
|
%changelog
|
10
dolphinsu.desktop
Normal file
10
dolphinsu.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=File Manager - Super User Mode
|
||||||
|
Exec=dbus-launch dolphin -qwindowtitle "%c" "%u"
|
||||||
|
Icon=system-file-manager
|
||||||
|
Type=Application
|
||||||
|
X-DocPath=dolphin/index.html
|
||||||
|
Categories=Qt;KDE;System;FileManager;
|
||||||
|
Terminal=false
|
||||||
|
MimeType=inode/directory;
|
||||||
|
X-KDE-SubstituteUID=true
|
Loading…
x
Reference in New Issue
Block a user