Accepting request 1144393 from home:Vogtinator:frameworks6
Frameworks 6 RC 2 + polkit-qt + phonon. Still untested. OBS-URL: https://build.opensuse.org/request/show/1144393 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kf6-kservice?expand=0&rev=1
This commit is contained in:
commit
33b4657f52
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
|
29
frameworks.keyring
Normal file
29
frameworks.keyring
Normal file
@ -0,0 +1,29 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK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jqo4qxvi33Pud0jZsENezzgdd4npiNN9bFX0mjNKNHL9o1n5nTm9pfDI/AS
|
||||
PZz2RoRO7oUJb+aX6hKxTBaKoAiZHybAXQVchtwJx0O4wLbZ3E4ytJdcATlPDNXS
|
||||
jw2Lmns8aGa6DBGyqiG6g1PlCnOI2Q/cQK1zbkSisfoCbpEq1MgIzuZSoJ00NIEp
|
||||
eiACoR82565G68yAb+uKHkcFrYkfDT41ABEBAAGJASUEGAEIAA8FAlfNUR8CGwwF
|
||||
CQlmAYAACgkQWNDuZIpIs7vWkgf9GNUZmD0UgbQmj0nwkEHum1g7LD+MZL0+P2kg
|
||||
HyEL3Cm01ot9d+X5ed/gAJ6hDR55KYxHi+/wwwkCNDLoQoP+7VZq2fMiGD0/bDar
|
||||
oWQqbckqDZU4l69u9NbYvVWHUerfwKfi0ZKN5sJqLwIkr57wEX0I/TBGoMuFB27q
|
||||
2qyloS5m1Q2pke2mmZjKSqE0jxZJ7iFGJO/Buyjgd1B2kr0DaGaCrh0wjfVjAWpt
|
||||
klK95Phry1jQc7W0Z4ZdWpB79S1yW670eutSC4fMjvsNxROGkPx4dDkyG5nToeau
|
||||
zhEh/pXho2Eo/aFEqqY42GMSlN9rf7ekaTNo7OxsE7vvCB0fug==
|
||||
=4o3u
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
18
kf6-kservice.changes
Normal file
18
kf6-kservice.changes
Normal file
@ -0,0 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 17:50:49 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.249.0 (6.0 RC 2):
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/megarelease/6/rc2/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 20:01:34 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.248.0 (6.0 RC 1)
|
||||
* For more details please see:
|
||||
https://kde.org/announcements/megarelease/6/rc1/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 27 11:18:28 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init kf6-kservice
|
116
kf6-kservice.spec
Normal file
116
kf6-kservice.spec
Normal file
@ -0,0 +1,116 @@
|
||||
#
|
||||
# spec file for package kf6-kservice
|
||||
#
|
||||
# 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 qt6_version 6.5.0
|
||||
|
||||
%define rname kservice
|
||||
# Full KF6 version (e.g. 6.0.0)
|
||||
%{!?_kf6_version: %global _kf6_version %{version}}
|
||||
# Last major and minor KF6 version (e.g. 6.0)
|
||||
%{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | awk -F. '{print $1"."$2}')}
|
||||
%bcond_without released
|
||||
Name: kf6-kservice
|
||||
Version: 5.249.0
|
||||
Release: 0
|
||||
Summary: Plugin framework for desktop services
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://www.kde.org
|
||||
Source: https://download.kde.org/unstable/frameworks/%{version}/%{rname}-%{version}.tar.xz
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/unstable/frameworks/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||
Source2: frameworks.keyring
|
||||
%endif
|
||||
# FIXME still wanted?
|
||||
# PATCH-FIX-OPENSUSE kservice-desktop-translations.patch
|
||||
# Patch0: kservice-desktop-translations.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_bugfix_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{_kf6_bugfix_version}
|
||||
BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_bugfix_version}
|
||||
BuildRequires: cmake(KF6DocTools) >= %{_kf6_bugfix_version}
|
||||
BuildRequires: cmake(KF6I18n) >= %{_kf6_bugfix_version}
|
||||
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Xml) >= %{qt6_version}
|
||||
Recommends: kded6 >= %{_kf6_bugfix_version}
|
||||
|
||||
%description
|
||||
Provides a plugin framework for handling desktop services. Services can
|
||||
be applications or libraries. They can be bound to MIME types or handled by
|
||||
application specific code.
|
||||
|
||||
%package -n libKF6Service6
|
||||
Summary: Plugin framework for desktop services
|
||||
Requires: kf6-kservice >= %{version}
|
||||
|
||||
%description -n libKF6Service6
|
||||
Provides a plugin framework for handling desktop services. Services can
|
||||
be applications or libraries. They can be bound to MIME types or handled by
|
||||
application specific code.
|
||||
|
||||
%package devel
|
||||
Summary: Plugin framework for desktop services: Build Environment
|
||||
Requires: libKF6Service6 = %{version}
|
||||
Requires: cmake(KF6Config) >= %{_kf6_bugfix_version}
|
||||
Requires: cmake(KF6CoreAddons) >= %{_kf6_bugfix_version}
|
||||
|
||||
%description devel
|
||||
Provides a plugin framework for handling desktop services. Services can
|
||||
be applications or libraries. They can be bound to MIME types or handled by
|
||||
application specific code. Development files
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%find_lang kservice6 --with-man --all-name
|
||||
|
||||
%ldconfig_scriptlets -n libKF6Service6
|
||||
|
||||
%files
|
||||
%doc %lang(en) %{_kf6_mandir}/*/kbuildsycoca6.*
|
||||
%{_kf6_bindir}/kbuildsycoca6
|
||||
%{_kf6_debugdir}/kservice.categories
|
||||
%{_kf6_debugdir}/kservice.renamecategories
|
||||
|
||||
%files -n libKF6Service6
|
||||
%license LICENSES/*
|
||||
%{_kf6_libdir}/libKF6Service.so.*
|
||||
|
||||
%files devel
|
||||
%doc %{_kf6_qchdir}/KF6Service.*
|
||||
%{_kf6_cmakedir}/KF6Service/
|
||||
%{_kf6_includedir}/KService/
|
||||
%{_kf6_libdir}/libKF6Service.so
|
||||
|
||||
%files lang -f kservice6.lang
|
||||
|
||||
%changelog
|
3
kservice-5.249.0.tar.xz
Normal file
3
kservice-5.249.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e42781819886a372ce5b1587a77ce3374dec298c3d185d18a6a62a7817f198c
|
||||
size 2449832
|
16
kservice-5.249.0.tar.xz.sig
Normal file
16
kservice-5.249.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmW6I+QACgkQ11dEg7tX
|
||||
sY3uQRAAnTVQIYbRqLLhBHr8aqHAOemyDzcbIWtiOGmQkvca5GkTNJMZA3XBN09n
|
||||
7EuLMYsMUiJRy8n+5j4gdT1D3taNzzUkPYNEc/1SlO6ulE/bFb3aGYzsOJACEkPE
|
||||
ngCg+5B9wWNxqZCQVpXDq7aHBDa9RKEUhRjNfg2C3tEB2BNYt+tp1z9421G4rez6
|
||||
2al57xx2jP/AXxHoxexNnMfmu1cHJhojxGUrtgWx5MSkZTiFWzIl6uwBJX9ys/tQ
|
||||
AFPCh3NrXul1S09rYzTu40tKa2WeHyz9yuFG298vW9S1f/Qm5oD8uBQN9Mt/bzGA
|
||||
VMtrVr3nMnsNxx8JVTCGIrdwu7zp3kp2JdXvalbgdD4grt/n09Y39+PgMiwcgRQ3
|
||||
/y4feIqfAk3uKNZ8a/eQt2zZMrui3EBVd/JAoa4bk//1x3H9PfNOoXaL2oGHcvWU
|
||||
8ZzLl6AA9Cq2UZdJUx6c2TjGjN+V+YUaZLIBV5nQJUEIuNHbmVduf3pdc4TbY6+H
|
||||
A2ubsUMXfK0M0zMEfgkknDtLNXHjFOK4vXXiwwsuBcEuv3FIj2Sd8DDnf5w7PaGc
|
||||
hZ/z5IsqHm3mYyPRR1bWevVKCxlu2ZJ0143CID+dxw0Ns5OJv+VdTryepiQ/oIX7
|
||||
27EsbUopFes4A345J0+Egs0RO+vyxPdPKY+LvStKWuqL/NQ0L0k=
|
||||
=r6x9
|
||||
-----END PGP SIGNATURE-----
|
17
kservice-desktop-translations.patch
Normal file
17
kservice-desktop-translations.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/src/services/kservicegroup.cpp b/src/services/kservicegroup.cpp
|
||||
index 38d72ead..e62f946e 100644
|
||||
--- a/src/services/kservicegroup.cpp
|
||||
+++ b/src/services/kservicegroup.cpp
|
||||
@@ -42,9 +42,9 @@ void KServiceGroupPrivate::load(const QString &cfg)
|
||||
|
||||
const KConfigGroup config = desktopFile.desktopGroup();
|
||||
|
||||
- m_strCaption = config.readEntry("Name");
|
||||
- m_strIcon = config.readEntry("Icon");
|
||||
- m_strComment = config.readEntry("Comment");
|
||||
+ m_strCaption = desktopFile.readName();
|
||||
+ m_strIcon = desktopFile.readIcon();
|
||||
+ m_strComment = desktopFile.readComment();
|
||||
deleted = config.readEntry("Hidden", false);
|
||||
m_bNoDisplay = desktopFile.noDisplay();
|
||||
m_strBaseGroupName = config.readEntry("X-KDE-BaseGroup");
|
Loading…
Reference in New Issue
Block a user