Accepting request 1070347 from home:iDesmI:Wayland
Warns when apps are using all inotify watches and prompts the user to raise it; this can help users understand why Baloo in particular isn't working properly, and offers them a way to fix it. https://community.kde.org/Distributions/Packaging_Recommendations Audited: https://bugzilla.opensuse.org/show_bug.cgi?id=1208689 https://build.opensuse.org/request/show/1069931 https://build.opensuse.org/request/show/1069937 Includes install-i18n.patch to build a lang package. OBS-URL: https://build.opensuse.org/request/show/1070347 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kde-inotify-survey?expand=0&rev=1
This commit is contained in:
commit
4224fc20b6
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
|
25
install-i18n.patch
Normal file
25
install-i18n.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From: Harald Sitter <sitter@kde.org>
|
||||
Date: Fri, 24 Feb 2023 13:30:50 +0100
|
||||
Subject: [PATCH] install i18n
|
||||
|
||||
BUG: 466322
|
||||
---
|
||||
CMakeLists.txt | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4967e07..180b317 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -40,6 +40,8 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(autotests)
|
||||
|
||||
+ki18n_install(po)
|
||||
+
|
||||
install(FILES org.kde.inotify-survey.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
||||
|
||||
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
|
||||
--
|
||||
GitLab
|
||||
|
3
kde-inotify-survey-1.0.0.tar.zst
Normal file
3
kde-inotify-survey-1.0.0.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:952cf4a12b50a679bcad215b2dd2fc78c5f4b2fc38aa38465ea392a106d0a7a2
|
||||
size 231279
|
16
kde-inotify-survey-1.0.0.tar.zst.sig
Normal file
16
kde-inotify-survey-1.0.0.tar.zst.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEmUvOVl9TGc6jhe6fuSpfBOyUkSEFAmN8uy8ACgkQuSpfBOyU
|
||||
kSGZGg//aFRJqSU7/vTgW3v9/1ELT30sONpVzfkxROhT5wlwBAlQBR/hgxZwGZZM
|
||||
VW6i4cX/X36cu+0CJ93Ce+5jBHv1q+P7CAdKBMIr/XjpUJ9o2m2U14acnrty97rd
|
||||
7J3MbwjqInG8Cw5djezF1qZDu09b33etTcgYY7g0Tcf3iIFN0PueGb6KJhSfBdhP
|
||||
/QW3KN0c70aAakNGob/oUSaMQIFBt+Ke7pk/OqfjWWqH5OgQxjQtxSNZXa3Ge3m+
|
||||
gpR3zXq0BXSgn+TAsDKBJOvzqzDbcSpwclFAA9V7o1cUfGW0zCwDCJOMR6HD0ofN
|
||||
zRzVC3cgfGXmSkXCIr/8Nr9hqx04n5EfnkOVLVRP9Iz8m7qeiaHnLXUBaoWSegcZ
|
||||
hLaNsgNS1M6EAYYbou7dE9wE9MXbQlLuQeVn4BHTQ+/lSB1JlP1P90IwPQTHo+Oe
|
||||
BteNPUalueYPo181dqMsU7mCiJZx0gU2TH7HaI7V/DeEoxhOwdFUpFRSfLtzBs2g
|
||||
eiW8UoU4IC/hrrJaZ95SPXhDdjyGj9sDW6B4KaSrJuMB8xIwTKOpDrt+SBaUydDG
|
||||
tV+NcT9o5THF72f5M3pLyFYMuGpfLK58X5HgxcCdntwGfiDR9BrZuMX+b0EPvlp5
|
||||
RkCY5N6xJgK9na4pSJStOYmJNrEDv0xiM/gY4+XCLAV8jViAWp0=
|
||||
=BJy+
|
||||
-----END PGP SIGNATURE-----
|
9
kde-inotify-survey.changes
Normal file
9
kde-inotify-survey.changes
Normal file
@ -0,0 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 25 21:59:04 UTC 2023 - Enrico Belleri <idesmi@protonmail.com>
|
||||
|
||||
- Add patch install-i18n.patch to correctly build a lang package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 25 20:58:04 UTC 2023 - Enrico Belleri <idesmi@protonmail.com>
|
||||
|
||||
- initial package
|
BIN
kde-inotify-survey.keyring
Normal file
BIN
kde-inotify-survey.keyring
Normal file
Binary file not shown.
77
kde-inotify-survey.spec
Normal file
77
kde-inotify-survey.spec
Normal file
@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package kde-inotify-survey
|
||||
#
|
||||
# Copyright (c) 2023 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 kf5_version 5.93.0
|
||||
Name: kde-inotify-survey
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Monitor inotify limits and inform the user when they are reached
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://www.kde.org
|
||||
Source: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.zst
|
||||
Source1: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.zst.sig
|
||||
Source2: kde-inotify-survey.keyring
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch: install-i18n.patch
|
||||
|
||||
BuildRequires: cmake >= 3.22
|
||||
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
||||
BuildRequires: zstd
|
||||
BuildRequires: cmake(KF5Auth)
|
||||
BuildRequires: cmake(KF5CoreAddons)
|
||||
BuildRequires: cmake(KF5DBusAddons)
|
||||
BuildRequires: cmake(KF5I18n)
|
||||
BuildRequires: cmake(KF5KIO)
|
||||
BuildRequires: cmake(KF5Notifications)
|
||||
BuildRequires: cmake(Qt5Core) >= 5.15.2
|
||||
BuildRequires: cmake(Qt5DBus)
|
||||
BuildRequires: cmake(Qt5Qml)
|
||||
BuildRequires: cmake(Qt5Quick)
|
||||
|
||||
%description
|
||||
Tooling for monitoring inotify limits and informing the user
|
||||
when they have been or are about to be reached.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-v%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%find_lang %{name} --with-qt --with-man --all-name
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%{_kf5_bindir}/kde-inotify-survey
|
||||
%{_libexecdir}/kauth/kded-inotify-helper
|
||||
%{_kf5_plugindir}/kf5/kded/inotify.so
|
||||
%{_datadir}/dbus-1/system-services/org.kde.kded.inotify.service
|
||||
%{_kf5_dbuspolicydir}/org.kde.kded.inotify.conf
|
||||
%{_kf5_notifydir}/org.kde.kded.inotify.notifyrc
|
||||
%{_kf5_appstreamdir}/org.kde.inotify-survey.metainfo.xml
|
||||
%{_datadir}/polkit-1/actions/org.kde.kded.inotify.policy
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user