forked from pool/kinfocenter6
Plasma 6 RC 2. Still untested...
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kinfocenter6?expand=0&rev=1
This commit is contained in:
commit
cce241a791
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
|
31
0002-Look-for-binaries-in-Mesa-demos-path-as-well.patch
Normal file
31
0002-Look-for-binaries-in-Mesa-demos-path-as-well.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 0836341c590dc14626e3e1856fb1917ba07fcb84 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
Date: Tue, 8 Feb 2022 19:06:23 +0100
|
||||||
|
Subject: [PATCH] Look for binaries in Mesa-demos path as well
|
||||||
|
|
||||||
|
eglinfo is not in $PATH (yet, boo#1195695)
|
||||||
|
---
|
||||||
|
src/CommandOutputContext.cpp | 7 +++++++
|
||||||
|
1 file changed, 7 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/CommandOutputContext.cpp b/src/CommandOutputContext.cpp
|
||||||
|
index dad54a5e..30554499 100644
|
||||||
|
--- a/src/CommandOutputContext.cpp
|
||||||
|
+++ b/src/CommandOutputContext.cpp
|
||||||
|
@@ -27,6 +27,13 @@ CommandOutputContext::CommandOutputContext(const QStringList &findExecutables, c
|
||||||
|
QStandardPaths::findExecutable(m_executableName, {QStringLiteral("/usr/local/sbin"), QStringLiteral("/usr/sbin"), QStringLiteral("/sbin")});
|
||||||
|
}
|
||||||
|
|
||||||
|
+ // boo#1195695
|
||||||
|
+ if (m_executablePath.isEmpty()) {
|
||||||
|
+ m_executablePath =
|
||||||
|
+ QStandardPaths::findExecutable(m_executableName,
|
||||||
|
+ {QStringLiteral("/usr/lib64/mesa-demos/egl/opengl"), QStringLiteral("/usr/lib/mesa-demos/egl/opengl")});
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
m_foundExecutablePaths[executable] = m_executablePath;
|
||||||
|
for (const QString &findExecutable : findExecutables) {
|
||||||
|
m_foundExecutablePaths[findExecutable] = QStandardPaths::findExecutable(findExecutable);
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
3
kinfocenter-5.93.0.tar.xz
Normal file
3
kinfocenter-5.93.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:af2d0154794bc069755c9b1c2a133685f9456c6d6fbe7d506d420f3b2199ef54
|
||||||
|
size 828812
|
16
kinfocenter-5.93.0.tar.xz.sig
Normal file
16
kinfocenter-5.93.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmW6LSgACgkQ11dEg7tX
|
||||||
|
sY1M6Q/+Ks8OwP3slsMw/yWD17ADRDHfSiPga8syTC5K0i/gzQiK9/iUgukB3kLT
|
||||||
|
YdGQ2b2I70Ss8ArYAYvrQE4TOTrjHIW9EC01Rg3OjB8KCAAo9T7cwV/JdmQljesv
|
||||||
|
3puwmgh/v6ryMeFll60CqnAoPckwFoVipJtPfLUyXTDBx1IPVKPCUY0V1efIETNN
|
||||||
|
TVmFdBaukqaI3ZpmiJaxa0g2kmaJc2GuJ1iNSjogWlOkkXmwOftif+Cncb6JLzUL
|
||||||
|
5sXboLnq91x0CStp05U35mmC/6AZP9L7K/sTzvUjFsGyv5UqaUUSc7w6YyXUoS7a
|
||||||
|
lrAlmnDglTD1ahrXOzvSCGYBR+Fj8XbZgpyKncEPXhJGd8KK0SXwfALK1Z0jGDNs
|
||||||
|
cTVSY1TCg9E9YMXAEv62WH9r8t5T9ilKyXEaxbyqnq8ED/CwgoVfeAW23SWG4jVR
|
||||||
|
EcpGrFn2k1xcFQbBEmO6Hi0ZqWFS9UnuU6Hyya/tjHS8eFcJGn9jVWQS7r52hnlV
|
||||||
|
8C/kAldjIJle0uDF5tavkGCQJBfrh8EfWxuS6ax8blOd78oLP87RydsgcOfK/Pi7
|
||||||
|
p171GSqkjYVxE1+Uxirr0qUKsPG7RKg/MXlH5EcDjwxYl9UNXdX22tlz69yV9g/a
|
||||||
|
botyrRO2pHqUG0hOBKGOR9xf7lOkc3G6fE0ISPiLFb+7E4BgJJk=
|
||||||
|
=TP4z
|
||||||
|
-----END PGP SIGNATURE-----
|
24
kinfocenter6.changes
Normal file
24
kinfocenter6.changes
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 31 17:37:02 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
- Update to 5.93.0 (6.0 RC 2):
|
||||||
|
* New bugfix release
|
||||||
|
* See https://kde.org/announcements/megarelease/6/rc2/ for details
|
||||||
|
- Changes since 5.92.0:
|
||||||
|
* about (dump): don't print wayland warnings after data dump
|
||||||
|
* about (dump): show all windows in minimized mode
|
||||||
|
* Fix translation not being shown
|
||||||
|
* about-distro: remove separator lines
|
||||||
|
* Remove extraFooterTopPadding usage
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 15 21:08:45 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
- Update to 5.92.0 (6.0 RC 1)
|
||||||
|
* For more details please see:
|
||||||
|
https://kde.org/announcements/megarelease/6/rc1/
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 10 08:03:06 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Init kinfocenter6
|
144
kinfocenter6.spec
Normal file
144
kinfocenter6.spec
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kinfocenter6
|
||||||
|
#
|
||||||
|
# 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 kf6_version 5.240.0
|
||||||
|
%define qt6_version 6.5.0
|
||||||
|
|
||||||
|
%define rname kinfocenter
|
||||||
|
%bcond_without released
|
||||||
|
# Full Plasma 6 version (e.g. 6.0.0)
|
||||||
|
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
|
||||||
|
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
|
||||||
|
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
|
||||||
|
Name: kinfocenter6
|
||||||
|
Version: 5.93.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Utility that provides information about a computer system
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
URL: https://www.kde.org/
|
||||||
|
Source: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||||
|
Source2: plasma.keyring
|
||||||
|
%endif
|
||||||
|
# PATCH-FIX-OPENSUSE
|
||||||
|
Patch100: 0002-Look-for-binaries-in-Mesa-demos-path-as-well.patch
|
||||||
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
# For creating the post-install symlink
|
||||||
|
BuildRequires: systemsettings6
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: cmake(KF6Auth) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Service) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||||
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
|
Conflicts: kdebase4-workspace < 5.3.0
|
||||||
|
Conflicts: kinfocenter5
|
||||||
|
Requires: kf6-kcmutils-imports >= %{kf6_version}
|
||||||
|
# needed for the fileindexermonitor
|
||||||
|
Requires: kf6-baloo-imports >= %{kf6_version}
|
||||||
|
# The executable is now a link to systemsettings6
|
||||||
|
Requires: systemsettings6
|
||||||
|
# lspci is called by the PCI KCM
|
||||||
|
Requires: pciutils
|
||||||
|
# GLX is always present
|
||||||
|
Requires: /usr/bin/glxinfo
|
||||||
|
# Vulkan might not be needed
|
||||||
|
Requires: (/usr/bin/vulkaninfo if libvulkan1)
|
||||||
|
# Plasma Wayland and X11 sessions are always installed
|
||||||
|
Requires: /usr/bin/wayland-info
|
||||||
|
Requires: /usr/bin/xdpyinfo
|
||||||
|
# Note: Not available as /usr/bin/eglinfo yet (boo#1195695)
|
||||||
|
Recommends: /usr/bin/eglinfo
|
||||||
|
# The "Firmware Security" page does fwupdmgr ... | aha | ...
|
||||||
|
Recommends: (aha if fwupd)
|
||||||
|
# Mesa-demos includes it, but as a whole it's too fat,
|
||||||
|
# so don't pull it in by default.
|
||||||
|
Suggests: Mesa-demo
|
||||||
|
|
||||||
|
%description
|
||||||
|
KDE Utility that provides information about a computer system.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{rname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6
|
||||||
|
|
||||||
|
%kf6_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf6_install
|
||||||
|
|
||||||
|
%find_lang %{name} --all-name --with-html
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSES/*.txt
|
||||||
|
%doc %lang(en) %{_kf6_htmldir}/en/kinfocenter/
|
||||||
|
%{_kf6_applicationsdir}/kcm_about-distro.desktop
|
||||||
|
%{_kf6_applicationsdir}/kcm_energyinfo.desktop
|
||||||
|
%{_kf6_applicationsdir}/org.kde.kinfocenter.desktop
|
||||||
|
%{_kf6_appstreamdir}/org.kde.kinfocenter.appdata.xml
|
||||||
|
%{_kf6_bindir}/kinfocenter
|
||||||
|
%dir %{_kf6_configdir}/menus
|
||||||
|
%{_kf6_configdir}/menus/kinfocenter.menu
|
||||||
|
%{_kf6_libdir}/libKInfoCenterInternal.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kcm_about-distro.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kcm_energyinfo.so
|
||||||
|
%dir %{_kf6_plugindir}/plasma/kcms/kinfocenter/
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_cpu.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_devinfo.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_egl.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_firmware_security.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_glx.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_interrupts.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_kwinsupportinfo.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_nic.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_opencl.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_pci.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_samba.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_usb.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_vulkan.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_wayland.so
|
||||||
|
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_xserver.so
|
||||||
|
%{_kf6_qmldir}/org/kde/kinfocenter/
|
||||||
|
%{_kf6_sharedir}/dbus-1/system-services/org.kde.kinfocenter.dmidecode.service
|
||||||
|
%{_kf6_dbuspolicydir}/org.kde.kinfocenter.dmidecode.conf
|
||||||
|
%{_kf6_sharedir}/desktop-directories/
|
||||||
|
%dir %{_kf6_sharedir}/kinfocenter/
|
||||||
|
%{_kf6_sharedir}/kinfocenter/categories/
|
||||||
|
%{_kf6_sharedir}/kinfocenter/firmware_security/
|
||||||
|
%{_kf6_sharedir}/polkit-1/actions/org.kde.kinfocenter.dmidecode.policy
|
||||||
|
%{_kf6_libexecdir}/kauth/kinfocenter-dmidecode-helper
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%exclude %{_kf6_htmldir}/en
|
||||||
|
|
||||||
|
%changelog
|
BIN
plasma.keyring
Normal file
BIN
plasma.keyring
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user