1 |
commit: 2a200ab7f01daf00e1b5f6a5d00ab85b787b77b5 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 19:47:01 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 19:53:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a200ab7 |
7 |
|
8 |
kde-frameworks/kio: KRecentDocuments: Improve indentation |
9 |
|
10 |
...in recentlyused.xbel |
11 |
|
12 |
Upstream commit 0dd0e96c10f634974c63f85c2068e44019c27591 |
13 |
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=456046 |
14 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
.../kio-5.95.0-fix-recent-files-in-gtk-apps.patch | 25 ++++++++++++++++++++++ |
18 |
kde-frameworks/kio/kio-5.95.0-r1.ebuild | 5 ++++- |
19 |
2 files changed, 29 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/kde-frameworks/kio/files/kio-5.95.0-fix-recent-files-in-gtk-apps.patch b/kde-frameworks/kio/files/kio-5.95.0-fix-recent-files-in-gtk-apps.patch |
22 |
new file mode 100644 |
23 |
index 000000000000..524fdc871fc8 |
24 |
--- /dev/null |
25 |
+++ b/kde-frameworks/kio/files/kio-5.95.0-fix-recent-files-in-gtk-apps.patch |
26 |
@@ -0,0 +1,25 @@ |
27 |
+From 0dd0e96c10f634974c63f85c2068e44019c27591 Mon Sep 17 00:00:00 2001 |
28 |
+From: =?UTF-8?q?M=C3=A9ven=20Car?= <meven@×××××××.net> |
29 |
+Date: Wed, 29 Jun 2022 10:14:50 +0200 |
30 |
+Subject: [PATCH] KRecentDocuments: Improve indentation in recentlyused.xbel |
31 |
+ |
32 |
+BUG: 456046 |
33 |
+--- |
34 |
+ src/core/krecentdocument.cpp | 1 + |
35 |
+ 1 file changed, 1 insertion(+) |
36 |
+ |
37 |
+diff --git a/src/core/krecentdocument.cpp b/src/core/krecentdocument.cpp |
38 |
+index 23fcbbd09..87d276b06 100644 |
39 |
+--- a/src/core/krecentdocument.cpp |
40 |
++++ b/src/core/krecentdocument.cpp |
41 |
+@@ -270,6 +270,7 @@ static bool addToXbel(const QUrl &url, const QString &desktopEntryName, KRecentD |
42 |
+ |
43 |
+ if (!foundExisting) { |
44 |
+ // must create new bookmark tag |
45 |
++ output.writeCharacters(QStringLiteral(" ")); |
46 |
+ output.writeStartElement(bookmarkTag); |
47 |
+ |
48 |
+ output.writeAttribute(hrefAttribute, newUrl); |
49 |
+-- |
50 |
+GitLab |
51 |
+ |
52 |
|
53 |
diff --git a/kde-frameworks/kio/kio-5.95.0-r1.ebuild b/kde-frameworks/kio/kio-5.95.0-r1.ebuild |
54 |
index 8b7697b65a88..85dc54c90eef 100644 |
55 |
--- a/kde-frameworks/kio/kio-5.95.0-r1.ebuild |
56 |
+++ b/kde-frameworks/kio/kio-5.95.0-r1.ebuild |
57 |
@@ -70,7 +70,10 @@ DEPEND="${RDEPEND} |
58 |
" |
59 |
PDEPEND=">=kde-frameworks/kded-${PVCUT}:5" |
60 |
|
61 |
-PATCHES=( "${FILESDIR}/${P}-filewidgets-update-filename-after-rename.patch" ) |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}/${P}-filewidgets-update-filename-after-rename.patch" |
64 |
+ "${FILESDIR}/${P}-fix-recent-files-in-gtk-apps.patch" |
65 |
+) |
66 |
|
67 |
src_configure() { |
68 |
local mycmakeargs=( |