Accepting request 650029 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/650029 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kded?expand=0&rev=61
This commit is contained in:
commit
e4ee18cefa
@ -0,0 +1,30 @@
|
|||||||
|
From 7ad5c6200a0a154895b4cbf8be21d721e2b83ae2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
Date: Sun, 18 Nov 2018 14:55:30 +0100
|
||||||
|
Subject: [PATCH] Decrease the delay between change notification and sycoca
|
||||||
|
rebuild to 1s
|
||||||
|
References: boo#1111420
|
||||||
|
|
||||||
|
Currently it waits 10s before doing anything, which is too much.
|
||||||
|
If another modification happens during the delay, it's delayed further, so this
|
||||||
|
shouldn't be an issue.
|
||||||
|
---
|
||||||
|
src/kded.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/kded.cpp b/src/kded.cpp
|
||||||
|
index ed03dcd..a2f4abc 100644
|
||||||
|
--- a/src/kded.cpp
|
||||||
|
+++ b/src/kded.cpp
|
||||||
|
@@ -556,7 +556,7 @@ void Kded::dirDeleted(const QString &path)
|
||||||
|
|
||||||
|
void Kded::update(const QString &)
|
||||||
|
{
|
||||||
|
- m_pTimer->start(10000);
|
||||||
|
+ m_pTimer->start(1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Kded::readDirectory(const QString &_path)
|
||||||
|
--
|
||||||
|
2.19.0
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 18 13:59:05 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
- Add patch to rebuild sycoca quicker (boo#1111420):
|
||||||
|
* 0001-Decrease-the-delay-between-change-notification-and-s.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 11 19:48:04 UTC 2018 - lbeltrame@kde.org
|
Sun Nov 11 19:48:04 UTC 2018 - lbeltrame@kde.org
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@ License: LGPL-2.1-or-later
|
|||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
URL: https://www.kde.org
|
URL: https://www.kde.org
|
||||||
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-OPENSUSE (for now mostly to get openQA's opinion)
|
||||||
|
Patch100: 0001-Decrease-the-delay-between-change-notification-and-s.patch
|
||||||
BuildRequires: cmake >= 3.0
|
BuildRequires: cmake >= 3.0
|
||||||
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -70,7 +72,7 @@ Development files.
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user