KDE Release gear 24.08.0

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/dolphin?expand=0&rev=351
This commit is contained in:
Christophe Marin 2024-08-22 12:50:19 +00:00 committed by Git OBS Bridge
commit fa8171efd6
12 changed files with 2191 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,37 @@
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-24.01.80git.20240701T140601~e2f316578/src/main.cpp
===================================================================
--- dolphin-24.01.80git.20240701T140601~e2f316578.orig/src/main.cpp 2024-07-01 16:06:01.000000000 +0200
+++ dolphin-24.01.80git.20240701T140601~e2f316578/src/main.cpp 2024-07-01 22:12:17.154311426 +0200
@@ -59,20 +59,6 @@
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 && (!qEnvironmentVariableIsEmpty("SUDO_USER") || !qEnvironmentVariableIsEmpty("KDESU_USER"))) {
- QCoreApplication app(argc, argv); // Needed for the xi18ndc() call below.
- std::cout << qPrintable(
- xi18ndc(dolphinTranslationDomain,
- "@info:shell %1 is a terminal command",
- "Running <application>Dolphin</application> with <command>sudo</command> is discouraged. Please run <icode>%1</icode> instead.",
- QStringLiteral("dolphin --sudo")))
- << std::endl;
- // We could perform a privilege de-escalation here and continue as normal. It is a bit safer though to simply let the user restart without sudo.
- return EXIT_FAILURE;
- }
-#endif
/**
* trigger initialisation of proper icon theme

BIN
applications.keyring Normal file

Binary file not shown.

3
dolphin-24.05.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f850a4fd7f463f93e05c1b162be55f7d4360cca2189b446fa296ceef35f3567
size 5580708

View 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-----

3
dolphin-24.08.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a9d52dcd6513d2193c0c34944b270b399150f1da4ff37da06a0f8af87f6d8d7
size 5627648

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+3KYACgkQu0YzUNbv
Me96rQ/8DC3IFDkABAKGYCBN4a/v+l1aAGGuB8HvC1Krj7MDvfgEQnb+L476Fn3r
r66P/p7deiXqge4b+f5rK12zXUJzYQB3vmNk8oy5ahAvuUaZhLS0pN2amb7xUxYr
XcjX0hkiADGif1OfOWIxVZ6lJEMdIC4Qo09fhEFok39eqHfWGUA962B3Xk+cHcne
ZAgATXLZVl8aCMJBuASlqyC/4JV9h5oUNWD6nVV9TMLtrUWGdI2AWsM9EF5sbXug
qgX1cvuSn8a3rYJDD/mADbHfPddFBFTuClE8AqmLYd/GEnEu+npcY78IoFh3m2sr
KUkqmPb7uIxeyPTitA5pp7/1/GbccD6ZJ9zCoEgNU0/jmK2hs00P9SfAl7skqJgx
KZN8BnHVYsiIKPM5d7LMzcR2nF8VcheFc1W5watQ97UX/seBlS+34ngKYnVUrZ3d
wSEQzxduo1qV+6ycZblwWx6OOXnbE/dLjTTHOAc4jjlBThsa93NcNQRRpycqhZTz
j3PCpQqqE05GiukcD0ClQcfubAOVtcCeWIEy4ITNZtKPjPOICLaQc58tsuOwt6Hd
oS4al+oqWYDkE/XyIDI/TWAUUaez5m/hdDtnQdSWHaZ9kQ5kaphBp2YpriXV2+NG
kT4AOx80XZr1wo8nz5NTMnBuFv8fuzj8sMPPpgz7rr955T6lkqs=
=x4EM
-----END PGP SIGNATURE-----

12
dolphin-go_up.diff Normal file
View File

@ -0,0 +1,12 @@
Index: dolphin-24.01.80git.20240701T140601~e2f316578/src/dolphinui.rc
===================================================================
--- dolphin-24.01.80git.20240701T140601~e2f316578.orig/src/dolphinui.rc 2024-07-01 16:06:01.000000000 +0200
+++ dolphin-24.01.80git.20240701T140601~e2f316578/src/dolphinui.rc 2024-07-01 22:10:57.370953727 +0200
@@ -107,6 +107,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" />

1871
dolphin.changes Normal file

File diff suppressed because it is too large Load Diff

199
dolphin.spec Normal file
View File

@ -0,0 +1,199 @@
#
# 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.3.0
%define plasma6_version 5.27.80
%define qt6_version 6.6.0
%bcond_without released
Name: dolphin
Version: 24.08.0
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
%dir %{_kf6_plugindir}/kf6/kfileitemaction/
%{_kf6_plugindir}/dolphin/kcms/kcm_dolphin*.so
%{_kf6_plugindir}/kf6/parts/dolphinpart.so
%{_kf6_plugindir}/kf6/kfileitemaction/movetonewfolderitemaction.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
View 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